Skip to content

Commit e1e16b1

Browse files
authored
chore(release): bump to v1.9.3 (#708)
1 parent 3ee6d6d commit e1e16b1

3 files changed

Lines changed: 18 additions & 5 deletions

File tree

docs/changelog.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
1.x Changelog
44
=============
55

6+
.. changelog:: 1.9.3
7+
:date: 2026-04-08
8+
9+
.. change:: prevent session cleanup from masking original exceptions
10+
:type: bugfix
11+
:pr: 704
12+
:issue: 705
13+
14+
- Replace `BaseHTTPMiddleware` with pure ASGI `SessionMiddleware` in Starlette/FastAPI extension — fixes timing issue where `response_status` wasn't set before generator cleanup
15+
- Protect session cleanup (commit/rollback/close) across **all** framework extensions so cleanup failures never mask the original route handler exception
16+
- Each cleanup operation is individually wrapped; when an original exception exists, cleanup errors are logged but suppressed
17+
18+
619
.. changelog:: 1.9.2
720
:date: 2026-04-03
821

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ maintainers = [
4646
name = "advanced_alchemy"
4747
readme = "docs/PYPI_README.md"
4848
requires-python = ">=3.9"
49-
version = "1.9.2"
49+
version = "1.9.3"
5050

5151
[project.urls]
5252
Changelog = "https://advanced-alchemy.litestar.dev/latest/changelog"
@@ -178,7 +178,7 @@ test = [
178178
allow_dirty = true
179179
commit = false
180180
commit_args = "--no-verify"
181-
current_version = "1.9.2"
181+
current_version = "1.9.3"
182182
ignore_missing_files = false
183183
ignore_missing_version = false
184184
message = "chore(release): bump to v{new_version}"

uv.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)