Skip to content

Releases: zafarkhaja/jsemver

v0.10.2

14 Jan 10:39
Compare
Choose a tag to compare

In this release...

  • Fixed Version.toBuilder() bug (#68)

v0.10.1

12 Jan 11:46
Compare
Choose a tag to compare

In this release...

  • Fixed backward compatibility of Version's getters

v0.10.0

10 Jan 17:24
Compare
Choose a tag to compare

In this long overdue release...

  • The Version class has been almost completely rewritten through refactoring, along with its unit tests. The overall class structure has been made more readable and coherent. The code has been polished and the Javadoc comments have been considerably improved. Some minor requested features, like serializability, have been added and all known bugs have been fixed.

  • The public API has undergone a complete overhaul. Almost all of the methods have been deprecated; most of them were just renamed for the sake of consistency and/or common practices, and a couple of them, like incrementBuildMetadata(), didn't comply with the specification conceptually. A dozen or so new methods have been added, as well.

  • The equals(), hashCode() and compareTo() methods have been repurposed for complete equality, including build metadata.

  • The Version.Builder class has been also completely refactored and updated with new methods, so that it's more useful.

For a more detailed list of changes please see the CHANGELOG or the commit history v0.9.0...v0.10.0.

P.S. I strove to make this release as backward compatible as possible, so even though there are some drastic changes in this release, the migration process should be pretty straightforward and painless.

v0.9.0

09 Jan 18:00
Compare
Choose a tag to compare

In this release...

  • Implemented internal DSL for SemVer Expressions (#6)
  • Added support for Caret (^) and X-Ranges to SemVer Expressions (#18)
  • Improved Tilde ranges to be compatible with node-semver (#18)
  • Refactored and polished SemVer Expressions parser
  • Performed minor code improvements
  • Updated project dependencies

v0.8.0

09 Jan 17:58
Compare
Choose a tag to compare

In this release...

  • Implemented fluent interface for Version.Builder
  • Rearranged and refactored exceptions
  • Refactored version and SemVer Expressions parsers
  • Improved error handling and reporting in parsers (#7)
  • Performed minor code improvements and bug fixes
  • Enhanced Javadoc comments

v0.7.2

09 Jan 17:56
Compare
Choose a tag to compare

In this release...

  • Fixed Version.hashCode() bug (#8)

v0.7.1

09 Jan 17:54
Compare
Choose a tag to compare

In this release...

  • Fixed "unchecked generic array creation" warnings (#5)
  • Performed minor code and Javadoc improvements

v0.7.0

09 Jan 17:51
Compare
Choose a tag to compare

In this release...

  • Upgraded the library to comply with SemVer 2.0.0
  • Replaced regular expressions with a parser
  • Implemented SemVer Expressions (#1)
  • Documented the source code with Javadoc (#2)
  • Published the library to Maven Central (#4)
  • Performed refactoring and minor code improvements

Including changes from previous unpublished versions

  • Implemented basic functionality in compliance with SemVer 2.0.0-rc.2
  • Created Version.Builder class
  • Created Version.BUILD_AWARE_ORDER comparator