There are a few changes in this release to highlight:
Constraints now has a property IncludePrerelease. When set to true the Check and Validate methods will include prereleases.
When an AND group has one constraint with a prerelease but more than one constraint then prereleases will be included. For example, >1.0.0-beta.1 < 2. In the past this would not have included prereleases because each constraint needed to have a prerelease. Now, only one constraint needs to have a prerelease. This is considered a long standing bug fix. Note, this does not carry across OR groups. For example, >1.0.0-beta.1 < 2 || > 3. In this case, prereleases will not be included when evaluating against >3.
NewVersion coercion with leading "0"'s is restored. This can be disabled by setting the package level property CoerceNewVersion to false.
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver) | require | minor | `v3.3.1` -> `v3.4.0` |
---
### Release Notes
<details>
<summary>Masterminds/semver (github.com/Masterminds/semver/v3)</summary>
### [`v3.4.0`](https://github.com/Masterminds/semver/releases/tag/v3.4.0)
[Compare Source](https://github.com/Masterminds/semver/compare/v3.3.1...v3.4.0)
There are a few changes in this release to highlight:
1. `Constraints` now has a property `IncludePrerelease`. When set to true the `Check` and `Validate` methods will include prereleases.
2. When an AND group has one constraint with a prerelease but more than one constraint then prereleases will be included. For example, `>1.0.0-beta.1 < 2`. In the past this would not have included prereleases because each constraint needed to have a prerelease. Now, only one constraint needs to have a prerelease. This is considered a long standing bug fix. Note, this does not carry across OR groups. For example, `>1.0.0-beta.1 < 2 || > 3`. In this case, prereleases will not be included when evaluating against `>3`.
3. `NewVersion` coercion with leading "0"'s is restored. This can be disabled by setting the package level property `CoerceNewVersion` to `false`.
#### What's Changed
- fix the CodeQL link by [@​dmitris](https://github.com/dmitris) in https://github.com/Masterminds/semver/pull/257
- Restore detailed errors when failed to parse with NewVersion by [@​mattfarina](https://github.com/mattfarina) in https://github.com/Masterminds/semver/pull/262
- updating go version tested with by [@​mattfarina](https://github.com/mattfarina) in https://github.com/Masterminds/semver/pull/263
- Restore the ability to have leading 0's with NewVersion by [@​mattfarina](https://github.com/mattfarina) in https://github.com/Masterminds/semver/pull/266
- Handle pre-releases on all in an and group by [@​mattfarina](https://github.com/mattfarina) in https://github.com/Masterminds/semver/pull/267
- Add property to include prereleases by [@​mattfarina](https://github.com/mattfarina) in https://github.com/Masterminds/semver/pull/268
- Updating the error message handling by [@​mattfarina](https://github.com/mattfarina) in https://github.com/Masterminds/semver/pull/269
- Update the release notes and readme for new version by [@​mattfarina](https://github.com/mattfarina) in https://github.com/Masterminds/semver/pull/270
#### New Contributors
- [@​dmitris](https://github.com/dmitris) made their first contribution in https://github.com/Masterminds/semver/pull/257
**Full Changelog**: https://github.com/Masterminds/semver/compare/v3.3.1...v3.4.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlL2F1dG9tZXJnZSIsInJlbm92YXRlL2dvbGFuZyJdfQ==-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v3.3.1->v3.4.0Release Notes
Masterminds/semver (github.com/Masterminds/semver/v3)
v3.4.0Compare Source
There are a few changes in this release to highlight:
Constraintsnow has a propertyIncludePrerelease. When set to true theCheckandValidatemethods will include prereleases.>1.0.0-beta.1 < 2. In the past this would not have included prereleases because each constraint needed to have a prerelease. Now, only one constraint needs to have a prerelease. This is considered a long standing bug fix. Note, this does not carry across OR groups. For example,>1.0.0-beta.1 < 2 || > 3. In this case, prereleases will not be included when evaluating against>3.NewVersioncoercion with leading "0"'s is restored. This can be disabled by setting the package level propertyCoerceNewVersiontofalse.What's Changed
New Contributors
Full Changelog: https://github.com/Masterminds/semver/compare/v3.3.1...v3.4.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
d596362e42toac7a516177