Skip to content

Releases: coursier/versions

v0.3.3

18 Oct 14:24
893e6ca
Compare
Choose a tag to compare

Updates / maintenance

New Contributors

Full Changelog: v0.3.2...v0.3.3

v0.3.2

27 Mar 16:07
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.1...v0.3.2

v0.3.1

21 Apr 09:08
03029ca
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

Fixes

  • Fix minimumCompatibleVersion in EarlySemVer, SemVerSpec and PackVer, when passed "already minimum" versions, like 1.0.0 or 0.0.0 (#11, thanks to @Duhemm)

v0.3.0

04 Aug 10:26
508f7f1
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Changes

  • Rename VersionCompatibility.SemVer to VersionCompatibility.EarlySemVer: this version compatibility departs from the semantic versioning specification and enforces some compatibility for the 0.x versions. The EarlySemVer name makes this more explicit (added in #8, thanks to @eed3si9n)

v0.2.2

25 Jun 09:07
ae18cad
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release
  • Add VersionCompatibility.SemVerSpec, sticking more closely to the semantic versioning specification, wrt to the handling of 0.x versions in particular
  • In VersionCompatibility.SemVer and VersionCompatibility.SemVerSpec, don't assume compatibility with versions with tags (like -RC1 or -M2). E.g. don't assume 1.2.3 to be compatible with 1.2.2-RC1
  • Add VersionCompatibility.minimumCompatibleVersion, returning the assumed minimum version compatible with another version. E.g. minimum compatible version of 1.2.3 is:
    • 1 per SemVer
    • 1.2 per PackVer
    • 1.2.3 per Strict
    • 0 per Always
  • Add Previous.previousStableVersion, trying to guess the previous stable version of another version. Examples of previous stable versions
    • 1.2.3: 1.2.2
    • 1.2.0: unknown
    • 1.2.3-RC1: 1.2.2
    • 1.2.3+foo: 1.2.3
    • 1.2.3-RC1+foo: 1.2.2

v0.2.1

12 Jun 13:10
75e8a4c
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release
  • Add VersionCompatibility.name

v0.2.0

04 Jun 13:00
d38981b
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  • Actual semantic versioning compatibility checks (VersionCompatibility.SemVer was actually doing a "package versioning" check)

v0.1.0

03 Jun 18:02
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Initial import from coursier sources