Changelog History
Page 3
-
v1.10.1 Changes
July 24, 2018- โ Remove call to SimpleDB Client.connect(), as the
simpledb
APIs have changed and no longer use this method. - Ensure that pre- and post-execute hooks are run when using Huey in "always_eager" mode.
- Gracefully stop Huey consumer when SIGINT is received.
- ๐ Improved continuous integration, now testing on Python 3.7 as well.
- โ Remove call to SimpleDB Client.connect(), as the
-
v1.10.0 Changes
May 30, 2018- 0๏ธโฃ Ensure that the default SIGINT handler is registered. This fixes an edge-case that arises when the consumer is run without job control, which causes interrupt signals to be ignored.
- 0๏ธโฃ Restarts (SIGHUP) are now graceful by default.
-
v1.9.1 Changes
- โฑ Ensure the scheduler loop does not drift (fixes #304).
- โ Add
TaskResultWrapper.reset()
to enable resetting the results of tasks that failed and are subsequently being retried. - ๐ Allow task-decorated functions to be also decorated as periodic tasks.
-
v1.9.0 Changes
โช ROLLBACK of 1.8.0 Django Changes
๐ Due to problems with the django patch that added support for multiple huey โช instances, I've decided to rollback those changes.
Django integration in Huey 1.9.0 will work the same as it had previously in 1.7.x and earlier.
Apologies, I should have reviewed the patch more thoroughly and insisted on ๐ better test coverage.
-
v1.8.0 Changes
Backwards-incompatible change to Django integration
๐ NOTE: These changes were remove in 1.9.0
๐ In 1.8.0, support for multiple huey instances was added (with thanks to @Sebubu and @MarcoGlauser for the patches). Although existing Django/Huey apps should ๐ง continue to work, there is a new configuration format available and I'd ๐ recommend that you take a look at the docs and switch over to it:
-
v1.7.0 Changes
Backwards-incompatible change
๐ Previous versions of huey would store the traceback and associated metadata for a failed task within the
result_store
, regardless of whetherstore_errors
was true or not. As of 1.7.0, task exceptions will only be stored in the result ๐ store ifstore_errors
is True. See #290 for discussion. -
v1.6.1 Changes
- โ 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.
-
v1.6.0 Changes
- ๐ 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.
-
v1.5.6 Changes
- ๐ 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.
- ๐ Allow arbitrary settings to be specified in
-
v1.5.5 Changes
- Implemented pre-execute and post-execute hooks.
- Implemented task cancellation mechanism as part of pre-execute hooks.