diff --git a/docs/release-notes/changelog.rst b/docs/release-notes/changelog.rst index 2f98ce8249..3232c1c4dd 100644 --- a/docs/release-notes/changelog.rst +++ b/docs/release-notes/changelog.rst @@ -3,6 +3,29 @@ 2.x Changelog ============= +.. changelog:: 2.5.2 + :date: 2024/01/27 + + .. change:: Ensure ``MultiDict`` and ``ImmutableMultiDict`` copy methods return the instance's type + :type: bugfix + :pr: 3009 + :issue: 2549 + + Ensure :class:`~litestar.datastructures.MultiDict` and + :class:`~litestar.datastructures.ImmutableMultiDict` copy methods return a new + instance of ``MultiDict`` and ``ImmutableMultiDict``. Previously, these would + return a :class:`multidict.MultiDict` instance. + + .. change:: Ensure ``exceptiongroup`` is installed on Python 3.11 + :type: bugfix + :pr: 3035 + :issue: 3029 + + Add the `exceptiongroup `_ package + as a required dependency on Python ``<3.11`` (previously ``<3.10``) as a + backport of `Exception Groups `_ + + .. changelog:: 2.5.1 :date: 2024/01/18 diff --git a/pyproject.toml b/pyproject.toml index aaf87fc370..fec4959d43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ maintainers = [ name = "litestar" readme = "README.md" requires-python = ">=3.8,<4.0" -version = "2.5.1" +version = "2.5.2" [project.urls] Blog = "https://blog.litestar.dev" diff --git a/tools/prepare_release.py b/tools/prepare_release.py index e4669186e0..d3b7f41df6 100644 --- a/tools/prepare_release.py +++ b/tools/prepare_release.py @@ -212,7 +212,7 @@ class ChangelogEntryWriter: def __init__(self) -> None: self.text = "" self._level = 0 - self._indent = " " + self._indent = " " self._cc_type_map = {"fix": "bugfix", "feat": "feature"} def add_line(self, line: str) -> None: