Releases: bensheldon/good_job
Releases · bensheldon/good_job
v2.3.0
Review the Changelog for more details.
- Create an ActiveJobJob model and Dashboard #383 (bensheldon)
- Preserve page filter when deleting execution #381 (morgoth)
- Add Rails 7 alpha to Appraisal; update development dependencies #384 (bensheldon)
v2.2.0
Review the Changelog for more details.
- Deprecation: Rename
GoodJob::Job
toGoodJob::Execution
; deprecatesGoodJob::Job
#377 (bensheldon) - Add dashboard for cron-style jobs #367 (aried3r)
- Fix Dashboard navigation active class for Scheduled Jobs #375 (bensheldon)
v2.1.0
Review the Changelog for more details.
- Add
total_limit:
option to GoodJob::Concurrency to be inclusive of counting both enqueued and performing jobs #369 (bensheldon) - Add button to toggle all job params in Dashboard #365 (bensheldon)
v2.0.5
Review the Changelog for more details.
deep_dup
serialized job data instead ofattr_readonly
to prevent overwriting #363 (bensheldon)
v2.0.4
Review the Changelog for more details.
- Remove
NOW()
from Dashboard SQL; fix chart x-axis order left-to-right, old-to-new #355 (bensheldon)
v2.0.3
v2.0.2
- Generators support multiple databases:
--database
option,migrations_paths
, customGoodJob.active_record_parent_class
#354 (bensheldon)
v1.99.1
v2.0.1
v2.0.0
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.
- 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 bothv1.x
andv2.0.0
because it uses bothv1
- andv2
-formatted advisory locks. - Address any deprecation warnings generated by
v1.99
. - Upgrade your production environment to
v1.99.x
tov2.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 inGoodJob::ActiveJobExtensions::Concurrency
. - Triggers
GoodJob.on_thread_error
for unhandled ActiveJob exceptions. - Renames
GoodJob.reperform_jobs_on_standard_error
accessor toGoodJob.retry_on_unhandled_error
. - Renames
GoodJob::Adapter.shutdown(wait:)
argument toGoodJob::Adapter.shutdown(timeout:)
. - Changes Advisory Lock key format from
good_jobs[ROW_ID]
togood_jobs-[ACTIVE_JOB_ID]
. - Expects presence of columns
good_jobs.active_job_id
,good_jobs.concurrency_key
,good_jobs.concurrency_key
, andgood_jobs.retried_good_job_id
.