File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33Litestar 2 Changelog
44====================
55
6+ .. changelog :: 2.21.0
7+ :date: 2026-02-14
8+
9+ .. change :: DI: Fix handling of bound methods returning (async) generators
10+ :type: bugfix
11+ :issue: 4596
12+ :pr: 4597
13+
14+ Fix a regression introced in github.com/litestar-org/litestar/pull/4459, that
15+ would lead to lead to async generators returned from bound methods of DI
16+ providers being recognised as a synchronous callable, instead of an async
17+ generator.
18+
19+ .. change :: Add ``after_exception`` option for ``OpenTelemetryConfig``
20+ :type: feature
21+ :pr: 4595
22+ :issue: 4594
23+
24+ Add an ``after_exception `` option to
25+ :class: `~litestar.contrib.opentelemetry.OpenTelemetryConfig `, which will
26+ add that hook to the applications ``after_exception `` hooks, allowing the
27+ middleware to react to exception, without handling them.
28+
29+
630.. changelog :: 2.20.0
731 :date: 2026-02-08
832
@@ -6539,4 +6563,4 @@ Litestar 2 Changelog
65396563 :issue: 1149
65406564
65416565 A middleware's ``exclude `` parameter would sometimes not be honoured if the path was used to serve static files
6542- using ``StaticFilesConfig ``
6566+ using ``StaticFilesConfig ``
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ maintainers = [
6464name = " litestar"
6565readme = " docs/PYPI_README.md"
6666requires-python = " >=3.8,<4.0"
67- version = " 2.20 .0"
67+ version = " 2.21 .0"
6868
6969[project .urls ]
7070Blog = " https://blog.litestar.dev"
You can’t perform that action at this time.
0 commit comments