All Versions
46
Latest Version
Avg Release Cycle
57 days
Latest Release
-

Changelog History
Page 4

  • v1.5.4 Changes

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

    View commits

  • v1.5.3 Changes

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

    View commits

  • v1.5.2 Changes

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

    View commits

  • v1.5.1 Changes

    โž• 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

  • v1.5.0 Changes

    • ๐Ÿ‘ 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.

    View commits

  • v1.4.1 Changes

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

    View commits

  • v1.4.0 Changes

    ๐Ÿ›  Fixed a subtle bug in the way Huey calculated when to run the periodic task โฑ scheduler. If you had configured the consumer to check the schedule at an interval that was not a factor of 60, then there is a chance that periodic โฑ tasks may be scheduled at incorrect intervals from one minute to the next. This ๐Ÿ›  is fixed in 1.4.0.

    โž• Added better signal handling in order to support graceful shutdown. Graceful ๐Ÿ‘ท shutdown involves letting workers finish executing any tasks they may be ๐Ÿšฆ processing at the time the shutdown signal is received. The default behavior is ๐Ÿ‘ท to interrupt the workers mid-task. Huey uses SIGTERM to shutdown the consumer immediately, and SIGINT to gracefully shutdown.

    โž• Added support for using either a global task registry, or a registry bound to 0๏ธโƒฃ a particular Huey instance. The default behavior is to use a global registry (backwards-compatible). To bind the registry to a single Huey instance, pass global_registry=False when initializing your Huey object.

    โž• Added a reschedule() method to the TaskResultWrapper.

    ๐Ÿ“š Documentation clean-ups and additions, particularly around the logic used to ๐Ÿ“„ handle datetime conversion. Also added docs on shutdown modes for huey consumer.

    View commits

  • v1.3.1 Changes

    Smarter conversion between datetimes, so that huey will correctly interpret ๐Ÿ”ง naive or timezone-aware datetimes and properly convert to UTC when configured to do so. Previously, huey only operated on naive datetimes. Many thanks to @Antoine for this patch-set.

    ๐Ÿ“š Documentation clean-ups and additions.

    View commits

  • v1.3.0 Changes

    โž• Adds flag to preserve result-store value in certain circumstances. Contains yet ๐Ÿ”ง more hacking at the consumer configuration options, specifically hard-coded ๐Ÿšš defaults are removed from the option definitions.

    ๐Ÿ‘ The run_huey management command was simplified as we are dropping support for ๐Ÿ‘ older (officially unsupported) versions of Django.

    โž• Added a sqlitedb contrib module that uses a local SQLite database instead of โฑ Redis for Queue persistence, task scheduling and result-storage.

    View commits

  • v1.2.3 Changes

    Contains an attempt at fixing the django management command handling of the 0๏ธโƒฃ default option.

    View commits