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

chore: Update scru128 requirement from 2.2.0 to 3.0.1 #42

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 31, 2023

Updates the requirements on scru128 to permit the latest version.

Changelog

Sourced from scru128's changelog.

v3.0.1 - 2023-07-29

Most notably, v3 switches the letter case of generated IDs from uppercase (e.g., "036Z951MHJIKZIK2GSL81GR7L") to lowercase (e.g., "036z951mhjikzik2gsl81gr7l"), though it is technically not supposed to break existing code because SCRU128 is a case-insensitive scheme. Other changes include the removal of deprecated APIs and reorganization of crate feature flags.

Removed

  • Deprecated items:
    • scru128() and scru128_string()
    • Scru128Id::encode_buf()
    • Scru128Generator#generate_core()
    • Scru128Generator#last_status() and generator::Status
  • Dependency on once_cell crate
    • global_gen feature now uses std::sync::OnceLock (stable since Rust 1.70)

Changed

  • Letter case of generated IDs from uppercase to lowercase
  • Scru128Generator's prerequisite from rand::RngCore to Scru128Rng to relax hard dependency on rand crate
  • Internal representation of Scru128Id from u128 to big-endian byte array representation
  • Edge case behavior of generator functions' rollback allowance handling

Added

  • rand feature flag to opt out dependency on rand crate
  • default_rng feature flag to opt out default DefaultRng
  • global_gen feature flag to opt out default global generator
  • const qualifier to Scru128Id::encode()
  • Scru128Id::as_bytes() and impl AsRef<[u8]> for Scru128Id

v2.8.1 - 2023-06-21

Changed

  • Internal representation and error messages of ParseError

v2.8.0 - 2023-06-11

Changed

  • Internal representation and error messages of ParseError

Added

  • Scru128Id::from_bytes()

... (truncated)

Commits
  • e6f3b09 v3.0.1 Released
  • c79eb84 build: prepare for release
  • df4b19c refactor: change edge case behavior of rollback allowance handling
  • 030666d v3.0.0 Release Candidate (RC3)
  • 3cd04b7 build: prepare for release
  • 96f1c94 style: fix typo in private doc comment
  • e608a4d refactor: simplify Unix fork handling code of global_gen
  • 7409515 docs: rewrite multi-threaded examples with std::thread::scope
  • fd81d3d test: rewrite tests that used thread_local to utilize OnceLock
  • f271510 docs: refine documentation of crate features
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [scru128](https://github.com/scru128/rust) to permit the latest version.
- [Changelog](https://github.com/scru128/rust/blob/main/CHANGELOG.md)
- [Commits](scru128/rust@v2.2.0...v3.0.1)

---
updated-dependencies:
- dependency-name: scru128
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jul 31, 2023
@cablehead cablehead merged commit ccd5a31 into main Oct 6, 2023
4 checks passed
@cablehead cablehead deleted the dependabot/cargo/scru128-3.0.1 branch October 6, 2023 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant