Huey

Latest version: v2.5.0

Safety actively analyzes 628919 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 8

2.4.0

Not secure
* Task expiration: https://huey.readthedocs.io/en/latest/guide.html#task-expiration
* Add option to make `crontab()` parsing strict, raising an error if an invalid
interval specification is given. You probably want to enable this.
* Fix bug in the FileStorage dequeue() method, which attempted to unlink an
open file.

[View commits](https://github.com/coleifer/huey/compare/2.3.2...2.4.0)

2.3.2

Not secure
* Add hook (`Huey.build_error_result`) for customizing the error result
metadata.
* Avoid crashing if another module already modified/set the multiprocessing
start method.

[View commits](https://github.com/coleifer/huey/compare/2.3.1...2.3.2)

2.3.1

Not secure
* Add `SIGNAL_INTERRUPTED` to signal when a task is interrupted when a consumer
exits abruptly.
* Use the `Huey.create_consumer()` API within the Django management command, to
allow Django users to customize the creation of the `Consumer` instance.

[View commits](https://github.com/coleifer/huey/compare/2.3.0...2.3.1)

2.3.0

Not secure
* Use monotonic clock for timing operations within the consumer.
* Ensure internal state is cleaned up on file-lock when released.
* Support passing around TaskException as a pickled value.
* Set the multiprocessing mode to "fork" on MacOS and Python 3.8 or newer.
* Added option to enforce FIFO behavior when using Sqlite as storage.
* Added the `on_shutdown` handler to djhuey namespace.
* Ensure exception is set on AsyncResult in mini-huey.

[View commits](https://github.com/coleifer/huey/compare/2.2.0...2.3.0)

2.2.0

Not secure
* Fix task `repr` (refs 460).
* Adds task-id into metadata for task exceptions (refs 461).
* Ensure database connection is not closed when using the `call_local` method
of Django helper extension `db_periodic_task()`.
* Allow pickle protocol to be explicitly configured in serializer parameters.
* Adds `FileHuey` and full `FileStorage` implementation.
* Add `shutdown()` hook, which will be run in the context of the worker
threads/processes during shutdown. This hook can be used to clean-up shared
or global resources, for example.
* Allow pipelines to be chained together. Additionally, support chaining task
instances.

[View commits](https://github.com/coleifer/huey/compare/2.1.3...2.2.0)

2.1.3

Not secure
* Fix semantics of `SIGNAL_COMPLETE` so that it is not sent until the result is
ready.
* Use classes for the specific Huey implementations (e.g. `RedisHuey`) so that
it is easier to subclass / extend. Previously we just used a partial
application of the constructor, which could be confusing.
* Fix shutdown logic in consumer when using multiprocess worker model.
Previously the consumer would perform a "graceful" shutdown, even when an
immediate shutdown was requested (SIGTERM). Also cleans up the
signal-handling code and ensures that interrupted tasks log a warning
properly to indicate they were interrupted.

[View commits](https://github.com/coleifer/huey/compare/2.1.2...2.1.3)

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.