diff --git a/docs/changelog.rst b/docs/changelog.rst index c8186bfa..258ad5f6 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,32 @@ 0.x Changelog ============= +.. changelog:: 0.30.3 + :date: 2025-01-26 + + .. change:: add `wrap_exceptions` option to exception handler. + :type: feature + :pr: 363 + :issue: 356 + + When `wrap_exceptions` is `False`, the original SQLAlchemy error message will be raised instead of the wrapped Repository error + + Fixes #356 (Bug: `wrap_sqlalchemy_exception` masks db errors) + + .. change:: simplify configuration hash + :type: feature + :pr: 366 + + The hashing method on the SQLAlchemy configs can be simplified. This should be enough to define a unique configuration. + + .. change:: use `lifespan` context manager in Starlette and FastAPI + :type: bugfix + :pr: 368 + :issue: 367 + + Modifies the Starlette and FastAPI integrations to use the `lifespan` context manager instead of the `startup`\`shutdown` hooks. If the application already has a lifespan set, it is wrapped so that both execute. + + .. changelog:: 0.30.2 :date: 2025-01-21 diff --git a/pyproject.toml b/pyproject.toml index 30aa8b7c..0fbce151 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ maintainers = [ name = "advanced_alchemy" readme = "README.md" requires-python = ">=3.8" -version = "0.30.2" +version = "0.30.3" [project.urls] Changelog = "https://docs.advanced-alchemy.litestar.dev/latest/changelog" @@ -168,7 +168,7 @@ test = [ allow_dirty = true commit = true commit_args = "--no-verify" -current_version = "0.30.2" +current_version = "0.30.3" ignore_missing_files = false ignore_missing_version = false message = "chore(release): bump to v{new_version}" diff --git a/uv.lock b/uv.lock index 73e385c7..77f34301 100644 --- a/uv.lock +++ b/uv.lock @@ -11,7 +11,7 @@ resolution-markers = [ [[package]] name = "advanced-alchemy" -version = "0.30.2" +version = "0.30.3" source = { editable = "." } dependencies = [ { name = "alembic" },