Skip to content

Commit

Permalink
Update Release Notes for 0.5.23 (#1778)
Browse files Browse the repository at this point in the history
* Update Release Notes for 0.5.23

* Fix typo and update secrets baseline

---------

Co-authored-by: Lancetnik <44573917+Lancetnik@users.noreply.github.com>
Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>
  • Loading branch information
3 people authored Sep 10, 2024
1 parent 521eaf2 commit 27125d8
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"filename": "docs/docs/en/release.md",
"hashed_secret": "35675e68f4b5af7b995d9205ad0fc43842f16450",
"is_verified": false,
"line_number": 1655,
"line_number": 1689,
"is_secret": false
}
],
Expand All @@ -178,5 +178,5 @@
}
]
},
"generated_at": "2024-09-06T15:06:47Z"
"generated_at": "2024-09-10T05:07:49Z"
}
34 changes: 34 additions & 0 deletions docs/docs/en/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,40 @@ hide:
---

# Release Notes
## 0.5.23

### What's Changed

We made last release just a few days ago, but there are some big changes here already!

1. First of all - you can't use `faststream run ...` command without `pip install faststream[cli]` distribution anymore. It was made to minify default (and production) distribution by removing **typer** (**rich** and **click**) dependencies. **CLI** is a development-time feature, so if you don't need - just don't install! Special thanks to @RubenRibGarcia for this change

2. The next big change - **Kafka** publish confirmations by default! Previous **FastStream** version was working in *publish & forgot* style, but the new one blocks your `broker.publish(...)` call until **Kafka** confirmation frame received. To fallback to previous logic just use a new flag `broker.publish(..., no_confirm=True)`

3. Also, we made one more step forward to our **1.0.0** features plan! @KrySeyt implements `get_one` feature. Now you can use any broker subscriber to get messages in imperative style:

```python
subscriber = broker.subscriber("in")
...
msg = await subscriber.get_one(timeout=5.0)
```

4. And the last one: @draincoder continues to develop OTEL support! Now he provides us with an ability to use **OTEL spans** and **baggage** in a comfortable **FastStream**-style. Just take a look at the [new documentation section](https://faststream.airt.ai/latest/getting-started/opentelemetry/#baggage)

Big thanks to all new and old contributors who makes such a great release!

* feat: AsgiFastStream hooks init options by @Lancetnik in https://github.com/airtai/faststream/pull/1768
* fix (#1748): add Kafka publish no_confirm option by @Lancetnik in https://github.com/airtai/faststream/pull/1749
* Fix GeneralExceptionHandler typehint by @sheldygg in https://github.com/airtai/faststream/pull/1773
* Add `broker.subscriber().get_one()` by @KrySeyt in https://github.com/airtai/faststream/pull/1726
* Add OTel baggage support by @draincoder in https://github.com/airtai/faststream/pull/1692
* build(#1430): separate cli faststream to its own distribution by @RubenRibGarcia in https://github.com/airtai/faststream/pull/1769

### New Contributors
* @RubenRibGarcia made their first contribution in https://github.com/airtai/faststream/pull/1769

**Full Changelog**: https://github.com/airtai/faststream/compare/0.5.22...0.5.23

## 0.5.22

### What's Changed
Expand Down

0 comments on commit 27125d8

Please sign in to comment.