File tree Expand file tree Collapse file tree 3 files changed +38
-3
lines changed
Expand file tree Collapse file tree 3 files changed +38
-3
lines changed Original file line number Diff line number Diff line change 332.x Changelog
44=============
55
6+ .. changelog :: 2.15.2
7+ :date: 2025-04-06
8+
9+ .. change :: Events: Fix error handling for synchronous handlers
10+ :type: bugfix
11+ :pr: 4045
12+
13+ Fix a bug where exceptions weren't handled correctly on synchronous event handlers,
14+ and would result in another exception.
15+
16+ .. code-block :: python
17+
18+ @listener (" raise_exception" )
19+ def raise_exception_if_odd (value ) -> None :
20+ if value is not None and value % 2 != 0 :
21+ raise ValueError (f " { value} is odd " )
22+
23+ Would raise an ``AttributeError: 'AsyncCallable' object has no attribute '__name__'. Did you mean: '__ne__'? ``
24+
25+ .. change :: Fix wrong order of arguments in FileSystemAdapter passed to ``open`` fsspec file system
26+ :type: bugfix
27+ :pr: 4049
28+
29+ The order of arguments of various fsspec implementations varies, causing ``FileSystemAdapter.open `` to fail in
30+ different ways. This was fixed by always passing arguments as keywords to the file system.
31+
32+ .. change :: Correctly handle ``typing_extensions.TypeAliasType`` on ``typing-extensions>4.13.0``
33+ :type: bugfix
34+ :pr: 4089
35+ :issue: 4088
36+
37+ Handle the diverging ``TypeAliasType `` introduced in typing-extensions ``4.13.0 ``; This type is no longer
38+ backwards compatible, as it is a distinct new type from ``typing.TypeAliasType ``
39+
40+
641.. changelog :: 2.15.1
742 :date: 2025-02-27
843
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ maintainers = [
6363name = " litestar"
6464readme = " README.md"
6565requires-python = " >=3.8,<4.0"
66- version = " 2.15.1 "
66+ version = " 2.15.2 "
6767
6868[project .urls ]
6969Blog = " https://blog.litestar.dev"
You can’t perform that action at this time.
0 commit comments