sidekiq 2.15.1 → 4.2.10

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sidekiq might be problematic. Click here for more details.

Files changed (187) hide show
  1. checksums.yaml +7 -0
  2. data/.github/contributing.md +32 -0
  3. data/.github/issue_template.md +9 -0
  4. data/.gitignore +1 -0
  5. data/.travis.yml +16 -17
  6. data/3.0-Upgrade.md +70 -0
  7. data/4.0-Upgrade.md +53 -0
  8. data/COMM-LICENSE +56 -44
  9. data/Changes.md +644 -1
  10. data/Ent-Changes.md +173 -0
  11. data/Gemfile +27 -0
  12. data/LICENSE +1 -1
  13. data/Pro-2.0-Upgrade.md +138 -0
  14. data/Pro-3.0-Upgrade.md +44 -0
  15. data/Pro-Changes.md +457 -3
  16. data/README.md +46 -29
  17. data/Rakefile +6 -3
  18. data/bin/sidekiq +4 -0
  19. data/bin/sidekiqctl +41 -20
  20. data/bin/sidekiqload +154 -0
  21. data/code_of_conduct.md +50 -0
  22. data/lib/generators/sidekiq/templates/worker.rb.erb +9 -0
  23. data/lib/generators/sidekiq/templates/worker_spec.rb.erb +6 -0
  24. data/lib/generators/sidekiq/templates/worker_test.rb.erb +8 -0
  25. data/lib/generators/sidekiq/worker_generator.rb +49 -0
  26. data/lib/sidekiq.rb +141 -29
  27. data/lib/sidekiq/api.rb +540 -106
  28. data/lib/sidekiq/cli.rb +131 -71
  29. data/lib/sidekiq/client.rb +168 -96
  30. data/lib/sidekiq/core_ext.rb +36 -8
  31. data/lib/sidekiq/exception_handler.rb +20 -28
  32. data/lib/sidekiq/extensions/action_mailer.rb +25 -5
  33. data/lib/sidekiq/extensions/active_record.rb +8 -4
  34. data/lib/sidekiq/extensions/class_methods.rb +9 -5
  35. data/lib/sidekiq/extensions/generic_proxy.rb +1 -0
  36. data/lib/sidekiq/fetch.rb +45 -101
  37. data/lib/sidekiq/launcher.rb +144 -30
  38. data/lib/sidekiq/logging.rb +69 -12
  39. data/lib/sidekiq/manager.rb +90 -140
  40. data/lib/sidekiq/middleware/chain.rb +18 -5
  41. data/lib/sidekiq/middleware/i18n.rb +9 -2
  42. data/lib/sidekiq/middleware/server/active_record.rb +1 -1
  43. data/lib/sidekiq/middleware/server/logging.rb +11 -11
  44. data/lib/sidekiq/middleware/server/retry_jobs.rb +98 -44
  45. data/lib/sidekiq/paginator.rb +20 -8
  46. data/lib/sidekiq/processor.rb +157 -96
  47. data/lib/sidekiq/rails.rb +109 -5
  48. data/lib/sidekiq/redis_connection.rb +70 -24
  49. data/lib/sidekiq/scheduled.rb +122 -50
  50. data/lib/sidekiq/testing.rb +171 -31
  51. data/lib/sidekiq/testing/inline.rb +1 -0
  52. data/lib/sidekiq/util.rb +31 -5
  53. data/lib/sidekiq/version.rb +2 -1
  54. data/lib/sidekiq/web.rb +136 -263
  55. data/lib/sidekiq/web/action.rb +93 -0
  56. data/lib/sidekiq/web/application.rb +336 -0
  57. data/lib/sidekiq/web/helpers.rb +278 -0
  58. data/lib/sidekiq/web/router.rb +100 -0
  59. data/lib/sidekiq/worker.rb +40 -7
  60. data/sidekiq.gemspec +18 -14
  61. data/web/assets/images/favicon.ico +0 -0
  62. data/web/assets/images/{status-sd8051fd480.png → status.png} +0 -0
  63. data/web/assets/javascripts/application.js +67 -19
  64. data/web/assets/javascripts/dashboard.js +138 -29
  65. data/web/assets/stylesheets/application.css +267 -406
  66. data/web/assets/stylesheets/bootstrap.css +4 -8
  67. data/web/locales/cs.yml +78 -0
  68. data/web/locales/da.yml +9 -1
  69. data/web/locales/de.yml +18 -9
  70. data/web/locales/el.yml +68 -0
  71. data/web/locales/en.yml +19 -4
  72. data/web/locales/es.yml +10 -1
  73. data/web/locales/fa.yml +79 -0
  74. data/web/locales/fr.yml +50 -32
  75. data/web/locales/hi.yml +75 -0
  76. data/web/locales/it.yml +27 -18
  77. data/web/locales/ja.yml +27 -12
  78. data/web/locales/ko.yml +8 -3
  79. data/web/locales/{no.yml → nb.yml} +19 -5
  80. data/web/locales/nl.yml +8 -3
  81. data/web/locales/pl.yml +0 -1
  82. data/web/locales/pt-br.yml +11 -4
  83. data/web/locales/pt.yml +8 -1
  84. data/web/locales/ru.yml +39 -21
  85. data/web/locales/sv.yml +68 -0
  86. data/web/locales/ta.yml +75 -0
  87. data/web/locales/uk.yml +76 -0
  88. data/web/locales/zh-cn.yml +68 -0
  89. data/web/locales/zh-tw.yml +68 -0
  90. data/web/views/_footer.erb +17 -0
  91. data/web/views/_job_info.erb +72 -60
  92. data/web/views/_nav.erb +58 -25
  93. data/web/views/_paging.erb +5 -5
  94. data/web/views/_poll_link.erb +7 -0
  95. data/web/views/_summary.erb +20 -14
  96. data/web/views/busy.erb +94 -0
  97. data/web/views/dashboard.erb +34 -21
  98. data/web/views/dead.erb +34 -0
  99. data/web/views/layout.erb +8 -30
  100. data/web/views/morgue.erb +75 -0
  101. data/web/views/queue.erb +37 -30
  102. data/web/views/queues.erb +26 -20
  103. data/web/views/retries.erb +60 -47
  104. data/web/views/retry.erb +23 -19
  105. data/web/views/scheduled.erb +39 -35
  106. data/web/views/scheduled_job_info.erb +2 -1
  107. metadata +152 -195
  108. data/Contributing.md +0 -29
  109. data/config.ru +0 -18
  110. data/lib/sidekiq/actor.rb +0 -7
  111. data/lib/sidekiq/capistrano.rb +0 -54
  112. data/lib/sidekiq/yaml_patch.rb +0 -21
  113. data/test/config.yml +0 -11
  114. data/test/env_based_config.yml +0 -11
  115. data/test/fake_env.rb +0 -0
  116. data/test/helper.rb +0 -42
  117. data/test/test_api.rb +0 -341
  118. data/test/test_cli.rb +0 -326
  119. data/test/test_client.rb +0 -211
  120. data/test/test_exception_handler.rb +0 -124
  121. data/test/test_extensions.rb +0 -105
  122. data/test/test_fetch.rb +0 -44
  123. data/test/test_manager.rb +0 -83
  124. data/test/test_middleware.rb +0 -135
  125. data/test/test_processor.rb +0 -160
  126. data/test/test_redis_connection.rb +0 -97
  127. data/test/test_retry.rb +0 -306
  128. data/test/test_scheduled.rb +0 -86
  129. data/test/test_scheduling.rb +0 -47
  130. data/test/test_sidekiq.rb +0 -37
  131. data/test/test_testing.rb +0 -82
  132. data/test/test_testing_fake.rb +0 -265
  133. data/test/test_testing_inline.rb +0 -92
  134. data/test/test_util.rb +0 -18
  135. data/test/test_web.rb +0 -372
  136. data/web/assets/images/bootstrap/glyphicons-halflings-white.png +0 -0
  137. data/web/assets/images/bootstrap/glyphicons-halflings.png +0 -0
  138. data/web/assets/images/status/active.png +0 -0
  139. data/web/assets/images/status/idle.png +0 -0
  140. data/web/assets/javascripts/locales/README.md +0 -27
  141. data/web/assets/javascripts/locales/jquery.timeago.ar.js +0 -96
  142. data/web/assets/javascripts/locales/jquery.timeago.bg.js +0 -18
  143. data/web/assets/javascripts/locales/jquery.timeago.bs.js +0 -49
  144. data/web/assets/javascripts/locales/jquery.timeago.ca.js +0 -18
  145. data/web/assets/javascripts/locales/jquery.timeago.cy.js +0 -20
  146. data/web/assets/javascripts/locales/jquery.timeago.cz.js +0 -18
  147. data/web/assets/javascripts/locales/jquery.timeago.da.js +0 -18
  148. data/web/assets/javascripts/locales/jquery.timeago.de.js +0 -18
  149. data/web/assets/javascripts/locales/jquery.timeago.el.js +0 -18
  150. data/web/assets/javascripts/locales/jquery.timeago.en-short.js +0 -20
  151. data/web/assets/javascripts/locales/jquery.timeago.en.js +0 -20
  152. data/web/assets/javascripts/locales/jquery.timeago.es.js +0 -18
  153. data/web/assets/javascripts/locales/jquery.timeago.et.js +0 -18
  154. data/web/assets/javascripts/locales/jquery.timeago.fa.js +0 -22
  155. data/web/assets/javascripts/locales/jquery.timeago.fi.js +0 -28
  156. data/web/assets/javascripts/locales/jquery.timeago.fr-short.js +0 -16
  157. data/web/assets/javascripts/locales/jquery.timeago.fr.js +0 -17
  158. data/web/assets/javascripts/locales/jquery.timeago.he.js +0 -18
  159. data/web/assets/javascripts/locales/jquery.timeago.hr.js +0 -49
  160. data/web/assets/javascripts/locales/jquery.timeago.hu.js +0 -18
  161. data/web/assets/javascripts/locales/jquery.timeago.hy.js +0 -18
  162. data/web/assets/javascripts/locales/jquery.timeago.id.js +0 -18
  163. data/web/assets/javascripts/locales/jquery.timeago.it.js +0 -16
  164. data/web/assets/javascripts/locales/jquery.timeago.ja.js +0 -19
  165. data/web/assets/javascripts/locales/jquery.timeago.ko.js +0 -17
  166. data/web/assets/javascripts/locales/jquery.timeago.lt.js +0 -20
  167. data/web/assets/javascripts/locales/jquery.timeago.mk.js +0 -20
  168. data/web/assets/javascripts/locales/jquery.timeago.nl.js +0 -20
  169. data/web/assets/javascripts/locales/jquery.timeago.no.js +0 -18
  170. data/web/assets/javascripts/locales/jquery.timeago.pl.js +0 -31
  171. data/web/assets/javascripts/locales/jquery.timeago.pt-br.js +0 -16
  172. data/web/assets/javascripts/locales/jquery.timeago.pt.js +0 -16
  173. data/web/assets/javascripts/locales/jquery.timeago.ro.js +0 -18
  174. data/web/assets/javascripts/locales/jquery.timeago.rs.js +0 -49
  175. data/web/assets/javascripts/locales/jquery.timeago.ru.js +0 -34
  176. data/web/assets/javascripts/locales/jquery.timeago.sk.js +0 -18
  177. data/web/assets/javascripts/locales/jquery.timeago.sl.js +0 -44
  178. data/web/assets/javascripts/locales/jquery.timeago.sv.js +0 -18
  179. data/web/assets/javascripts/locales/jquery.timeago.th.js +0 -20
  180. data/web/assets/javascripts/locales/jquery.timeago.tr.js +0 -16
  181. data/web/assets/javascripts/locales/jquery.timeago.uk.js +0 -34
  182. data/web/assets/javascripts/locales/jquery.timeago.uz.js +0 -19
  183. data/web/assets/javascripts/locales/jquery.timeago.zh-CN.js +0 -20
  184. data/web/assets/javascripts/locales/jquery.timeago.zh-TW.js +0 -20
  185. data/web/views/_poll.erb +0 -14
  186. data/web/views/_workers.erb +0 -29
  187. data/web/views/index.erb +0 -16
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 595500a3810c25e8e04e86c644f966ff01cb035f
4
+ data.tar.gz: 3f92a9f61e61848bc2c0639469ce3588f3848fc0
5
+ SHA512:
6
+ metadata.gz: c4e97c3665d1e902f47cfb579fda437dc834ac4b584606f1ca3b8fd9225e8502cacf5fb687673b4735b359de6af179589759a34369f1c74e904b37f8fe70a4ee
7
+ data.tar.gz: a4e6d41067bf6b88c77577def0c1f9ecc3f5d46f0bdfb0821952c26867e91a71c64231aab09a25096d22c3272dea2dcc37547bc6096dd7622a192fa00e0a4e50
@@ -0,0 +1,32 @@
1
+ # Contributing
2
+
3
+ ## Issues
4
+
5
+ When opening an issue:
6
+
7
+ * include the full **backtrace** with your error
8
+ * include your Sidekiq initializer
9
+ * list versions you are using: Ruby, Rails, Sidekiq, OS, etc.
10
+
11
+ It's always better to include more info rather than less.
12
+
13
+ ## Code
14
+
15
+ It's always best to open an issue before investing a lot of time into a
16
+ fix or new functionality. Functionality must meet my design goals and
17
+ vision for the project to be accepted; I would be happy to discuss how
18
+ your idea can best fit into Sidekiq.
19
+
20
+ ## Legal
21
+
22
+ By submitting a Pull Request, you disavow any rights or claims to any changes
23
+ submitted to the Sidekiq project and assign the copyright of
24
+ those changes to Contributed Systems LLC.
25
+
26
+ If you cannot or do not want to reassign those rights (your employment
27
+ contract for your employer may not allow this), you should not submit a PR.
28
+ Open an issue and someone else can do the work.
29
+
30
+ This is a legal way of saying "If you submit a PR to us, that code becomes ours".
31
+ 99.9% of the time that's what you intend anyways; we hope it doesn't scare you
32
+ away from contributing.
@@ -0,0 +1,9 @@
1
+ Ruby version:
2
+ Sidekiq / Pro / Enterprise version(s):
3
+
4
+ Please include your initializer and any error message with the full backtrace.
5
+
6
+ Are you using an old version?
7
+ Have you checked the changelog to see if your issue has been fixed in a later version?
8
+
9
+ https://github.com/mperham/sidekiq/blob/master/Changes.md
data/.gitignore CHANGED
@@ -9,3 +9,4 @@ coverage/
9
9
  vendor/
