huey v1.6.0 Release Notes
-
- ๐ Support for task pipelining and task function partials (which is not compatible with 1.5's task serialization format see note below).
- ๐ 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.
Task serialization format
In v1.6.0, the serialization format of tasks has changed to accomodate an extra ๐ piece of metadata. As a result, tasks enqueued with huey versions previous to 1.6 will not be able to be consumed by the 1.6 consumer.
๐ At present there is a workaround available in 1.6.1, but it will be removed ๐ when 1.7.0 is released later.