Pro-Changes.md in sidekiq-2.16.1 vs Pro-Changes.md in sidekiq-2.17.0
- old
+ new
@@ -1,14 +1,57 @@
Sidekiq Pro Changelog
=======================
-Please see http://sidekiq.org/pro for more details and how to buy.
+Please see [http://sidekiq.org/pro](http://sidekiq.org/pro) for more details and how to buy.
+HEAD
+-----------
+
+Thanks to @jonhyman for his contributions to this Sidekiq Pro release.
+
+This release includes new functionality based on the SCAN command newly
+added to Redis 2.8. Pro still works with Redis 2.4 but some
+functionality will be unavailable.
+
+- Job Filtering in the Web UI!
+ You can now filter retries and scheduled jobs in the Web UI so you
+ only see the jobs relevant to your needs. Queues cannot be filtered;
+ Redis does not provide the same SCAN operation on the LIST type.
+ **Redis 2.8 only**
+- SCAN support in the Sidekiq::SortedSet API. Here's an example that
+ finds all jobs which contain the substring "Warehouse::OrderShip"
+ and deletes all matching retries. If the set is large, this API
+ will be **MUCH** faster than standard iteration using each.
+ **Redis 2.8 only**
+```ruby
+ Sidekiq::RetrySet.new.scan("Warehouse::OrderShip") do |job|
+ job.delete
+ end
+```
+
+- Sidekiq::Batch#jobs now returns the set of JIDs added to the batch.
+- Sidekiq::Batch#jids returns the complete set of JIDs associated with the batch.
+- Sidekiq::Batch#remove\_jobs(jid, jid, ...) removes JIDs from the set, allowing early termination of jobs if they become irrelevant according to application logic.
+- Sidekiq::Batch#include?(jid) allows jobs to check if they are still
+ relevant to a Batch and exit early if not.
+- Sidekiq::SortedSet#find\_job(jid) now uses server-side Lua **Redis 2.6 only** [jonhyman]
+- The statsd integration now sets global job counts:
+```ruby
+ jobs.count
+ jobs.success
+ jobs.failure
+```
+
+- Change shutdown logic to push leftover jobs in the private queue back
+ into the public queue when shutting down with Reliable Fetch. This
+ allows the safe decommission of a Sidekiq Pro process when autoscaling. [jonhyman]
+- Pro now requires Sidekiq 2.17.0
+
1.2.5
-----------
-- Convert Batch UI to use Sidekiq 2.16's support for extension
- localization.
+- Convert Batch UI to use Sidekiq 2.16's support for extension localization.
+- Update reliable\_push to work with Sidekiq::Client refactoring in 2.16
- Pro now requires Sidekiq 2.16.0
1.2.4
-----------