Pro-Changes.md in sidekiq-5.0.5 vs Pro-Changes.md in sidekiq-5.1.0

- old
+ new

@@ -2,9 +2,72 @@ [Sidekiq Changes](https://github.com/mperham/sidekiq/blob/master/Changes.md) | [Sidekiq Pro Changes](https://github.com/mperham/sidekiq/blob/master/Pro-Changes.md) | [Sidekiq Enterprise Changes](https://github.com/mperham/sidekiq/blob/master/Ent-Changes.md) Please see [http://sidekiq.org/](http://sidekiq.org/) for more details and how to buy. +HEAD +--------- + +- See the [Sidekiq Pro 4.0](Pro-4.0-Upgrade.md) release notes. + + +3.7.1 +--------- + +- Deprecate timed\_fetch. Switch to super\_fetch: +```ruby +config.super_fetch! +``` + + +3.7.0 +--------- + +- Refactor batch job success/failure to gracefully handle several edge + cases with regard to Sidekiq::Shutdown. This should greatly reduce + the chances of seeing the long-standing "negative pending count" problem. [#3710] + + +3.6.1 +--------- + +- Add support for Datadog::Statsd, it is the recommended Statsd client. [#3699] +```ruby +Sidekiq::Pro.dogstatsd = ->{ Datadog::Statsd.new("metrics.example.com", 8125) } +``` +- Size the statsd connection pool based on Sidekiq's concurrency [#3700] + + +3.6.0 +--------- + +This release overhauls the Statsd metrics support and adds more +metrics for tracking Pro feature usage. In your initializer: +```ruby +Sidekiq::Pro.statsd = ->{ ::Statsd.new("127.0.0.1", 8125) } +``` +Sidekiq Pro will emit more metrics to Statsd: +``` +jobs.expired - when a job is expired +jobs.recovered.push - when a job is recovered by reliable_push after network outage +jobs.recovered.fetch - when a job is recovered by super_fetch after process crash +batch.created - when a batch is created +batch.complete - when a batch is completed +batch.success - when a batch is successful +``` +Sidekiq Pro's existing Statsd middleware has been rewritten to leverage the new API. +Everything should be backwards compatible with one deprecation notice. + + +3.5.4 +--------- + +- Fix case in SuperFetch where Redis downtime can lead to processor thread death [#3684] +- Fix case where TimedFetch might not recover some pending jobs +- Fix edge case in Batch::Status#poll leading to premature completion [#3640] +- Adjust scan API to check 100 elements at a time, to minimize network round trips + when scanning large sets. + 3.5.3 --------- - Restore error check for super\_fetch's job ack [#3601] - Trim error messages saved in Batch's failure hash, preventing huge