From e5bdfd11cb315572b284718742fa767a53aec16f Mon Sep 17 00:00:00 2001 From: Patrick Tulskie Date: Thu, 15 Jan 2026 16:16:14 -0500 Subject: [PATCH 1/2] Update CHANGELOG in prep for 5.0 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 865f6ff1..97f754db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,36 @@ **ATTN**: This project uses [semantic versioning](http://semver.org/). +## [5.0.0] - 2026-01-15 +### Breaking Changes +* Ruby requirement: `>= 2.3.0` → `>= 3.0.0` +* Resque dependency: `>= 1.27` → `>= 3.0` +* Redis dependency: `>= 3.3` → `>= 4.0` +* Removed `rack < 3` constraint + +### Added +* Add Ruby 3.4 to the CI matrix by @and9000 in #804 +* Added `base64 ~> 0.1` runtime dependency (Ruby 3.4+ compatibility) by @PatrickTulskie in #809 +* Added `irb` dev dependency (Ruby 4+ compatibility) by @PatrickTulskie in #809 +* Added Rack 2/3 matrix testing by @PatrickTulskie in #809 + +### Changed +* Prepare for resque 3.0 compatibility by @PatrickTulskie in #809 + * CI now tests Ruby 3.0-3.4 + head only (removed Ruby 2.x) + * Simplified to test against resque master only + * Modernized `.rubocop.yml` to `DisabledByDefault: true` approach + * Set `TargetRubyVersion: 3.0` + * Updated rubocop: `~> 0.40.0` → `~> 0.80` +* Use `JSON.parse` instead of `JSON.load` (security improvement) by @PatrickTulskie in #809 +* Use `URI.decode_www_form_component` instead of `CGI.unescape` by @PatrickTulskie in #809 +* Consistent time formatting in views by @PatrickTulskie in #809 + +### Fixed +* Fix `Resque::Scheduler.print_schedule` by @codealchemy in #794 +* Remove circular require for resque from resque-scheduler by @zzak in #795 +* Fixed test compatibility with Rack 3 by @PatrickTulskie in #809 +* Fixed race condition in scheduler task tests by @PatrickTulskie in #809 + ## [4.10.3] - 2024-12-30 ### Added * Expose timeout for lock via environment variable configuration by @pmm4654 in #786 From a17a59fd0b8d8bf1d46591734c3757edb4011bbb Mon Sep 17 00:00:00 2001 From: Patrick Tulskie Date: Thu, 15 Jan 2026 16:17:07 -0500 Subject: [PATCH 2/2] Version 5.0.0 --- lib/resque/scheduler/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resque/scheduler/version.rb b/lib/resque/scheduler/version.rb index b2c40958..032df640 100644 --- a/lib/resque/scheduler/version.rb +++ b/lib/resque/scheduler/version.rb @@ -2,6 +2,6 @@ module Resque module Scheduler - VERSION = '4.11.0'.freeze + VERSION = '5.0.0'.freeze end end