diff --git a/docs/changelog.rst b/docs/changelog.rst index 66de0957..a7f48d0c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,49 @@ 0.x Changelog ============= +.. changelog:: 0.29.0 + :date: 2025-01-17 + + .. change:: fully qualify all `datetime` module references + :type: bugfix + :pr: 341 + + All date time references are now full qualified to prevent any forward resolution issues with + + `from datetime import datetime` + + and + + `import datetime` + + .. change:: disabled `timezone` in alembic.ini + :type: bugfix + :pr: 344 + + Disabled `timezone` in alembic.ini to fix `alembic.util.exc.CommandError: Can't locate timezone: UTC` error while applying migrations + + Reference: + https://alembic.sqlalchemy.org/en/latest/tutorial.html#editing-the-ini-file + + .. change:: various typing improvements for services + :type: feature + :pr: 342 + :issue: 261 + + Improved typing in the service layer and adds a additional type guards. + + .. change:: Auto extend Flask CLI and add session integration + :type: feature + :pr: 111 + + The Advanced Alchemy alembic CLI is now auto-extended to your Flask application. + + The Flask extension now also has a session handling middleware for handling auto-commits. + + Last, but not least, there's an experimental async portal that integrates a long running asyncio loop for running async operations in Flask. Using `foo = portal.call()` you can get the result of an asynchronous function from a sync context. + + + .. changelog:: 0.28.0 :date: 2025-01-13 @@ -222,4 +265,4 @@ Examples of such fields are `ColumnClause` and `Label`, these are generated when using `sqlalchemy.func` - - Fix SQLAlchemy dto generation for litestar when using models that have fields that are not instances of `Column`. Such fields arise from using expressions such as `func`. + - Fix SQLAlchemy dto generation for litestar when using models that have fields that are not instances of `Column`. Such fields arise from using expressions such as `func`. \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 16f82723..12a0fdde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ maintainers = [ name = "advanced_alchemy" readme = "README.md" requires-python = ">=3.8" -version = "0.28.0" +version = "0.29.0" [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.28.0" +current_version = "0.29.0" 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 ff610059..31eb2986 100644 --- a/uv.lock +++ b/uv.lock @@ -11,7 +11,7 @@ resolution-markers = [ [[package]] name = "advanced-alchemy" -version = "0.28.0" +version = "0.29.0" source = { editable = "." } dependencies = [ { name = "alembic" },