Skip to content

Releases: permitio/fastapi_websocket_pubsub

v1.0.1

26 Jun 10:08
b7f593c

Choose a tag to compare

What's Changed

  • Add unsubscribe method so client can unsubscribe from topics by @nneskildsf in #90

Full Changelog: 1.0.0...1.0.1

v1.0.0 Release

12 Jun 13:58
05d97fb

Choose a tag to compare

What's Changed

⚠️ Breaking Changes

  • broadcaster back-end dependencies are now optional by @nneskildsf in #89

Install only what you need:

pip install fastapi-websocket-pubsub[redis]      # Redis support
pip install fastapi-websocket-pubsub[postgres]   # Postgres support
pip install fastapi-websocket-pubsub[kafka]      # Kafka support
pip install fastapi-websocket-pubsub[all]        # everything (old behaviour)

Improvements

  • Logs are less noisy - publisher / subscriber payloads are now logged at DEBUG rather than INFO @haileyplusplus in #85
  • Added official support for Python 3.12 & 3.13 (minimum supported Python is now 3.9) by @danyi1212 in #87

CI/CD and Tooling

  • Dependabot weekly updates for Python dependencies by @danyi1212 in #86
  • New GitHub Actions workflow to build & publish to PyPI by @danyi1212 in #91
  • README badge now tracks the master branch only by @roekatz in #83

New Contributors

Full Changelog: 0.3.9...1.0.0

v0.3.9

16 Aug 09:56

Choose a tag to compare

What's Changed

  • Allow more recent websockets version by @Graeme22 in #72
  • Fix failing tests - broadcaster disconnection & multiprocess by @roekatz in #73
  • EventBroadcaster: Log and raise when listener task fails to connect by @roekatz in #77

New Contributors

Full Changelog: 0.3.8...0.3.9

v0.3.8

04 Oct 11:04
c3376a8

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.3.1...0.3.8

v0.3.1

04 Sep 14:00
a7fae62

Choose a tag to compare

What's Changed

  • fixed project requirements (uvicorn version was unnecessarily limited which caused problems with OPAL) by @asafc in #48

Full Changelog: 0.3.0...0.3.1

v0.3.0

20 Aug 12:29

Choose a tag to compare

  • Replaced the broadcaster requirement with permit-broadcaster (a fork, since mainline package is not actively maintained)
  • Fixed a bug in broadcaster where disconnections from the backbone service were ignored by the library

v0.2.1

06 Jun 13:06

Choose a tag to compare

patch version: unpinned project dependencies so that minor and patch versions can auto update correctly.

v0.2.0

22 Feb 13:14

Choose a tag to compare

Added a new small feature (non-breaking change):

The event notifier now has topic restriction:
it means it's possible to enforce a permission whether a client can publish to a topic, or subscribe to a topic.

The server can typically enforce a channel restriction by specifying some claims in a JWT token used for HTTP Authorization.

thanks @idan-ben-ami for this new feature!

v0.1.20

03 Nov 13:10

Choose a tag to compare

  • Added callbacks upon clients subscribing and unsubscribing from EventNotifier
  • Added an option to fetch the remote RPC channel id, and use it as the subscriber id in event notifier

v0.1.19

10 Oct 17:26
b37ed79

Choose a tag to compare

Increased log verbosity: added more log messages in critical parts