Skip to content

Releases: Shopify/maintenance_tasks

Maintenance Tasks v1.10.2

12 Jul 12:19
Compare
Choose a tag to compare

Bug Fixes

Full Changelog: v1.10.1...v1.10.2

Maintenance Tasks v1.10.1

09 May 12:54
Compare
Choose a tag to compare

Bug Fixes

Full Changelog: v1.10.0...v1.10.1

Maintenance Tasks v1.10.0

06 May 20:13
a3f3807
Compare
Choose a tag to compare

What's Changed

Documentation

  • Remove prefixed $ from shell command examples by @larouxn in #610

New Contributors

  • @oneandonlymike made their first contribution in #606

Full Changelog: v1.9.0...v1.10.0

Maintenance Tasks v1.9.0

05 Apr 14:07
0dc7e4d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.8.2...v1.9.0

Maintenance Tasks v1.8.2

10 Mar 16:42
c160bd8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.8.1...v1.8.2

Maintenance Tasks v1.8.1

25 Feb 14:35
89e3530
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.8.0...v1.8.1

Maintenance Tasks v1.8.0

10 Feb 18:26
172b922
Compare
Choose a tag to compare

This release introduces a new API for tasks that do not need to iterate over a collection. See instructions in the README to learn more about using tasks that only need to perform a unit of work once.

What's Changed

New Contributors

Full Changelog: v1.7.0...v1.8.0

Maintenance Tasks v1.7.0

28 Jan 20:35
358db9c
Compare
Choose a tag to compare

This release brings optimistic locking to the gem to handle race conditions. In order to opt into optimistic locking, you'll need to run the necessary migration to add a lock_version column to your maintenance_tasks_runs table. See instructions in the README to learn more about copying gem migrations to your app.

New features

Deprecations

Bug Fixes

  • Support Sorbet-annotated task code display in task UI by @tyetraskshopify in #524
  • Race conditions now handled via optimistic locking by @adrianna-chang-shopify in #549

Other Changes

New Contributors

Full Changelog: v1.6.0...v1.7.0

Version v1.6.0

05 Nov 21:03
4796835
Compare
Choose a tag to compare

New features

  • Change the name of the CSV file before uploading #466
  • Change CSV collection implementation to use a strategy pattern #465
  • Delimit ticks in progress text #483
  • Introduce callbacks for Task lifecycle #484
  • Allow Run model to be injected #498

Fixes

  • Set started_at on MaintenanceTasks::Run if error occurs before #on_start #469
  • Support SQLite and Postgres #468
  • Raise Active Storage error in CSV collection method #491
  • Fix race condition when moving to running #515
  • Avoid iteration for stopping race condition #516

MaintenanceTasks v1.5.0

28 Jul 17:00
e64cdf0
Compare
Choose a tag to compare

New features

  • Allow custom backtrace cleaners to be configured. #453
  • Show Task Run's arguments in the UI. #455, #460

Fixes

  • Remove status transition of paused => cancelled from valid transitions. #434
  • Document how to upgrade the gem when migrations have been deleted. #442
  • Add reusable stuck tasks constant. #448
  • Persist job_id to the Run before it is enqueued. #451 #459
  • Add time spent running to Task show page. #452
  • Remove n+1 query for active storage attachments on index page. #461