Skip to content

Commit 1e017f6

Browse files
committed
Update CHANGELOG for 0.11.4
Bump version: 0.11.3 → 0.11.4
1 parent 47a69b6 commit 1e017f6

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## v0.11.4 - 2024-11-25
4+
5+
### Miscellaneous
6+
7+
- Fix up return type hint for CorsPostHook [[47a69b6](https://github.com/NRWLDev/starlette-problem/commit/47a69b66e67f3359e9bb3b1f4c9ebde631b4e9b3)]
8+
39
## v0.11.3 - 2024-11-25
410

511
### Miscellaneous

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "starlette-problem"
3-
version = "0.11.3"
3+
version = "0.11.4"
44
description = "Starlette support for RFC9457 problems."
55
authors = [
66
{name = "Daniel Edgecombe", email = "[email protected]"},
@@ -54,7 +54,7 @@ dev = [
5454
]
5555

5656
[tool.changelog_gen]
57-
current_version = "0.11.3"
57+
current_version = "0.11.4"
5858
reject_empty = true
5959
statistics = true
6060
allowed_branches = [

src/starlette_problem/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class CorsPostHook:
114114
def __init__(self: t.Self, config: CorsConfiguration) -> None:
115115
self.config = config
116116

117-
def __call__(self: t.Self, content: dict, request: Request, response: Response) -> [dict, Response]:
117+
def __call__(self: t.Self, content: dict, request: Request, response: Response) -> tuple[dict, Response]:
118118
# Since the CORSMiddleware is not executed when an unhandled server exception
119119
# occurs, we need to manually set the CORS headers ourselves if we want the FE
120120
# to receive a proper JSON 500, opposed to a CORS error.

0 commit comments

Comments
 (0)