GoodJob v2.0.0 #346
bensheldon
started this conversation in
Updates
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Changelog
GoodJob version 2.0 has been released. GoodJob
v2.2.0
is backward-incompatible with previous versions of GoodJob, but can be easily upgraded through a transitionaryv1.99
release.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.v1.99.x
following the minor version upgrade process, including database migrations.v1.99
is a transitional release that is safely compatible with bothv1.x
andv2.0.0
because it uses bothv1
- andv2
-formatted advisory locks.v1.99
.v1.99.x
tov2.0.x
again following the minor upgrade process.New features
GoodJob 2.0 does not introduce any new features on its own. Since GoodJob v1.0 was released, notable improvements include:
Rails::Engine
. Job performance and errors can be inspected and visualized through the dashboard. (v1.5)Major (incompatible) changes
:async_server
execution mode to:async
; renames prior:async
execution mode to:async_all
.:async
with disabled polling.enqueue_limit
's count inGoodJob::ActiveJobExtensions::Concurrency
.GoodJob.on_thread_error
for unhandled ActiveJob exceptions.GoodJob.reperform_jobs_on_standard_error
accessor toGoodJob.retry_on_unhandled_error
.GoodJob::Adapter.shutdown(wait:)
argument toGoodJob::Adapter.shutdown(timeout:)
.good_jobs[ROW_ID]
togood_jobs-[ACTIVE_JOB_ID]
.good_jobs.active_job_id
,good_jobs.concurrency_key
,good_jobs.concurrency_key
, andgood_jobs.retried_good_job_id
.This discussion was created from the release v2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions