v0.3.0
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()andtake()functions. - Custom exceptions for different cases.
Enhancements
- Enhanced support for retrieving models with composite primary keys using the
get()andget_or_fail()methods. - Replaced
inspect(cls).mapperwith__mapper__. - Attribute validation in the
fill()method. - New types for columns and attributes.
Fixed
- Improved
docstringsand code formatting. - Fixed examples and documentation.
- Using the
select_columnsargument ofgroup_bymethod was replacing the query by a new one.