Upgrades
⚠️ Minumum go version is set to 1.22 (PR: #925)- Internal protobuf package is upgraded to address security advisories (PR: #925)
- Most packages are upgraded
- CI/CD spec upgraded
Added
IsPanicError
function is introduced to support catching of panic errors when processing tasks (PR: #491)JanitorInterval
andJanitorBatchSize
are added as Server options (PR: #715)NewClientFromRedisClient
is introduced to allow reusing an existing redis client (PR: #742)TaskCheckInterval
config option is added to specify the interval between checks for new tasks to process when all queues are empty (PR: #694)Ping
method is added to Client, Server and Scheduler (PR: #585)RevokeTask
error type is introduced to prevent a task from being retried or archived (PR: #882)SentinelUsername
is added as a redis config option (PR: #924)- Some jitter is introduced to improve latency when fetching jobs in the processor (PR: #868)
- Add task enqueue command to the CLI (PR: #918)
- Add a map cache (concurrent safe) to keep track of queues that ultimately reduces redis load when enqueuing tasks (PR: #946)
Fixes
- Archived tasks that are trimmed should now be deleted (PR: #743)
- Fix lua script when listing task messages with an expired lease (PR: #709)
- Fix potential context leaks due to cancellation not being called (PR: #926)
- Misc documentation fixes
- Misc test fixes
⚠️ Potential issues
- Some of the lua scripts in this library may not be compatible with Redis Cluster.
⚠️ tools
and x
- Yet to be fully upgraded (to v0.25.0)
- Use
@master
to go get the latest changes once updated.
New Contributors
- @testwill made their first contribution in #682
- @abezzub made their first contribution in #687
- @dependabot made their first contribution in #615
- @yeqown made their first contribution in #709
- @krhubert made their first contribution in #694
- @0over made their first contribution in #802
- @crazyoptimist made their first contribution in #827
- @mrusme made their first contribution in #843
- @camcui made their first contribution in #860
- @zhenqianz made their first contribution in #715
- @Harrison-Miller made their first contribution in #743
- @pbarnum made their first contribution in #585
- @kanzihuang made their first contribution in #876
- @pior made their first contribution in #868
- @Skwol made their first contribution in #924
- @mboorstin made their first contribution in #918
- @aradwann made their first contribution in #942
Full Changelog: v0.24.1...v0.25.0