ash_oban/CHANGELOG.md
2023-12-12 10:14:49 -05:00

203 lines
3.9 KiB
Markdown

# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](Https://conventionalcommits.org) for commit guidelines.
<!-- changelog -->
## [v0.1.12](https://github.com/ash-project/ash_oban/compare/v0.1.11...v0.1.12) (2023-12-12)
### Improvements:
* make draining queues optional for `AshOban.schedule_and_run_triggers`
## [v0.1.11](https://github.com/ash-project/ash_oban/compare/v0.1.10...v0.1.11) (2023-12-12)
### Improvements:
* move schedule_and_run_triggers to `AshOban`
## [v0.1.10](https://github.com/ash-project/ash_oban/compare/v0.1.9...v0.1.10) (2023-12-07)
### Bug Fixes:
* fallback clause to match valid configurations
* add `cron` to opt schema
* reverted part of refactor in 82cb0f90d9c0550c98ca5a8081ef8bd581c66e0d (#14)
* nested pausing states under `events` option
* only supply metadata if `read_metadata` is set
* pass metadata argument on the udpate action
### Improvements:
* make `AshOban.Test` more configurable for scheduled actions
* add `scheduled_action` for scheduling create/generic actions
* log all errors by default, using `log_errors?` config
* expose drain options to AshOban.Test.schedule_and_run_triggers (#12)
* add `log_final_error?` and default it to `true`
* don't log on raised exception, for consistency
* support `require?: false` option on `config/3`.
* support `action_input` on triggers
## [v0.1.9](https://github.com/ash-project/ash_oban/compare/v0.1.8...v0.1.9) (2023-10-04)
### Improvements:
* more granular & more broad testing helpers
* more debug logs, make debugging opt-in
## [v0.1.8](https://github.com/ash-project/ash_oban/compare/v0.1.7...v0.1.8) (2023-09-16)
### Improvements:
* still validate queues even when no schedulers present
## [v0.1.7](https://github.com/ash-project/ash_oban/compare/v0.1.6...v0.1.7) (2023-09-16)
### Bug Fixes:
* don't schedule triggers with no scheduler
* make override job options optional (#8)
### Improvements:
* support providing an otp app to schedule and run triggers
* support apis/resources for ash_oban
* support overriding job opts in run_trigger (#7)
* support destroy actions in the trigger action
* debug logs
## [v0.1.6](https://github.com/ash-project/ash_oban/compare/v0.1.5...v0.1.6) (2023-08-29)
### Bug Fixes:
* verify trigger action exists in transformer
### Improvements:
* use read_metadata when manually scheduling
* allow `false` as the value for `scheduler_cron`
* add worker/scheduler priorities
## [v0.1.5](https://github.com/ash-project/ash_oban/compare/v0.1.4...v0.1.5) (2023-08-15)
### Bug Fixes:
* use same read_action in handle_error and in work
* another syntax issue with `drain_queue/2`
* drain_queue syntax issue
* Update base engine to support rename Oban.Pro.Engines.Smart
### Improvements:
* only invoke error handler on last attempt
* drain each queue twice
* add test helper for running triggers
* trigger_read_action, defaulting to read action
* read with primary read for trigger
* log error on scheduler failure
## [v0.1.4](https://github.com/ash-project/ash_oban/compare/v0.1.3...v0.1.4) (2023-06-10)
### Improvements:
* support `record_limit` to limit max processed records
## [v0.1.3](https://github.com/ash-project/ash_oban/compare/v0.1.2...v0.1.3) (2023-05-18)
### Bug Fixes:
* properly raise errors instead of swallowing them
* don't use `authorize?: false` for operations.
## [v0.1.2](https://github.com/ash-project/ash_oban/compare/v0.1.1...v0.1.2) (2023-05-08)
### Improvements:
* make scheduler default queue the same as worker
## [v0.1.1](https://github.com/ash-project/ash_oban/compare/v0.1.0...v0.1.1) (2023-05-01)
### Bug Fixes:
* add_error/1 does not exist
* `insert_all/1` not `insert_all!/1`
### Improvements:
* handle actions w/ before_transaction/after_transaction hooks better
## [v0.1.0](https://github.com/ash-project/ash_oban/compare/v0.1.0...v0.1.0) (2023-04-28)
### Features:
* initial feature set