Skip to content

Commit

Permalink
Update for public release 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zafarkhaja committed Jan 10, 2024
1 parent 21293c7 commit 7fb445e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 18 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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<Version>`
* 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<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](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))
Expand Down
21 changes: 4 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -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/).
Expand Down Expand Up @@ -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
<dependency>
<groupId>com.github.zafarkhaja</groupId>
<artifactId>java-semver</artifactId>
<version>0.9.0</version>
<version>0.10.0</version>
</dependency>
~~~

**Current development version**
~~~ xml
<dependency>
<groupId>com.github.zafarkhaja</groupId>
<artifactId>java-semver</artifactId>
<version>0.10.0-SNAPSHOT</version>
</dependency>
~~~
**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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.github.zafarkhaja</groupId>
<artifactId>java-semver</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
<packaging>jar</packaging>

<name>Java SemVer</name>
Expand Down

0 comments on commit 7fb445e

Please sign in to comment.