Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 2.23 KB

CHANGELOG.md

File metadata and controls

61 lines (40 loc) · 2.23 KB

0.7.0 (Feb 7, 2024)

  • support for Sidekiq 7.2 (thanks for the issue report 9mm)
  • dropped support for Sidekiq 5 and older as it reached EOL
  • removed redis as gem dependency (relying on sidekiq version you're using to choose the right one)

0.6.0 (May 27, 2023)

  • support for Sidekiq 7 (thanks to @stympy)
  • move CI pipelines to Github Actions - drop tests for everything below Sidekiq 5, run tests on redis 6.2 & 7.0 and ruby 2.6 - 3.1

0.5.0 (August 13, 2021)

  • maintenance - test on latest ruby versions (remove outdated rubies from build), add sidekiq 6 to build matrix, remove coveralls
  • fix for ruby 3 (thanks to @ak15)

0.4.0 (July 18, 2018)

  • make lock container configurable (non breaking change) - in case you would like to something else than Thread.current - now you easily can

0.3.1 (March 3, 2018)

  • do not assume ActiveSupport is loaded / or old Sidekiq patches are present (add own symbolize keys logic)
  • make options and payload attr readers as private in RedisLock as it should be - potentially breaking change if you were accessing those (abusing) somehow for whatever reason (that shouldn't happen in the first place!)
  • run test on travis for sidekiq 2.17, 3.5, 4.2 and >= 5.1 and all newest rubies (2.2 - 2.5)

0.3.0 (July 28, 2016)

  • ability to set custom lock value. Works just like setting timeout and name, handles procs as well (thanks to @piokaczm)
sidekiq_options lock: {
    timeout: timeout,
    name:    name,
    value:   custom_value
  }

0.2.0 (December 08, 2013)

  • ability to globally configure lock method name
Sidekiq.configure_server do |config|
  config.lock_method = :redis_lock
end
  • added inline test helper, by requiring sidekiq/lock/testing/inline you will have access to two methods:

    • set_sidekiq_lock(worker_class, payload)

    • clear_sidekiq_lock

    That will setup RedisLock under proper thread variable. This can be handy if you test your workers inline (without full stack middleware)

0.0.1 (October 14, 2013)

  • Initial release