Maintenance Tasks v1.7.0
adrianna-chang-shopify
released this
28 Jan 20:35
·
555 commits
to main
since this release
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