All Versions
175
Latest Version
Avg Release Cycle
63 days
Latest Release
-
Changelog History
Page 7
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
orconfig/sidekiq.yml
overrides this setting. I recommend adjusting yourconfig/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 thatkeys
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]
- ๐ 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:
-
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