Releases: permitio/fastapi_websocket_pubsub
Releases · permitio/fastapi_websocket_pubsub
v1.0.0 Release
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
- @haileyplusplus made their first contribution in #85
- @danyi1212 made their first contribution in #86
- @nneskildsf made their first contribution in #89
Full Changelog: 0.3.9...1.0.0
v0.3.9
v0.3.8
What's Changed
- Add Py 3.11 support by @orweis in #50
- Rk/fix python311 by @roekatz in #52
- PubSubEndpoint: Don't disconnect all other subscribed endpoints when one disconnects by @roekatz in #53
- Upgrade broadcaster and bump ver to 0.3.3 by @roekatz in #56
- Version 0.3.4 by @roekatz in #60
- Improve publish performance by @roekatz in #61
- Upgrade broadcaster 0.2.5 by @roekatz in #62
- Send events asynchronously. by @shaulk in #64
- Support both Pydantic v1 and v2 by @ff137 in #65
New Contributors
Full Changelog: 0.3.1...0.3.8
v0.3.1
v0.3.0
v0.2.1
v0.2.0
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!