terramate icon indicating copy to clipboard operation
terramate copied to clipboard

fix!: prereleases should not match constraints for previous versions.

Open i4ki opened this issue 9 months ago • 1 comments

What this PR does / why we need it:

Improve the match of prereleases so ~> 1 does not match 2-alpha. Even though the order 1 < 2-alpha < 2 is satisfied, the 2-alpha could potentially introduce breaking changes and then put projects using pessimistic operator at risk.

Which issue(s) this PR fixes:

none

Special notes for your reviewer:

Does this PR introduce a user-facing change?

yes, it's a breaking change.

i4ki avatar May 20 '24 17:05 i4ki