2023-04-29 06:04:28 +12:00
|
|
|
# Change Log
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
See [Conventional Commits](Https://conventionalcommits.org) for commit guidelines.
|
|
|
|
|
|
|
|
<!-- changelog -->
|
|
|
|
|
2024-05-11 10:59:18 +12:00
|
|
|
## [v0.2.3](https://github.com/ash-project/ash_oban/compare/v0.2.3-rc.1...v0.2.3) (2024-05-10)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Bug Fixes:
|
|
|
|
|
|
|
|
* plugins can just be modules
|
|
|
|
|
2024-04-04 00:32:29 +13:00
|
|
|
## [v0.2.3-rc.1](https://github.com/ash-project/ash_oban/compare/v0.2.3-rc.0...v0.2.3-rc.1) (2024-04-03)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Bug Fixes:
|
|
|
|
|
|
|
|
* use `skip_unknown_inputs` to avoid unnecessary errors
|
|
|
|
|
|
|
|
* oban pro state active (#22)
|
|
|
|
|
|
|
|
* detect oban pro plugin usage and support dynamic queues (#20)
|
|
|
|
|
2024-03-30 12:54:35 +13:00
|
|
|
## [v0.2.3-rc.0](https://github.com/ash-project/ash_oban/compare/v0.2.2...v0.2.3-rc.0) (2024-03-29)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* update to ash 3.0
|
|
|
|
|
2024-03-05 17:43:39 +13:00
|
|
|
## [v0.2.2](https://github.com/ash-project/ash_oban/compare/v0.2.1...v0.2.2) (2024-03-05)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Bug Fixes:
|
|
|
|
|
|
|
|
* properly catch when trigger no longer applies
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* validate primary keys provided for job scheduling
|
|
|
|
|
|
|
|
* builds_trigger/3 to enable job composition without execution (#18)
|
|
|
|
|
2024-02-29 02:10:22 +13:00
|
|
|
## [v0.2.1](https://github.com/ash-project/ash_oban/compare/v0.2.0...v0.2.1) (2024-02-28)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Bug Fixes:
|
|
|
|
|
|
|
|
* only drain queues when oban is in testing mode
|
|
|
|
|
|
|
|
* properly discard all non applicable jobs
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* support `Oban.Pro.Testing.drain_jobs`
|
|
|
|
|
2024-02-21 08:09:17 +13:00
|
|
|
## [v0.2.0](https://github.com/ash-project/ash_oban/compare/v0.1.14...v0.2.0) (2024-02-20)
|
|
|
|
### Breaking Changes:
|
|
|
|
|
|
|
|
* authorize always by default
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* allow turning new authorization behavior off
|
|
|
|
|
|
|
|
* add `actor_persister`, and use it automatically
|
|
|
|
|
|
|
|
* authorize?: true always
|
|
|
|
|
2024-02-17 10:11:56 +13:00
|
|
|
## [v0.1.14](https://github.com/ash-project/ash_oban/compare/v0.1.13...v0.1.14) (2024-02-16)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* properly schedule scheduled actions
|
|
|
|
|
2024-01-13 10:44:48 +13:00
|
|
|
## [v0.1.13](https://github.com/ash-project/ash_oban/compare/v0.1.12...v0.1.13) (2024-01-12)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Bug Fixes:
|
|
|
|
|
|
|
|
* Do not wrap `paused` and `delete` Cron options into `events` (#15)
|
|
|
|
|
|
|
|
* properly honor the `drain_queues?` option
|
|
|
|
|
2023-12-13 04:14:49 +13:00
|
|
|
## [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`
|
|
|
|
|
2023-12-13 03:45:13 +13:00
|
|
|
## [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`
|
|
|
|
|
2023-12-08 08:43:18 +13:00
|
|
|
## [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
|
|
|
|
|
2023-10-05 07:54:16 +13:00
|
|
|
## [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
|
|
|
|
|
2023-09-17 04:37:38 +12:00
|
|
|
## [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
|
|
|
|
|
2023-09-17 03:18:01 +12:00
|
|
|
## [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
|
|
|
|
|
2023-08-30 11:19:02 +12:00
|
|
|
## [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
|
|
|
|
|
2023-08-15 13:52:32 +12:00
|
|
|
## [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
|
|
|
|
|
2023-06-11 05:29:25 +12:00
|
|
|
## [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
|
|
|
|
|
2023-05-18 14:42:19 +12:00
|
|
|
## [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.
|
|
|
|
|
2023-05-09 06:49:59 +12:00
|
|
|
## [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
|
|
|
|
|
2023-05-02 10:20:29 +12:00
|
|
|
## [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
|
|
|
|
|
2023-04-29 06:04:28 +12:00
|
|
|
## [v0.1.0](https://github.com/ash-project/ash_oban/compare/v0.1.0...v0.1.0) (2023-04-28)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-04-29 06:04:49 +12:00
|
|
|
### Features:
|
2023-04-29 06:04:28 +12:00
|
|
|
|
|
|
|
* initial feature set
|