Skip to content

v2.0.0

Choose a tag to compare

@bdurand bdurand released this 24 Oct 06:12
· 25 commits to main since this release
7dcb1df

Changed

  • ConsistentRandom#rand uses a faster hashing algorithm for generating random values. This will make the value consistent across different Ruby versions and platforms.

Added

  • Added ConsistentRandom::SidekiqClientMiddleware to allow persisting consistent random seeds to Sidekiq jobs so behavior is consistent between when jobs are enqueued and when they are executed.
  • Added ConsistentRandom::ActiveJob for hooking into ActiveJob to persist consistent random seeds to jobs.

Full Changelog: v1.0.0...v2.0.0