File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 332.x Changelog
44=============
55
6+ .. changelog :: 2.5.5
7+ :date: 2024/02/04
8+
9+ .. change :: Fix scope ``state`` key handling
10+ :type: bugfix
11+ :pr: 3070
12+
13+ Fix a regression introduced in #2751 that would wrongfully assume the ``state ``
14+ key is always present within the ASGI Scope. This is *only * the case when the
15+ Litestar root application is invoked first, since we enforce such a key there,
16+ but the presence of that key is not actually guaranteed by the ASGI spec and
17+ some servers, such as hypercorn, do not provide it.
18+
19+
620.. changelog :: 2.5.4
7- :date: 2024-01- 31
21+ :date: 2024/01/ 31
822
923 .. change :: Handle ``KeyError`` when `root_path` is not present in ASGI scope
1024 :type: bugfix
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ maintainers = [
5757name = " litestar"
5858readme = " README.md"
5959requires-python = " >=3.8,<4.0"
60- version = " 2.5.4 "
60+ version = " 2.5.5 "
6161
6262[project .urls ]
6363Blog = " https://blog.litestar.dev"
You can’t perform that action at this time.
0 commit comments