diff --git a/CHANGELOG.md b/CHANGELOG.md index 10e2cfe..65806e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file. ## [Unreleased] -Nothing. +## [3.1.1] - 2021-07-17 + +### Added + +- Added module name for Java 9+ ## [3.1.0] - 2021-02-13 @@ -32,7 +36,7 @@ Adds static methods for extracting information from ULIDs. This version breaks compatibility. It is a rewrite from scratch. -Now the `uuid-creator` can generate two types of ULID: default (non-monotonic) and monotonic. Until version 2.3.3 this library only generated monotonic ULIDs. +Now the `ulid-creator` can generate two types of ULID: default (non-monotonic) and monotonic. Until version 2.3.3 this library only generated monotonic ULIDs. ### Added @@ -51,9 +55,9 @@ Now the `uuid-creator` can generate two types of ULID: default (non-monotonic) a ### Changed -- Rewrited `ulid-creator` -- Rewrited all `README.md` -- Rewrited all test cases +- Rewrote `UlidCreator` +- Rewrote all `README.md` +- Rewrote all test cases ### Removed @@ -65,7 +69,7 @@ Now the `uuid-creator` can generate two types of ULID: default (non-monotonic) a - Removed class `InvalidUlidException`, replaced by `IllegalArgumentException` - Removed interface `RandomStrategy`, replaced by `RandomGenerator` - Removed class `DefaultRandomStrategy`, replaced by `DefaultRandomGenerator` -- Removed class `OtherRandomStrategy`` +- Removed class `OtherRandomStrategy` - Removed interface `TimestampStrategy` - Removed class `DefaultTimestampStrategy` - Removed class `FixedTimestampStrategy` @@ -225,7 +229,8 @@ Project created as an alternative Java implementation of [ULID spec](https://git - Added `LICENSE` - Added test cases -[unreleased]: https://github.com/f4b6a3/ulid-creator/compare/ulid-creator-3.1.0...HEAD +[unreleased]: https://github.com/f4b6a3/ulid-creator/compare/ulid-creator-3.1.1...HEAD +[3.1.0]: https://github.com/f4b6a3/ulid-creator/compare/ulid-creator-3.1.0...ulid-creator-3.1.1 [3.1.0]: https://github.com/f4b6a3/ulid-creator/compare/ulid-creator-3.0.1...ulid-creator-3.1.0 [3.0.1]: https://github.com/f4b6a3/ulid-creator/compare/ulid-creator-3.0.0...ulid-creator-3.0.1 [3.0.0]: https://github.com/f4b6a3/ulid-creator/compare/ulid-creator-2.3.3...ulid-creator-3.0.0 diff --git a/README.md b/README.md index df560f6..a54f8b8 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # ULID Creator -A Java library for generating [ULIDs](https://github.com/ulid/spec). +A Java library for generating [ULIDs](https://github.com/ulid/spec) (Universally Unique Lexicographically Sortable Identifier). * Generated in lexicographical order; * Can be stored as a UUID/GUID; @@ -35,11 +35,13 @@ Add these lines to your `pom.xml`. com.github.f4b6a3 ulid-creator - 3.1.0 + 3.1.1 ``` See more options in [maven.org](https://search.maven.org/artifact/com.github.f4b6a3/ulid-creator). +Module name: `com.github.f4b6a3.ulid`. + ### ULID The ULID is a 128 bit long identifier. The first 48 bits represent the count of milliseconds since Unix Epoch, 1970-01-01. The remaining 80 bits are generated by a secure random number generator. @@ -211,7 +213,7 @@ UlidFactory factory = UlidCreator.getDefaultFactory().withRandomGenerator(awesom Ulid ulid = factory.create(); ``` -(*) since it provides a void method like `nextBytes(byte[])`. +(*) as long as it provides a void method like `nextBytes(byte[])`. Benchmark ------------------------------------------------------ diff --git a/pom.xml b/pom.xml index a5040ca..10030e1 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ ulid-creator http://github.com/f4b6a3/ulid-creator - A Java library for generating and handling ULIDs. + A Java library for generating and handling ULIDs (Universally Unique Lexicographically Sortable Identifier). @@ -25,10 +25,11 @@ - UTF-8 8 + com.github.f4b6a3.ulid ${jdk.version} ${jdk.version} + UTF-8 @@ -60,6 +61,25 @@ + + org.apache.maven.plugins + maven-jar-plugin + 3.2.0 + + + + ${module.name} + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.2.0 + + + maven-deploy-plugin 2.8.2