Releases: rq/rq
Releases Β· rq/rq
Release list
v2.10
v2.9.1
v2.9
- Added
jsonandpickleshorthand aliases for serializers. These can now be used when creating queues/workers and with the--serializerCLI option. Thanks @selwin! - Fixed a bug where
SpawnWorkerdoes not use user supplied serializer. Thanks @selwin! Queue.parse_args()now returns aEnqueueArgsnamed tuple. Thanks @libmilos-so!- Fixed a race condition that could cause worker keys in Redis to get out of sync when Redis is under load. Thanks @terencehonles!
- Enqueueing deferred jobs now removes them from
DeferredJobRegistry. Thanks @selwin! SpawnWorkernow usesrepr()when reconstructing worker, job and queue identifiers in child processes. Thanks @selwin!- Minor typing and cleanup improvements. Thanks @selwin and @rextea!
v2.8
- Added support for unique jobs. Passing
unique=Truewithjob_idprevents duplicate jobs from being enqueued or scheduled. Thanks @selwin! Resultnow stores execution metadata (execution_id,execution_started_atandexecution_ended_at). Thanks @selwin!Retrynow supportsenqueue_at_front=True, allowing retried jobs to be requeued at the front of the queue. Thanks @crazillagodzilla!- Custom
job_idvalues may only contain letters, numbers, underscores and dashes. Thanks @selwin! - When a job is stopped, its dependencies are no longer enqueued. Thanks @selwin!
DeferredJobRegistryis now scored by job creation time. Thanks @selwin!- Workers now print a warning instead of raising an exception when
CLIENT LISTis not supported. Thanks @selwin and @djmaze!
v2.7
- Formal support for Python 3.14. Thanks @selwin!
- Improve
CronSchedulermonitoring, you can now monitor eachCronJob's latest and next scheduled enqueue time. Thanks @selwin! job.get_status()now reports the correct final state insideon_success/on_failurecallbacks. Thanks @Fridayai700!- Minor fixes and cleanups. Thanks @selwin, @stratakis, @JimNero009 and @Fridayai700!
v2.6.1
- Updated
CronSchedulerto acceptjob_timeoutinstead oftimeoutargument. Thanks @selwin! - Fixed an issue where
CronScheduler.heartbeat()does not properly extend the key's TTL. Thanks @selwin! - Minor changes and code cleanups. Thanks @selwin, @hovsater, @DhavalGojiya, @sylvioCampos and @JimNero009!
v2.6
v2.5
CronSchedulernow supports running periodic jobs based on cron string. Thanks @selwin!- Fixed an issue where
SpawnWorkerdoes not properly register successful job executions. Thanks @selwin! - Fixed an issue where
Workermay fail to register custom job and queue classes. Thanks @armicron! - Added
result.worker_nameto easily trace whichWorkergenerated the result. Thanks @selwin! - Dropped support for Redis server < 5. Thanks @selwin!
v2.4.1
Workerwill now automatically chooseTimerDeathPenaltyifUnixSignalDeathPenaltyis not available. Thanks @selwin!- Introduced
CREATEDJobstatus for jobs that are not enqueued not deferred. Thanks @selwin! Workercan now importJobandQueueclasses from string. Thanks @selwin!- Fixed a bug in
Group.cleanup(). Thanks @dixoncrews-gdl! - Logging improvements and code cleanups. Thanks @selwin, @SpecLad!
v2.4
- Added
rq cronCLI command. Thanks @selwin! - Various tests, typing improvements and cleanups. Thanks @SpecLad!
- When a job is canceled, you can now optionally clean it from dependencies using
job.cancel(remove_from_dependencies=True). Thanks @Marishka17! - RQ now requires Python >= 3.9. Thanks @Jankovn and @selwin!