Skip to content

Commit

Permalink
v2.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
provinzkraut committed Feb 4, 2024
1 parent 5b7d2dc commit f8d0319
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion docs/release-notes/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,22 @@
2.x Changelog
=============

.. changelog:: 2.5.5
:date: 2024/02/04

.. change:: Fix scope ``state`` key handling
:type: bugfix
:pr: 3070

Fix a regression introduced in #2751 that would wrongfully assume the ``state``
key is always present within the ASGI Scope. This is *only* the case when the
Litestar root application is invoked first, since we enforce such a key there,
but the presence of that key is not actually guaranteed by the ASGI spec and
some servers, such as hypercorn, do not provide it.


.. changelog:: 2.5.4
:date: 2024-01-31
:date: 2024/01/31

.. change:: Handle ``KeyError`` when `root_path` is not present in ASGI scope
:type: bugfix
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ maintainers = [
name = "litestar"
readme = "README.md"
requires-python = ">=3.8,<4.0"
version = "2.5.4"
version = "2.5.5"

[project.urls]
Blog = "https://blog.litestar.dev"
Expand Down

0 comments on commit f8d0319

Please sign in to comment.