huey v1.0.0 Release Notes
-
What follows is a description of the changes between 0.4.9 and 1.0.0. There are some backwards-incompatible changes to be aware of as well as new options for the consumer. Most APIs are the same, however.
Backwards incompatible changes:
- โก๏ธ
huey.djhuey
moved tohuey.contrib.djhuey
. You will need to update any import statements as well as your DjangoINSTALLED_APPS
setting to reflect the new module path. - ๐ Redis backend is now the only one available, and the corresponding code moved
from
huey.backends.redis_backend
tohuey.storage
. - โ Removed the "RabbitMQ" and "SQLite" queue backends.
- โ Removed the
-t
and--threads
option from the consumer. You should now use-w
or--workers
. - โ Removed the
-p
and--periodic
no-op options from the consumer. These are enabled by default so the option had no meaning. - โฑ The
scheduler-interval
option is configured using-s
when previously it was-S
. Furthermore, this must be a value between 1 and 60. - โ Removed the
peewee_helpers
module.
๐ New features:
- ๐ The queue consumer now supports multi-process or multi-greenlet execution models (in addition to multi-threaded, which previously was the only option).
- โ Added
pending()
,scheduled()
andall_results()
methods to theHuey
class to allow introspection of the Queue's state at the current moment in time.
- โก๏ธ