From 2190ed197ed91ededa93665d11559037f1eafece Mon Sep 17 00:00:00 2001 From: Ben Sheldon Date: Mon, 23 Aug 2021 19:41:56 -0700 Subject: [PATCH] Release good_job v2.0.0 --- CHANGELOG.md | 22 ++++++++++++++++++++++ Gemfile.lock | 2 +- lib/good_job/version.rb | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47b717dde..5c0cc936b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## [v2.0.0](https://github.com/bensheldon/good_job/tree/v2.0.0) (2021-08-24) + +[Full Changelog](https://github.com/bensheldon/good_job/compare/v1.99.0...v2.0.0) + +**Implemented enhancements:** + +- Concurrency's enqueue\_limit should exclude performing jobs from count [\#317](https://github.com/bensheldon/good_job/issues/317) +- Rename `:async` to `:async_all`; `:async_server` to `:async` and set as Development environment default; do not poll in async development [\#343](https://github.com/bensheldon/good_job/pull/343) ([bensheldon](https://github.com/bensheldon)) +- Exclude executing jobs from Concurrency's enqueue\_limit's count [\#342](https://github.com/bensheldon/good_job/pull/342) ([bensheldon](https://github.com/bensheldon)) +- Unhandled ActiveJob errors should trigger GoodJob.on\_thread\_error [\#312](https://github.com/bensheldon/good_job/pull/312) ([bensheldon](https://github.com/bensheldon)) + +**Closed issues:** + +- Swap behavior of `async` with `async_server`; rename `async` execution mode to be `async_all`; default `async` in Development; [\#340](https://github.com/bensheldon/good_job/issues/340) +- Add hyphen to lock key. e.g. "\[table\_name\]-\[column\]" instead of "\[table\_name\]\[column\]" [\#335](https://github.com/bensheldon/good_job/issues/335) +- Use `async_server` as default execution mode in Development environment [\#139](https://github.com/bensheldon/good_job/issues/139) + +**Merged pull requests:** + +- Remove v1.0 deprecation notices and incremental migrations [\#338](https://github.com/bensheldon/good_job/pull/338) ([bensheldon](https://github.com/bensheldon)) +- Lock GoodJob::Job on active\_job\_id instead of the row id; adds separator hyphen to lock key [\#337](https://github.com/bensheldon/good_job/pull/337) ([bensheldon](https://github.com/bensheldon)) + ## [v1.99.0](https://github.com/bensheldon/good_job/tree/v1.99.0) (2021-08-24) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.13.2...v1.99.0) diff --git a/Gemfile.lock b/Gemfile.lock index e760f55e7..811a60955 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - good_job (1.99.0) + good_job (2.0.0) activejob (>= 5.2.0) activerecord (>= 5.2.0) concurrent-ruby (>= 1.0.2) diff --git a/lib/good_job/version.rb b/lib/good_job/version.rb index 3803811b4..c20bd7839 100644 --- a/lib/good_job/version.rb +++ b/lib/good_job/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module GoodJob # GoodJob gem version. - VERSION = '1.99.0' + VERSION = '2.0.0' end