All Versions
175
Latest Version
Avg Release Cycle
63 days
Latest Release
-

Changelog History
Page 7

  • v4.2.0 Changes

    • ๐Ÿš… Enable development-mode code reloading. With Rails 5.0+, you don't need to restart Sidekiq to pick up your Sidekiq::Worker changes anymore! [#2457]
    • โœ‚ Remove Sinatra dependency. Sidekiq's Web UI now uses Rack directly. Thank you to Sidekiq's newest committer, badosu, for writing the code and doing a lot of testing to ensure compatibility with many different 3rd party plugins. If your Web UI works with 4.1.4 but fails with 4.2.0, please open an issue. [#3075]
    • Allow tuning of concurrency with the RAILS_MAX_THREADS env var. [#2985] This is the same var used by Puma so you can tune all of your systems the same way: sh web: RAILS_MAX_THREADS=5 bundle exec puma ... worker: RAILS_MAX_THREADS=10 bundle exec sidekiq ... Using -c or config/sidekiq.yml overrides this setting. I recommend adjusting your config/database.yml to use it too so connections are auto-scaled: yaml pool: <%= ENV['RAILS_MAX_THREADS'] || 5 %>
  • v4.1.4 Changes

    • ๐Ÿš… Unlock Sinatra so a Rails 5.0 compatible version may be used [#3048]
    • ๐Ÿ›  Fix race condition on startup with JRuby [#3043]
  • v4.1.3 Changes

    • Please note the Redis 3.3.0 gem has a memory leak, Redis 3.2.2 is recommended until that issue is fixed.
    • Sinatra 1.4.x is now a required dependency, avoiding cryptic errors and old bugs due to people not upgrading Sinatra for years. [#3042]
    • ๐Ÿ›  Fixed race condition in heartbeat which could rarely lead to lingering processes on the Busy tab. [#2982] ```ruby
  • v4.1.2 Changes

    • ๐Ÿ›  Fix Redis data leak with worker data when a busy Sidekiq process crashes. You can find and expire leaked data in Redis with this script: bash $ redis-cli keys "*:workers" | while read LINE ; do TTL=`redis-cli expire "$LINE" 60`; echo "$LINE"; done; Please note that keys can be dangerous to run on a large, busy Redis. Caveat runner.
    • ๐Ÿ’Ž Freeze all string literals with Ruby 2.3. [#2741]
    • ๐Ÿ‘ท Client middleware can now stop bulk job push. [#2887]
  • v4.1.1 Changes

    • ๐Ÿ‘ Much better behavior when Redis disappears and comes back. [#2866]
    • โšก๏ธ Update FR locale [dbachet]
    • ๐ŸŒฒ Don't fill logfile in case of Redis downtime [#2860]
    • ๐Ÿ‘ Allow definition of a global retries_exhausted handler. [#2807] ruby Sidekiq.configure_server do |config| config.default_retries_exhausted = -> (job, ex) do Sidekiq.logger.info "#{job['class']} job is now dead" end end
  • v4.1.0 Changes

    • ๐Ÿท Tag quiet processes in the Web UI [#2757, jcarlson]
    • Pass last exception to sidekiq_retries_exhausted block [#2787, Nowaker] ruby class MyWorker include Sidekiq::Worker sidekiq_retries_exhausted do |job, exception| end end
    • โž• Add native support for ActiveJob's set(options) method allowing ๐Ÿ‘ท you to override worker options dynamically. This should make it ๐Ÿ‘ท even easier to switch between ActiveJob and Sidekiq's native APIs [#2780] ```ruby class MyWorker include Sidekiq::Worker sidekiq_options queue: 'default', retry: true

    def perform(*args) # do something end end

    MyWorker.set(queue: 'high', retry: false).perform_async(1)

  • v4.0.2 Changes

    • ๐Ÿ‘ Better Japanese translations
    • โœ‚ Remove json gem dependency from gemspec. [#2743]
    • โœ… There's a new testing API based off the Sidekiq::Queues namespace. All assertions made against the Worker class still work as expected. [#2676, brandonhilkert] ruby assert_equal 0, Sidekiq::Queues["default"].size HardWorker.perform_async("log") assert_equal 1, Sidekiq::Queues["default"].size assert_equal "log", Sidekiq::Queues["default"].first['args'][0] Sidekiq::Queues.clear_all
  • v4.0.1 Changes

    • โœ… Yank new queue-based testing API [#2663]
    • ๐Ÿ›  Fix invalid constant reference in heartbeat
  • v4.0.0 Changes

    • ๐ŸŽ Sidekiq's internals have been completely overhauled for performance and to remove dependencies. This has resulted in major speedups, as detailed on my blog.
    • โฌ†๏ธ See the [4.0 upgrade notes](docs/4.0-Upgrade.md) for more detail.
  • v3.5.4 Changes

    • ๐Ÿ‘ป Ensure exception message is a string [#2707]
    • โช Revert racy Process.kill usage in sidekiqctl