Happyly

Latest version: v0.9.0

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

Scan your dependencies

Page 1 of 2

0.8.0

Note: this is a significant update after v0.6.0 with some breaking changes.

* serialization and publishing are separated
* callback parameters (`original_message`, `deserialized_message`, `serialized_message`) are renamed for uniformity.
* handler now returns a dict or nothing. `HandlingResult` is removed. Publisher doesn't handle presence of multiple messages in the result like it did before
* `run_for_result` added
* any stage (e.g. handler) can be written as a function now
* rewritten documentation

0.6.0

Added:
* ability to stop execution pipeline at any callback by raising `StopPipeline`
* `on_stopped` callback

Improved
* Logging. `RequestIdLogger` is now stable

Deprecated
* `Listener` -> `EarlyAckListener`
* `Subscriber` -> `SubscriberWithAck`
* `GoogleSimple<...>` -> `GoogleEarlyAck<...>`

0.5.1

* Fixed bug that caused `on_finished` to get no error when deserialization fails. Thanks to AlexAmyago for pointing out.

0.5.0

Added
* ListenerWithAck, GoogleBaseReceiver, GoogleBaseReceiveAndReply
* `on_finished` callback

Fixed
* Redis cache prefixing

0.4.1

* Added `on_handling_failed` callback to Executor. It is called when handler's `on_handling_failed` raises an exception

0.4.0

* Introduced `GoogleLateAckReceiver` and `GoogleLateAckReceiveAndReply`, `LateAckSubscriber`.
* Renamed:
Listener -> EarlyAckListener
Subscriber -> SubscriberWithAck
Old names will be removed in v0.7.0.
* Introduced `BaseListener` and `BaseSubscriber` which are unaware of acknowledging.
* Added `prefix` argument to `RedisCacher`
* Added `from_topic` as optional argument for many high-level components
* Improved `JSONDeserializerWithRequestIdRequired`: it always creates request id now (empty string if not present)
* Improved internal code documentation

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.