From ce9b1cc500e9afaad8ddd634ac1f7017d0a812d6 Mon Sep 17 00:00:00 2001 From: smudge Date: Mon, 29 Nov 2021 20:27:41 -0500 Subject: [PATCH] Bump version and changelog --- CHANGELOG.md | 11 +++++++++++ delayed.gemspec | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 411ed70..7bdfb4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,16 @@ and this project aims to adhere to [Semantic Versioning](http://semver.org/spec/ ### Removed ### Fixed +## [0.4.0] - 2021-11-30 +### Fixed +- Fix Ruby 3.0 kwarg compatibility issue when executing jobs enqueued via the + `Delayed::MessageSending` APIs (`.delay` and `handle_asynchronously`). +### Changed +- `Delayed::PerformableMethod` now splits `kwargs` out into a separate attribute, while still being + backwards-compatible with jobs enqueued via the previous gem version. This is an undocumented + internal API and is not considered a breaking change, but if you had previously relied on + `payload_object.args.last` to access keyword arguments, you must now use `payload_object.kwargs`. + ## [0.3.0] - 2021-10-26 ### Added - Add more official support for Rails 7.0 (currently alpha2). There were no gem conflicts, but this @@ -43,6 +53,7 @@ and this project aims to adhere to [Semantic Versioning](http://semver.org/spec/ ancestor repos (`delayed_job` and `delayed_job_active_record`), plus the changes from Betterment's internal forks. +[0.4.0]: https://github.com/betterment/delayed/compare/v0.3.0...v0.4.0 [0.3.0]: https://github.com/betterment/delayed/compare/v0.2.0...v0.3.0 [0.2.0]: https://github.com/betterment/delayed/compare/v0.1.1...v0.2.0 [0.1.1]: https://github.com/betterment/delayed/compare/v0.1.0...v0.1.1 diff --git a/delayed.gemspec b/delayed.gemspec index 9919c7f..7140147 100644 --- a/delayed.gemspec +++ b/delayed.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.summary = 'a multi-threaded, SQL-driven ActiveJob backend used at Betterment to process millions of background jobs per day' - spec.version = '0.3.0' + spec.version = '0.4.0' spec.metadata = { 'changelog_uri' => 'https://github.com/betterment/delayed/blob/main/CHANGELOG.md', 'bug_tracker_uri' => 'https://github.com/betterment/delayed/issues',