New
v0.25.0
Upgrades
- ⚠️ Minumum go version is set to 1.22 (PR: https://github.com/hibiken/asynq/pull/925)
- Internal protobuf package is upgraded to address security advisories (PR: https://github.com/hibiken/asynq/pull/925)
- Most packages are upgraded
- CI/CD spec upgraded
Added
IsPanicErrorfunction is introduced to support catching of panic errors when processing tasks (PR: https://github.com/hibiken/asynq/pull/491)JanitorIntervalandJanitorBatchSizeare added as Server options (PR: https://github.com/hibiken/asynq/pull/715)NewClientFromRedisClientis introduced to allow reusing an existing redis client (PR: https://github.com/hibiken/asynq/pull/742)TaskCheckIntervalconfig option is added to specify the interval between checks for new tasks to process when all queues are empty (PR: https://github.com/hibiken/asynq/pull/694)Pingmethod is added to Client, Server and Scheduler (PR: https://github.com/hibiken/asynq/pull/585)RevokeTaskerror type is introduced to prevent a task from being retried or archived (PR: https://github.com/hibiken/asynq/pull/882)