Faststream

Latest version: v0.5.30

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

Scan your dependencies

Page 9 of 14

0.3.7

What's Changed

* feat (974): add FastAPI Context by Lancetnik in https://github.com/airtai/faststream/pull/1060
* chore: update pre-commit by davorrunje in https://github.com/airtai/faststream/pull/1058

Support regular FastStream Context with FastAPI plugin

python
from fastapi import FastAPI
from faststream.redis.fastapi import RedisRouter, Logger

router = RedisRouter()

router.subscriber("test")
async def handler(msg, logger: Logger):
logger.info(msg)

app = FastAPI(lifespan=router.lifespan_context)
app.include_router(router)


**Full Changelog**: https://github.com/airtai/faststream/compare/0.3.6...0.3.7

0.3.6

What's Changed

* chore: correct update release CI by Lancetnik in https://github.com/airtai/faststream/pull/1050
* Update Release Notes for main by faststream-release-notes-updater in https://github.com/airtai/faststream/pull/1051
* chore: fix building docs script by davorrunje in https://github.com/airtai/faststream/pull/1055
* 0.3.6 by Lancetnik in https://github.com/airtai/faststream/pull/1056
* bug: remove `packaging` dependency
* bug: correct **FastAPI** batch consuming
* docs: add search meta to all pages
* docs: polish all pages styles, fix typos
* chore: add ruff rule to check print

**Full Changelog**: https://github.com/airtai/faststream/compare/0.3.5...0.3.6

0.3.5

What's Changed

A large update by Lancetnik in https://github.com/airtai/faststream/pull/1048

Provides with the ability to setup `graceful_timeout` to wait for consumed messages processed correctly before apllication shutdown - `Broker(graceful_timeout=30.0)` (waits up to 30 seconds)

* allows to get acces to `context.get_local("message")` from **FastAPI** plugin
* docs: fix Avro custom serialization example
* docs: add KafkaBroker `publish_batch` notice
* docs: add RabbitMQ security page
* fix: respect retry attempts with `NackMessage` exception
* test Kafka nack and reject behavior
* bug: fix import error with anyio version 4.x by davorrunje in https://github.com/airtai/faststream/pull/1049

**Full Changelog**: https://github.com/airtai/faststream/compare/0.3.4...0.3.5

0.3.4

What's Changed

Features:

* feat: add support for anyio 4.x by davorrunje in https://github.com/airtai/faststream/pull/1044

Documentation

* docs: add multiple FastAPI routers section by Lancetnik in https://github.com/airtai/faststream/pull/1041

Chore

* chore: updated release notes by davorrunje in https://github.com/airtai/faststream/pull/1040
* chore: use Github App to generate token for release notes PR by kumaranvpl in https://github.com/airtai/faststream/pull/1043


**Full Changelog**: https://github.com/airtai/faststream/compare/0.3.3...0.3.4

0.3.3

What's Changed

Features:

* feat: add support for Python 3.12 by davorrunje in https://github.com/airtai/faststream/pull/1034

Chores:

* chore: updated release notes and upgraded packages by davorrunje in https://github.com/airtai/faststream/pull/1029

**Full Changelog**: https://github.com/airtai/faststream/compare/0.3.2...0.3.3

0.3.2

What's Changed

New features:

* feat: add Redis security configuration by sternakt and Lancetnik in https://github.com/airtai/faststream/pull/1025
* feat: add list of Messages NATS PullSub by SepehrBazyar in https://github.com/airtai/faststream/pull/1023

Chore:

* chore: polishing by davorrunje in https://github.com/airtai/faststream/pull/1016
* chore: update release notes by davorrunje in https://github.com/airtai/faststream/pull/1017
* chore: bump pytest-asyncio from 0.21.1 to 0.23.2 by dependabot in https://github.com/airtai/faststream/pull/1019
* chore: bump semgrep from 1.50.0 to 1.51.0 by dependabot in https://github.com/airtai/faststream/pull/1018
* chore: add pull_request permission to workflow by kumaranvpl in https://github.com/airtai/faststream/pull/1022


**Full Changelog**: https://github.com/airtai/faststream/compare/0.3.1...0.3.2

Page 9 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.