Releases: resque/resque
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_id
for 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.helpers
block into a module by @mishina2228 in #1851
New Contributors
- @kyoshidajp made thei 8000 r 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_empty
when the job queue empties and the worker becomes idleworker_exit
when 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_load
is 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
v1.25.0.pre
I've just released Resque 1.25.0.pre! Resque is the most stable, widely-used job queue for Ruby. It uses Redis as its backing store.
This release is thanks to adelcambre, who took the time to get it over the finish line! <3
A total of 19 contributors helped out with this release, with 77 commits. Thank you to everyone!
CHANGES
You can see the full CHANGELOG here.
I am releasing this version as 'pre' due to one big change: a refactor to the forking code. This was introduced to fix a problem: the exit syscall raises a SystemExit Exception in ruby, its exit is treated as a failure, thus deregistering the worker. After the refactor + fix, things should be peachy. But please give the prerelease a try.
In addition, it has been discovered that we have accidentally introduced a SemVer violation back in v1.23.1: #1074
I take SemVer seriously, and apologize for this change. SemVer states that at this time, I should basically do whatever. Since this fixes a bug, I'm inclined to leave it in. If this introduces a significant problem for you, please let me know. Since others might now be relying on this new behavior, I'm not 100% sure what the best option is. Your feedback helps.
INSTALLING
To get 1.25.0.pre installed, just use gem install
:
$ gem install resque --pre
SOURCE
You can find the source on GitHub.