History
Unreleased
0.26.0 (2022-11-04)
Add dispatcher service
Add support for Python 3.11
0.25.1 (2022-10-19)
JSONLinesservice: triggerprocess_messagesimmediately when reaching 100 stored messages
0.25.0 (2022-10-13)
Add
JSONLinesservice for appending messages to a file in jsonlines format
0.24.2 (2022-10-04)
zocalo.configure_rabbitmqcli: downgrade “No matching queue found” error to warning
0.24.1 (2022-08-24)
zocalo.configure_rabbitmqcli: additional debugging output in event of rareIndexError
0.24.0 (2022-08-17)
zocalo.configure_rabbitmqcli: enable configuration of vhosts
0.23.0 (2022-08-02)
Remove deprecated
zocalo.enable_graylog()functionUse
LoggingAdapterto appendrecipe_IDto wrapper logs. This was inadvertantly broken for the logging plugin added in #176. Derived wrappers should now use self.log rather than instantiating a logger directly.
0.22.0 (2022-07-12)
zocalo.wrapper: Enable access tozocalo.configurationobject throughBaseWrapper.configattributezocalo.configure_rabbitmqcli: check response status codes to catch failed API callszocalo.configure_rabbitmqcli: don’t set x-single-active-consumer for streams
0.21.0 (2022-06-28)
zocalo.configure_rabbitmqcli: require passing user config via explicit--user-configparameterzocalo.configure_rabbitmqcli: optionally disable implicit dlq creation viadead-letter-queue-create: false
0.20.0 (2022-06-17)
zocalo.configure_rabbitmqcli: require explicit dead-letter-routing-key-pattern when requesting creation of a DLQ for a given queue.
0.19.0 (2022-05-24)
zocalo.configure_rabbitmqcli: advanced binding configuration
0.18.0 (2022-04-12)
Added a logging configuration plugin to comprehensively configure logging across applications.
0.17.0 (2022-03-03)
zocalo.configure_rabbitmqcli:Support for explicitly declaring exchanges
Allow queues to bind to more than one exchange
0.16.0 (2022-02-21)
Add
Mailerservice for sending email notifications. Subscribes to themailnotificationqueue. SMTP settings are specified via thesmtpplugin inzocalo.configuration.
0.15.0 (2022-02-16)
Fix for getting user information from the RabbitMQ management API
Major changes to the RabbitMQ configuration command line tool. Users are now updated and deleted, and the tool now understands zocalo environment parameters. Configuration files are now mandatory, and the
--seedparameter has been removed.
0.14.0 (2021-12-14)
zocalo.dlq_purgeoffers a--locationflag to override where files are being writtenzocalo.dlq_reinjectcan again understandzocalo.dlq_purgeoutput passed on stdinReinjected messages now carry a
dlq-reinjected: Trueheader field
0.13.0 (2021-12-01)
zocalo.queue_drainnow allows the automatic determination of destination queues for recipe messageszocalo.queue_drainfixed for use in a RabbitMQ environmentzocalo.dlq_purgefixed for use in a RabbitMQ environmentNew functions in
zocalo.utilto easily annotate log messages with system context information
0.12.0 (2021-11-15)
Add support for queue/exchange bindings to
RabbitMQAPIDrop support for Python 3.6 and 3.7
0.11.1 (2021-11-08)
Add a RabbitMQ HTTP API in
zocalo.util.rabbitmq
0.11.0 (2021-11-03)
Add command line tools for handling dead-letter messages
zocalo.dlq_checkchecks dead-letter queues for messageszocalo.dlq_purgeremoves messages from specified DLQs and dumps them to a directory specified in the Zocalo configurationzocalo.dlq_reinjecttakes a serialised message produced byzocalo.dlq_purgeand places it back on a queueUse
argparsefor all command line tools and make use ofworkflowstransport argument injection. Minimumworkflowsversion is now 2.14New
zocalo.util.rabbitmq.RabbitMQAPI()providing a thin wrapper around the RabbitMQ HTTP API
0.10.0 (2021-10-04)
New
zocalo.shutdowncommand to shutdown Zocalo servicesNew
zocalo.queue_draincommand to drain one queue into another in a controlled mannerNew
zocalo.util.rabbitmq.http_api_request()utility function to return aurllib.request.Requestobject to query the RabbitMQ API using the credentials specified viazocalo.configuration.zocalo.wrapnow emits tracebacks on hard crashes andSIGUSR2signals
0.9.1 (2021-08-18)
Expand ~ in paths in configuration files
0.9.0 (2021-08-18)
Removed –live/–test command line arguments, use -e/–environment instead
zocalo.go, zocalo.service, zocalo.wrap accept -t/–transport command line options, and the default can be set via the site configuration.
0.8.1 (2021-07-08)
Keep wrapper status threads alive through transport disconnection events
0.8.0 (2021-05-18)
Support for Zocalo configuration files
0.7.4 (2021-03-17)
Documentation improvements
0.7.3 (2021-01-19)
Ignore error when logserver hostname can’t be looked up immediately
0.7.2 (2021-01-18)
Add a symbolic link handling library function
Cache the logserver hostname by default
0.7.1 (2020-11-13)
Add a –dry-run option to zocalo.go
0.7.0 (2020-11-02)
Drop support for Python 3.5
Update language constructs for Python 3.6+
0.6.4 (2020-11-02)
Add support for Python 3.9
0.6.3 (2020-05-25)
Remove stomp.py requirement - this is pulled in via workflows only
0.6.2 (2019-07-16)
Set live flag in service environment if service started with ‘–live’
0.6.0 (2019-06-17)
Start moving dlstbx scripts to zocalo package: * zocalo.go * zocalo.wrap
Entry point ‘dlstbx.wrappers’ has been renamed ‘zocalo.wrappers’
Dropped Python 3.4 support
0.5.4 (2019-03-22)
Compatibility fixes for graypy >= 1.0
0.5.2 (2018-12-11)
Don’t attempt to load non-existing file
0.5.1 (2018-12-04)
Fix packaging bug which meant files were missing from the release
0.5.0 (2018-12-04)
Add zocalo.service command to start services
0.4.0 (2018-12-04)
Add status notification thread logic
0.3.0 (2018-12-04)
Add schlockmeister service and base wrapper class
0.2.0 (2018-11-28)
Add function to enable logging to graylog
0.1.0 (2018-10-19)
First release on PyPI.