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

Release 1.1.0 #17

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 29 commits into from
May 24, 2025
Merged

Release 1.1.0 #17

merged 29 commits into from
May 24, 2025

Conversation

azam
Copy link
Owner
@azam azam commented May 24, 2025
  • Breaking changes

    • ULID and MonotonicULID are now final classes
    • These methods now check for ULID validity and throws IllegalArgumentException if not valid
      • ULID.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[])
  • New features

    • Immutable, sortable ULID instance, instantiable from the following methods
      • ULID.randomULID()
      • ULID.randomULID(Random)
      • ULID.parseULID(CharSequence)
      • ULID.parseULID(byte[])
      • ULID.generateULID(long,byte[])
      • MonotonicULID.randomULID()
    • Static method on MonotonicULID to generate ULID values from a default singleton MonotonicULID instance
      • MonotonicULID.random()
      • MonotonicULID.randomBinary()
      • MonotonicULID.randomULID()
  • Improvements

    • These methods now uses a static lazily instantiated instance of java.security.SecureRandom for performance
      • ULID.random()
      • ULID.randomBinary()
      • new MonotonicULID()
    • Fix MonotonicULID last entropy increment being persisted on entropy overflow
  • Project

    • Added JaCoCo
    • Added Maven site generation
    • Updated documentation
    • Added gh-pages for Maven site generation and benchmark results link

azam and others added 25 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 24, 2025
@azam azam added the release Release to main label May 24, 2025
@azam azam merged commit c6f4a84 into main May 24, 2025
23 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