Skip to content

Releases: G00fY2/version-compare

1.5.0

02 Jan 14:44
10e9907
Compare
Choose a tag to compare
  • changed version number handling from Integer to Long
    • getSubversionNumbers() now returns a list of Long
    • getMajor(), getMinor(), getPatch() now return long
  • optimized and cleanup compare logic to use the Comparable methods
  • changed nullability annotations to org.jetbrains.annotations
  • fixed a bug where the pre-release version number was not detected due to case sensitivity
  • add Kotlin samples to the README

1.4.1

23 Mar 21:05
e03247a
Compare
Choose a tag to compare

MOVED TO MAVEN-CENTRAL (see 1.4.0 changes)

  • update test dependencies
  • refactor code smells

1.4.0

22 Mar 21:17
f62b83e
Compare
Choose a tag to compare

MOVED TO MAVEN-CENTRAL

  • future releases will only be available on Maven Central
  • package name had to be changed due to restrictions of the verification process
  • logic is untouched
  • updated build scripts, add GitHub Actions CI and SonarCloud integration

Migration Guide:

Change your Gradle or maven dependency

com.g00fy2:versioncompare:1.3.7
->
io.github.g00fy2:versioncompare:1.4.0

Change you imports

import com.g00fy2.versioncompare.Version
->
import io.github.g00fy2.versioncompare.Version

1.3.7

13 Oct 12:44
Compare
Choose a tag to compare
  • explicitly set java compile target to 1.8 (like before 1.3.6) and recompile library (fixes #10)

1.3.6

12 Oct 23:35
Compare
Choose a tag to compare
  • fixed critical bug added with previous version 1.3.5 (fixes #9)

1.3.5

09 Oct 10:52
Compare
Choose a tag to compare

PLEASE UPDATE to 1.3.6, since this version has a critical bug

  • add hashCode implementation (fixes #8)

1.3.4

03 Jan 16:21
Compare
Choose a tag to compare

1.3.3

09 Sep 23:17
Compare
Choose a tag to compare
  • add support for versions tagged with snapshot (lowest possible pre-release type)

1.3.2

08 Apr 15:48
Compare
Choose a tag to compare
  • library logic untouched
  • switched from android-library to java-library and embed R8 rules (9bf15a5)
    • no longer two separate artifacts (aar/jar)
    • updated Gradle and deployment plugins

1.3.1

10 Mar 15:02
Compare
Choose a tag to compare
  • simplify the preReleaseVersion logic
  • improve release qualifier detection