Releases: Shopify/maintenance_tasks
Maintenance Tasks v1.10.2
Bug Fixes
- Fix Batch CSV count off by one by @etiennebarrie in #643
- Change tick columns to bigints by @sj26 in #663
Full Changelog: v1.10.1...v1.10.2
Maintenance Tasks v1.10.1
Bug Fixes
- Use helper for HTML interpolation by @etiennebarrie #628
Small bug fix if you usebetter_html
.
Full Changelog: v1.10.0...v1.10.1
Maintenance Tasks v1.10.0
What's Changed
- Update templates to prefer double-quoted strings by @oneandonlymike in #606
- CSS updates by @etiennebarrie in #607
- Refresh by replacing document body instead of using header by @adrianna-chang-shopify in #612
- Change the cursor while the page is refreshing by @etiennebarrie in #625
Documentation
New Contributors
- @oneandonlymike made their first contribution in #606
Full Changelog: v1.9.0...v1.10.0
Maintenance Tasks v1.9.0
What's Changed
- Minor fix to the arguments UI by @VitorRigoni in #590
- Support processing CSVs in batches by @adrianna-chang-shopify in #604
New Contributors
- @VitorRigoni made their first contribution in #590
Full Changelog: v1.8.2...v1.9.0
Maintenance Tasks v1.8.2
What's Changed
- Don't re-enqueue stopped throttled jobs by @etiennebarrie in #583
Full Changelog: v1.8.1...v1.8.2
Maintenance Tasks v1.8.1
What's Changed
- Remove direct reference to MaintenanceTasks::Run in
#truncate
method by @adrianna-chang-shopify in #581
Full Changelog: v1.8.0...v1.8.1
Maintenance Tasks v1.8.0
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
- Truncate the error message when message is too long by @joelpinheiro in #494
- Support Tasks that perform a single iteration by @adrianna-chang-shopify in #570
New Contributors
- @joelpinheiro made their first contribution in #494
Full Changelog: v1.7.0...v1.8.0
Maintenance Tasks v1.7.0
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
- Render task default attributes on the form by @nvasilevski in #532
- Allow backoff to be specified via a proc by @adrianna-chang-shopify in #547
- Render type-specific fields for attributes by @ryanwilsonperkin in #540
- Ruby 3.1 support by @etiennebarrie in #556
Deprecations
- Deprecate classic autoloading by @gmcgibbon in #531
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
- Move Task instantiation to TaskData by @etiennebarrie in #537
- Move callback handling to Run by @etiennebarrie in #552
New Contributors
- @tjwp made their first contribution in #525
- @tyetraskshopify made their first contribution in #524
- @nvasilevski made their first contribution in #532
- @ryanwilsonperkin made their first contribution in #542
- @larouxn made their first contribution in #550
- @promulo made their first contribution in #560
Full Changelog: v1.6.0...v1.7.0
Version v1.6.0
MaintenanceTasks v1.5.0
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 theRun
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