Advanced-alchemy

Latest version: v1.0.1

Safety actively analyzes 722032 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.32.2

:date: 2025-02-26

.. change:: Litestar extension: Use ``SerializationPlugin`` instead of ``SerializationPluginProtocol``
:type: misc
:pr: 401

Use ``SerializationPlugin`` instead of ``SerializationPluginProtocol``

0.32.1

:date: 2025-02-26

.. change:: Litestar extension: Use ``CLIPlugin`` instead of ``CLIPluginProtocol``
:type: misc
:pr: 399

Internal change migrating from using Litestar's ``CLIPluginProtocol`` to
``CLIPlugin``.

0.32.0

:date: 2025-02-23

.. change:: remove `limit` and `offset` from count statement
:type: bugfix
:pr: 395

Remove `limit` and `offset` from count statement

.. change:: rename `force_basic_query_mode`
:type: misc
:pr: 396

Renames `force_basic_query_mode` to `count_with_window_function`. This is also exposed as a class/init parameter for the service and repository.

.. change:: add Enum to default type decoders
:type: feature
:pr: 397

Extends the default `msgspec` type decoders to handle Enum types by converting them to their underlying value during serialization

0.31.0

:date: 2025-02-18

.. change:: Fix reference in `changelog.py`
:type: bugfix
:pr: 383

Should link to the AA repo, not litestar :)

.. change:: Query repository list method for custom queries
:type: bugfix
:pr: 379
:issue: 338

Fix query repositories list method according to [documentation](https://docs.advanced-alchemy.litestar.dev/latest/usage/repositories.html#query-repository).

Now its return a list of tuples with values instead of first column of the query.

.. change:: remove 3.8 support
:type: misc
:pr: 386

Removes 3.8 support and removes future annotations in a few places for better compatibility

.. change:: remove future annotations
:type: feature
:pr: 387

This removes the usage of future annotations.

.. change:: add `uniquify` to service and repo
:type: feature
:pr: 389

Exposes the `uniquify` flag in all functions on the repository and add to the service

.. change:: improved default serializer
:type: feature
:pr: 390

Improves the default serializer so that it handles various types a bit better

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.

0.30.2

:date: 2025-01-21

.. change:: add hash to config classes
:type: feature
:pr: 358
:issue: 357

Adds hash function to `SQLAlchemySyncConfig` and `SQLAlchemyAsyncConfig` classes.

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.