Releases: azam/ulidj
Releases · azam/ulidj
2.0.0
What's Changed
🏁 Release
⚠️ Breaking Changes
- Updated target JDK from 1.7 to 11
- v1.x will stay on JDK 1.7 with backports of relevant feature updates and bug fixes from v2.x whenever feasible
- v1.x main branch will be
main-v1and development branch will bedevelop-v1
🆕 Enhancements
- Implemented timestamp generation from
java.time.Clock; current methods will still useSystem.currentTimeMillis() - Added methods with
java.time.ClockparametersULID.random(Clock)ULID.randomBinary(Clock)ULID.randomULID(Clock)ULID.random(Clock,Random)ULID.randomBinary(Clock,Random)ULID.randomULID(Clock,Random)MonotonicULID(Clock)MonotonicULID(Clock,Random)
- Added
module-info.java - Updated to Junit 5
- Updated tests to match Junit 5
📝 Others
- Updated Maven plugins to match target JDK
- Updated Github actions to match target JDK
Full Changelog: 1.1.0...2.0.0
1.1.0
What's Changed
🏁 Release
⚠️ Breaking Changes
ULIDandMonotonicULIDare nowfinalclasses- These methods now check for ULID validity and throws
IllegalArgumentExceptionif not validULID.generate(long,byte[])ULID.generateBinary(long,byte[])ULID.getTimestamp(CharSequence)ULID.getTimestampBinary(byte[])ULID.getEntropy(CharSequence)ULID.getEntropyBinary(byte[])ULID.toBinary(CharSequence)ULID.fromBinary(byte[])
🆕 Enhancements
- Immutable, sortable
ULIDinstance, instantiable from the following methodsULID.randomULID()ULID.randomULID(Random)ULID.parseULID(CharSequence)ULID.parseULID(byte[])ULID.generateULID(long,byte[])MonotonicULID.randomULID()
- Static method on
MonotonicULIDto generate ULID values from a default singletonMonotonicULIDinstanceMonotonicULID.random()MonotonicULID.randomBinary()MonotonicULID.randomULID()
- These methods now uses a static lazily instantiated instance of
java.security.SecureRandomfor performanceULID.random()ULID.randomBinary()new MonotonicULID()
🕷 Fixes
- Fix
MonotonicULIDlast entropy increment being persisted on entropy overflow
📝 Others
- Remove dependabot by @azam in #23
- Added JaCoCo
- Added Maven site generation
- Updated documentation
- Added gh-pages for Maven site generation and benchmark results link
Full Changelog: 1.0.5...1.1.0
Release 1.0.5
What's Changed
🏁 Release
📝 Others
- Update Github Actions
- Change compiler source and target on JDK higher than 17 for tests
- Delegate source parameter for javadoc to maven.compiler.source
- Add tests as JDK 11, 17 and 21
- Update Maven plugins. Update junit version. Fix wrong values.
- Add devcontainer
- Fix javadoc warnings
- Add jmh benchmark
Full Changelog: 1.0.4...1.0.5
Release 1.0.4
Release 1.0.3
Release 1.0.2
What's Changed
🛠️ Dependencies
- Bump junit from 4.12 to 4.13.1 by @dependabot in #3
📝 Others
New Contributors
- @jkugiya made their first contribution in #2
- @dependabot made their first contribution in #3
Full Changelog: 1.0.1...1.0.2