Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 2.41 KB

CHANGELOG.md

File metadata and controls

65 lines (51 loc) · 2.41 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.3.0] - 2023-04-26

Added

  • Standard Noteable open source patterns
    • Contributing / Code of Conduct files
    • Issue templates
    • CI/CD files and noxfile syntax
  • WebsocketManager Backend
  • New extra install -E websockets, additionally a convenience -E all option
  • context_hook in Base Manager that can be used to bind structlog contextvars for all workers (inbound, outbound, poll)
  • connect_hook and disconnect_hook for Websocket manager
  • callback_hook that takes in QueuedMessage and Callback, useful for adding things like topic to contextvars for callback functions

Changed

  • Use managed_service_fixtures for Redis tests
  • WebsocketManager backend uses vanilla logging instead of structlog, remove need for structlog dependency once managed-service-fixtures also drops it
  • JupyterBackend introduce a short sleep in its poll loop while investigating 100% CPU usage
  • JupyterBackend zmq polling changed fairly significantly to avoid missing messages while reconnecting socket after a max message size disconnect
  • Try to include tracebacks during exception logs for inbound / outbound / process workers

[0.2.2] - 2022-07-28

Changed

  • Debug logs now contain the qualified name of callbacks

Fixed

  • System events are now opt-in only for callbacks through the on_system_event kwarg

[0.2.1] - 2022-07-26

Fixed

  • Callback decorator supports system events

[0.2.0] - 2022-07-26

Added

  • New backend for Jupyter kernels
  • Shorthand for callback predicates on message topic
  • Shorthand for callback predicates on system events
  • Added the ability to publish system events to callbacks that opt-in to it

Changed

  • Created a separate method to get a DetachedPubSubSession
  • Callbacks are concurrently delegated to all at once, instead of in batches

Removed

  • Dependency on prometheus-client

Quality

  • Set up nox

[0.1.1] - 2021-10-15

Added

  • The ability to create isolated pubsub sessions that do not receive manager-level subscription messages

Fixed

  • Pubsub sessions no longer receive messages subscribed to in other sessions

[0.1.0] - 2021-09-10

Added

  • Initial project scaffolding