Skip to content

v0.25.0

Latest
Compare
Choose a tag to compare
@kamikazechaser kamikazechaser released this 01 Nov 08:26
· 8 commits to master since this release
fd3eb86

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 and JanitorBatchSize 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

Full Changelog: v0.24.1...v0.25.0