Skip to content

Releases: coleifer/huey

1.6.1

07 Feb 17:17
Compare
Choose a tag to compare

View commits

  • 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

12 Jan 21:10
Compare
Choose a tag to compare

View commits

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

1.5.6

12 Jan 21:10
Compare
Choose a tag to compare

View commits

  • 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

02 Nov 18:32
Compare
Choose a tag to compare

View commits

  • Implemented pre-execute and post-execute hooks.
  • Implemented task cancellation mechanism as part of pre-execute hooks.

1.5.4

23 Oct 15:41
Compare
Choose a tag to compare

View commits

  • Implemented atomic "set if not exists" for Redis and SQLite, which is used by
    the locking APIs.

1.5.3

22 Oct 12:59
Compare
Choose a tag to compare

View commits

  • Includes addition of TaskLock and Huey.lock_task() helpers.
  • Extend Huey API to add method for creating the consumer.

1.5.2

16 Oct 15:02
Compare
Choose a tag to compare

View commits

  • 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

08 Oct 22:14
Compare
Choose a tag to compare

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.

View commits

1.5.0

05 Oct 18:26
Compare
Choose a tag to compare

View commits

  • Allow all instances of a task to be revoked/restored by adding the
    revoke(), restore() and is_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 the gevent 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.

1.4.1

05 Oct 18:26
Compare
Choose a tag to compare

View commits

  • Add "minihuey", an in-process task scheduler using gevent.
  • Support using 7 to represent Sunday when doing day-of-week calculations
    in the crontab helper.
  • Fix bug #243, wherein Django interpreted boolean CLI arguments as having a
    boolean default value.