Releases: Shopify/maintenance_tasks
Releases · Shopify/maintenance_tasks
v2.3.0
What's Changed
- Add metadata to keep track on who initiated a run by @elfassy in #858
Using this feature require installing and running new migrations for the gem! Usebin/rails maintenance_tasks:install:migrations
, the new migration isadd_metadata_to_runs.maintenance_tasks
. - Avoid loading all tasks to validate a
Run#task_name
by @davidstosik in #866
New Contributors
- @davidstosik made their first contribution in #866
Full Changelog: v2.2.0...v2.3.0
v2.2.0
What's Changed
- Fix parameter name when creating a run fails due to an argument that's too long by @drcapulet in #813
- Add
parent_controller
configuration option by @shawnfrench in #819 - 2.7 EOL by @etiennebarrie in #827
- View fixes by @etiennebarrie in #828
- Don't generate a nonce by @etiennebarrie in #829
- Add helper text to datetime-local form fields by @adrianna-chang-shopify in #833
- Change cursor from bigint to string by @sambostock in #339
- fix tests using a non-production version of chrome in CI by @elfassy in #860
New Contributors
- @Schwad made their first contribution in #814
- @drcapulet made their first contribution in #813
- @shawnfrench made their first contribution in #819
- @elfassy made their first contribution in #860
Full Changelog: v2.1.1...v2.2.0
v2.1.1
Fixes
- Handle Rails 7.1 deprecation of TestFixtures#fixture_path by @etiennebarrie in #790
- Preserve inputs by only refreshing parts of the page by @etiennebarrie in #787
- Allow tasks to be loaded from nested task directories by @styrmis & @aileron in #809
New Contributors
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
- README fixes by @etiennebarrie in #721
- Remove EXISTS query on tasks#show by @etiennebarrie in #737
- Bump rubocop from 1.40.0 to 1.42.0 by @dependabot in #743
- Fix
Style/InvertibleUnlessCondition
by @etiennebarrie in #764 - Upgrade Bulma CSS from 0.9.3 to 0.9.4 by @larouxn in #770
- Fix input for decimal\float attributes via web form by @gdossantos in #773
- Use the newer
serialize
signature of Rails 7.1 if available by @casperisfine in #776
New Contributors
- @gdossantos made their first contribution in #773
- @casperisfine made their first contribution in #776
Full Changelog: v2.0.0...v2.1.0
Maintenance Tasks v2.0.0
We're excited to release v2.0 of the maintenance_tasks
gem! ✨ This release contains a couple breaking changes, and some exciting new features. Two highlights to note: (1) collection size for Active Record relations and arrays is now calculated automatically and (2) the gem now supports multiple runs per task.
Breaking Changes
- Drop support for error_handler lambdas with unsupported arities by @gmcgibbon in #623
- Drop support for MaintenanceTasks::Runner.new by @gmcgibbon in #624
- Drop support for classic autoloading by @gmcgibbon in #620
- Implicitly calculate collection size for Active Record Relations and Arrays by @adrianna-chang-shopify in #698
New Features
- Add support for CSV content from stdin in CLI by @promulo in #637
- Fail on invalid CSV content type by @george-ma in #651
- Add support for multiple runs per task by @promulo in #664, #667
Bug Fixes
- Use helper for HTML interpolation to fix compatibility with better-html by @etiennebarrie in #628
- Fix Batch CSV count off by one by @etiennebarrie in #643
- add an extra line in rspec template to avoid rubocop errors by @aditya-cherukuri in #653
- Handle job still existing for a cancelled run by @etiennebarrie in #672
- Don't rescue callback errors by @adrianna-chang-shopify in #689
Other Changes
- Document task object lifecycle by @etiennebarrie in #632
- Add typical workflow to README by @sambostock in #654
- Change tick columns to bigints by @sj26 in #663
- Use resourceful route for running a Task by @adrianna-chang-shopify in #691
- Split
TaskData
into two separate classes by @adrianna-chang-shopify in #696 - Reduce queries required for Runs pagination by @adrianna-chang-shopify in #700
New Contributors
- @aditya-cherukuri made their first contribution in #653
- @george-ma made their first contribution in #651
- @sj26 made their first contribution in #663
- @cursedcoder made their first contribution in #669
Full Changelog: v1.10.0...v2.0.0
Maintenance Tasks v1.10.3
Bug Fixes
- Handle job still existing for a cancelled run by @etiennebarrie in #672
- Don't rescue callback errors by @adrianna-chang-shopify in #689
Full Changelog: v1.10.2...v1.10.3
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