8000 Release 2.0.0 by azam · Pull Request #24 · azam/ulidj · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Release 2.0.0 #24

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

Merged
merged 42 commits into from
May 30, 2025
Merged

Release 2.0.0 #24

merged 42 commits into from
May 30, 2025

Conversation

azam
Copy link
Owner
@azam azam commented May 30, 2025

⚠️ 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-v1 and development branch will be develop-v1

🆕 Enhancements

  • Implemented timestamp generation from java.time.Clock; current methods will still use System.currentTimeMillis()
  • Added methods with java.time.Clock parameters
    • ULID.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

azam and others added 30 commits April 14, 2023 13:46
* 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
Breaking change: Random default instance use a lazily instantiated SecureRandom.
Breaking change: generate, generateBinary, toBinary, fromBinary now checks for ULID validity.
Fix: Prevent monotonic ULID increment entropy on invalid timestamp.
Fix: First 8 bit of timestamp may be converted wrongly.
Feature: Add JaCoCo report.
Feature: More tests and benchmarks.
…s brittle)

Fix: Remove private constructor for ULID.
Fix: Update Javadoc plugin.
Feature: Add source cross reference plugin.
@azam azam self-assigned this May 30, 2025
@azam azam added the release Release to main label May 30, 2025
@azam azam merged commit 0ef67e2 into main May 30, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Release to main
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0