Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump java-semver from 0.9.0 to 0.10.2 #14

Conversation

stchar
Copy link
Owner

@stchar stchar commented Jul 8, 2024

Bumps java-semver from 0.9.0 to 0.10.2.

Release notes

Sourced from java-semver's releases.

v0.10.2

In this release...

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

v0.10.1

In this release...

  • Fixed backward compatibility of Version's getters

v0.10.0

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.

Changelog

Sourced from java-semver's changelog.

v0.10.2 (Jan 14, 2024)

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

v0.10.1 (Jan 12, 2024)

  • Fixed backward compatibility of Version's getters

v0.10.0 (Jan 10, 2024)

  • Made Version serializable (#47)
  • Enhanced Version.Builder class
  • Widened numeric identifiers to long
  • Replaced Version's static factory methods with Version.parse() and Version.of()
  • Created Version.tryParse() method which returns Optional<Version>
  • Created Version.isValid() method (#26)
  • Updated version parser to accept partial versions, such as 1 or 1.2 (#15)
  • Renamed and enhanced Version's getter methods
  • Renamed and enhanced Version's "incrementor" methods
  • Changed Version.satisfies(Expression)'s parameter to Predicate<Version>
  • Created Version.isPreRelease() method
  • Created Version.isStable() method
  • Created Version.isPublicApiStable() method
  • Created Version.isPublicApiCompatibleWith(Version) method
  • Created methods to check versions' compatibility (#21)
  • Refactored Version's comparators and "comparator" methods
  • Deprecated Version.BUILD_AWARE_ORDER comparator
  • Updated Range Expressions parser to support double-symbol && and || operators (#23)
  • Fixed Exceptions' getMessage() method (#38)
  • Performed major code and documentation improvements
  • Fixed various bugs and warnings, improved stability
  • Added Automatic-Module-Name to MANIFEST for JPMS support
  • Upgraded Java support to 1.8
  • Migrated to JUnit 5
  • Added CONTRIBUTING.md
  • Added .editorconfig file
  • Included LICENSE in the JAR artifact (#44)
  • Improved deployment support
  • Updated project dependencies
  • Removed Travis CI integration
Commits
  • 75b5abe Update for public release 0.10.2
  • 6614896 Fix Version.toBuilder() bug
  • da52637 Update for public release 0.10.1
  • 2b77b5b Fix backward compatibility of Version's getters
  • 7fb445e Update for public release 0.10.0
  • 21293c7 Tidy up CHANGELOG.md
  • 03ba2df Update maven dependencies
  • 34ffe72 Support double-symbol && and || operators in Ranges
  • 121c5e3 Simplify Range Expressions section in README
  • 77c78c2 Reword Version's main Javadoc comment
  • Additional commits viewable in compare view

@stchar stchar added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jul 8, 2024
@stchar stchar merged commit b066670 into master Jul 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant