Releases: Bogdanp/dramatiq
Releases · Bogdanp/dramatiq
v1.6.1
v1.6.0
Added
dramatiq_queue_prefetchenvironment variable to control the number of messages to prefetch per worker thread. (#183, #184, @xelhark)- The RabbitMQ broker now retries the queue declaration process if an error occurs. (#179, @davidt99)
- Support for accessing nested broker instances from the CLI. (#191, @bersace)
- Support for eagerly raising actor exceptions in the joining thread with the
StubBroker. (#195, #203) - Support for accessing the current message from an actor via
CurrentMessage. (#208)
Changed
- Pinned pika version
>1.0,<2.0. (#202)
Fixed
- An issue where workers would fail and never recover after the connection to Redis was severed. (#207)
pipe_ignorehas been fixed to apply to the next message in line within a pipeline. (#194, @metheoryt)
v1.5.0
Added
- The RabbitMQ broker now supports native message priorities. (#157, @davidt99)
- Support for specifying the actor class to
@actor. (#169, @gilbsgilbs)
Changed
- Pika 0.13 is now required.
Fixed
v1.4.3
v1.4.2
v1.4.1
v1.4.0
This is a big one!
Added
- Barriers.
Changed
cli.mainnow takes an optional argument namespace so that users
may define their own entrypoints. (#140, @maerteijn)- Actor "message received" and "completed in x ms" log messages are
now logged with theDEBUGlevel instead ofINFOlevel. This
improves throughput and makes logging much less verbose. - The
TimeLimitmiddleware no longer uses signals to trigger time
limit handling. Instead it uses a background thread per worker
process. - Dramatiq now shuts itself down if any of the workers die
unexpectedly (for example, if one of them is killed by the OOM
killer). - Windows is now supported (with some caveats)! (#119, @ryansm1)
Fixed
v1.3.0
Changed
- Upgraded prometheus_client to 0.2.x.
- Bumped pika to version 0.12. Because of this change, the
interruptmethod onBrokerand its usages withinWorkerhave been dropped. - There is no longer a max message delay.
Fixed
v1.2.0
Added
- Support for worker heartbeats to
RedisBroker. maintenance_chanceandheartbeat_timeoutparameters to
RedisBroker.Interruptbase class for thread-interrupting exceptions. (@rpkilby)ShutdownNotificationsmiddleware. (@rpkilby)
Changed
TimeLimitExceededis now a subclass ofInterrupt.
Fixed
StubBroker.joinandWorker.joinare now more reliable.- Module import path is now prepended to search path rather than
appended. This fixes an issue where importing modules with the same
name as modules from site-packages would end up importing the
modules from site-packages. (#88) Prometheusmiddleware no longer wipes the prometheus data
directory on startup. This fixes an issue with exporting
application metrics along with worker metrics.