10
10
  .bundle/
11
11
  .sass-cache/
12
+ tmp/
@@ -1,19 +1,18 @@
1
1
  language: ruby
2
- rvm:
3
- - 1.9.3
4
- - jruby-19mode
5
- - rbx-19mode
6
- - 2.0.0
7
- branches:
8
- only:
9
- - master
10
- notifications:
11
- irc: "irc.freenode.org#sidekiq"
12
- email:
13
- recipients:
14
- - sidekiq@librelist.org
2
+ sudo: false
3
+ cache: bundler
4
+ services:
5
+ - redis-server
6
+ before_install:
7
+ - gem install bundler
8
+ - gem update bundler
15
9
  matrix:
16
- allow_failures:
17
- - rvm: jruby-19mode
18
- - rvm: rbx-19mode
19
- - rvm: 2.0.0
10
+ include:
11
+ - rvm: 2.2.4
12
+ env: "PERCY_ENABLE=0"
13
+ - rvm: 2.3.0
14
+ env: "PERCY_ENABLE=0"
15
+ - rvm: 2.4.0
16
+ env: "PERCY_ENABLE=1"
17
+ - rvm: jruby-9.1.6.0
18
+ env: "PERCY_ENABLE=0"
@@ -0,0 +1,70 @@
1
+ # Upgrading to Sidekiq 3.0
2
+
3
+ Sidekiq 3.0 brings several new features but also removes old APIs and
4
+ changes a few data elements in Redis. To upgrade cleanly:
5
+
6
+ * Upgrade to the latest Sidekiq 2.x and run it for a few weeks.
7
+ `gem 'sidekiq', '< 3'`
8
+ This is only needed if you have retries pending.
9
+ * 3rd party gems which use **client-side middleware** will need to update
10
+ due to an API change. The Redis connection for a particular job is
11
+ passed thru the middleware to handle sharding where jobs can
12
+ be pushed to different redis server instances.
13
+
14
+ `def call(worker_class, msg, queue, redis_pool)`
15
+
16
+ Client-side middleware should use `redis_pool.with { |conn| ... }` to
17
+ perform Redis operations and **not** `Sidekiq.redis`.
18
+ * If you used the capistrano integration, you'll need to pull in the
19
+ new [capistrano-sidekiq](https://github.com/seuros/capistrano-sidekiq)
20
+ gem and use it in your deploy.rb.
21
+ * API changes:
22
+ - `Sidekiq::Client.registered_workers` replaced by `Sidekiq::Workers.new`
23
+ - `Sidekiq::Client.registered_queues` replaced by `Sidekiq::Queue.all`
24
+ - `Sidekiq::Worker#retries_exhausted` replaced by `Sidekiq::Worker.sidekiq_retries_exhausted`
25
+ - `Sidekiq::Workers#each` has changed significantly with a reworking
26
+ of Sidekiq's internal process/thread data model.
27
+ * `sidekiq/api` is no longer automatically required. If your code uses
28
+ the API, you will need to require it.
29
+ * Redis-to-Go is no longer transparently activated on Heroku so as to not play
30
+ favorites with any particular Redis service. You need to set a config option
31
+ for your app:
32
+ `heroku config:set REDIS_PROVIDER=REDISTOGO_URL`. You may also use
33
+ the generic `REDIS_URL`. See
34
+ [Advanced Options: Setting the Location of your Redis server][1]
35
+ for details.
36
+ * Anyone using Airbrake, Honeybadger, Exceptional or ExceptionNotifier
37
+ will need to update their error gem version to the latest to pull in
38
+ Sidekiq support. Sidekiq will not provide explicit support for these
39
+ services so as to not play favorites with any particular error service.
40
+ * MRI 1.9 is no longer officially supported. Sidekiq's official
41
+ support policy is to support the current and previous major releases
42
+ of MRI and Rails. As of February 2014, that's MRI 2.1, MRI 2.0, JRuby 1.7, Rails 4.0
43
+ and Rails 3.2. I will consider PRs to fix issues found by users for
44
+ other platforms/versions.
45
+
46
+ ## Error Service Providers
47
+
48
+ If you previously provided a middleware to capture job errors, you
49
+ should instead provide a global error handler with Sidekiq 3.0. This
50
+ ensures **any** error within Sidekiq will be logged appropriately, not
51
+ just during job execution.
52
+
53
+ ```ruby
54
+ if Sidekiq::VERSION < '3'
55
+ # old behavior
56
+ Sidekiq.configure_server do |config|
57
+ config.server_middleware do |chain|
58
+ chain.add MyErrorService::Middleware
59
+ end
60
+ end
61
+ else
62
+ Sidekiq.configure_server do |config|
63
+ config.error_handlers << proc {|ex,context| MyErrorService.notify(ex, context) }
64
+ end
65
+ end
66
+ ```
67
+
68
+ Your error handler must respond to `call(exception, context_hash)`.
69
+
70
+ [1]: https://github.com/mperham/sidekiq/wiki/Advanced-Options#via-env-variable
@@ -0,0 +1,53 @@
1
+ # Welcome to Sidekiq 4.0!
2
+
3
+ Sidekiq 4.0 contains a redesigned, more efficient core with less overhead per job.
4
+ See my blog for [an overview of Sidekiq 4's higher performance](http://www.mikeperham.com/2015/10/14/optimizing-sidekiq/).
5
+
6
+ ## What's New
7
+
8
+ * Sidekiq no longer uses Celluloid. If your application code uses Celluloid,
9
+ you will need to pull it in yourself.
10
+
11
+ * `redis-namespace` has been removed from Sidekiq's gem dependencies. If
12
+ you want to use namespacing ([and I strongly urge you not to](http://www.mikeperham.com/2015/09/24/storing-data-with-redis/)), you'll need to add the gem to your Gemfile:
13
+ ```ruby
14
+ gem 'redis-namespace'
15
+ ```
16
+
17
+ * **Redis 2.8.0 or greater is required.** Redis 2.8 was released two years
18
+ ago and contains **many** useful features which Sidekiq couldn't
19
+ leverage until now. **Redis 3.0.3 or greater is recommended** for large
20
+ scale use [#2431](https://github.com/mperham/sidekiq/issues/2431).
21
+
22
+ * Jobs are now fetched from Redis in parallel, making Sidekiq more
23
+ resilient to high network latency. This means that Sidekiq requires
24
+ more Redis connections per process. You must have a minimum of
25
+ `concurrency + 2` connections in your pool or Sidekiq will exit.
26
+ When in doubt, let Sidekiq size the connection pool for you.
27
+
28
+ * Worker data is no longer updated in real-time but rather upon every
29
+ heartbeat. Don't expect the `Sidekiq::Workers` API to be millisecond-precise.
30
+
31
+ * There's a new testing API based off the `Sidekiq::Queues` namespace. All
32
+ assertions made against the Worker class still work as expected.
33
+ ```ruby
34
+ assert_equal 0, Sidekiq::Queues["default"].size
35
+ HardWorker.perform_async("log")
36
+ assert_equal 1, Sidekiq::Queues["default"].size
37
+ assert_equal "log", Sidekiq::Queues["default"].first['args'][0]
38
+ Sidekiq::Queues.clear_all
39
+ ```
40
+
41
+ ## Upgrade
42
+
43
+ First, make sure you are using Redis 2.8 or greater. Next:
44
+
45
+ * Upgrade to the latest Sidekiq 3.x.
46
+ ```ruby
47
+ gem 'sidekiq', '< 4'
48
+ ```
49
+ * Fix any deprecation warnings you see.
50
+ * Upgrade to 4.x.
51
+ ```ruby
52
+ gem 'sidekiq', '< 5'
53
+ ```
@@ -1,83 +1,95 @@
1
- THIS LICENSE AGREEMENT DESCRIBES YOUR RIGHTS WITH RESPECT TO THE SOFTWARE AND ITS COMPONENTS.
1
+ END-USER LICENSE AGREEMENT
2
2
 
3
- 1. OWNERSHIP, LICENSE GRANT
3
+ ------------------------------------------------------------------------------
4
4
 
5
- This is a license agreement and not an agreement for sale. We reserve ownership of all intellectual property rights inherent in or relating to the Software, which include, but are not limited to, all copyright, patent rights, all rights in relation to registered and unregistered trademarks (including service marks), confidential information (including trade secrets and know-how) and all rights other than those expressly granted by this License Agreement.
5
+ IMPORTANT: THIS SOFTWARE END-USER LICENSE AGREEMENT ("EULA") IS A LEGAL AGREEMENT (“Agreement”) BETWEEN YOU (THE CUSTOMER, EITHER AS AN INDIVIDUAL OR, IF PURCHASED OR OTHERWISE ACQUIRED BY OR FOR AN ENTITY, AS AN ENTITY) AND CONTRIBUTED SYSTEMS. READ IT CAREFULLY BEFORE COMPLETING THE INSTALLATION PROCESS AND USING SIDEKIQ PRO AND RELATED SOFTWARE COMPONENTS (“SOFTWARE”). IT PROVIDES A LICENSE TO USE THE SOFTWARE AND CONTAINS WARRANTY INFORMATION AND LIABILITY DISCLAIMERS. BY INSTALLING AND USING THE SOFTWARE, YOU ARE CONFIRMING YOUR ACCEPTANCE OF THE SOFTWARE AND AGREEING TO BECOME BOUND BY THE TERMS OF THIS AGREEMENT.
6
6
 
7
- Subject to the payment of the fee required and subject to the terms and conditions of this License Agreement, We grant to You a revocable, non- transferable and non-exclusive license (i) for Designated User(s) (as defined below) within Your organization to install and use the Software on any workstations used exclusively by such Designated User and (ii) for You to install and use the Software in connection with unlimited domains and sub-domains on unlimited servers, solely in connection with distribution of the Software in accordance with sections 3 and 4 below. This license is not sublicensable except as explicitly set forth herein. “Designated User(s)” shall mean Your employee(s) acting within the scope of their employment or Your consultant(s) or contractor(s) acting within the scope of the services they provide for You or on Your behalf for whom You have purchased a license to use the Software.
7
+ ------------------------------------------------------------------------------
8
8
 
9
- In addition to the other terms contained herein, We grant to You a revocable, non- transferable and non-exclusive license to install and use the Software on a single computer (the Trial License) strictly for Your internal evaluation and review purposes and not for production purposes. This Trial License applies only if You have registered with Us for a Trial License of the Software and shall be effective for forty-five (45) consecutive days following the date of registration (“the Trial Period”). You may only register for a Trial License once in any eighteen month period. You agree not to use a Trial License for any purpose other than determining whether to purchase a license to the Software. You are explicitly not permitted to distribute the Software to any user outside the Organization on whose behalf you have undertaken this license. Your rights to use the Trial License will immediately terminate upon the earlier of (i) the expiration of the Trial Period, or (ii) such time that You purchase a license to the Software. We reserve the right to terminate Your Trial License at any time in Our absolute and sole discretion.
9
+ In order to use the Software under this Agreement, you must receive a “Source URLat the time of purchase, in accordance with the scope of use and other terms specified for each type of Software and as set forth in this Section 1 of this Agreement.
10
10
 
11
- 2. PERMITTED USES, SOURCE CODE, MODIFICATIONS
11
+ 1. License Grant
12
12
 
13
- We provide You with source code so that You can create Modifications of the original Software, where Modification means: a) any addition to or deletion from the contents of a file included in the original Software or previous Modifications created by You, or b) any new file that contains any part of the original Software or previous Modifications. While You retain all rights to any original work authored by You as part of the Modifications, We continue to own all copyright and other intellectual property rights in the Software.
13
+ 1.1 General Use. This Agreement grants you a non-exclusive, non-transferable, limited license to the use rights for the Software, without the right to grant sublicenses, subject to the terms and conditions in this Agreement. The Software is licensed, not sold.
14
14
 
15
- 3. DISTRIBUTION
15
+ 1.2 Unlimited Organization License. If you purchased an Organization License (included with the Sidekiq Pro Software), you may install the Software on an unlimited number of Hosts. “Host” means any physical or virtual machine which is controlled by you. You may also run an unlimited number of Workers. “Worker” means a thread within a Sidekiq server process which executes jobs. You may concurrently run the software on an unlimited number of Hosts, with each host running an unlimited number of Workers.
16
16
 
17
- You may distribute the Software in any applications, frameworks, or elements (collectively referred to as an “Application” or “Applications”) that you develop using the Software in accordance with this License Agreement, provided that such distribution does not violate the restrictions set forth in section 4 of this License Agreement. You must not remove, obscure or interfere with any copyright, acknowledgment, attribution, trademark, warning or disclaimer statement affixed to, incorporated in or otherwise applied in connection with the Software.
17
+ 1.3 Limited Organization License. If you purchased an Organization License (included with the Sidekiq Enterprise Software), you may install the Software on an unlimited number of Hosts. Hostmeans any physical or virtual machine which is controlled by you. The aggregate number of Workers run by the hosts must not exceed the maximum number of Workers authorized at the time of purchase. “Worker” means a thread within a Sidekiq server process which executes jobs. In order to run additional Workers, you must purchase an additional allowance from Contributed Systems.
18
18
 
19
- You are required to ensure that the Software is not reused by or with any applications other than those with which You distribute it as permitted herein. For example, if You install the Software on a customer’s server, that customer is not permitted to use the Software independently of Your application, and must be informed as such.
19
+ 1.4 Appliance License. If you purchased an Appliance License, you may distribute the Software in any applications, frameworks, or elements (collectively referred to as an “Application” or “Applications”) that you develop using the Software in accordance with this EULA, provided that such distribution does not violate the restrictions set forth in section 3 of this EULA. You must not remove, obscure or interfere with any copyright, acknowledgment, attribution, trademark, warning or disclaimer statement affixed to, incorporated in or otherwise applied in connection with the Software. You are required to ensure that the Software is not reused by or with any applications other than those with which you distribute it as permitted herein. For example, if You install the Software on a customer’s server, that customer is not permitted to use the Software independently of your Application. You must inform Contributed Systems of your knowledge of any infringing use of the Software by any of your customers. You are liable for compliance by those third parties with the terms and conditions of this EULA. You will not owe Contributed Systems any royalties for your distribution of the Software in accordance with this EULA.
20
20
 
21
- You will not owe Us any royalties for Your distribution of the Software in accordance with this License Agreement.
21
+ 1.5 Archive Copies. You are entitled to make a reasonable amount of copies of the Software for archival purposes. Each copy must reproduce all copyright and other proprietary rights notices on or in the Software Product.
22
22
 
23
- 4. PROHIBITED USES
23
+ 1.6 Electronic Delivery. All Software and license documentation shall be delivered by electronic means unless otherwise specified on the applicable invoice or at the time of purchase. Software shall be deemed delivered when it is made available for download by you (“Delivery”).
24
24
 
25
- You may not, without Our prior written consent, redistribute the Software or Modifications other than by including the Software or a portion thereof within Your own product, which must have substantially different functionality than the Software or Modifications and must not allow any third party to use the Software or Modifications, or any portions thereof, for software development or application development purposes. You are explicitly not allowed to redistribute the Software or Modifications as part of any product that can be described as a development toolkit or library, an application builder, a website builder or any product that is intended for use by software, application, or website developers or designers. You are not allowed to redistribute any part of the Software documentation. You may not change or remove the copyright notice from any of the files included in the Software or Modifications.
25
+ 2. Modifications. Contributed Systems shall provide you with source code so that you can create Modifications of the original software. “Modification” means: (a) any addition to or deletion from the contents of a file included in the original Software or previous Modifications created by You, or (b) any new file that contains any part of the original Software or previous Modifications. While you retain all rights to any original work authored by you as part of the Modifications, We continue to own all copyright and other intellectual property rights in the Software.
26
26
 
27
- UNDER NO CIRCUMSTANCES MAY YOU USE THE SOFTWARE FOR A PRODUCT THAT IS INTENDED FOR SOFTWARE OR APPLICATION DEVELOPMENT PURPOSES.
27
+ 3. Restricted Uses.
28
+
29
+ 3.1 You shall not (and shall not allow any third party to): (a) decompile, disassemble, or otherwise reverse engineer the Software or attempt to reconstruct or discover any source code, underlying ideas, algorithms, file formats or programming interfaces of the Software by any means whatsoever (except and only to the extent that applicable law prohibits or restricts reverse engineering restrictions); (b) distribute, sell, sublicense, rent, lease or use the Software for time sharing, hosting, service provider or like purposes, except as expressly permitted under this Agreement; (c) redistribute the Software or Modifications other than by including the Software or a portion thereof within your own product, which must have substantially different functionality than the Software or Modifications and must not allow any third party to use the Software or Modifications, or any portions thereof, for software development or application development purposes; (d) redistribute the Software as part of a product, "appliance" or "virtual server"; (e) redistribute the Software on any server which is not directly under your control; (f) remove any product identification, proprietary, copyright or other notices contained in the Software; (g) modify any part of the Software, create a derivative work of any part of the Software (except as permitted in Section 4), or incorporate the Software, except to the extent expressly authorized in writing by Contributed Systems; (h) publicly disseminate performance information or analysis (including, without limitation, benchmarks) from any source relating to the Software; (i) utilize any equipment, device, software, or other means designed to circumvent or remove any form of Source URL or copy protection used by Contributed Systems in connection with the Software, or use the Software together with any authorization code, Source URL, serial number, or other copy protection device not supplied by Contributed Systems; (j) use the Software to develop a product which is competitive with any Contributed Systems product offerings; or (k) use unauthorized Source URLS or keycode(s) or distribute or publish Source URLs or keycode(s), except as may be expressly permitted by Contributed Systems in writing. If your unique Source URL is ever published, Contributed Systems reserves the right to terminate your access without notice.
30
+
31
+ 3.2 UNDER NO CIRCUMSTANCES MAY YOU USE THE SOFTWARE AS PART OF A PRODUCT OR SERVICE THAT PROVIDES SIMILAR FUNCTIONALITY TO THE SOFTWARE ITSELF.
28
32
 
29
33
  The Open Source version of the Software (“LGPL Version”) is licensed
30
34
  under the terms of the GNU Lesser General Public License versions 3.0
31
- (“LGPL”) and not under this License Agreement. If You, or another third
32
- party, has, at any time, developed all (or any portions of) the
33
- Application(s) using the LGPL Version, You may not combine such
34
- development work with the Software and must license such Application(s)
35
- (or any portions derived there from) under the terms of the GNU Lesser
36
- General Public License version 3, a copy of which is located at
37
- http://www.gnu.org/copyleft/lgpl.html.
35
+ (“LGPL”) and not under this EULA.
36
+
37
+ 4. Ownership. Notwithstanding anything to the contrary contained herein, except for the limited license rights expressly provided herein, Contributed Systems and its suppliers have and will retain all rights, title and interest (including, without limitation, all patent, copyright, trademark, trade secret and other intellectual property rights) in and to the Software and all copies, modifications and derivative works thereof (including any changes which incorporate any of your ideas, feedback or suggestions). You acknowledge that you are obtaining only a limited license right to the Software, and that irrespective of any use of the words “purchase”, “sale” or like terms hereunder no ownership rights are being conveyed to you under this Agreement or otherwise.
38
+
39
+ 5. Fees and Payment. The Software license fees will be due and payable in full as set forth in the applicable invoice or at the time of purchase. If the Software does not function properly within two weeks of purchase, please contact us within those two weeks for a refund. You shall be responsible for all taxes, withholdings, duties and levies arising from the order (excluding taxes based on the net income of Contributed Systems).
40
+
41
+ 6. Support, Maintenance and Services. Subject to the terms and conditions of this Agreement, as set forth in your invoice, and as set forth on the Sidekiq Pro support page (https://github.com/mperham/sidekiq/wiki/Pro-Support), support and maintenance services may be included with the purchase of your license subscription.
42
+
43
+ 7. Term of Agreement.
44
+
45
+ 7.1 Term. This Agreement is effective as of the Delivery of the Software and expires at such time as all license and service subscriptions hereunder have expired in accordance with their own terms (the “Term”). For clarification, the term of your license under this Agreement may be perpetual, limited for Evaluation Version, or designated as a fixed-term license in the Invoice, and shall be specified at your time of purchase. Either party may terminate this Agreement (including all related Invoices) if the other party: (a) fails to cure any material breach of this Agreement within thirty (30) days after written notice of such breach, provided that Contributed Systems may terminate this Agreement immediately upon any breach of Section 3 or if you exceed any other restrictions contained in Section 1, unless otherwise specified in this agreement; (b) ceases operation without a successor; or (c) seeks protection under any bankruptcy, receivership, trust deed, creditors arrangement, composition or comparable proceeding, or if any such proceeding is instituted against such party (and not dismissed within sixty (60) days)). Termination is not an exclusive remedy and the exercise by either party of any remedy under this Agreement will be without prejudice to any other remedies it may have under this Agreement, by law, or otherwise.
46
+
47
+ 7.2 Termination. Upon any termination of this Agreement, you shall cease any and all use of any Software and destroy all copies thereof.
48
+
49
+ 7.3 Expiration of License. Upon the expiration of any term under this Agreement, (a) all Software updates and services pursuant to the license shall cease, (b) you may only continue to run existing installations of the Software, (c) you may not install the Software on any additional Hosts, and (d) any new installation of the Software shall require the purchase of a new license subscription from Contributed Systems.
38
50
 
39
- 5. TERMINATION
51
+ 8. Disclaimer of Warranties. The Software is provided "as is," with all faults, defects and errors, and without warranty of any kind. Contributed Systems does not warrant that the Software will be free of bugs, errors, viruses or other defects, and Contributed Systems shall have no liability of any kind for the use of or inability to use the Software, the Software content or any associated service, and you acknowledge that it is not technically practicable for Contributed Systems to do so.
52
+ To the maximum extent permitted by applicable law, Contributed Systems disclaims all warranties, express, implied, arising by law or otherwise, regarding the Software, the Software content and their respective performance or suitability for your intended use, including without limitation any implied warranty of merchantability, fitness for a particular purpose.
40
53
 
41
- This License Agreement and Your right to use the Software and Modifications will terminate immediately without notice if You fail to comply with the terms and conditions of this License Agreement. Upon termination, You agree to immediately cease using and destroy the Software or Modifications, including all accompanying documents. The provisions of sections 4, 5, 6, 7, 8, 9, 10 and 12 will survive any termination of this License Agreement.
54
+ 9. Limitation of Liability.
42
55
 
43
- 6. DISCLAIMER OF WARRANTIES
56
+ In no event will Contributed Systems be liable for any direct, indirect, consequential, incidental, special, exemplary, or punitive damages or liabilities whatsoever arising from or relating to the Software, the Software content or this Agreement, whether based on contract, tort (including negligence), strict liability or other theory, even if Contributed Systems has been advised of the possibility of such damages.
44
57
 
45
- TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, WE AND OUR SUPPLIERS DISCLAIM ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE. WE DO NOT GUARANTEE THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE, AND YOU ACKNOWLEDGE THAT IT IS NOT TECHNICALLY PRACTICABLE FOR US TO DO SO.
58
+ In no event will Contributed Systems' liability exceed the Software license price as indicated in the invoice. The existence of more than one claim will not enlarge or extend this limit.
46
59
 
47
- 7. LIMITATION OF LIABILITIES
60
+ 10. Remedies. Your exclusive remedy and Contributed Systems’ entire liability for breach of this Agreement shall be limited, at Contributed Systems’ sole and exclusive discretion, to (a) replacement of any defective software or documentation; or (b) refund of the license fee paid to Contributed Systems, payable in accordance with Contributed Systems' refund policy.
48
61
 
49
- TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL WE OR OUR SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION OR ANY OTHER PECUNIARY LAW) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN ANY CASE, OUR ENTIRE LIABILITY UNDER ANY PROVISION OF THIS LICENSE AGREEMENT SHALL BE LIMITED TO THE AMOUNT ACTUALLY PAID BY YOU FOR THE SOFTWARE.
62
+ 11. Acknowledgements.
50
63
 
51
- 8. VERIFICATION
64
+ 11.1 Consent to the Use of Data. You agree that Contributed Systems and its affiliates may collect and use technical information gathered as part of the product support services. Contributed Systems may use this information solely to improve products and services and will not disclose this information in a form that personally identifies you.
52
65
 
53
- We or a certified auditor acting on Our behalf, may, upon its reasonable request and at its expense, audit You with respect to the use of the Software. Such audit may be conducted by mail, electronic means or through an in-person visit to Your place of business. Any such in-person audit shall be conducted during regular business hours at Your facilities and shall not unreasonably interfere with Your business activities. We shall not remove, copy, or redistribute any electronic material during the course of an audit. If an audit reveals that You are using the Software in a way that is in material violation of the terms of the License Agreement, then You shall pay Our reasonable costs of conducting the audit. In the case of a material violation, You agree to pay Us any amounts owing that are attributable to the unauthorized use. In the alternative, We reserve the right, at Our sole option, to terminate the licenses for the Software.
66
+ 11.2 Verification. We or a certified auditor acting on our behalf, may, upon its reasonable request and at its expense, audit you with respect to the use of the Software. Such audit may be conducted by mail, electronic means or through an in-person visit to your place of business. Any such in-person audit shall be conducted during regular business hours at your facilities and shall not unreasonably interfere with your business activities. We shall not remove, copy, or redistribute any electronic material during the course of an audit. If an audit reveals that you are using the Software in a way that is in material violation of the terms of the EULA, then you shall pay our reasonable costs of conducting the audit. In the case of a material violation, you agree to pay Us any amounts owing that are attributable to the unauthorized use. In the alternative, We reserve the right, at our sole option, to terminate the licenses for the Software.
54
67
 
55
- 9. THIRD PARTY SOFTWARE
68
+ 11.3 Government End Users. If the Software and related documentation are supplied to or purchased by or on behalf of the United States Government, then the Software is deemed to be "commercial software" as that term is used in the Federal Acquisition Regulation system. Rights of the United States shall not exceed the minimum rights set forth in FAR 52.227-19 for "restricted computer software". All other terms and conditions of this Agreement apply.
56
69
 
57
- Examples included in Software may provide links to third party libraries or code (collectively “Third Party Software”) to implement various functions. Third Party Software does not comprise part of the Software. In some cases, access to Third Party Software may be included along with the Software delivery as a convenience for demonstration purposes. Such source code and libraries may be included in the “…/examples” source tree delivered with the Software and do not comprise the Software. Licensee acknowledges (1) that some part of Third Party Software may require additional licensing of copyright and patents from the owners of such, and (2) that distribution of any of the Software referencing or including any portion of a Third Party Software may require appropriate licensing from such third parties.
70
+ 12. Third Party Software. Examples included in Software may provide links to third party libraries or code (collectively “Third Party Software”) to implement various functions. Third Party Software does not comprise part of the Software. In some cases, access to Third Party Software may be included along with the Software delivery as a convenience for demonstration purposes. Such source code and libraries may be included in the “…/examples” source tree delivered with the Software and do not comprise the Software. Licensee acknowledges (1) that some part of Third Party Software may require additional licensing of copyright and patents from the owners of such, and (2) that distribution of any of the Software referencing or including any portion of a Third Party Software may require appropriate licensing from such third parties.
58
71
 
59
- 10. PAYMENT AND TAXES
60
72
 
61
- If credit has been extended to You by Us, all payments under this License Agreement are due within thirty (30) days of the date We mail an invoice to You. If We have not extended credit to You, You shall be required to make payment concurrent with the delivery of the Software by Us. All amounts payable are gross amounts but exclusive of any value added tax, use tax, sales tax or similar tax. You shall be entitled to withhold from payments any applicable withholding taxes and comply with all applicable tax and employment legislation. Each party shall pay all taxes (including, but not limited to, taxes based upon its income) or levies imposed on it under applicable laws, regulations and tax treaties as a result of this Agreement and any payments made hereunder (including those required to be withheld or deducted from payments). Each party shall furnish evidence of such paid taxes as is sufficient to enable the other party to obtain any credits available to it, including original withholding tax certificates.
73
+ 13. Miscellaneous
62
74
 
63
- 11. MISCELLANEOUS
75
+ 13.1 Entire Agreement. This Agreement sets forth our entire agreement with respect to the Software and the subject matter hereof and supersedes all prior and contemporaneous understandings and agreements whether written or oral.
64
76
 
65
- The license granted herein applies only to the version of the Software available when purchased in connection with the terms of this License Agreement. Any previous or subsequent license granted to You for use of the Software shall be governed by the terms and conditions of the agreement entered in connection with purchase of that version of the Software. You agree that you will comply with all applicable laws and regulations with respect to the Software, including without limitation all export and re-export control laws and regulations.
77
+ 13.2 Amendment. Contributed Systems reserves the right, in its sole discretion, to amend this Agreement from time. Amendments to this Agreement can be located at: https://github.com/mperham/sidekiq/blob/master/COMM-LICENSE.
66
78
 
67
- While redistributing the Software or Modifications thereof, You may choose to offer acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License Agreement. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on our behalf. You agree to indemnify, defend, and hold Us harmless from and against any liability incurred by, or claims asserted against, Us (i) by reason of Your accepting any such support, warranty, indemnity or additional liability; or (ii) arising out of the use, reproduction or distribution of Your Application, except to the extent such claim is solely based on the inclusion of the Software therein.
79
+ 13.3 Assignment. You may not assign this Agreement or any of its rights under this Agreement without the prior written consent of Contributed Systems and any attempted assignment without such consent shall be void.
68
80
 
69
- You agree to be identified as a customer of ours and You agree that We may refer to You by name, trade name and trademark, if applicable, and may briefly describe Your business in our marketing materials and web site.
81
+ 13.4 Export Compliance. You agree to comply with all applicable laws and regulations, including laws, regulations, orders or other restrictions on export, re-export or redistribution of software.
70
82
 
71
- You may not assign this License Agreement without Our prior written consent, which will not be unreasonably withheld. This License Agreement will inure to the benefit of Our successors and assigns.
83
+ 13.5 Indemnification. You agree to defend, indemnify, and hold harmless Contributed Systems from and against any lawsuits, claims, losses, damages, fines and expenses (including attorneys' fees and costs) arising out of your use of the Software or breach of this Agreement.
72
84
 
73
- You acknowledge that this License Agreement is complete and is the exclusive representation of our agreement. No oral or written information given by Us or on our behalf shall create a warranty or collateral contract, or in any way increase the scope of this License Agreement in any way, and You may not rely on any such oral or written information. No term or condition contained in any purchase order shall apply unless expressly accepted by Us in writing,
85
+ 13.6 Governing Law. This Agreement is governed by the laws of the State of Oregon and the United States without regard to conflicts of laws provisions thereof, and without regard to the United Nations Convention on the International Sale of Goods or the Uniform Computer Information Transactions Act, as currently enacted by any jurisdiction or as may be codified or amended from time to time by any jurisdiction. The jurisdiction and venue for actions related to the subject matter hereof shall be the state of Oregon and United States federal courts located in Portland, Oregon, and both parties hereby submit to the personal jurisdiction of such courts.
74
86
 
75
- There are no implied licenses or other implied rights granted under this License Agreement, and all rights, save for those expressly granted hereunder, shall remain with Us and our licensors. In addition, no licenses or immunities are granted to the combination of the Software and/or Modifications, as applicable, with any other software or hardware not delivered by Us to You under this License Agreement.
87
+ 13.7 Attorneys’ Fees and Costs. The prevailing party in any action to enforce this Agreement will be entitled to recover its attorneys’ fees and costs in connection with such action.
76
88
 
77
- If any provision in this License Agreement shall be determined to be invalid, such provision shall be deemed omitted; the remainder of this License Agreement shall continue in full force and effect. If any remedy provided is determined to have failed for its essential purpose, all limitations of liability and exclusions of damages set forth in this License Agreement shall remain in effect.
89
+ 13.8 Severability. If any provision of this Agreement is held by a court of competent jurisdiction to be invalid, illegal, or unenforceable, the remainder of this Agreement will remain in full force and effect.
78
90
 
79
- This License Agreement may be modified only by a written instrument signed by an authorized representative of each party.
91
+ 13.9 Waiver. Failure or neglect by either party to enforce at any time any of the provisions of this licence Agreement shall not be construed or deemed to be a waiver of that party's rights under this Agreement.
80
92
 
81
- This License Agreement is governed by the law of the State of Oregon, United States (notwithstanding conflicts of laws provisions), and all parties irrevocably submit to the jurisdiction of the courts of the State of Oregon and further agree to commence any litigation which may arise hereunder in the state or federal courts located in the judicial district of Multnomah County, Oregon, US.
93
+ 13.10 Headings. The headings of sections and paragraphs of this Agreement are for convenience of reference only and are not intended to restrict, affect or be of any weight in the interpretation or construction of the provisions of such sections or paragraphs.
82
94
 
83
- If the Software or any related documentation is licensed to the U.S. government or any agency thereof, it will be deemed to be “commercial computer software” or “commercial computer software documentation,” pursuant to DFAR Section 227.7202 and FAR Section 12.212. Any use of the Software or related documentation by the U.S. government will be governed solely by the terms of this License Agreement.
95
+ 14. Contact Information. If you have any questions about this EULA, or if you want to contact Contributed Systems for any reason, please direct correspondence to info@contribsys.com.
data/Changes.md CHANGED
@@ -1,3 +1,646 @@
1
+ # Sidekiq Changes
2
+
3
+ HEAD
4
+ -----------
5
+
6
+ - Scheduled jobs can now be moved directly to the Dead queue via API [#3390]
7
+ - Fix edge case leading to job duplication when using Sidekiq Pro's
8
+ reliability feature [#3388]
9
+ - Fix error class name display on retry page [#3348]
10
+ - More robust latency calculation [#3340]
11
+
12
+ 4.2.9
13
+ -----------
14
+
15
+ - Rollback [#3303] which broke Heroku Redis users [#3311]
16
+ - Add support for TSTP signal, for Sidekiq 5.0 forward compatibility. [#3302]
17
+
18
+ 4.2.8
19
+ -----------
20
+
21
+ - Fix rare edge case with Redis driver that can create duplicate jobs [#3303]
22
+ - Fix Rails 5 loading issue [#3275]
23
+ - Restore missing tooltips to timestamps in Web UI [#3310]
24
+ - Work on **Sidekiq 5.0** is now active! [#3301]
25
+
26
+ 4.2.7
27
+ -----------
28
+
29
+ - Add new integration testing to verify code loading and job execution
30
+ in development and production modes with Rails 4 and 5 [#3241]
31
+ - Fix delayed extensions in development mode [#3227, DarthSim]
32
+ - Use Worker's `retry` default if job payload does not have a retry
33
+ attribute [#3234, mlarraz]
34
+
35
+ 4.2.6
36
+ -----------
37
+
38
+ - Run Rails Executor when in production [#3221, eugeneius]
39
+
40
+ 4.2.5
41
+ -----------
42
+
43
+ - Re-enable eager loading of all code when running non-development Rails 5. [#3203]
44
+ - Better root URL handling for zany web servers [#3207]
45
+
46
+ 4.2.4
47
+ -----------
48
+
49
+ - Log errors coming from the Rails 5 reloader. [#3212, eugeneius]
50
+ - Clone job data so middleware changes don't appear in Busy tab
51
+
52
+ 4.2.3
53
+ -----------
54
+
55
+ - Disable use of Rails 5's Reloader API in non-development modes, it has proven
56
+ to be unstable under load [#3154]
57
+ - Allow disabling of Sidekiq::Web's cookie session to handle the
58
+ case where the app provides a session already [#3180, inkstak]
59
+ ```ruby
60
+ Sidekiq::Web.set :sessions, false
61
+ ```
62
+ - Fix Web UI sharding support broken in 4.2.2. [#3169]
63
+ - Fix timestamps not updating during UI polling [#3193, shaneog]
64
+ - Relax rack-protection version to >= 1.5.0
65
+ - Provide consistent interface to exception handlers, changing the structure of the context hash. [#3161]
66
+
67
+ 4.2.2
68
+ -----------
69
+
70
+ - Fix ever-increasing cookie size with nginx [#3146, cconstantine]
71
+ - Fix so Web UI works without trailing slash [#3158, timdorr]
72
+
73
+ 4.2.1
74
+ -----------
75
+
76
+ - Ensure browser does not cache JSON/AJAX responses. [#3136]
77
+ - Support old Sinatra syntax for setting config [#3139]
78
+
79
+ 4.2.0
80
+ -----------
81
+
82
+ - Enable development-mode code reloading. **With Rails 5.0+, you don't need
83
+ to restart Sidekiq to pick up your Sidekiq::Worker changes anymore!** [#2457]
84
+ - **Remove Sinatra dependency**. Sidekiq's Web UI now uses Rack directly.
85
+ Thank you to Sidekiq's newest committer, **badosu**, for writing the code
86
+ and doing a lot of testing to ensure compatibility with many different
87
+ 3rd party plugins. If your Web UI works with 4.1.4 but fails with
88
+ 4.2.0, please open an issue. [#3075]
89
+ - Allow tuning of concurrency with the `RAILS_MAX_THREADS` env var. [#2985]
90
+ This is the same var used by Puma so you can tune all of your systems
91
+ the same way:
92
+ ```sh
93
+ web: RAILS_MAX_THREADS=5 bundle exec puma ...
94
+ worker: RAILS_MAX_THREADS=10 bundle exec sidekiq ...
95
+ ```
96
+ Using `-c` or `config/sidekiq.yml` overrides this setting. I recommend
97
+ adjusting your `config/database.yml` to use it too so connections are
98
+ auto-scaled:
99
+ ```yaml
100
+ pool: <%= ENV['RAILS_MAX_THREADS'] || 5 %>
101
+ ```
102
+
103
+ 4.1.4
104
+ -----------
105
+
106
+ - Unlock Sinatra so a Rails 5.0 compatible version may be used [#3048]
107
+ - Fix race condition on startup with JRuby [#3043]
108
+
109
+
110
+ 4.1.3
111
+ -----------
112
+
113
+ - Please note the Redis 3.3.0 gem has a [memory leak](https://github.com/redis/redis-rb/issues/612),
114
+ Redis 3.2.2 is recommended until that issue is fixed.
115
+ - Sinatra 1.4.x is now a required dependency, avoiding cryptic errors
116
+ and old bugs due to people not upgrading Sinatra for years. [#3042]
117
+ - Fixed race condition in heartbeat which could rarely lead to lingering
118
+ processes on the Busy tab. [#2982]
119
+ ```ruby
120
+ # To clean up lingering processes, modify this as necessary to connect to your Redis.
121
+ # After 60 seconds, lingering processes should disappear from the Busy page.
122
+
123
+ require 'redis'
124
+ r = Redis.new(url: "redis://localhost:6379/0")
125
+ # uncomment if you need a namespace
126
+ #require 'redis-namespace'
127
+ #r = Redis::Namespace.new("foo", r)
128
+ r.smembers("processes").each do |pro|
129
+ r.expire(pro, 60)
130
+ r.expire("#{pro}:workers", 60)
131
+ end
132
+ ```
133
+
134
+
135
+ 4.1.2
136
+ -----------
137
+
138
+ - Fix Redis data leak with worker data when a busy Sidekiq process
139
+ crashes. You can find and expire leaked data in Redis with this
140
+ script:
141
+ ```bash
142
+ $ redis-cli keys "*:workers" | while read LINE ; do TTL=`redis-cli expire "$LINE" 60`; echo "$LINE"; done;
143
+ ```
144
+ Please note that `keys` can be dangerous to run on a large, busy Redis. Caveat runner.
145
+ - Freeze all string literals with Ruby 2.3. [#2741]
146
+ - Client middleware can now stop bulk job push. [#2887]
147
+
148
+ 4.1.1
149
+ -----------
150
+
151
+ - Much better behavior when Redis disappears and comes back. [#2866]
152
+ - Update FR locale [dbachet]
153
+ - Don't fill logfile in case of Redis downtime [#2860]
154
+ - Allow definition of a global retries_exhausted handler. [#2807]
155
+ ```ruby
156
+ Sidekiq.configure_server do |config|
157
+ config.default_retries_exhausted = -> (job, ex) do
158
+ Sidekiq.logger.info "#{job['class']} job is now dead"
159
+ end
160
+ end
161
+ ```
162
+
163
+ 4.1.0
164
+ -----------
165
+
166
+ - Tag quiet processes in the Web UI [#2757, jcarlson]
167
+ - Pass last exception to sidekiq\_retries\_exhausted block [#2787, Nowaker]
168
+ ```ruby
169
+ class MyWorker
170
+ include Sidekiq::Worker
171
+ sidekiq_retries_exhausted do |job, exception|
172
+ end
173
+ end
174
+ ```
175
+ - Add native support for ActiveJob's `set(options)` method allowing
176
+ you to override worker options dynamically. This should make it
177
+ even easier to switch between ActiveJob and Sidekiq's native APIs [#2780]
178
+ ```ruby
179
+ class MyWorker
180
+ include Sidekiq::Worker
181
+ sidekiq_options queue: 'default', retry: true
182
+
183
+ def perform(*args)
184
+ # do something
185
+ end
186
+ end
187
+
188
+ MyWorker.set(queue: 'high', retry: false).perform_async(1)
189
+ ```
190
+
191
+ 4.0.2
192
+ -----------
193
+
194
+ - Better Japanese translations
195
+ - Remove `json` gem dependency from gemspec. [#2743]
196
+ - There's a new testing API based off the `Sidekiq::Queues` namespace. All
197
+ assertions made against the Worker class still work as expected.
198
+ [#2676, brandonhilkert]
199
+ ```ruby
200
+ assert_equal 0, Sidekiq::Queues["default"].size
201
+ HardWorker.perform_async("log")
202
+ assert_equal 1, Sidekiq::Queues["default"].size
203
+ assert_equal "log", Sidekiq::Queues["default"].first['args'][0]
204
+ Sidekiq::Queues.clear_all
205
+ ```
206
+
207
+ 4.0.1
208
+ -----------
209
+
210
+ - Yank new queue-based testing API [#2663]
211
+ - Fix invalid constant reference in heartbeat
212
+
213
+ 4.0.0
214
+ -----------
215
+
216
+ - Sidekiq's internals have been completely overhauled for performance
217
+ and to remove dependencies. This has resulted in major speedups, as
218
+ [detailed on my blog](http://www.mikeperham.com/2015/10/14/optimizing-sidekiq/).
219
+ - See the [4.0 upgrade notes](4.0-Upgrade.md) for more detail.
220
+
221
+ 3.5.4
222
+ -----------
223
+
224
+ - Ensure exception message is a string [#2707]
225
+ - Revert racy Process.kill usage in sidekiqctl
226
+
227
+ 3.5.3
228
+ -----------
229
+
230
+ - Adjust shutdown event to run in parallel with the rest of system shutdown. [#2635]
231
+
232
+ 3.5.2
233
+ -----------
234
+
235
+ - **Sidekiq 3 is now in maintenance mode**, only major bugs will be fixed.
236
+ - The exception triggering a retry is now passed into `sidekiq_retry_in`,
237
+ allowing you to retry more frequently for certain types of errors.
238
+ [#2619, kreynolds]
239
+ ```ruby
240
+ sidekiq_retry_in do |count, ex|
241
+ case ex
242
+ when RuntimeError
243
+ 5 * count
244
+ else
245
+ 10 * count
246
+ end
247
+ end
248
+ ```
249
+
250
+ 3.5.1
251
+ -----------
252
+
253
+ - **FIX MEMORY LEAK** Under rare conditions, threads may leak [#2598, gazay]
254
+ - Add Ukrainian locale [#2561, elrakita]
255
+ - Disconnect and retry Redis operations if we see a READONLY error [#2550]
256
+ - Add server middleware testing harness; see [wiki](https://github.com/mperham/sidekiq/wiki/Testing#testing-server-middleware) [#2534, ryansch]
257
+
258
+ 3.5.0
259
+ -----------
260
+
261
+ - Polished new banner! [#2522, firedev]
262
+ - Upgrade to Celluloid 0.17. [#2420, digitalextremist]
263
+ - Activate sessions in Sinatra for CSRF protection, requires Rails
264
+ monkeypatch due to rails/rails#15843. [#2460, jc00ke]
265
+
266
+ 3.4.2
267
+ -----------
268
+
269
+ - Don't allow `Sidekiq::Worker` in ActiveJob::Base classes. [#2424]
270
+ - Safer display of job data in Web UI [#2405]
271
+ - Fix CSRF vulnerability in Web UI, thanks to Egor Homakov for
272
+ reporting. [#2422] If you are running the Web UI as a standalone Rack app,
273
+ ensure you have a [session middleware
274
+ configured](https://github.com/mperham/sidekiq/wiki/Monitoring#standalone):
275
+ ```ruby
276
+ use Rack::Session::Cookie, :secret => "some unique secret string here"
277
+ ```
278
+
279
+ 3.4.1
280
+ -----------
281
+
282
+ - Lock to Celluloid 0.16
283
+
284
+
285
+ 3.4.0
286
+ -----------
287
+
288
+ - Set a `created_at` attribute when jobs are created, set `enqueued_at` only
289
+ when they go into a queue. Fixes invalid latency calculations with scheduled jobs.
290
+ [#2373, mrsimo]
291
+ - Don't log timestamp on Heroku [#2343]
292
+ - Run `shutdown` event handlers in reverse order of definition [#2374]
293
+ - Rename and rework `poll_interval` to be simpler, more predictable [#2317, cainlevy]
294
+ The new setting is `average_scheduled_poll_interval`. To configure
295
+ Sidekiq to look for scheduled jobs every 5 seconds, just set it to 5.
296
+ ```ruby
297
+ Sidekiq.configure_server do |config|
298
+ config.average_scheduled_poll_interval = 5
299
+ end
300
+ ```
301
+
302
+ 3.3.4
303
+ -----------
304
+
305
+ - **Improved ActiveJob integration** - Web UI now shows ActiveJobs in a
306
+ nicer format and job logging shows the actual class name, requires
307
+ Rails 4.2.2+ [#2248, #2259]
308
+ - Add Sidekiq::Process#dump\_threads API to trigger TTIN output [#2247]
309
+ - Web UI polling now uses Ajax to avoid page reload [#2266, davydovanton]
310
+ - Several Web UI styling improvements [davydovanton]
311
+ - Add Tamil, Hindi translations for Web UI [ferdinandrosario, tejasbubane]
312
+ - Fix Web UI to work with country-specific locales [#2243]
313
+ - Handle circular error causes [#2285, eugenk]
314
+
315
+ 3.3.3
316
+ -----------
317
+
318
+ - Fix crash on exit when Redis is down [#2235]
319
+ - Fix duplicate logging on startup
320
+ - Undeprecate delay extension for ActionMailer 4.2+ . [#2186]
321
+
322
+ 3.3.2
323
+ -----------
324
+
325
+ - Add Sidekiq::Stats#queues back
326
+ - Allows configuration of dead job set size and timeout [#2173, jonhyman]
327
+ - Refactor scheduler enqueuing so Sidekiq Pro can override it. [#2159]
328
+
329
+ 3.3.1
330
+ -----------
331
+
332
+ - Dumb down ActionMailer integration so it tries to deliver if possible [#2149]
333
+ - Stringify Sidekiq.default\_worker\_options's keys [#2126]
334
+ - Add random integer to process identity [#2113, michaeldiscala]
335
+ - Log Sidekiq Pro's Batch ID if available [#2076]
336
+ - Refactor Processor Redis usage to avoid redis/redis-rb#490 [#2094]
337
+ - Move /dashboard/stats to /stats. Add /stats/queues. [moserke, #2099]
338
+ - Add processes count to /stats [ismaelga, #2141]
339
+ - Greatly improve speed of Sidekiq::Stats [ismaelga, #2142]
340
+ - Add better usage text for `sidekiqctl`.
341
+ - `Sidekiq::Logging.with_context` is now a stack so you can set your
342
+ own job context for logging purposes [grosser, #2110]
343
+ - Remove usage of Google Fonts in Web UI so it loads in China [#2144]
344
+
345
+ 3.3.0
346
+ -----------
347
+
348
+ - Upgrade to Celluloid 0.16 [#2056]
349
+ - Fix typo for generator test file name [dlackty, #2016]
350
+ - Add Sidekiq::Middleware::Chain#prepend [seuros, #2029]
351
+
352
+ 3.2.6
353
+ -----------
354
+
355
+ - Deprecate delay extension for ActionMailer 4.2+ . [seuros, #1933]
356
+ - Poll interval tuning now accounts for dead processes [epchris, #1984]
357
+ - Add non-production environment to Web UI page titles [JacobEvelyn, #2004]
358
+
359
+ 3.2.5
360
+ -----------
361
+
362
+ - Lock Celluloid to 0.15.2 due to bugs in 0.16.0. This prevents the
363
+ "hang on shutdown" problem with Celluloid 0.16.0.
364
+
365
+ 3.2.4
366
+ -----------
367
+
368
+ - Fix issue preventing ActionMailer sends working in some cases with
369
+ Rails 4. [pbhogan, #1923]
370
+
371
+ 3.2.3
372
+ -----------
373
+
374
+ - Clean invalid bytes from error message before converting to JSON (requires Ruby 2.1+) [#1705]
375
+ - Add queues list for each process to the Busy page. [davetoxa, #1897]
376
+ - Fix for crash caused by empty config file. [jordan0day, #1901]
377
+ - Add Rails Worker generator, `rails g sidekiq:worker User` will create `app/workers/user_worker.rb`. [seuros, #1909]
378
+ - Fix Web UI rendering with huge job arguments [jhass, #1918]
379
+ - Minor refactoring of Sidekiq::Client internals, for Sidekiq Pro. [#1919]
380
+
381
+ 3.2.2
382
+ -----------
383
+
384
+ - **This version of Sidekiq will no longer start on Ruby 1.9.** Sidekiq
385
+ 3 does not support MRI 1.9 but we've allowed it to run before now.
386
+ - Fix issue which could cause Sidekiq workers to disappear from the Busy
387
+ tab while still being active [#1884]
388
+ - Add "Back to App" button in Web UI. You can set the button link via
389
+ `Sidekiq::Web.app_url = 'http://www.mysite.com'` [#1875, seuros]
390
+ - Add process tag (`-g tag`) to the Busy page so you can differentiate processes at a glance. [seuros, #1878]
391
+ - Add "Kill" button to move retries directly to the DJQ so they don't retry. [seuros, #1867]
392
+
393
+ 3.2.1
394
+ -----------
395
+
396
+ - Revert eager loading change for Rails 3.x apps, as it broke a few edge
397
+ cases.
398
+
399
+ 3.2.0
400
+ -----------
401
+
402
+ - **Fix issue which caused duplicate job execution in Rails 3.x**
403
+ This issue is caused by [improper exception handling in ActiveRecord](https://github.com/rails/rails/blob/3-2-stable/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#L281) which changes Sidekiq's Shutdown exception into a database
404
+ error, making Sidekiq think the job needs to be retried. **The fix requires Ruby 2.1**. [#1805]
405
+ - Update how Sidekiq eager loads Rails application code [#1791, jonleighton]
406
+ - Change logging timestamp to show milliseconds.
407
+ - Reverse sorting of Dead tab so newer jobs are listed first [#1802]
408
+
409
+ 3.1.4
410
+ -----------
411
+
412
+ - Happy π release!
413
+ - Self-tuning Scheduler polling, we use heartbeat info to better tune poll\_interval [#1630]
414
+ - Remove all table column width rules, hopefully get better column formatting [#1747]
415
+ - Handle edge case where YAML can't be decoded in dev mode [#1761]
416
+ - Fix lingering jobs in Busy page on Heroku [#1764]
417
+
418
+ 3.1.3
419
+ -----------
420
+
421
+ - Use ENV['DYNO'] on Heroku for hostname display, rather than an ugly UUID. [#1742]
422
+ - Show per-process labels on the Busy page, for feature tagging [#1673]
423
+
424
+
425
+ 3.1.2
426
+ -----------
427
+
428
+ - Suitably chastised, @mperham reverts the Bundler change.
429
+
430
+
431
+ 3.1.1
432
+ -----------
433
+
434
+ - Sidekiq::CLI now runs `Bundler.require(:default, environment)` to boot all gems
435
+ before loading any app code.
436
+ - Sort queues by name in Web UI [#1734]
437
+
438
+
439
+ 3.1.0
440
+ -----------
441
+
442
+ - New **remote control** feature: you can remotely trigger Sidekiq to quiet
443
+ or terminate via API, without signals. This is most useful on JRuby
444
+ or Heroku which does not support the USR1 'quiet' signal. Now you can
445
+ run a rake task like this at the start of your deploy to quiet your
446
+ set of Sidekiq processes. [#1703]
447
+ ```ruby
448
+ namespace :sidekiq do
449
+ task :quiet => :environment do
450
+ Sidekiq::ProcessSet.new.each(&:quiet!)
451
+ end
452
+ end
453
+ ```
454
+ - The Web UI can use the API to quiet or stop all processes via the Busy page.
455
+ - The Web UI understands and hides the `Sidekiq::Extensions::Delay*`
456
+ classes, instead showing `Class.method` as the Job. [#1718]
457
+ - Polish the Dashboard graphs a bit, update Rickshaw [brandonhilkert, #1725]
458
+ - The poll interval is now configurable in the Web UI [madebydna, #1713]
459
+ - Delay extensions can be removed so they don't conflict with
460
+ DelayedJob: put `Sidekiq.remove_delay!` in your initializer. [devaroop, #1674]
461
+
462
+
463
+ 3.0.2
464
+ -----------
465
+
466
+ - Revert gemfile requirement of Ruby 2.0. JRuby 1.7 calls itself Ruby
467
+ 1.9.3 and broke with this requirement.
468
+
469
+ 3.0.1
470
+ -----------
471
+
472
+ - Revert pidfile behavior from 2.17.5: Sidekiq will no longer remove its own pidfile
473
+ as this is a race condition when restarting. [#1470, #1677]
474
+ - Show warning on the Queues page if a queue is paused [#1672]
475
+ - Only activate the ActiveRecord middleware if ActiveRecord::Base is defined on boot. [#1666]
476
+ - Add ability to disable jobs going to the DJQ with the `dead` option.
477
+ ```ruby
478
+ sidekiq_options :dead => false, :retry => 5
479
+ ```
480
+ - Minor fixes
481
+
482
+
483
+ 3.0.0
484
+ -----------
485
+
486
+ Please see [3.0-Upgrade.md](3.0-Upgrade.md) for more comprehensive upgrade notes.
487
+
488
+ - **Dead Job Queue** - jobs which run out of retries are now moved to a dead
489
+ job queue. These jobs must be retried manually or they will expire
490
+ after 6 months or 10,000 jobs. The Web UI contains a "Dead" tab
491
+ exposing these jobs. Use `sidekiq_options :retry => false` if you
492
+ don't wish jobs to be retried or put in the DJQ. Use
493
+ `sidekiq_options :retry => 0` if you don't want jobs to retry but go
494
+ straight to the DJQ.
495
+ - **Process Lifecycle Events** - you can now register blocks to run at
496
+ certain points during the Sidekiq process lifecycle: startup, quiet and
497
+ shutdown.
498
+ ```ruby
499
+ Sidekiq.configure_server do |config|
500
+ config.on(:startup) do
501
+ # do something
502
+ end
503
+ end
504
+ ```
505
+ - **Global Error Handlers** - blocks of code which handle errors that
506
+ occur anywhere within Sidekiq, not just within middleware.
507
+ ```ruby
508
+ Sidekiq.configure_server do |config|
509
+ config.error_handlers << proc {|ex,ctx| ... }
510
+ end
511
+ ```
512
+ - **Process Heartbeat** - each Sidekiq process will ping Redis every 5
513
+ seconds to give a summary of the Sidekiq population at work.
514
+ - The Workers tab is now renamed to Busy and contains a list of live
515
+ Sidekiq processes and jobs in progress based on the heartbeat.
516
+ - **Shardable Client** - Sidekiq::Client instances can use a custom
517
+ Redis connection pool, allowing very large Sidekiq installations to scale by
518
+ sharding: sending different jobs to different Redis instances.
519
+ ```ruby
520
+ client = Sidekiq::Client.new(ConnectionPool.new { Redis.new })
521
+ client.push(...)
522
+ ```
523
+ ```ruby
524
+ Sidekiq::Client.via(ConnectionPool.new { Redis.new }) do
525
+ FooWorker.perform_async
526
+ BarWorker.perform_async
527
+ end
528
+ ```
529
+ **Sharding support does require a breaking change to client-side
530
+ middleware, see 3.0-Upgrade.md.**
531
+ - New Chinese, Greek, Swedish and Czech translations for the Web UI.
532
+ - Updated most languages translations for the new UI features.
533
+ - **Remove official Capistrano integration** - this integration has been
534
+ moved into the [capistrano-sidekiq](https://github.com/seuros/capistrano-sidekiq) gem.
535
+ - **Remove official support for MRI 1.9** - Things still might work but
536
+ I no longer actively test on it.
537
+ - **Remove built-in support for Redis-to-Go**.
538
+ Heroku users: `heroku config:set REDIS_PROVIDER=REDISTOGO_URL`
539
+ - **Remove built-in error integration for Airbrake, Honeybadger, ExceptionNotifier and Exceptional**.
540
+ Each error gem should provide its own Sidekiq integration. Update your error gem to the latest
541
+ version to pick up Sidekiq support.
542
+ - Upgrade to connection\_pool 2.0 which now creates connections lazily.
543
+ - Remove deprecated Sidekiq::Client.registered\_\* APIs
544
+ - Remove deprecated support for the old Sidekiq::Worker#retries\_exhausted method.
545
+ - Removed 'sidekiq/yaml\_patch', this was never documented or recommended.
546
+ - Removed --profile option, #1592
547
+ - Remove usage of the term 'Worker' in the UI for clarity. Users would call both threads and
548
+ processes 'workers'. Instead, use "Thread", "Process" or "Job".
549
+
550
+ 2.17.7
551
+ -----------
552
+
553
+ - Auto-prune jobs older than one hour from the Workers page [#1508]
554
+ - Add Sidekiq::Workers#prune which can perform the auto-pruning.
555
+ - Fix issue where a job could be lost when an exception occurs updating
556
+ Redis stats before the job executes [#1511]
557
+
558
+ 2.17.6
559
+ -----------
560
+
561
+ - Fix capistrano integration due to missing pidfile. [#1490]
562
+
563
+ 2.17.5
564
+ -----------
565
+
566
+ - Automatically use the config file found at `config/sidekiq.yml`, if not passed `-C`. [#1481]
567
+ - Store 'retried\_at' and 'failed\_at' timestamps as Floats, not Strings. [#1473]
568
+ - A `USR2` signal will now reopen _all_ logs, using IO#reopen. Thus, instead of creating a new Logger object,
569
+ Sidekiq will now just update the existing Logger's file descriptor [#1163].
570
+ - Remove pidfile when shutting down if started with `-P` [#1470]
571
+
572
+ 2.17.4
573
+ -----------
574
+
575
+ - Fix JID support in inline testing, #1454
576
+ - Polish worker arguments display in UI, #1453
577
+ - Marshal arguments fully to avoid worker mutation, #1452
578
+ - Support reverse paging sorted sets, #1098
579
+
580
+
581
+ 2.17.3
582
+ -----------
583
+
584
+ - Synchronously terminates the poller and fetcher to fix a race condition in bulk requeue during shutdown [#1406]
585
+
586
+ 2.17.2
587
+ -----------
588
+
589
+ - Fix bug where strictly prioritized queues might be processed out of
590
+ order [#1408]. A side effect of this change is that it breaks a queue
591
+ declaration syntax that worked, although only because of a bug—it was
592
+ never intended to work and never supported. If you were declaring your
593
+ queues as a comma-separated list, e.g. `sidekiq -q critical,default,low`,
594
+ you must now use the `-q` flag before each queue, e.g.
595
+ `sidekiq -q critical -q default -q low`.
596
+
597
+ 2.17.1
598
+ -----------
599
+
600
+ - Expose `delay` extension as `sidekiq_delay` also. This allows you to
601
+ run Delayed::Job and Sidekiq in the same process, selectively porting
602
+ `delay` calls to `sidekiq_delay`. You just need to ensure that
603
+ Sidekiq is required **before** Delayed::Job in your Gemfile. [#1393]
604
+ - Bump redis client required version to 3.0.6
605
+ - Minor CSS fixes for Web UI
606
+
607
+ 2.17.0
608
+ -----------
609
+
610
+ - Change `Sidekiq::Client#push_bulk` to return an array of pushed `jid`s. [#1315, barelyknown]
611
+ - Web UI refactoring to use more API internally (yummy dogfood!)
612
+ - Much faster Sidekiq::Job#delete performance for larger queue sizes
613
+ - Further capistrano 3 fixes
614
+ - Many misc minor fixes
615
+
616
+ 2.16.1
617
+ -----------
618
+
619
+ - Revert usage of `resolv-replace`. MRI's native DNS lookup releases the GIL.
620
+ - Fix several Capistrano 3 issues
621
+ - Escaping dynamic data like job args and error messages in Sidekiq Web UI. [#1299, lian]
622
+
623
+ 2.16.0
624
+ -----------
625
+
626
+ - Deprecate `Sidekiq::Client.registered_workers` and `Sidekiq::Client.registered_queues`
627
+ - Refactor Sidekiq::Client to be instance-based [#1279]
628
+ - Pass all Redis options to the Redis driver so Unix sockets
629
+ can be fully configured. [#1270, salimane]
630
+ - Allow sidekiq-web extensions to add locale paths so extensions
631
+ can be localized. [#1261, ondrejbartas]
632
+ - Capistrano 3 support [#1254, phallstrom]
633
+ - Use Ruby's `resolv-replace` to enable pure Ruby DNS lookups.
634
+ This ensures that any DNS resolution that takes place in worker
635
+ threads won't lock up the entire VM on MRI. [#1258]
636
+
637
+ 2.15.2
638
+ -----------
639
+
640
+ - Iterating over Sidekiq::Queue and Sidekiq::SortedSet will now work as
641
+ intended when jobs are deleted [#866, aackerman]
642
+ - A few more minor Web UI fixes [#1247]
643
+
1
644
  2.15.1
2
645
  -----------
3
646
 
@@ -15,7 +658,7 @@
15
658
  [Testing](https://github.com/mperham/sidekiq/wiki/Testing) for detail. [#1193]
16
659
  - The Retries table has a new column for the error message.
17
660
  - The Web UI topbar now contains the status and live poll button.
18
- - Orphaned worker records are now auto-vacuumed when you vist the
661
+ - Orphaned worker records are now auto-vacuumed when you visit the
19
662
  Workers page in the Web UI.
20
663
  - Sidekiq.default\_worker\_options allows you to configure default
21
664
  options for all Sidekiq worker types.