diff --git a/CHANGELOG.md b/CHANGELOG.md index 850b68d..4d2af61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,38 @@ Java SemVer Changelog ===================== +## v0.10.0 (Jan 10, 2024) ## +* Made `Version` serializable ([#47](https://github.com/zafarkhaja/jsemver/issues/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` +* Created `Version.isValid()` method ([#26](https://github.com/zafarkhaja/jsemver/issues/26)) +* Updated version parser to accept partial versions, such as `1` or `1.2` ([#15](https://github.com/zafarkhaja/jsemver/issues/15)) +* Renamed and enhanced `Version`'s getter methods +* Renamed and enhanced `Version`'s "incrementor" methods +* Changed `Version.satisfies(Expression)`'s parameter to `Predicate` +* Created `Version.isPreRelease()` method +* Created `Version.isStable()` method +* Created `Version.isPublicApiStable()` method +* Created `Version.isPublicApiCompatibleWith(Version)` method +* Created methods to check versions' compatibility ([#21](https://github.com/zafarkhaja/jsemver/issues/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](https://github.com/zafarkhaja/jsemver/issues/23)) +* Fixed Exceptions' `getMessage()` method ([#38](https://github.com/zafarkhaja/jsemver/issues/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](https://github.com/zafarkhaja/jsemver/issues/44)) +* Improved deployment support +* Updated project dependencies +* Removed Travis CI integration + ## v0.9.0 (Mar 19, 2015) ## * Implemented internal DSL for SemVer Expressions ([#6](https://github.com/zafarkhaja/jsemver/issues/6)) * Added support for Caret (^) and X-Ranges to SemVer Expressions ([#18](https://github.com/zafarkhaja/jsemver/pull/18)) diff --git a/README.md b/README.md index f389b5c..d851d20 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -Java SemVer v0.10.0-SNAPSHOT (SemVer 2) -======================================= +Java SemVer v0.10.0 (SemVer 2) +============================== Java SemVer is a Java implementation of the Semantic Versioning Specification (http://semver.org/). @@ -31,29 +31,16 @@ Library Usage ## Installation ## -To install the Java SemVer library add the following dependency to your project +To use the latest stable version add the following dependency to your project -**Latest stable version** ~~~ xml com.github.zafarkhaja java-semver - 0.9.0 + 0.10.0 ~~~ -**Current development version** -~~~ xml - - com.github.zafarkhaja - java-semver - 0.10.0-SNAPSHOT - -~~~ -**NOTE**: To use the development version you need to add the Snapshot repository -(https://oss.sonatype.org/content/repositories/snapshots/) to your build -configuration file. - ## Common Use Cases ## The Java SemVer library is built around the `Version` class which represents diff --git a/pom.xml b/pom.xml index 2785388..06e8683 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.github.zafarkhaja java-semver - 0.10.0-SNAPSHOT + 0.10.0 jar Java SemVer