Skip to content
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

feat: Support Monotonic UUIDv7 Batch Generation #191

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ashwingopalsamy
Copy link

Changes

This PR introduces a new feature for monotonic UUIDv7 batch generation including;

  • GenerateBatchV7 method in a new MonotonicGen struct for batch generation.
  • WithCustomPRNG option for deterministic UUID generation.
  • Monotonic counter handling with rollover support and timestamp management.
  • Unit tests for monotonicity, deterministic behavior and edge cases; including fuzz tests.

BY aligning with the existing library structure; this PR proposes enhanced functionality for users requiring batch UUID generation while maintaining compatibility with RFC Spec. Feedback welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant