Releases: airtai/faststream
v0.2.6
What's Changed
- docs: add avro encoding, decoding examples by @kumaranvpl in #844
- docs: fix typo in README.md by @omimakhare in #849
- fix: update mypy, semgrep versions and fix arg-type mypy error by @kumaranvpl in #851
- docs: fix typo by @kumaranvpl in #859
- docs: detail Release Notes by @Lancetnik in #855
- docs: write documentation for kafka security by @sternakt in #860
- docs: asyncapi tool config added by @davorrunje in #861
- docs: retain GET params while redirecting by @kumaranvpl in #862
- docs: add article for using FastStream with Django by @kumaranvpl in #864
- chore: discord invite link changed by @davorrunje in #863
- docs: add some Django integration details by @Lancetnik in #866
- fix: remove pydantic defs in AsyncAPI schema by @Lancetnik in #869
New Contributors
- @omimakhare made their first contribution in #849
Full Changelog: 0.2.5...0.2.6
v0.2.5
What's Changed
Full Changelog: 0.2.4...0.2.5
v0.2.4
New Functionalities
Now, Context
provides access to inner dict keys too:
# 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):
# 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 subject or RabbitMQ topic routing key (a shortcut to access Context("message.path.")
as well):
@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).
What's Changed
- Remove faststream_gen docs and remove code to generate fastream_gen docs by @kumaranvpl in #824
- Update docs article to use cookiecutter template by @kumaranvpl in #828
- Split real broker tests to independant runs by @Lancetnik in #825
- Remove unused docs/docs_src/kafka examples and its tests by @kumaranvpl in #829
- Run docs deployment only for specific file changes by @kumaranvpl in #830
- Fix formatting in deploy docs workflow by @kumaranvpl in #833
- Path operations by @Lancetnik in #823
- Mypy error fixed for uvloop by @davorrunje in #839
Full Changelog: 0.2.3...0.2.4
v0.2.3
What's Changed
- Fix: disable test features with TestClient by @Lancetnik in #813
- New AsyncAPI naming by @sternakt in #735
Full Changelog: 0.2.2...0.2.3
v0.2.2
What's Changed
- Adds specific mypy ignore comment by @kumaranvpl in #803
- Adds redirect template with mike by @kumaranvpl in #808
- Adds google analytics script to redirect template by @kumaranvpl in #809
- Adds conditional import of uvloop for Python versions less than 3.12 by @davorrunje in #798
- Adds missing nats imports by @sheldygg in #795
- Adds Kafka acknowledgement by @Lancetnik in #793
New Contributors
Full Changelog: 0.2.1...0.2.2
v0.2.1
What's Changed
- Add custom 404 error page by @kumaranvpl in #792
- Add README NATS mention by @Lancetnik in #788
- Conditional import of uvloop for Python versions less than 3.12 by @davorrunje in #798
Full Changelog: 0.2.0...0.2.1
v0.2.0
What's Changed
- Add comprehensive guide on how to use faststream template by @kumaranvpl in #772
- Open external links in new tab by @kumaranvpl in #774
- Publish docs for minor version not for every patch by @davorrunje in #777
- Complete Kafka part of faststream docs by @sternakt in #775
- Bump semgrep from 1.41.0 to 1.42.0 by @dependabot in #787
- Add 0.2.0 NATS support by @Lancetnik in #692
Full Changelog: 0.1.6...0.2.0
v0.1.6
What's Changed
- Add coverage badge at docs index by @kumaranvpl in #762
- Fill asyncapi custom information page by @sternakt in #767
- Add article for using faststream template by @kumaranvpl in #768
- Use httpx instead of requests by @rjambrecic in #771
Full Changelog: 0.1.5...0.1.6
v0.1.5
What's Changed
- Licence on PyPi updated from MIT to Apache by @davorrunje in #753
- fix: Connection broker with url by @Jaroslav2001 in #754
- fix: correct AsyncAPI oneOf schema by @Lancetnik in #755
New Contributors
- @Jaroslav2001 made their first contribution in #754
Full Changelog: 0.1.4...0.1.5
v0.1.4
What's Changed
- tiny typo by @julzhk in #740
- docs: add docs mention by @Lancetnik in #744
- Add code of conduct and include badge for it in README by @kumaranvpl in #747
- Fixed docs building when pydantic version less than 2.4.0 by @davorrunje in #748
- fix: raise inner exceptions in
with_real
tests by @Lancetnik in #751 - docs fix by @davorrunje in #752
- Bugfixes 745 by @Lancetnik in #749
New Contributors
Full Changelog: 0.1.3...0.1.4