v0.6.0
New features
- Introduce
WorkerBuilderExt
trait via #428. - Introduce new
Request
structure via #416. - Introduce
Codec
andNamespace
leading to removal ofJob
andMessage
traits via #339. - Simplified
Worker<Context>
and added event emit. - Concurrency works now as expected via
WorkerBuilder::concurrency(count)
. - Standardized DI via
FromRequest
. - Persisted Cron jobs, via
pipe_to_storage
andpipe_to_mq
. - Added
CatchPanicLayer
to catch panics in a job. - Added
BackendExpose
trait that allows listing of jobs and workers making it easy to create APIs
Removed
Job
andMessage
traits in favor ofNamespace
- Dropped
Executor
for a simpler API, useworker.track
+ runtime::spawn - Benchmarks, to be moved to their own repo
- Dropped
tokio-comp
andasync-std-comp
features.
What's Changed
- [mysql] prevent cascading deletes on jobs by
keep_alive_at
by @dlen in #421 - chore(deps): update postgres docker tag to v17 by @renovate in #424
- chore(deps): update actions/checkout digest to eef6144 by @renovate in #427
- docs: add hatsu to projects by @kwaa in #440
- fix: target done jobs with vacuuming instead of dead jobs by @iZucken in #446
- fix(deps): update rust crate metrics to 0.24.0 by @renovate in #431
- fix(deps): update rust crate metrics-exporter-prometheus to 0.16 by @renovate in #432
- chore(deps): update actions/checkout digest to 11bd719 by @renovate in #438
- fix(deps): update rust crate cron to 0.13.0 by @renovate in #444
- chore(deps): update rust crate pprof to 0.14 by @renovate in #445
- fix(deps): update rust crate thiserror to v2 by @renovate in #443
- chore: rename master to main by @geofmureithi in #456
- [bump] introduce new version: 0.6 by @geofmureithi in #459
- fix: improve the Readme by @geofmureithi in #462
- fix(deps): update rust crate tower to 0.5 by @renovate in #461
- fix: minor ack bug on redis by @geofmureithi in #463
New Contributors
- @dlen made their first contribution in #421
- @kwaa made their first contribution in #440
- @iZucken made their first contribution in #446
Full Changelog: v0.5.5...v0.6.0