2014-03-08 23:54:59 -05:00
|
|
|
3.0.0
|
2014-02-02 00:14:50 -05:00
|
|
|
-----------
|
|
|
|
|
2014-03-08 23:54:59 -05:00
|
|
|
**Not yet released**
|
|
|
|
|
2014-02-24 23:47:44 -05:00
|
|
|
Please see [Upgrading.md](Upgrading.md) for more comprehensive upgrade notes.
|
2014-02-13 23:45:07 -05:00
|
|
|
|
2014-02-25 23:36:13 -05:00
|
|
|
- **Global Error Handlers** - blocks of code which handle errors that
|
2014-02-24 23:47:44 -05:00
|
|
|
occur anywhere within Sidekiq, not just within middleware.
|
2014-02-10 00:17:05 -05:00
|
|
|
- **Dead Job Queue** - jobs which run out of retries are now moved to a dead
|
2014-02-09 17:56:01 -05:00
|
|
|
job queue. These jobs must be retried manually or they will expire
|
2014-02-24 23:47:44 -05:00
|
|
|
after 6 months or 10,000 jobs. The Web UI contains a "Dead" tab
|
2014-02-10 00:17:05 -05:00
|
|
|
exposing these jobs.
|
2014-03-03 00:18:26 -05:00
|
|
|
- **Process Heartbeat** - each Sidekiq process will ping Redis every 5
|
2014-03-08 17:33:25 -05:00
|
|
|
seconds to give a summary of the Sidekiq population at work.
|
2014-03-07 00:30:11 -05:00
|
|
|
- The Workers tab is now renamed to Busy and contains a list of live
|
2014-03-08 17:33:25 -05:00
|
|
|
Sidekiq processes and jobs in progress.
|
2014-02-02 00:14:50 -05:00
|
|
|
- **Remove official support for Ruby 1.9** Things still might work but
|
|
|
|
I no longer actively test on it.
|
2014-02-13 23:45:07 -05:00
|
|
|
- **Remove built-in support for Redis-to-Go**.
|
2014-02-02 00:38:59 -05:00
|
|
|
Heroku users: `heroku config:set REDIS_PROVIDER=REDISTOGO_URL`
|
|
|
|
- Removed 'sidekiq/yaml\_patch', this was never documented or recommended.
|
2014-02-10 00:17:05 -05:00
|
|
|
- **Remove built-in error integration for Airbrake, Honeybadger, ExceptionNotifier and Exceptional**.
|
|
|
|
Each error gem should provide its own Sidekiq integration. Update your error gem to the latest
|
|
|
|
version to pick up Sidekiq support.
|
2014-02-02 00:25:24 -05:00
|
|
|
- Remove deprecated Sidekiq::Client.registered\_\* APIs
|
|
|
|
- Remove deprecated support for the old Sidekiq::Worker#retries\_exhausted method.
|
2014-03-07 00:30:11 -05:00
|
|
|
- Remove usage of the term 'Worker' in the UI for clarity. Users would call both threads and
|
|
|
|
processes 'workers'. Instead, use "Thread", "Process" or "Job".
|
2014-02-02 00:14:50 -05:00
|
|
|
|
2014-02-21 20:59:32 -05:00
|
|
|
2.17.7
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Auto-prune jobs older than one hour from the Workers page [#1508]
|
2014-02-28 00:15:08 -05:00
|
|
|
- Add Sidekiq::Workers#prune which can perform the auto-pruning.
|
2014-02-24 23:01:10 -05:00
|
|
|
- Fix issue where a job could be lost when an exception occurs updating
|
|
|
|
Redis stats before the job executes [#1511]
|
2014-02-21 20:59:32 -05:00
|
|
|
|
2014-02-19 00:05:23 -05:00
|
|
|
2.17.6
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix capistrano integration due to missing pidfile. [#1490]
|
|
|
|
|
2014-02-09 16:39:04 -05:00
|
|
|
2.17.5
|
2014-02-07 17:04:33 -05:00
|
|
|
-----------
|
|
|
|
|
2014-02-15 15:41:07 -05:00
|
|
|
- Automatically use the config file found at `config/sidekiq.yml`, if not passed `-C`. [#1481]
|
2014-02-09 18:08:21 -05:00
|
|
|
- Store 'retried\_at' and 'failed\_at' timestamps as Floats, not Strings. [#1473]
|
2014-02-07 17:04:33 -05:00
|
|
|
- A `USR2` signal will now reopen _all_ logs, using IO#reopen. Thus, instead of creating a new Logger object,
|
|
|
|
Sidekiq will now just update the existing Logger's file descriptor [#1163].
|
2014-02-08 15:50:17 -05:00
|
|
|
- Remove pidfile when shutting down if started with `-P` [#1470]
|
2014-02-02 00:14:50 -05:00
|
|
|
|
2014-02-01 16:51:09 -05:00
|
|
|
2.17.4
|
2014-01-30 12:22:07 -05:00
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix JID support in inline testing, #1454
|
|
|
|
- Polish worker arguments display in UI, #1453
|
|
|
|
- Marshal arguments fully to avoid worker mutation, #1452
|
2014-02-01 16:51:09 -05:00
|
|
|
- Support reverse paging sorted sets, #1098
|
2014-01-30 12:22:07 -05:00
|
|
|
|
|
|
|
|
2014-01-16 18:43:32 -05:00
|
|
|
2.17.3
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Synchronously terminates the poller and fetcher to fix a race condition in bulk requeue during shutdown [#1406]
|
|
|
|
|
2014-01-03 00:58:41 -05:00
|
|
|
2.17.2
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix bug where strictly prioritized queues might be processed out of
|
2014-01-09 02:31:44 -05:00
|
|
|
order [#1408]. A side effect of this change is that it breaks a queue
|
|
|
|
declaration syntax that worked, although only because of a bug—it was
|
|
|
|
never intended to work and never supported. If you were declaring your
|
|
|
|
queues as a comma-separated list, e.g. `sidekiq -q critical,default,low`,
|
|
|
|
you must now use the `-q` flag before each queue, e.g.
|
|
|
|
`sidekiq -q critical -q default -q low`.
|
2014-01-03 00:58:41 -05:00
|
|
|
|
2013-12-14 23:44:52 -05:00
|
|
|
2.17.1
|
|
|
|
-----------
|
|
|
|
|
2013-12-15 17:16:31 -05:00
|
|
|
- Expose `delay` extension as `sidekiq_delay` also. This allows you to
|
|
|
|
run Delayed::Job and Sidekiq in the same process, selectively porting
|
|
|
|
`delay` calls to `sidekiq_delay`. You just need to ensure that
|
|
|
|
Sidekiq is required **before** Delayed::Job in your Gemfile. [#1393]
|
2013-12-14 23:44:52 -05:00
|
|
|
- Bump redis client required version to 3.0.6
|
|
|
|
- Minor CSS fixes for Web UI
|
|
|
|
|
2013-11-05 12:29:26 -05:00
|
|
|
2.17.0
|
|
|
|
-----------
|
|
|
|
|
2013-11-05 23:32:31 -05:00
|
|
|
- Change `Sidekiq::Client#push_bulk` to return an array of pushed `jid`s. [#1315, barelyknown]
|
2013-11-11 00:22:50 -05:00
|
|
|
- Web UI refactoring to use more API internally (yummy dogfood!)
|
2013-11-20 18:15:33 -05:00
|
|
|
- Much faster Sidekiq::Job#delete performance for larger queue sizes
|
2013-11-17 16:39:52 -05:00
|
|
|
- Further capistrano 3 fixes
|
2013-11-23 15:40:39 -05:00
|
|
|
- Many misc minor fixes
|
2013-11-05 12:29:26 -05:00
|
|
|
|
2013-10-30 23:37:38 -04:00
|
|
|
2.16.1
|
2013-10-30 18:12:26 -04:00
|
|
|
-----------
|
2013-10-30 23:37:22 -04:00
|
|
|
|
|
|
|
- Revert usage of `resolv-replace`. MRI's native DNS lookup releases the GIL.
|
2013-10-30 23:37:38 -04:00
|
|
|
- Fix several Capistrano 3 issues
|
2013-10-30 23:37:22 -04:00
|
|
|
- Escaping dynamic data like job args and error messages in Sidekiq Web UI. [#1299, lian]
|
2013-10-30 18:12:26 -04:00
|
|
|
|
2013-10-16 23:32:15 -04:00
|
|
|
2.16.0
|
|
|
|
-----------
|
|
|
|
|
2013-10-24 00:58:15 -04:00
|
|
|
- Deprecate `Sidekiq::Client.registered_workers` and `Sidekiq::Client.registered_queues`
|
2013-10-24 00:47:57 -04:00
|
|
|
- Refactor Sidekiq::Client to be instance-based [#1279]
|
2013-10-21 16:45:11 -04:00
|
|
|
- Pass all Redis options to the Redis driver so Unix sockets
|
|
|
|
can be fully configured. [#1270, salimane]
|
2013-10-21 15:07:18 -04:00
|
|
|
- Allow sidekiq-web extensions to add locale paths so extensions
|
|
|
|
can be localized. [#1261, ondrejbartas]
|
|
|
|
- Capistrano 3 support [#1254, phallstrom]
|
2013-10-16 23:32:15 -04:00
|
|
|
- Use Ruby's `resolv-replace` to enable pure Ruby DNS lookups.
|
|
|
|
This ensures that any DNS resolution that takes place in worker
|
2013-10-16 23:34:14 -04:00
|
|
|
threads won't lock up the entire VM on MRI. [#1258]
|
2013-10-16 23:32:15 -04:00
|
|
|
|
2013-10-13 18:59:09 -04:00
|
|
|
2.15.2
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Iterating over Sidekiq::Queue and Sidekiq::SortedSet will now work as
|
|
|
|
intended when jobs are deleted [#866, aackerman]
|
|
|
|
- A few more minor Web UI fixes [#1247]
|
|
|
|
|
2013-10-03 23:15:04 -04:00
|
|
|
2.15.1
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix several Web UI issues with the Bootstrap 3 upgrade.
|
|
|
|
|
2013-09-21 20:05:45 -04:00
|
|
|
2.15.0
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- The Core Sidekiq actors are now monitored. If any crash, the
|
2013-09-28 15:48:07 -04:00
|
|
|
Sidekiq process logs the error and exits immediately. This is to
|
|
|
|
help prevent "stuck" Sidekiq processes which are running but don't
|
|
|
|
appear to be doing any work. [#1194]
|
2013-09-22 23:48:17 -04:00
|
|
|
- Sidekiq's testing behavior is now dynamic. You can choose between
|
2013-09-28 15:48:07 -04:00
|
|
|
`inline` and `fake` behavior in your tests. See
|
2013-10-02 15:15:44 -04:00
|
|
|
[Testing](https://github.com/mperham/sidekiq/wiki/Testing) for detail. [#1193]
|
2013-09-21 20:05:45 -04:00
|
|
|
- The Retries table has a new column for the error message.
|
2013-09-28 15:48:07 -04:00
|
|
|
- The Web UI topbar now contains the status and live poll button.
|
|
|
|
- Orphaned worker records are now auto-vacuumed when you vist the
|
|
|
|
Workers page in the Web UI.
|
2013-09-21 20:05:45 -04:00
|
|
|
- Sidekiq.default\_worker\_options allows you to configure default
|
|
|
|
options for all Sidekiq worker types.
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
Sidekiq.default_worker_options = { 'queue' => 'default', 'backtrace' => true }
|
|
|
|
```
|
2013-09-29 17:24:25 -04:00
|
|
|
- Added two Sidekiq::Client class methods for compatibility with resque-scheduler:
|
2013-09-29 16:26:40 -04:00
|
|
|
`enqueue_to_in` and `enqueue_in` [#1212]
|
2013-10-01 01:00:21 -04:00
|
|
|
- Upgrade Web UI to Bootstrap 3.0. [#1211, jeffboek]
|
2013-09-21 20:05:45 -04:00
|
|
|
|
2013-09-12 17:17:33 -04:00
|
|
|
2.14.1
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix misc Web UI issues due to ERB conversion.
|
|
|
|
- Bump redis-namespace version due to security issue.
|
|
|
|
|
2013-08-22 14:47:50 -04:00
|
|
|
2.14.0
|
2013-08-15 22:52:50 -04:00
|
|
|
-----------
|
|
|
|
|
2013-08-22 14:47:50 -04:00
|
|
|
- Removed slim gem dependency, Web UI now uses ERB [Locke23rus, #1120]
|
2013-08-15 22:52:50 -04:00
|
|
|
- Fix more race conditions in Web UI actions
|
2013-08-15 23:06:16 -04:00
|
|
|
- Don't reset Job enqueued\_at when retrying
|
|
|
|
- Timestamp tooltips in the Web UI should use UTC
|
2013-08-25 15:59:33 -04:00
|
|
|
- Fix invalid usage of handle\_exception causing issues in Airbrake
|
|
|
|
[#1134]
|
2013-08-15 22:52:50 -04:00
|
|
|
|
|
|
|
|
2013-07-20 22:03:25 -04:00
|
|
|
2.13.1
|
|
|
|
-----------
|
2013-07-27 19:14:07 -04:00
|
|
|
|
|
|
|
- Make Sidekiq::Middleware::Chain Enumerable
|
2013-08-07 16:45:08 -04:00
|
|
|
- Make summary bar and graphs responsive [manishval, #1025]
|
2013-07-27 12:49:21 -04:00
|
|
|
- Adds a job status page for scheduled jobs [jonhyman]
|
2013-08-10 15:51:23 -04:00
|
|
|
- Handle race condition in retrying and deleting jobs in the Web UI
|
|
|
|
- The Web UI relative times are now i18n. [MadRabbit, #1088]
|
2013-08-01 16:33:58 -04:00
|
|
|
- Allow for default number of retry attempts to be set for
|
|
|
|
`Sidekiq::Middleware::Server::RetryJobs` middleware. [czarneckid] [#1091]
|
|
|
|
|
2013-08-10 15:51:23 -04:00
|
|
|
```ruby
|
|
|
|
Sidekiq.configure_server do |config|
|
|
|
|
config.server_middleware do |chain|
|
2013-08-22 02:12:32 -04:00
|
|
|
chain.add Sidekiq::Middleware::Server::RetryJobs, :max_retries => 10
|
2013-08-10 15:51:23 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
```
|
|
|
|
|
2013-07-20 22:03:25 -04:00
|
|
|
|
2013-06-28 13:45:36 -04:00
|
|
|
2.13.0
|
2013-06-18 16:44:19 -04:00
|
|
|
-----------
|
2013-07-27 19:14:07 -04:00
|
|
|
|
2013-06-23 20:06:12 -04:00
|
|
|
- Adding button to move scheduled job to main queue [guiceolin, #1020]
|
2013-06-19 11:33:28 -04:00
|
|
|
- fix i18n support resetting saved locale when job is retried [#1011]
|
|
|
|
- log rotation via USR2 now closes the old logger [#1008]
|
2013-06-26 00:10:46 -04:00
|
|
|
- Add ability to customize retry schedule, like so [jmazzi, #1027]
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
class MyWorker
|
|
|
|
include Sidekiq::Worker
|
|
|
|
sidekiq_retry_in { |count| count * 2 }
|
|
|
|
end
|
|
|
|
```
|
2013-06-28 13:45:36 -04:00
|
|
|
- Redesign Worker#retries\_exhausted callback to use same form as above [jmazzi, #1030]
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
class MyWorker
|
|
|
|
include Sidekiq::Worker
|
|
|
|
sidekiq_retries_exhausted do |msg|
|
|
|
|
Rails.logger.error "Failed to process #{msg['class']} with args: #{msg['args']}"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
```
|
2013-06-18 16:44:19 -04:00
|
|
|
|
2013-06-12 22:51:12 -04:00
|
|
|
2.12.4
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix error in previous release which crashed the Manager when a
|
|
|
|
Processor died.
|
|
|
|
|
2013-06-08 00:15:46 -04:00
|
|
|
2.12.3
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Revert back to Celluloid's TaskFiber for job processing which has proven to be more
|
|
|
|
stable than TaskThread. [#985]
|
2013-06-11 01:20:15 -04:00
|
|
|
- Avoid possible lockup during hard shutdown [#997]
|
2013-06-08 00:15:46 -04:00
|
|
|
|
|
|
|
At this point, if you are experiencing stability issues with Sidekiq in
|
|
|
|
Ruby 1.9, please try Ruby 2.0. It seems to be more stable.
|
|
|
|
|
2013-06-01 17:15:14 -04:00
|
|
|
2.12.2
|
2013-06-01 09:18:57 -04:00
|
|
|
-----------
|
|
|
|
|
2013-06-01 17:15:14 -04:00
|
|
|
- Relax slim version requirement to >= 1.1.0
|
2013-06-01 09:18:57 -04:00
|
|
|
- Refactor historical stats to use TTL, not explicit cleanup. [grosser, #971]
|
|
|
|
|
2013-05-31 00:19:11 -04:00
|
|
|
2.12.1
|
2013-05-24 01:17:02 -04:00
|
|
|
-----------
|
|
|
|
|
2013-05-31 00:19:11 -04:00
|
|
|
- Force Celluloid 0.14.1 as 0.14.0 has a serious bug. [#954]
|
2013-05-24 23:32:55 -04:00
|
|
|
- Scheduled and Retry jobs now use Sidekiq::Client to push
|
|
|
|
jobs onto the queue, so they use client middleware. [dimko, #948]
|
2013-05-24 01:17:02 -04:00
|
|
|
- Record the timestamp when jobs are enqueued. Add
|
2013-05-24 01:58:06 -04:00
|
|
|
Sidekiq::Job#enqueued\_at to query the time. [mariovisic, #944]
|
|
|
|
- Add Sidekiq::Queue#latency - calculates diff between now and
|
|
|
|
enqueued\_at for the oldest job in the queue.
|
2013-05-30 12:28:47 -04:00
|
|
|
- Add testing method `perform_one` that dequeues and performs a single job.
|
|
|
|
This is mainly to aid testing jobs that spawn other jobs. [fumin, #963]
|
2013-05-24 01:17:02 -04:00
|
|
|
|
2013-05-11 19:12:01 -04:00
|
|
|
2.12.0
|
2013-05-02 14:29:52 -04:00
|
|
|
-----------
|
|
|
|
|
2013-05-11 19:12:01 -04:00
|
|
|
- Upgrade to Celluloid 0.14, remove the use of Celluloid's thread
|
|
|
|
pool. This should halve the number of threads in each Sidekiq
|
|
|
|
process, thus requiring less resources. [#919]
|
2013-05-10 23:43:53 -04:00
|
|
|
- Abstract Celluloid usage to Sidekiq::Actor for testing purposes.
|
2013-05-10 20:19:23 -04:00
|
|
|
- Better handling for Redis downtime when fetching jobs and shutting
|
|
|
|
down, don't print exceptions every second and print success message
|
|
|
|
when Redis is back.
|
2013-05-03 12:50:20 -04:00
|
|
|
- Fix unclean shutdown leading to duplicate jobs [#897]
|
2013-05-02 14:29:52 -04:00
|
|
|
- Add Korean locale [#890]
|
2013-05-12 17:33:49 -04:00
|
|
|
- Upgrade test suite to Minitest 5
|
|
|
|
- Remove usage of `multi_json` as `json` is now robust on all platforms.
|
2013-05-02 14:29:52 -04:00
|
|
|
|
2013-04-27 16:48:07 -04:00
|
|
|
2.11.2
|
|
|
|
-----------
|
|
|
|
|
2013-05-01 15:32:04 -04:00
|
|
|
- Fix Web UI when used without Rails [#886]
|
|
|
|
- Add Sidekiq::Stats#reset [#349]
|
2013-04-27 16:48:07 -04:00
|
|
|
- Add Norwegian locale.
|
|
|
|
- Updates for the JA locale.
|
|
|
|
|
2013-04-25 12:03:54 -04:00
|
|
|
2.11.1
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix timeout warning.
|
|
|
|
- Add Dutch web UI locale.
|
|
|
|
|
2013-04-18 12:11:49 -04:00
|
|
|
2.11.0
|
|
|
|
-----------
|
|
|
|
|
2013-04-21 16:54:16 -04:00
|
|
|
- Upgrade to Celluloid 0.13. [#834]
|
2013-04-18 12:11:49 -04:00
|
|
|
- Remove **timeout** support from `sidekiq_options`. Ruby's timeout
|
|
|
|
is inherently unsafe in a multi-threaded application and was causing
|
|
|
|
stability problems for many. See http://bit.ly/OtYpK
|
2013-04-24 23:22:13 -04:00
|
|
|
- Add Japanese locale for Web UI [#868]
|
2013-04-19 01:14:22 -04:00
|
|
|
- Fix a few issues with Web UI i18n.
|
2013-04-18 12:11:49 -04:00
|
|
|
|
2013-04-15 19:54:17 -04:00
|
|
|
2.10.1
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Remove need for the i18n gem. (brandonhilkert)
|
2013-04-18 12:06:23 -04:00
|
|
|
- Improve redis connection info logging on startup for debugging
|
|
|
|
purposes [#858]
|
|
|
|
- Revert sinatra/slim as runtime dependencies
|
|
|
|
- Add `find_job` method to sidekiq/api
|
2013-04-15 19:54:17 -04:00
|
|
|
|
|
|
|
|
2013-04-04 00:26:44 -04:00
|
|
|
2.10.0
|
|
|
|
-----------
|
|
|
|
|
2013-04-12 11:55:56 -04:00
|
|
|
- Refactor algorithm for putting scheduled jobs onto the queue [#843]
|
|
|
|
- Fix scheduler thread dying due to incorrect error handling [#839]
|
|
|
|
- Fix issue which left stale workers if Sidekiq wasn't shutdown while
|
|
|
|
quiet. [#840]
|
2013-04-04 00:26:44 -04:00
|
|
|
- I18n for web UI. Please submit translations of `web/locales/en.yml` for
|
|
|
|
your own language. [#811]
|
|
|
|
- 'sinatra', 'slim' and 'i18n' are now gem dependencies for Sidekiq.
|
|
|
|
|
|
|
|
|
2013-03-27 02:03:03 -04:00
|
|
|
2.9.0
|
2013-03-21 16:39:55 -04:00
|
|
|
-----------
|
|
|
|
|
2013-03-28 00:24:47 -04:00
|
|
|
- Update 'sidekiq/testing' to work with any Sidekiq::Client call. It
|
|
|
|
also serializes the arguments as using Redis would. [#713]
|
|
|
|
- Raise a Sidekiq::Shutdown error within workers which don't finish within the hard
|
2013-03-27 02:03:03 -04:00
|
|
|
timeout. This is to prevent unwanted database transaction commits. [#377]
|
2013-03-26 00:06:51 -04:00
|
|
|
- Lazy load Redis connection pool, you no longer need to specify
|
2013-03-28 00:24:47 -04:00
|
|
|
anything in Passenger or Unicorn's after_fork callback [#794]
|
|
|
|
- Add optional Worker#retries_exhausted hook after max retries failed. [jkassemi, #780]
|
2013-03-21 16:39:55 -04:00
|
|
|
- Fix bug in pagination link to last page [pitr, #774]
|
|
|
|
- Upstart scripts for multiple Sidekiq instances [dariocravero, #763]
|
|
|
|
- Use select via pipes instead of poll to catch signals [mrnugget, #761]
|
|
|
|
|
2013-03-01 19:13:20 -05:00
|
|
|
2.8.0
|
|
|
|
-----------
|
|
|
|
|
2013-03-03 19:10:50 -05:00
|
|
|
- I18n support! Sidekiq can optionally save and restore the Rails locale
|
|
|
|
so it will be properly set when your jobs execute. Just include
|
|
|
|
`require 'sidekiq/middleware/i18n'` in your sidekiq initializer. [#750]
|
2013-03-02 19:08:59 -05:00
|
|
|
- Fix bug which could lose messages when using namespaces and the message
|
|
|
|
needs to be requeued in Redis. [#744]
|
2013-03-01 19:13:20 -05:00
|
|
|
- Refactor Redis namespace support [#747]. The redis namespace can no longer be
|
|
|
|
passed via the config file, the only supported way is via Ruby in your
|
|
|
|
initializer:
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
sidekiq_redis = { :url => 'redis://localhost:3679', :namespace => 'foo' }
|
|
|
|
Sidekiq.configure_server { |config| config.redis = sidekiq_redis }
|
|
|
|
Sidekiq.configure_client { |config| config.redis = sidekiq_redis }
|
|
|
|
```
|
|
|
|
|
2013-03-02 19:08:59 -05:00
|
|
|
A warning is printed out to the log if a namespace is found in your sidekiq.yml.
|
|
|
|
|
|
|
|
|
2013-02-23 15:24:38 -05:00
|
|
|
2.7.5
|
|
|
|
-----------
|
|
|
|
|
2013-02-25 12:39:01 -05:00
|
|
|
- Capistrano no longer uses daemonization in order to work with JRuby [#719]
|
2013-02-23 15:24:38 -05:00
|
|
|
- Refactor signal handling to work on Ruby 2.0 [#728, #730]
|
2013-02-25 12:39:01 -05:00
|
|
|
- Fix dashboard refresh URL [#732]
|
2013-02-23 15:24:38 -05:00
|
|
|
|
2013-02-22 16:35:56 -05:00
|
|
|
2.7.4
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fixed daemonization, was broken by some internal refactoring in 2.7.3 [#727]
|
|
|
|
|
2013-02-20 22:38:36 -05:00
|
|
|
2.7.3
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Real-time dashboard is now the default web page
|
|
|
|
- Make config file optional for capistrano
|
|
|
|
- Fix Retry All button in the Web UI
|
|
|
|
|
2013-02-08 11:38:04 -05:00
|
|
|
2.7.2
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Remove gem signing infrastructure. It was causing Sidekiq to break
|
|
|
|
when used via git in Bundler. This is why we can't have nice things. [#688]
|
|
|
|
|
|
|
|
|
2013-02-05 22:38:50 -05:00
|
|
|
2.7.1
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix issue with hard shutdown [#680]
|
|
|
|
|
|
|
|
|
2013-01-29 15:28:02 -05:00
|
|
|
2.7.0
|
2013-01-18 23:57:26 -05:00
|
|
|
-----------
|
|
|
|
|
2013-01-29 15:28:02 -05:00
|
|
|
- Add -d daemonize flag, capistrano recipe has been updated to use it [#662]
|
2013-01-27 17:03:40 -05:00
|
|
|
- Support profiling via `ruby-prof` with -p. When Sidekiq is stopped
|
|
|
|
via Ctrl-C, it will output `profile.html`. You must add `gem 'ruby-prof'` to your Gemfile for it to work.
|
|
|
|
- Dynamically update Redis stats on dashboard [brandonhilkert]
|
2013-01-24 12:50:30 -05:00
|
|
|
- Add Sidekiq::Workers API giving programmatic access to the current
|
|
|
|
set of active workers.
|
|
|
|
|
|
|
|
```
|
|
|
|
workers = Sidekiq::Workers.new
|
|
|
|
workers.size => 2
|
|
|
|
workers.each do |name, work|
|
|
|
|
# name is a unique identifier per Processor instance
|
|
|
|
# work is a Hash which looks like:
|
|
|
|
# { 'queue' => name, 'run_at' => timestamp, 'payload' => msg }
|
|
|
|
end
|
|
|
|
```
|
|
|
|
|
2013-01-18 23:57:26 -05:00
|
|
|
- Allow environment-specific sections within the config file which
|
|
|
|
override the global values [dtaniwaki, #630]
|
|
|
|
|
|
|
|
```
|
|
|
|
---
|
|
|
|
:concurrency: 50
|
|
|
|
:verbose: false
|
|
|
|
staging:
|
|
|
|
:verbose: true
|
|
|
|
:concurrency: 5
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2013-01-16 16:08:20 -05:00
|
|
|
2.6.5
|
|
|
|
-----------
|
|
|
|
|
2013-01-17 01:02:04 -05:00
|
|
|
- Several reliability fixes for job requeueing upon termination [apinstein, #622, #624]
|
2013-01-16 16:08:20 -05:00
|
|
|
- Fix typo in capistrano recipe
|
|
|
|
- Add `retry_queue` option so retries can be given lower priority [ryanlower, #620]
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
sidekiq_options queue: 'high', retry_queue: 'low'
|
|
|
|
```
|
|
|
|
|
2013-01-08 11:43:34 -05:00
|
|
|
2.6.4
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix crash upon empty queue [#612]
|
|
|
|
|
2013-01-07 23:41:04 -05:00
|
|
|
2.6.3
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- sidekiqctl exits with non-zero exit code upon error [jmazzi]
|
|
|
|
- better argument validation in Sidekiq::Client [karlfreeman]
|
|
|
|
|
2013-01-03 11:43:04 -05:00
|
|
|
2.6.2
|
|
|
|
-----------
|
|
|
|
|
2013-01-02 19:37:05 -05:00
|
|
|
- Add Dashboard beacon indicating when stats are updated. [brandonhilkert, #606]
|
2013-01-03 11:43:04 -05:00
|
|
|
- Revert issue with capistrano restart. [#598]
|
2013-01-02 19:37:05 -05:00
|
|
|
|
2012-12-31 16:25:27 -05:00
|
|
|
2.6.1
|
2012-12-20 15:57:38 -05:00
|
|
|
-----------
|
|
|
|
|
2012-12-29 23:10:36 -05:00
|
|
|
- Dashboard now live updates summary stats also. [brandonhilkert, #605]
|
2012-12-20 15:57:38 -05:00
|
|
|
- Add middleware chain APIs `insert_before` and `insert_after` for fine
|
|
|
|
tuning the order of middleware. [jackrg, #595]
|
|
|
|
|
2012-12-10 23:44:43 -05:00
|
|
|
2.6.0
|
|
|
|
-----------
|
|
|
|
|
2012-12-13 22:42:27 -05:00
|
|
|
- Web UI much more mobile friendly now [brandonhilkert, #573]
|
|
|
|
- Enable live polling for every section in Web UI [brandonhilkert, #567]
|
|
|
|
- Add Stats API [brandonhilkert, #565]
|
|
|
|
- Add Stats::History API [brandonhilkert, #570]
|
|
|
|
- Add Dashboard to Web UI with live and historical stat graphs [brandonhilkert, #580]
|
|
|
|
- Add option to log output to a file, reopen log file on USR2 signal [mrnugget, #581]
|
2012-12-04 16:39:27 -05:00
|
|
|
|
2012-11-26 23:19:23 -05:00
|
|
|
2.5.4
|
2012-11-08 12:05:11 -05:00
|
|
|
-----------
|
|
|
|
|
2012-11-15 23:38:52 -05:00
|
|
|
- `Sidekiq::Client.push` now accepts the worker class as a string so the
|
|
|
|
Sidekiq client does not have to load your worker classes at all. [#524]
|
2012-11-19 22:31:05 -05:00
|
|
|
- `Sidekiq::Client.push_bulk` now works with inline testing.
|
|
|
|
- **Really** fix status icon in Web UI this time.
|
2012-11-25 21:43:48 -05:00
|
|
|
- Add "Delete All" and "Retry All" buttons to Retries in Web UI
|
2012-11-15 23:38:52 -05:00
|
|
|
|
|
|
|
|
|
|
|
2.5.3
|
|
|
|
-----------
|
|
|
|
|
2012-11-14 00:01:18 -05:00
|
|
|
- Small Web UI fixes
|
2012-11-08 12:05:11 -05:00
|
|
|
- Add `delay_until` so you can delay jobs until a specific timestamp:
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
Auction.delay_until(@auction.ends_at).close(@auction.id)
|
|
|
|
```
|
|
|
|
|
|
|
|
This is identical to the existing Sidekiq::Worker method, `perform_at`.
|
|
|
|
|
2012-11-02 17:32:37 -04:00
|
|
|
2.5.2
|
2012-10-31 13:29:32 -04:00
|
|
|
-----------
|
|
|
|
|
2012-11-02 15:55:45 -04:00
|
|
|
- Remove asset pipeline from Web UI for much faster, simpler runtime. [#499, #490, #481]
|
2012-10-31 13:29:32 -04:00
|
|
|
- Add -g option so the procline better identifies a Sidekiq process, defaults to File.basename(Rails.root). [#486]
|
|
|
|
|
|
|
|
sidekiq 2.5.1 myapp [0 of 25 busy]
|
|
|
|
|
|
|
|
- Add splay to retry time so groups of failed jobs don't fire all at once. [#483]
|
|
|
|
|
2012-10-30 17:13:42 -04:00
|
|
|
2.5.1
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix issues with core\_ext
|
|
|
|
|
2012-10-30 13:06:20 -04:00
|
|
|
2.5.0
|
2012-10-20 17:03:43 -04:00
|
|
|
-----------
|
|
|
|
|
2012-10-30 13:06:20 -04:00
|
|
|
- REDESIGNED WEB UI! [unity, cavneb]
|
2012-10-27 15:49:32 -04:00
|
|
|
- Support Honeybadger for error delivery
|
2012-10-26 00:37:33 -04:00
|
|
|
- Inline testing runs the client middleware before executing jobs [#465]
|
|
|
|
- Web UI can now remove jobs from queue. [#466, dleung]
|
|
|
|
- Web UI can now show the full message, not just 100 chars [#464, dleung]
|
2012-10-20 17:03:43 -04:00
|
|
|
- Add APIs for manipulating the retry and job queues. See sidekiq/api. [#457]
|
|
|
|
|
|
|
|
|
2012-10-19 16:11:58 -04:00
|
|
|
2.4.0
|
2012-10-14 17:58:20 -04:00
|
|
|
-----------
|
|
|
|
|
2012-10-19 13:50:44 -04:00
|
|
|
- ActionMailer.delay.method now only tries to deliver if method returns a valid message.
|
2012-10-18 14:31:36 -04:00
|
|
|
- Logging now uses "MSG-#{Job ID}", not a random msg ID
|
2012-10-14 17:58:20 -04:00
|
|
|
- Allow generic Redis provider as environment variable. [#443]
|
2012-10-17 13:17:19 -04:00
|
|
|
- Add ability to customize sidekiq\_options with delay calls [#450]
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
Foo.delay(:retry => false).bar
|
|
|
|
Foo.delay(:retry => 10).bar
|
|
|
|
Foo.delay(:timeout => 10.seconds).bar
|
|
|
|
Foo.delay_for(5.minutes, :timeout => 10.seconds).bar
|
|
|
|
```
|
2012-10-14 17:58:20 -04:00
|
|
|
|
2012-10-01 11:13:41 -04:00
|
|
|
2.3.3
|
2012-09-20 23:04:25 -04:00
|
|
|
-----------
|
|
|
|
|
|
|
|
- Remove option to disable Rails hooks. [#401]
|
2012-09-30 12:29:32 -04:00
|
|
|
- Allow delay of any module class method
|
2012-09-20 23:04:25 -04:00
|
|
|
|
2012-09-20 09:44:28 -04:00
|
|
|
2.3.2
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix retry. 2.3.1 accidentally disabled it.
|
|
|
|
|
2012-09-11 17:13:23 -04:00
|
|
|
2.3.1
|
|
|
|
-----------
|
|
|
|
|
2012-09-13 20:38:56 -04:00
|
|
|
- Add Sidekiq::Client.push\_bulk for bulk adding of jobs to Redis.
|
2012-09-13 12:18:32 -04:00
|
|
|
My own simple test case shows pushing 10,000 jobs goes from 5 sec to 1.5 sec.
|
2012-09-11 17:13:23 -04:00
|
|
|
- Add support for multiple processes per host to Capistrano recipe
|
2012-09-13 20:38:56 -04:00
|
|
|
- Re-enable Celluloid::Actor#defer to fix stack overflow issues [#398]
|
2012-09-11 17:13:23 -04:00
|
|
|
|
2012-09-04 23:50:37 -04:00
|
|
|
2.3.0
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Upgrade Celluloid to 0.12
|
|
|
|
- Upgrade Twitter Bootstrap to 2.1.0
|
|
|
|
- Rescue more Exceptions
|
2012-09-05 00:33:06 -04:00
|
|
|
- Change Job ID to be Hex, rather than Base64, for HTTP safety
|
2012-09-06 13:49:58 -04:00
|
|
|
- Use `Airbrake#notify_or_ignore`
|
2012-09-04 23:50:37 -04:00
|
|
|
|
2012-08-22 22:31:02 -04:00
|
|
|
2.2.1
|
2012-08-19 14:31:20 -04:00
|
|
|
-----------
|
|
|
|
|
2012-08-20 18:40:24 -04:00
|
|
|
- Add support for custom tabs to Sidekiq::Web [#346]
|
2012-08-19 14:31:20 -04:00
|
|
|
- Change capistrano recipe to run 'quiet' before deploy:update\_code so
|
|
|
|
it is run upon both 'deploy' and 'deploy:migrations'. [#352]
|
2012-08-22 12:44:08 -04:00
|
|
|
- Rescue Exception rather than StandardError to catch and log any sort
|
|
|
|
of Processor death.
|
2012-08-19 14:31:20 -04:00
|
|
|
|
2012-08-16 21:31:51 -04:00
|
|
|
2.2.0
|
2012-08-11 14:47:25 -04:00
|
|
|
-----------
|
|
|
|
|
2012-08-16 21:36:48 -04:00
|
|
|
- Roll back Celluloid optimizations in 2.1.0 which caused instability.
|
2012-08-16 19:43:01 -04:00
|
|
|
- Add extension to delay any arbitrary class method to Sidekiq.
|
|
|
|
Previously this was limited to ActiveRecord classes.
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
SomeClass.delay.class_method(1, 'mike', Date.today)
|
|
|
|
```
|
|
|
|
|
2012-08-11 14:47:25 -04:00
|
|
|
- Sidekiq::Client now generates and returns a random, 128-bit Job ID 'jid' which
|
|
|
|
can be used to track the processing of a Job, e.g. for calling back to a webhook
|
|
|
|
when a job is finished.
|
|
|
|
|
2012-08-07 11:50:13 -04:00
|
|
|
2.1.1
|
2012-07-30 13:23:34 -04:00
|
|
|
-----------
|
|
|
|
|
|
|
|
- Handle networking errors causing the scheduler thread to die [#309]
|
2012-08-02 23:49:38 -04:00
|
|
|
- Rework exception handling to log all Processor and actor death (#325, subelsky)
|
2012-08-04 15:30:49 -04:00
|
|
|
- Clone arguments when calling worker so modifications are discarded. (#265, hakanensari)
|
2012-07-30 13:23:34 -04:00
|
|
|
|
2012-07-20 23:11:16 -04:00
|
|
|
2.1.0
|
2012-06-21 23:51:47 -04:00
|
|
|
-----------
|
|
|
|
|
2012-07-17 10:11:11 -04:00
|
|
|
- Tune Celluloid to no longer run message processing within a Fiber.
|
|
|
|
This gives us a full Thread stack and also lowers Sidekiq's memory
|
|
|
|
usage.
|
2012-07-20 23:11:16 -04:00
|
|
|
- Add pagination within the Web UI [#253]
|
|
|
|
- Specify which Redis driver to use: *hiredis* or *ruby* (default)
|
2012-07-20 23:19:12 -04:00
|
|
|
- Remove FailureJobs and UniqueJobs, which were optional middleware
|
|
|
|
that I don't want to support in core. [#302]
|
2012-06-21 23:51:47 -04:00
|
|
|
|
2012-06-20 11:32:05 -04:00
|
|
|
2.0.3
|
2012-06-14 11:36:00 -04:00
|
|
|
-----------
|
2012-06-21 23:53:57 -04:00
|
|
|
- Fix sidekiq-web's navbar on mobile devices and windows under 980px (ezkl)
|
2012-06-20 02:44:10 -04:00
|
|
|
- Fix Capistrano task for first deploys [#259]
|
2012-06-16 23:56:55 -04:00
|
|
|
- Worker subclasses now properly inherit sidekiq\_options set in
|
|
|
|
their superclass [#221]
|
2012-06-14 11:36:00 -04:00
|
|
|
- Add random jitter to scheduler to spread polls across POLL\_INTERVAL
|
|
|
|
window. [#247]
|
2012-06-21 23:53:57 -04:00
|
|
|
- Sidekiq has a new mailing list: sidekiq@librelist.org See README.
|
2012-06-14 11:36:00 -04:00
|
|
|
|
2012-06-13 00:55:06 -04:00
|
|
|
2.0.2
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix "Retry Now" button on individual retry page. (ezkl)
|
|
|
|
|
2012-06-03 14:03:22 -04:00
|
|
|
2.0.1
|
|
|
|
-----------
|
|
|
|
|
2012-06-05 11:38:05 -04:00
|
|
|
- Add "Clear Workers" button to UI. If you kill -9 Sidekiq, the workers
|
|
|
|
set can fill up with stale entries.
|
2012-06-03 14:03:22 -04:00
|
|
|
- Update sidekiq/testing to support new scheduled jobs API:
|
|
|
|
|
2012-06-04 13:10:16 -04:00
|
|
|
```ruby
|
|
|
|
require 'sidekiq/testing'
|
|
|
|
DirectWorker.perform_in(10.seconds, 1, 2)
|
|
|
|
assert_equal 1, DirectWorker.jobs.size
|
|
|
|
assert_in_delta 10.seconds.from_now.to_f, DirectWorker.jobs.last['at'], 0.01
|
|
|
|
```
|
2012-06-03 14:03:22 -04:00
|
|
|
|
2012-05-25 23:21:42 -04:00
|
|
|
2.0.0
|
|
|
|
-----------
|
|
|
|
|
2012-06-01 11:24:01 -04:00
|
|
|
- **SCHEDULED JOBS**!
|
2012-05-25 23:31:15 -04:00
|
|
|
|
|
|
|
You can now use `perform_at` and `perform_in` to schedule jobs
|
2012-05-25 23:21:42 -04:00
|
|
|
to run at arbitrary points in the future, like so:
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
SomeWorker.perform_in(5.days, 'bob', 13)
|
|
|
|
SomeWorker.perform_at(5.days.from_now, 'bob', 13)
|
|
|
|
```
|
|
|
|
|
|
|
|
It also works with the delay extensions:
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
UserMailer.delay_for(5.days).send_welcome_email(user.id)
|
|
|
|
```
|
|
|
|
|
|
|
|
The time is approximately when the job will be placed on the queue;
|
|
|
|
it is not guaranteed to run at precisely at that moment in time.
|
|
|
|
|
|
|
|
This functionality is meant for one-off, arbitrary jobs. I still
|
|
|
|
recommend `whenever` or `clockwork` if you want cron-like,
|
|
|
|
recurring jobs. See `examples/scheduling.rb`
|
|
|
|
|
|
|
|
I want to specially thank @yabawock for his work on sidekiq-scheduler.
|
|
|
|
His extension for Sidekiq 1.x filled an obvious functional gap that I now think is
|
|
|
|
useful enough to implement in Sidekiq proper.
|
|
|
|
|
2012-05-26 21:38:55 -04:00
|
|
|
- Fixed issues due to Redis 3.x API changes. Sidekiq now requires
|
|
|
|
the Redis 3.x client.
|
2012-06-01 11:24:01 -04:00
|
|
|
- Inline testing now round trips arguments through JSON to catch
|
|
|
|
serialization issues (betelgeuse)
|
2012-05-26 21:38:55 -04:00
|
|
|
|
2012-05-11 19:48:03 -04:00
|
|
|
1.2.1
|
|
|
|
-----------
|
|
|
|
|
2012-05-12 17:00:42 -04:00
|
|
|
- Sidekiq::Worker now has access to Sidekiq's standard logger
|
|
|
|
- Fix issue with non-StandardErrors leading to Processor exhaustion
|
2012-05-12 00:25:38 -04:00
|
|
|
- Fix issue with Fetcher slowing Sidekiq shutdown
|
2012-05-15 22:50:20 -04:00
|
|
|
- Print backtraces for all threads upon TTIN signal [#183]
|
2012-05-12 00:23:24 -04:00
|
|
|
- Overhaul retries Web UI with new index page and bulk operations [#184]
|
2012-05-11 19:48:03 -04:00
|
|
|
|
2012-04-26 11:40:07 -04:00
|
|
|
1.2.0
|
2012-04-24 23:54:55 -04:00
|
|
|
-----------
|
|
|
|
|
2012-05-02 23:19:59 -04:00
|
|
|
- Full or partial error backtraces can optionally be stored as part of the retry
|
2012-04-27 23:25:46 -04:00
|
|
|
for display in the web UI if you aren't using an error service. [#155]
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
class Worker
|
|
|
|
include Sidekiq::Worker
|
2012-05-02 23:19:59 -04:00
|
|
|
sidekiq_options :backtrace => [true || 10]
|
2012-04-27 23:25:46 -04:00
|
|
|
end
|
|
|
|
```
|
2012-05-05 00:58:05 -04:00
|
|
|
- Add timeout option to kill a worker after N seconds (blackgold9)
|
2012-04-26 11:40:07 -04:00
|
|
|
|
|
|
|
```ruby
|
|
|
|
class HangingWorker
|
|
|
|
include Sidekiq::Worker
|
|
|
|
sidekiq_options :timeout => 600
|
|
|
|
def perform
|
|
|
|
# will be killed if it takes longer than 10 minutes
|
|
|
|
end
|
|
|
|
end
|
|
|
|
```
|
|
|
|
|
|
|
|
- Fix delayed extensions not available in workers [#152]
|
2012-05-02 13:59:31 -04:00
|
|
|
- In test environments add the `#drain` class method to workers. This method
|
2012-05-02 13:45:05 -04:00
|
|
|
executes all previously queued jobs. (panthomakos)
|
2012-05-02 23:19:59 -04:00
|
|
|
- Sidekiq workers can be run inline during tests, just `require 'sidekiq/testing/inline'` (panthomakos)
|
|
|
|
- Queues can now be deleted from the Sidekiq web UI [#154]
|
2012-05-06 23:15:34 -04:00
|
|
|
- Fix unnecessary shutdown delay due to Retry Poller [#174]
|
2012-05-01 21:10:05 -04:00
|
|
|
|
2012-04-24 10:15:29 -04:00
|
|
|
1.1.4
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Add 24 hr expiry for basic keys set in Redis, to avoid any possible leaking.
|
|
|
|
- Only register workers in Redis while working, to avoid lingering
|
|
|
|
workers [#156]
|
2012-04-24 23:12:43 -04:00
|
|
|
- Speed up shutdown significantly.
|
2012-04-24 10:15:29 -04:00
|
|
|
|
2012-04-19 22:42:39 -04:00
|
|
|
1.1.3
|
2012-04-18 19:31:17 -04:00
|
|
|
-----------
|
|
|
|
|
2012-04-18 23:13:10 -04:00
|
|
|
- Better network error handling when fetching jobs from Redis.
|
|
|
|
Sidekiq will retry once per second until it can re-establish
|
2012-04-19 22:42:39 -04:00
|
|
|
a connection. (ryanlecompte)
|
|
|
|
- capistrano recipe now uses `bundle_cmd` if set [#147]
|
2012-04-22 22:22:09 -04:00
|
|
|
- handle multi\_json API changes (sferik)
|
2012-04-18 19:31:17 -04:00
|
|
|
|
2012-04-18 11:43:34 -04:00
|
|
|
1.1.2
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix double restart with cap deploy [#137]
|
|
|
|
|
2012-04-16 23:18:48 -04:00
|
|
|
1.1.1
|
2012-04-11 22:41:08 -04:00
|
|
|
-----------
|
|
|
|
|
2012-04-17 22:26:56 -04:00
|
|
|
- Set procline for easy monitoring of Sidekiq status via "ps aux"
|
2012-04-16 23:18:48 -04:00
|
|
|
- Fix race condition on shutdown [#134]
|
|
|
|
- Fix hang with cap sidekiq:start [#131]
|
2012-04-15 17:59:32 -04:00
|
|
|
|
|
|
|
1.1.0
|
|
|
|
-----------
|
|
|
|
|
2012-04-12 10:09:27 -04:00
|
|
|
- The Sidekiq license has switched from GPLv3 to LGPLv3!
|
2012-04-11 22:41:08 -04:00
|
|
|
- Sidekiq::Client.push now returns whether the actual Redis
|
|
|
|
operation succeeded or not. [#123]
|
|
|
|
- Remove UniqueJobs from the default middleware chain. Its
|
|
|
|
functionality, while useful, is unexpected for new Sidekiq
|
|
|
|
users. You can re-enable it with the following config.
|
|
|
|
Read #119 for more discussion.
|
|
|
|
|
|
|
|
```ruby
|
2012-04-12 10:09:38 -04:00
|
|
|
Sidekiq.configure_client do |config|
|
2012-04-11 22:41:08 -04:00
|
|
|
require 'sidekiq/middleware/client/unique_jobs'
|
2012-04-18 03:53:56 -04:00
|
|
|
config.client_middleware do |chain|
|
2012-04-12 10:09:38 -04:00
|
|
|
chain.add Sidekiq::Middleware::Client::UniqueJobs
|
|
|
|
end
|
2012-04-11 22:41:08 -04:00
|
|
|
end
|
2012-04-12 10:09:38 -04:00
|
|
|
Sidekiq.configure_server do |config|
|
2012-04-11 22:41:08 -04:00
|
|
|
require 'sidekiq/middleware/server/unique_jobs'
|
2012-04-12 10:09:38 -04:00
|
|
|
config.server_middleware do |chain|
|
|
|
|
chain.add Sidekiq::Middleware::Server::UniqueJobs
|
|
|
|
end
|
2012-04-11 22:41:08 -04:00
|
|
|
end
|
|
|
|
```
|
|
|
|
|
2012-04-10 11:41:59 -04:00
|
|
|
1.0.0
|
|
|
|
-----------
|
|
|
|
|
|
|
|
Thanks to all Sidekiq users and contributors for helping me
|
|
|
|
get to this big milestone!
|
|
|
|
|
|
|
|
- Default concurrency on client-side to 5, not 25 so we don't
|
|
|
|
create as many unused Redis connections, same as ActiveRecord's
|
|
|
|
default pool size.
|
|
|
|
- Ensure redis= is given a Hash or ConnectionPool.
|
|
|
|
|
2012-04-06 22:53:13 -04:00
|
|
|
0.11.2
|
2012-04-05 23:18:11 -04:00
|
|
|
-----------
|
|
|
|
|
2012-04-07 00:05:14 -04:00
|
|
|
- Implement "safe shutdown". The messages for any workers that
|
2012-04-18 03:53:56 -04:00
|
|
|
are still busy when we hit the TERM timeout will be requeued in
|
2012-04-07 00:05:14 -04:00
|
|
|
Redis so the messages are not lost when the Sidekiq process exits.
|
|
|
|
[#110]
|
2012-04-06 22:53:13 -04:00
|
|
|
- Work around Celluloid's small 4kb stack limit [#115]
|
2012-04-05 23:18:11 -04:00
|
|
|
- Add support for a custom Capistrano role to limit Sidekiq to
|
|
|
|
a set of machines. [#113]
|
|
|
|
|
2012-04-03 23:52:14 -04:00
|
|
|
0.11.1
|
2012-03-30 11:57:30 -04:00
|
|
|
-----------
|
|
|
|
|
2012-04-03 10:09:43 -04:00
|
|
|
- Fix fetch breaking retry when used with Redis namespaces. [#109]
|
2012-04-03 23:00:20 -04:00
|
|
|
- Redis connection now just a plain ConnectionPool, not CP::Wrapper.
|
|
|
|
- Capistrano initial deploy fix [#106]
|
2012-04-03 23:46:34 -04:00
|
|
|
- Re-implemented weighted queues support (ryanlecompte)
|
2012-04-03 10:09:43 -04:00
|
|
|
|
|
|
|
0.11.0
|
|
|
|
-----------
|
|
|
|
|
2012-04-01 22:53:45 -04:00
|
|
|
- Client-side API changes, added sidekiq\_options for Sidekiq::Worker.
|
|
|
|
As a side effect of this change, the client API works on Ruby 1.8.
|
|
|
|
It's not officially supported but should work [#103]
|
2012-03-31 00:43:12 -04:00
|
|
|
- NO POLL! Sidekiq no longer polls Redis, leading to lower network
|
2012-04-03 23:58:12 -04:00
|
|
|
utilization and lower latency for message processing.
|
2012-04-01 22:53:45 -04:00
|
|
|
- Add --version CLI option
|
2012-03-30 11:57:30 -04:00
|
|
|
|
2012-03-30 00:06:05 -04:00
|
|
|
0.10.1
|
2012-03-29 15:03:36 -04:00
|
|
|
-----------
|
2012-03-30 00:06:05 -04:00
|
|
|
|
2012-03-29 15:03:36 -04:00
|
|
|
- Add details page for jobs in retry queue (jcoene)
|
2012-03-29 17:01:18 -04:00
|
|
|
- Display relative timestamps in web interface (jcoene)
|
2012-03-30 00:06:05 -04:00
|
|
|
- Capistrano fixes (hinrik, bensie)
|
2012-03-29 15:03:36 -04:00
|
|
|
|
2012-03-18 02:04:31 -04:00
|
|
|
0.10.0
|
|
|
|
-----------
|
|
|
|
|
2012-03-28 11:45:11 -04:00
|
|
|
- Reworked capistrano recipe to make it more fault-tolerant [#94].
|
2012-03-18 02:04:31 -04:00
|
|
|
- Automatic failure retry! Sidekiq will now save failed messages
|
|
|
|
and retry them, with an exponential backoff, over about 20 days.
|
|
|
|
Did a message fail to process? Just deploy a bug fix in the next
|
|
|
|
few days and Sidekiq will retry the message eventually.
|
|
|
|
|
2012-03-17 12:41:24 -04:00
|
|
|
0.9.1
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Fix missed deprecations, poor method name in web UI
|
|
|
|
|
2012-03-13 23:14:57 -04:00
|
|
|
0.9.0
|
2012-03-08 23:58:51 -05:00
|
|
|
-----------
|
|
|
|
|
2012-03-13 23:14:57 -04:00
|
|
|
- Add -t option to configure the TERM shutdown timeout
|
|
|
|
- TERM shutdown timeout is now configurable, defaults to 5 seconds.
|
2012-03-08 23:58:51 -05:00
|
|
|
- USR1 signal now stops Sidekiq from accepting new work,
|
|
|
|
capistrano sends USR1 at start of deploy and TERM at end of deploy
|
2012-03-13 23:14:57 -04:00
|
|
|
giving workers the maximum amount of time to finish.
|
|
|
|
- New Sidekiq::Web rack application available
|
2012-03-14 12:56:13 -04:00
|
|
|
- Updated Sidekiq.redis API
|
2012-03-08 23:58:51 -05:00
|
|
|
|
2012-03-02 14:47:55 -05:00
|
|
|
0.8.0
|
2012-02-22 16:04:43 -05:00
|
|
|
-----------
|
|
|
|
|
2012-02-28 00:13:49 -05:00
|
|
|
- Remove :namespace and :server CLI options (mperham)
|
|
|
|
- Add ExceptionNotifier support (masterkain)
|
2012-02-27 00:09:02 -05:00
|
|
|
- Add capistrano support (mperham)
|
2012-02-26 23:36:30 -05:00
|
|
|
- Workers now log upon start and finish (mperham)
|
2012-02-22 19:54:38 -05:00
|
|
|
- Messages for terminated workers are now automatically requeued (mperham)
|
2012-02-22 16:04:43 -05:00
|
|
|
- Add support for Exceptional error reporting (bensie)
|
|
|
|
|
2012-02-21 19:09:01 -05:00
|
|
|
0.7.0
|
2012-02-15 21:13:32 -05:00
|
|
|
-----------
|
2012-02-18 01:04:18 -05:00
|
|
|
|
2012-02-22 00:04:59 -05:00
|
|
|
- Example chef recipe and monitrc script (jc00ke)
|
2012-02-21 19:09:01 -05:00
|
|
|
- Refactor global configuration into Sidekiq.configure\_server and
|
|
|
|
Sidekiq.configure\_client blocks. (mperham)
|
2012-02-18 23:11:24 -05:00
|
|
|
- Add optional middleware FailureJobs which saves failed jobs to a
|
|
|
|
'failed' queue (fbjork)
|
2012-02-18 16:08:53 -05:00
|
|
|
- Upon shutdown, workers are now terminated after 5 seconds. This is to
|
|
|
|
meet Heroku's hard limit of 10 seconds for a process to shutdown. (mperham)
|
|
|
|
- Refactor middleware API for simplicity, see sidekiq/middleware/chain. (mperham)
|
|
|
|
- Add `delay` extensions for ActionMailer and ActiveRecord. (mperham)
|
|
|
|
- Added config file support. See test/config.yml for an example file. (jc00ke)
|
|
|
|
- Added pidfile for tools like monit (jc00ke)
|
2012-02-15 21:13:32 -05:00
|
|
|
|
2012-02-14 18:30:18 -05:00
|
|
|
0.6.0
|
2012-02-08 23:46:17 -05:00
|
|
|
-----------
|
|
|
|
|
2012-02-11 02:21:50 -05:00
|
|
|
- Resque-compatible processing stats in redis (mperham)
|
|
|
|
- Simple client testing support in sidekiq/testing (mperham)
|
|
|
|
- Plain old Ruby support via the -r cli flag (mperham)
|
2012-02-11 02:02:01 -05:00
|
|
|
- Refactored middleware support, introducing ability to add client-side middleware (ryanlecompte)
|
|
|
|
- Added middleware for ignoring duplicate jobs (ryanlecompte)
|
|
|
|
- Added middleware for displaying jobs in resque-web dashboard (maxjustus)
|
|
|
|
- Added redis namespacing support (maxjustus)
|
2012-02-11 02:21:50 -05:00
|
|
|
|
|
|
|
0.5.1
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- Initial release!
|