Skip to content

Releases: coleifer/huey

1.10.5

19 Dec 15:50
Compare
Choose a tag to compare

View commits

  • Compatibility with redis-py 3.0, updated requirements / dependencies.
  • Add pre-/post- hooks into the djhuey namespace.

1.10.4

14 Nov 15:03
Compare
Choose a tag to compare

View commits

  • Log time taken to execute tasks at default log level.
  • Fix missing import in SQLite storage backend.
  • Small refactoring in Redis storage backend to make it easier to override the driver / client implementation.
  • Fix failing tests for simpledb storage backend.

1.10.3

10 Oct 21:12
Compare
Choose a tag to compare

View commits

  • Fixed regression where in always eager mode exceptions within tasks were being swallowed instead of raised.
  • Added an API for registering hooks to run when each worker process starts-up. This simplifies creating global/process-wide shared resources, such as a connection pool or database client. Documentation.

1.10.2

10 Oct 21:12
Compare
Choose a tag to compare

View commits

  • More granular "extras" installation options.

1.10.1

24 Jul 13:33
Compare
Choose a tag to compare

View commits

  • 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.

1.10.0

30 May 16:12
Compare
Choose a tag to compare

View commits

  • 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.
  • Restarts (SIGHUP) are now graceful by default.

1.9.1

04 Apr 18:58
Compare
Choose a tag to compare

View commits

  • 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.

1.9.0

12 Mar 21:24
Compare
Choose a tag to compare

View commits

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.

1.8.0

09 Mar 15:45
Compare
Choose a tag to compare

View commits

Backwards-incompatible change to Django integration

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:

Django integration documentation

1.7.0

07 Feb 17:18
Compare
Choose a tag to compare

View commits

Backwards-incompatible change

Previous versions of huey would store the traceback and associated metadata for
a failed task within the result_store, regardless of whether store_errors
was true or not. As of 1.7.0, task exceptions will only be stored in the result
store if store_errors is True. See #290 for discussion.