Skip to content

MaintenanceTasks v1.1.0

Compare
Choose a tag to compare
@etiennebarrie etiennebarrie released this 11 Feb 21:06
· 869 commits to main since this release

New features

  • CSV support: Tasks can process CSV files as their collection via upload in the UI or using a --csv option in the CLI. Applications must have ActiveStorage configured to use this. #300 #302 #308 #313 #317 #318 #322
  • Allow calling process, collection, and count on Task for easier testing. #296
  • Allow calling run directly on Runner. #296
  • Add more context about errors in the error handler. #321

⚠️ Backwards-incompatible changes

  • The list of all runs has been removed. Runs can be viewed from their respective Task page. #288
  • Automatic Bugsnag configuration has been removed. #289

Deprecations

  • Deprecate Runner.new.run in favour of Runner.run. #331
  • Deprecate error handler with one parameter. #321

Fixes

  • Prevent a crash and mark the Run as errored if the Task has been deleted. #293
  • If you forgot to define the collection or process method, previously the Task would cause an exception when you started running it. Now it is rescued like other Task exceptions, and the run appears as errored. #311