Releases: coleifer/huey
Releases · coleifer/huey
1.6.1
- Add backwards-compatibility to queue serialization protocol so that 1.6
consumers can continue to work with tasks enqueued by huey versions 1.5 and
lower.
1.6.0
- Support for task pipelining and task function partials
- Support for triggering task retries using
RetryTask
exception. - Support for task locking, restricting concurrency of a given task.
- Getting result of task that failed with an exception results in a
TaskException
being raised. - Updated health check to ensure the task scheduler is always running.
- Refactor implementation of
task()
andperiodic_task()
decorators, which should have the added benefit of making them easier to extend. - Refactored result-store APIs to simplify serialization / deserialization logic.
- Fixed bug in serialization of task exceptions.
- Added simple client/server implementation for testing locally. Blog post on the subject.
1.5.6
- Allow arbitrary settings to be specified in
task()
decorators. - New task name format includes function module as part of task name.
- Fix for operating systems that do not implement SIGHUP.
- Fix bug in
contrib.minimal
task scheduler timing.
1.5.5
- Implemented pre-execute and post-execute hooks.
- Implemented task cancellation mechanism as part of pre-execute hooks.
1.5.4
- Implemented atomic "set if not exists" for Redis and SQLite, which is used by
the locking APIs.
1.5.3
- Includes addition of
TaskLock
andHuey.lock_task()
helpers. - Extend
Huey
API to add method for creating the consumer.
1.5.2
- Added support for gracefully restarting the consumer using SIGHUP.
- Fixed a bug where periodic tasks were not being given unique task IDs when
executed by the consumer. Periodic tasks now receive a unique ID each time
they are invoked.
1.5.1
Added support for specifying a retry
and retry_delay
on periodic tasks.
Simply pass the desired values into the periodic_task()
decorator after the
validation function, as keyword arguments.
1.5.0
- Allow all instances of a task to be revoked/restored by adding the
revoke()
,restore()
andis_revoked()
methods to all decorated tasks
(where previously they were only available on periodic tasks). - Periodic task instances now have a unique identifier.
- Added documentation on how to correctly use the Django consumer management
command with thegevent
worker model. - Logging will lazily resolve log messages.
- Bug was fixed that prevented the local (non-global) task registry from
working as intended. This is now fixed. - Docstrings added to the
BaseStorage
APIs.
Thanks to @mindojo-victor and @nachtmaar for help with some of the above items.