Changelog¶
0.18.0 (2026-03-13)¶
Features¶
Bug Fixes¶
0.17.0 (2026-03-13)¶
Features¶
0.15.1 (2026-02-16)¶
Bug Fixes¶
0.15.0 (2026-02-04)¶
Features¶
0.14.1 (2026-01-14)¶
Bug Fixes¶
work with latest sqlmodel which drops v1 (79920c6)
Documentation¶
0.14.0 (2025-10-16)¶
Features¶
Bug Fixes¶
handle tuples and Optionals in JSON mixin (1aa1018)
Documentation¶
0.13.0 (2025-09-05)¶
Features¶
rewritten lifecycle hooks that actually work (af4e6fe)
0.12.0 (2025-09-03)¶
Features¶
add ActiveModelFactory helpers for session management and typeid generation (a6b9915)
add base SQLModel and ActiveModel polyfactory factories (12a5e1d)
add one_or_none method to BaseModel for safe queries (7574777)
add pytest db_session fixture (22d2ad8)
add scalar method to QueryWrapper and return from delete (3d68097)
add SQLAlchemy protocol generation script (6e4524e)
add test_session context manager for test DB interactions (d7a8112)
export test_session from activemodel.pytest (9bf692a)
pytest: omit truncation tables, truncation db fixture (f20f17e)
support engine options (9b00ecd)
support passing session to global_session context manager (567708a)
Bug Fixes¶
add return type to ActiveModelFactory save method (96f4a0a)
add ruff link + check on autogenerated types (91ae5ea)
allow reentrant global_session when using same session reference (d4d7949)
clarify duplicate TypeID prefix error message (a73c221)
prevent factories from setting timestamp fields by default (5d78745)
Documentation¶
added related issue (3c47e60)
clarify session management and querying in usage section (cdadaff)
connection pool tip (5d92b99)
fix JSONB usage in example and clarify imports in README (386e69d)
improve base model tablename docstring (de98cbc)
pytest: clarify ActiveModelFactory.save behavior with relationships and truncation (6ee2cbe)
typeid: clarify exception on invalid UUID string (bf13a7e)
update TODOs for testing, constraints, and unique key suggestions (6010f8f)
0.11.0 (2025-04-05)¶
Features¶
Bug Fixes¶
typing on upsert properly returns self (8965113)
Documentation¶
0.10.0 (2025-04-01)¶
Features¶
Bug Fixes¶
use sa_column default instead of sqlmodel (37e299d)
Documentation¶
enhance docstrings in BaseModel for clarity (12a5dee)
0.9.0 (2025-03-26)¶
Features¶
Bug Fixes¶
use set_committed_value in PydanticJSONMixin (5446204)
Documentation¶
update TODOs and correct typeid return value (52b2514)
0.8.0 (2025-03-18)¶
Features¶
Bug Fixes¶
yield session object in global_session function (47b33cc)
Documentation¶
0.7.0 (2025-02-08)¶
Features¶
migrations: add test to validate autogenerated migrations (03e0511)
Bug Fixes¶
Documentation¶
0.6.0 (2025-02-08)¶
Features¶
add active model meta functionality with comments (4180df7)
add Celery encoder for TypeID serialization (416b04a)
add data initialization on model load (00a90ce)
add field comments to SQLModel metadata (c32bb9a)
add initial TypeIDType import to init.py (8594dff)
add JSON serialization for Pydantic models (1213f2f)
add playground script for interactive database testing (fbe419a)
add soft deletion mixin for model handling (2e24e26)
add TypeID validation and refactor TypeIDType (5a2a49e)
add utility to import all SQLModel subclasses (e850016)
enforce unique non-empty prefixes in TypeIDMixin (a167293)
enhance foreign key handling and add validation (61d5849)
enhance query handling and testing in ORM (363c0dd)
enhance schema handling with new json schema generation (3ba47b6)
enhance session management and JSON serialization (c74804b)
handle dict annotations in PydanticJSONMixin (085c6a9)
integrate field description as SQL comment (cd98fe4)
integrate table comment extraction for models (b7b9722)
integrate TypeID with Pydantic schema handling (ab7ded9)
patch FieldInfo for comment support (e85d154)
test: enhance ORM tests and introduce QueryWrapper test (be98abb)
Bug Fixes¶
Documentation¶
0.5.0 (2024-11-28)¶
Features¶
add methods for finding or creating records in model (f1fd2f2)
0.4.0 (2024-11-26)¶
Bug Fixes¶
update uv version to 0.5.4 (1d77c39)
Features¶
add database truncation functionality for tests (177abf9)
add FastAPISessionMaker for SQLAlchemy session management (b80f045)
add mixins for timestamps and TypeID handling (51a6128)
add python-decouple-typed as a dependency (d495ad4)
add typeid-python dependency to project requirements (998762f)
implement database reset methods for tests (9cec29d)
lots of stuff :) (0510d20)
0.3.0 (2024-11-20)¶
Features¶
add inspiration section to README and update TODO (b11fb09)
0.2.0 (2024-11-16)¶
Bug Fixes¶
update uv version and rename test file location (9389fd2)