Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 22 Feb 19:55
· 71 commits to main since this release

0.3.0 (2025-02-22)

Introduced context manager functionality to use temporary records, custom exceptions, and validation improvements. Enhanced ORM handling, added new column types, refined documentation and formatted code.

Added

  • Context manager functionality.
  • Introduced distinct() and take() functions.
  • Custom exceptions for different cases.

Enhancements

  • Enhanced support for retrieving models with composite primary keys using the get() and get_or_fail() methods.
  • Replaced inspect(cls).mapper with __mapper__.
  • Attribute validation in the fill() method.
  • New types for columns and attributes.

Fixed

  • Improved docstrings and code formatting.
  • Fixed examples and documentation.
  • Using the select_columns argument of group_by method was replacing the query by a new one.