Release notes

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

This project uses towncrier and the changes for the upcoming release can be found in https://github.com/fedora-infra/sqlalchemy-helpers/tree/develop/news/.

Version 0.13.0

Released on 2023-11-16. This is a feature release that adds customization of the model base class.

Features

  • Allow customization of the model base class (bc26cd3).

Version 0.12.1

Released on 2023-10-12. This is a minor release that adds docs and development improvements

Development Improvements

  • Automatically publish to PyPI and release (c572657).

Documentation Improvements

  • Release notes: show dependency changes further down the page (499ec7a).

  • Convert the release notes to Markdown (841e1fb).

Version 0.12.0

Released on 2023-08-09. This is a feature release that adds MySQL/MariaDB support in the async mode.

Features

  • Add support for MySQL/MariaDB in the async mode (#325).

Bug Fixes

  • The psycopg driver raises a ProgrammingError where sqlite raises an OperationalError (469d9c7).

Dependency Changes

  • Fix a minor compatibility issue with SQLAlchemy 2.0 (3f379e2).

  • Support Pydantic 2.0+ and Pydantic Settings (#323).

Version 0.11.0

Released on 2023-06-23. This is a major release that adds AsyncIO and FastAPI support.

Dependency Changes

  • Drop the query_property as it is considered legacy by SQLAlchemy. Instead, add get_by_pk() and get_one() methods (2702667).

  • Fix compatibility with Flask 2.3 and above (6040394).

Features

  • Support for asyncio-based connections, and FastAPI integration (#317).

  • Allow passing extra arguments to create_engine() and create_async_engine() (#319).