mperham--sidekiq/Changes.md

199 lines
5.9 KiB
Markdown
Raw Normal View History

1.2.0
-----------
- Error backtraces can optionally be stored as part of the retry,
for display in the web UI if you aren't using an error service. [#155]
```ruby
class Worker
include Sidekiq::Worker
sidekiq_options :backtrace => true || 10
end
```
- Add Timeout middleware to optionally kill a worker after N seconds,
just configure like so. (blackgold9)
```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]
- In test environments add the `#perform` class method to workers. This method
executes all previously queued jobs. (panthomakos)
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-25 03:12:43 +00:00
- Speed up shutdown significantly.
2012-04-20 02:42:39 +00:00
1.1.3
-----------
2012-04-19 03:13:10 +00:00
- Better network error handling when fetching jobs from Redis.
Sidekiq will retry once per second until it can re-establish
2012-04-20 02:42:39 +00:00
a connection. (ryanlecompte)
- capistrano recipe now uses `bundle_cmd` if set [#147]
2012-04-23 02:22:09 +00:00
- handle multi\_json API changes (sferik)
1.1.2
-----------
- Fix double restart with cap deploy [#137]
1.1.1
-----------
- Set procline for easy monitoring of Sidekiq status via "ps aux"
- Fix race condition on shutdown [#134]
- Fix hang with cap sidekiq:start [#131]
2012-04-15 21:59:32 +00:00
1.1.0
-----------
2012-04-12 14:09:27 +00:00
- The Sidekiq license has switched from GPLv3 to LGPLv3!
- 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 14:09:38 +00:00
Sidekiq.configure_client do |config|
require 'sidekiq/middleware/client/unique_jobs'
2012-04-18 07:53:56 +00:00
config.client_middleware do |chain|
2012-04-12 14:09:38 +00:00
chain.add Sidekiq::Middleware::Client::UniqueJobs
end
end
2012-04-12 14:09:38 +00:00
Sidekiq.configure_server do |config|
require 'sidekiq/middleware/server/unique_jobs'
2012-04-12 14:09:38 +00:00
config.server_middleware do |chain|
chain.add Sidekiq::Middleware::Server::UniqueJobs
end
end
```
2012-04-10 15:41:59 +00: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-07 02:53:13 +00:00
0.11.2
-----------
2012-04-07 04:05:14 +00:00
- Implement "safe shutdown". The messages for any workers that
2012-04-18 07:53:56 +00:00
are still busy when we hit the TERM timeout will be requeued in
2012-04-07 04:05:14 +00:00
Redis so the messages are not lost when the Sidekiq process exits.
[#110]
2012-04-07 02:53:13 +00:00
- Work around Celluloid's small 4kb stack limit [#115]
- Add support for a custom Capistrano role to limit Sidekiq to
a set of machines. [#113]
2012-04-04 03:52:14 +00:00
0.11.1
2012-03-30 15:57:30 +00:00
-----------
- Fix fetch breaking retry when used with Redis namespaces. [#109]
2012-04-04 03:00:20 +00:00
- Redis connection now just a plain ConnectionPool, not CP::Wrapper.
- Capistrano initial deploy fix [#106]
2012-04-04 03:46:34 +00:00
- Re-implemented weighted queues support (ryanlecompte)
0.11.0
-----------
- 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 04:43:12 +00:00
- NO POLL! Sidekiq no longer polls Redis, leading to lower network
2012-04-04 03:58:12 +00:00
utilization and lower latency for message processing.
- Add --version CLI option
2012-03-30 15:57:30 +00:00
2012-03-30 04:06:05 +00:00
0.10.1
2012-03-29 19:03:36 +00:00
-----------
2012-03-30 04:06:05 +00:00
2012-03-29 19:03:36 +00:00
- Add details page for jobs in retry queue (jcoene)
2012-03-29 21:01:18 +00:00
- Display relative timestamps in web interface (jcoene)
2012-03-30 04:06:05 +00:00
- Capistrano fixes (hinrik, bensie)
2012-03-29 19:03:36 +00:00
2012-03-18 06:04:31 +00:00
0.10.0
-----------
2012-03-28 15:45:11 +00:00
- Reworked capistrano recipe to make it more fault-tolerant [#94].
2012-03-18 06:04:31 +00: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 16:41:24 +00:00
0.9.1
-----------
- Fix missed deprecations, poor method name in web UI
2012-03-14 03:14:57 +00:00
0.9.0
-----------
2012-03-14 03:14:57 +00:00
- Add -t option to configure the TERM shutdown timeout
- TERM shutdown timeout is now configurable, defaults to 5 seconds.
- USR1 signal now stops Sidekiq from accepting new work,
capistrano sends USR1 at start of deploy and TERM at end of deploy
2012-03-14 03:14:57 +00:00
giving workers the maximum amount of time to finish.
- New Sidekiq::Web rack application available
- Updated Sidekiq.redis API
2012-03-02 19:47:55 +00:00
0.8.0
2012-02-22 21:04:43 +00:00
-----------
2012-02-28 05:13:49 +00:00
- Remove :namespace and :server CLI options (mperham)
- Add ExceptionNotifier support (masterkain)
2012-02-27 05:09:02 +00:00
- Add capistrano support (mperham)
2012-02-27 04:36:30 +00:00
- Workers now log upon start and finish (mperham)
- Messages for terminated workers are now automatically requeued (mperham)
2012-02-22 21:04:43 +00:00
- Add support for Exceptional error reporting (bensie)
2012-02-22 00:09:01 +00:00
0.7.0
-----------
2012-02-18 06:04:18 +00:00
2012-02-22 05:04:59 +00:00
- Example chef recipe and monitrc script (jc00ke)
2012-02-22 00:09:01 +00:00
- Refactor global configuration into Sidekiq.configure\_server and
Sidekiq.configure\_client blocks. (mperham)
2012-02-19 04:11:24 +00:00
- Add optional middleware FailureJobs which saves failed jobs to a
'failed' queue (fbjork)
2012-02-18 21:08:53 +00: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-14 23:30:18 +00:00
0.6.0
2012-02-09 04:46:17 +00:00
-----------
2012-02-11 07:21:50 +00: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)
- 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 07:21:50 +00:00
0.5.1
-----------
- Initial release!