Releases: resque/resque
v3.0.0
What's Changed
- Upstream Active Job adapter by @zzak in #1906
- docs: cleanup by @dijonkitchen in #1903
- Remove Rails 7.1 section from README by @dijonkitchen in #1917
- Rack 3.x support by @and9000 in #1912
- Drop support for EOL Ruby, Redis, and Rack versions by @PatrickTulskie in #1922
- Fix re-queued job timezone data by @luizbettoni in #1918
- Add shutdown hooks by @djmb in #1916
- Fix shutdown hook test isolation by @PatrickTulskie in #1924
- Fix a double redis.get to pause-all-workers in each work loop by @mdkent in #1919
- Support a dynamic sleep INTERVAL by @mdkent in #1920
- Exclude Ruby 3.2 from Rails main tests as Rails requires Ruby >= 3.3 by @PatrickTulskie in #1926
- Version 3.0 by @PatrickTulskie in #1923
New Contributors
- @zzak made their first contribution in #1906
- @dijonkitchen made their first contribution in #1903
- @and9000 made their first contribution in #1912
- @luizbettoni made their first contribution in #1918
- @djmb made their first contribution in #1916
- @mdkent made their first contribution in #1919
Full Changelog: v2.7.0...v3.0.0
Note: Resque 3.0 only works with Rails 7.2 and newer.
v2.7.0
Special Notes
Just wanted to give everyone a heads up, that after this version, we're going to start dropping support for older versions of Ruby. The larger ecosystem has moved on and continuing to support the Ruby 2.x branch is proving to be impossible. While Resque will likely continue to work on older versions of Ruby, as we move towards Resque 3, we're going to shift to officially supporting rubies that are still supported and maintained.
I want to thank everyone who contributed to Resque and the associated plugins this year. It's not easy maintaining a widely used project while also holding down a fairly demanding set of personal and professional responsibilities. Everyone's patience and contributions has been greatly appreciated.
What's Changed
- Update README.markdown by @danlo in #1891
- Ruby does not allow logging within trap handlers by @rogerhu in #1729
- fix typo in stat.rb warning: data_strore -> data_store by @Ivan8or in #1904
- Ensure ruby 3.3 compatibility by @xjunior in #1907
- Version 2.7.0 by @PatrickTulskie in #1913
New Contributors
- @danlo made their first contribution in #1891
- @rogerhu made their first contribution in #1729
- @Ivan8or made their first contribution in #1904
- @xjunior made their first contribution in #1907
Full Changelog: v2.6.0...v2.7.0
v2.6.0
What's Changed
- Fix reflected XSS in queue by @priya-hinduja in #1865
- format args in YAML by @FeLvi-zzz in #1875
- Documents how to make the worker shutdown when the queue is empty by @marcusmalmberg in #1873
- Fix MiniTest undefined errors by @PatrickTulskie in #1879
- Fix failing reconnect specs by @PatrickTulskie in #1880
- Version 2.6.0 and Changelog by @PatrickTulskie in #1881
New Contributors
- @priya-hinduja made their first contribution in #1865
- @FeLvi-zzz made their first contribution in #1875
- @marcusmalmberg made their first contribution in #1873
Full Changelog: v2.5.0...v2.6.0
v2.5.0
Bunch of bug and deprecation warning fixes in this release. Big thanks to everyone who's contributed to this release!
What's Changed
- Replace
File.exists?withFile.exist?by @kyoshidajp in #1846 - Escape
Resque.redis_idfor stats page by @mishina2228 in #1834 - Escape resque info values (#1785) by @BrianBorge in #1832
- Update mocha requirement from ~> 1.11 to ~> 2.0 by @dependabot in #1843
- Raise an error when no available Rack server was found by @mishina2228 in #1836
- Show correctly the values of hash and none type on stats tab by @mishina2228 in #1838
- Update CI matrix by @mishina2228 in #1850
- typo:Log the worker name when starting the task by @bazzargh in #1837
- Cut out codes in
Resque::Server.helpersblock into a module by @mishina2228 in #1851
New Contributors
- @kyoshidajp made their first contribution in #1846
- @BrianBorge made their first contribution in #1832
- @bazzargh made their first contribution in #1837
Full Changelog: v2.4.0...v2.5.0
v2.4.0
What's Changed
- Update redis test matrix for 5.0 by @PatrickTulskie in #1824
- Remove thread_safe arg in Redis instantiations by @sl0thentr0py in #1822
- Fix Redis 4.8 deprecations by @casperisfine in #1827
- redis-rb 5.0 compatiblity by @casperisfine in #1828
- Version 2.4.0 changelog and version bump by @PatrickTulskie in #1830
New Contributors
- @sl0thentr0py made their first contribution in #1822
- @casperisfine made their first contribution in #1827
Full Changelog: v2.3.0...v2.4.0
v2.3.0
What's Changed
- Handle when Rails is partially loaded as a Gem by @TSMMark in #1799
- Update Redis#pipelined for redis-rb 4.6. by @nevans in #1806
- Add Ruby syntax highlighting to rest of markdown docs by @dsinn in #1802
- Bump github/codeql-action from 1 to 2 by @dependabot in #1800
- Fix pagination by @ytkg in #1809
- Update rack-test requirement from ~> 1.1 to ~> 2.0 by @dependabot in #1808
- Name GitHub Actions workflow by @mishina2228 in #1807
- Update HISTORY.md by @ytkg in #1810
- Added support for pausing the queue by setting a Redis key by @pietervogelaar in #1803
- Fix - 'before_run': undefined local variable or method 'runner' by @rocket-turtle in #1811
- Update HISTORY.md by @PatrickTulskie in #1812
- Version Bump to 2.3.0 by @PatrickTulskie in #1813
- Fix ordering of web-runner code by @essjayhch in #1816
- Matrix test redis version by @iloveitaly in #1814
New Contributors
- @TSMMark made their first contribution in #1799
- @dsinn made their first contribution in #1802
- @ytkg made their first contribution in #1809
- @pietervogelaar made their first contribution in #1803
- @rocket-turtle made their first contribution in #1811
- @PatrickTulskie made their first contribution in #1812
- @essjayhch made their first contribution in #1816
Full Changelog: v2.2.1...v2.3.0
v2.2.1
2.2.0
2.1.0
Security
- Fix XSS via URL path in admin web UI queues view #1687
- Replace onclick handlers in server code to support Content Security Policies that don't allow 'unsafe-inline'
- Update jQuery from 1.12.4 to 3.6.0
Added
-
Add requeue_queue method to Resque::Failure::Multiple #1659
-
Confirmation prompt in admin front-end before submitting the retry of all failed jobs. #1753
-
Railtie for default rake task setup when in Rails. #1715
-
Added two new hooks.
queue_emptywhen the job queue empties and the worker becomes idleworker_exitwhen the worker exits
See docs/HOOKS.md for
further details. (@jeremywadsack)
Fixed
2.0.0
Fixed
- Fix Airbrake failure backend
- Fix failed jobs page "argument out of range" error
Changed
- Remove support for Rubies < 2.3
- Remove support to Rails < 4
- Reduce the number of redis calls when trying to get the list of queues
- Only run
eager_load!ifRails.application.config.eager_loadis true - Don't display log message if running without hooks
- Add Support to Redis 4.0
- Drop complex Redis identifier logic in favor of simple inspect
- When a child process is killed, report the signal it was terminated with
- Report a job that pruned worker was processing
Added
- Allow to configure statistic data store