Skip to content

Releases: bensheldon/good_job

v2.0.3

31 Aug 00:39
Compare
Choose a tag to compare

Changelog

v2.0.2

27 Aug 23:15
Compare
Choose a tag to compare

Changelog

  • Generators support multiple databases: --database option, migrations_paths, custom GoodJob.active_record_parent_class #354 (bensheldon)

v1.99.1

27 Aug 17:00
Compare
Choose a tag to compare

Changelog

  • Generators support multiple databases: --database option, migrations_paths, custom GoodJob.active_record_parent_class

v2.0.1

24 Aug 19:14
Compare
Choose a tag to compare

Changelog

  • Suppress backtrace of ConcurrencyExceededError #348 (reczy)

v2.0.0

24 Aug 02:44
Compare
Choose a tag to compare

Changelog

Upgrading v1 to v2

GoodJob v2 introduces a new Advisory Lock key format that is different than the v1 advisory lock key format; it's therefore necessary to perform a simple, but staged production upgrade. If you are already using >= v1.12+ no other changes are necessary.

  1. Upgrade your production environment to v1.99.x following the minor version upgrade process, including database migrations. v1.99 is a transitional release that is safely compatible with both v1.x and v2.0.0 because it uses both v1- and v2-formatted advisory locks.
  2. Address any deprecation warnings generated by v1.99.
  3. Upgrade your production environment to v1.99.x to v2.0.x again following the minor upgrade process.

Notable changes:**

  • Renames :async_server execution mode to :async; renames prior :async execution mode to :async_all.
  • Sets default Development environment's execution mode to :async with disabled polling.
  • Excludes performing jobs from enqueue_limit's count in GoodJob::ActiveJobExtensions::Concurrency.
  • Triggers GoodJob.on_thread_error for unhandled ActiveJob exceptions.
  • Renames GoodJob.reperform_jobs_on_standard_error accessor to GoodJob.retry_on_unhandled_error.
  • Renames GoodJob::Adapter.shutdown(wait:) argument to GoodJob::Adapter.shutdown(timeout:).
  • Changes Advisory Lock key format from good_jobs[ROW_ID] to good_jobs-[ACTIVE_JOB_ID].
  • Expects presence of columns good_jobs.active_job_id, good_jobs.concurrency_key, good_jobs.concurrency_key, and good_jobs.retried_good_job_id.

v1.99.0

24 Aug 02:33
Compare
Choose a tag to compare

Changelog

This is a transitional release to make upgrading to GoodJob v2.0.0 as safe and simple as possible.

GoodJob v2 introduces a new Advisory Lock key format that is different than the v1 advisory lock key format; it's therefore necessary to perform a simple, but staged production upgrade. If you are already using >= v1.12+ no other changes are necessary.

  1. Upgrade your production environment to v1.99.x following the minor version upgrade process, including database migrations. v1.99 is a transitional release that is safely compatible with both v1.x and v2.0.0 because it uses both v1- and v2-formatted advisory locks.
  2. Address any deprecation warnings generated by v1.99.
  3. Upgrade your production environment to v1.99.x to v2.0.x again following the minor upgrade process.

v1.13.2

18 Aug 22:52
Compare
Choose a tag to compare

Changelog

  • Add deprecation notice that async mode will be renamed async_all in GoodJob v2.0

v1.13.1

18 Aug 20:29
Compare
Choose a tag to compare

Changelog

Fixed bugs:

  • Don’t attempt to enforce concurrency limits with other queue adapters #333 (codyrobbins)

v1.13.0

18 Aug 16:41
Compare
Choose a tag to compare

Changelog

Implemented enhancements:

  • Track if a GoodJob::Job has been subsequently retried #331 (bensheldon)
  • Wrap and truncate error message, which can be a huge text #294 (morgoth)

v1.12.2

13 Aug 16:09
Compare
Choose a tag to compare

See changelog for more details.

Fixed bugs:

  • Fixes for race conditions in ActiveJob concurrency extension #326 (codyrobbins)