There are a few changes in this release to highlight:
Constraints
now has a propertyIncludePrerelease
. When set to true theCheck
andValidate
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 propertyCoerceNewVersion
tofalse
.
What's Changed
- fix the CodeQL link by @dmitris in #257
- Restore detailed errors when failed to parse with NewVersion by @mattfarina in #262
- updating go version tested with by @mattfarina in #263
- Restore the ability to have leading 0's with NewVersion by @mattfarina in #266
- Handle pre-releases on all in an and group by @mattfarina in #267
- Add property to include prereleases by @mattfarina in #268
- Updating the error message handling by @mattfarina in #269
- Update the release notes and readme for new version by @mattfarina in #270
New Contributors
Full Changelog: v3.3.1...v3.4.0