Faststream

Latest version: v0.5.30

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

Scan your dependencies

Page 12 of 14

0.2.6

What's Changed
* docs: add avro encoding, decoding examples by kumaranvpl in https://github.com/airtai/faststream/pull/844
* docs: fix typo in README.md by omimakhare in https://github.com/airtai/faststream/pull/849
* fix: update mypy, semgrep versions and fix arg-type mypy error by kumaranvpl in https://github.com/airtai/faststream/pull/851
* docs: fix typo by kumaranvpl in https://github.com/airtai/faststream/pull/859
* docs: detail Release Notes by Lancetnik in https://github.com/airtai/faststream/pull/855
* docs: write documentation for kafka security by sternakt in https://github.com/airtai/faststream/pull/860
* docs: asyncapi tool config added by davorrunje in https://github.com/airtai/faststream/pull/861
* docs: retain GET params while redirecting by kumaranvpl in https://github.com/airtai/faststream/pull/862
* docs: add article for using FastStream with Django by kumaranvpl in https://github.com/airtai/faststream/pull/864
* chore: discord invite link changed by davorrunje in https://github.com/airtai/faststream/pull/863
* docs: add some Django integration details by Lancetnik in https://github.com/airtai/faststream/pull/866
* fix: remove pydantic defs in AsyncAPI schema by Lancetnik in https://github.com/airtai/faststream/pull/869

New Contributors
* omimakhare made their first contribution in https://github.com/airtai/faststream/pull/849

**Full Changelog**: https://github.com/airtai/faststream/compare/0.2.5...0.2.6

0.2.5

What's Changed
* fix: pass missing parameters and update docs by sheldygg in https://github.com/airtai/faststream/pull/841


**Full Changelog**: https://github.com/airtai/faststream/compare/0.2.4...0.2.5

0.2.4

New Functionalities

Now, `Context` provides access to inner [dict keys too](https://faststream.airt.ai/0.2/getting-started/context/fields/):

python
headers is a `dict`
async def handler(
user_id: int = Context("message.headers.user_id", cast=True),
): ...


Added `Header` object as a shortcut to `Context("message.headers.")` inner fields (**NATS** [example](https://faststream.airt.ai/0.2/nats/message/#headers-access)):

python
the same with the previous example
async def handler(
user_id: int = Header(),
u_id: int = Header("user_id"), with custom name
): ...


Added `Path` object to get access to [**NATS** wildcard](https://faststream.airt.ai/0.2/nats/message/#subject-pattern-access) subject or [**RabbitMQ** topic](https://faststream.airt.ai/0.2/rabbit/message/#topic-pattern-access) routing key (a shortcut to access `Context("message.path.")` as well):

python
nats_broker.subscriber("logs.{level}")
async def handler(
level: str = Path(),
)


Also, the original message `Context` annotation was copied from `faststream.[broker].annotations.[Broker]Message` to `faststream.[broker].[Broker]Message` to provide you with faster access to the most commonly used object (**NATS** [example](https://faststream.airt.ai/0.2/nats/message/#message-access)).

What's Changed
* Remove faststream_gen docs and remove code to generate fastream_gen docs by kumaranvpl in https://github.com/airtai/faststream/pull/824
* Update docs article to use cookiecutter template by kumaranvpl in https://github.com/airtai/faststream/pull/828
* Split real broker tests to independant runs by Lancetnik in https://github.com/airtai/faststream/pull/825
* Remove unused docs/docs_src/kafka examples and its tests by kumaranvpl in https://github.com/airtai/faststream/pull/829
* Run docs deployment only for specific file changes by kumaranvpl in https://github.com/airtai/faststream/pull/830
* Fix formatting in deploy docs workflow by kumaranvpl in https://github.com/airtai/faststream/pull/833
* Path operations by Lancetnik in https://github.com/airtai/faststream/pull/823
* Mypy error fixed for uvloop by davorrunje in https://github.com/airtai/faststream/pull/839


**Full Changelog**: https://github.com/airtai/faststream/compare/0.2.3...0.2.4

0.2.3

What's Changed
* Fix: disable test features with TestClient by Lancetnik in https://github.com/airtai/faststream/pull/813
* New AsyncAPI naming by Sternakt in https://github.com/airtai/faststream/pull/735


**Full Changelog**: https://github.com/airtai/faststream/compare/0.2.2...0.2.3

0.2.2

What's Changed
* Adds specific mypy ignore comment by kumaranvpl in https://github.com/airtai/faststream/pull/803
* Adds redirect template with mike by kumaranvpl in https://github.com/airtai/faststream/pull/808
* Adds google analytics script to redirect template by kumaranvpl in https://github.com/airtai/faststream/pull/809
* Adds conditional import of uvloop for Python versions less than 3.12 by davorrunje in https://github.com/airtai/faststream/pull/798
* Adds missing nats imports by sheldygg in https://github.com/airtai/faststream/pull/795
* Adds Kafka acknowledgement by Lancetnik in https://github.com/airtai/faststream/pull/793

New Contributors
* sheldygg made their first contribution in https://github.com/airtai/faststream/pull/795

**Full Changelog**: https://github.com/airtai/faststream/compare/0.2.1...0.2.2

0.2.1

What's Changed
* Add custom 404 error page by kumaranvpl in https://github.com/airtai/faststream/pull/792
* Add README NATS mention by Lancetnik in https://github.com/airtai/faststream/pull/788
* Conditional import of uvloop for Python versions less than 3.12 by davorrunje in https://github.com/airtai/faststream/pull/798


**Full Changelog**: https://github.com/airtai/faststream/compare/0.2.0...0.2.1

Page 12 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.