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() and periodic_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.

    View commits