Releases: litestar-org/advanced-alchemy
Release list
v1.11.0
What's changed
New features 🚀
- feat(types): enhance crypto column types and add TOTP/OTP storage by @cofin in #758
- feat(types): dialect-aware Vector distance operators by @cofin in #756
- feat(service): allow
delete_manyto accept model instances (#654) by @cofin in #752 - feat(service): add configurable schema dump settings by @cofin in #750
- feat: add choices and boolean filters by @AgentGoose32 in #723
- feat(types): add Oracle 23c-aware Bool by @cofin in #742
- feat(types): swap ORA_JSONB to native oracle.JSON on SA 2.1+ by @cofin in #741
- feat(types): dialect-aware Vector column type by @cofin in #739
- feat(litestar): Upgrade deprecated param specifications by @provinzkraut in #746
Bugfixes 🐛
- fix(typing): deprecate
DictProtocolpublic export by @cofin in #757 - fix(fastapi): support Typer 0.26 CLI registration by @cofin in #748
New contributors 🎉
- @AgentGoose32 made their first contribution in #723
Other changes
- docs(mixins): document sort_order column ordering (#584) by @cofin in #753
- docs: document custom non-autogenerated primary keys (#649) by @cofin in #754
- docs: index repository classes in objects.inv (#729) by @cofin in #751
- docs(types): document GUID storage and UUIDv7 by @cofin in #743
- docs(litestar): correct and test server-side session backend docs by @cofin in #749
- refactor: extract provider dependency utilities by @cofin in #721
Full Changelog
v1.10.0...v1.11.0
v1.10.0
What's changed
New features 🚀
- feat: configurable serialization with Protocol-based architecture by @cofin in #716
- feat(litestar): Update to new-style parameter markers by @provinzkraut in #736
- feat: Add support for UUID6 and UUID7 based on Python version by @lajxw in #714
- feat: deprecate
list()/list_and_count()by @cofin in #706
Bugfixes 🐛
- fix: register session listeners in framework extension configs by @hasansezertasan in #712
- fix: docs preview workflow by @Harshal6927 in #718
- fix(config): add cache_config field to SQLAlchemy configs by @hasansezertasan in #731
New contributors 🎉
Other changes
- test: migrate object storage tests to rustfs by @cofin in #732
- refactor: centralize optional-dependency typing shims by @cofin in #719
Full Changelog
v1.9.3...v1.10.0
v1.9.3
v1.9.2
What's changed
Bugfixes 🐛
- fix: InvalidRequestError when calling create_session_maker by @Harshal6927 and @cofin in #701
Full Changelog
v1.9.1...v1.9.2
v1.9.1
What's changed
Bugfixes 🐛
- fix: add missing Any import to alembic migration templates by @Harshal6927 in #697
Full Changelog
v1.9.0...v1.9.1
v1.9.0
What's changed
After 2 beta releases, Advanced Alchemy 1.9.0 is here! This release is packed with enhancements and bug fixes.
A few of the highlights:
- SQLModel models now work seamlessly with repositories and services
- Read/write replica routing makes scaling across primary and replica databases first-class
- Dogpile caching support
- Composite PK support in repositories
- ...and tons more.
New features 🚀
- feat: add SQLModel compatibility by @cofin in #686
- feat(repository): add composite primary key support by @cofin in #640
- feat: refactor serializers & code cleanup by @cofin in #661
- feat(#536): add support .csv files for open_fixture by @HairlessVillager in #615
- feat: initial support for dogpile caching by @cofin in #636
- feat: add read/write replica routing support by @cofin in #635
- feat: add NullFilter/NotNullFilter and with_for_update to get_one methods by @cofin in #638
Bugfixes 🐛
- fix: add
was_attribute_set()guard to relationship loop inupdate()by @sohbit in #685 - fix: nullable relationship detection and FileObject nested metadata by @cofin in #679
- fix: make
model_from_dictmodel parameter positional-only by @cofin in #673 - fix: use typing.List to avoid list() method shadowing on Python 3.14 by @cofin in #674
- fix(litestar): isolate in-filter query params for multi-field depende… by @hasansezertasan in #667
- fix(litestar DTO): Ensure ORM descriptor fields are not evaluated during DTO creation by @provinzkraut in #664
- fix: recursively convert nested dicts in model_from_dict by @cofin in #637
- fix: add click compatibility layer for CLI alias support by @cofin in #645
- fix(fastapi): resolve session lifecycle timing with generator dependencies by @cofin in #648
- fix: complete SQLAlchemy inheritance pattern support (STI, JTI, CTI) by @cofin in #611
- fix: add a call
set_async_contextto_get_session_from_requestin Sanic extension by @AlexPetul in #643 - fix: linting changes related to latest Starlette by @cofin in #634
- refactor(listeners): clean up listeners by @cofin in #663
New contributors 🎉
- @sohbit made their first contribution in #685
- @HairlessVillager made their first contribution in #615
- @apejcic made their first contribution in #629
- @AlexPetul made their first contribution in #643
- @hasansezertasan made their first contribution in #667
Full Changelog
v1.8.2...v1.9.0
v1.9.0b2
What's Changed
- fix: add
was_attribute_set()guard to relationship loop inupdate()by @sohbit in #685 - feat: add SQLModel compatibility by @cofin in #686
- docs: verify services by @Harshal6927 in #619
New Contributors
Full Changelog: v1.9.0b1...v1.9.0b2
v1.9.0b1
1.9 - BETA 1
v1.9 is finally here! This is a feature packed release and may bring the most new features since the initial launch.
We have have been testing various iterations of these features over the last few months, and we are ready for additional users. Docs are still slim for the new components, but we expect them to be complete before release 1.9 stable.
New features include:
- CSV fixture loading
- Improved DTO handling
- New filters
- Dogpile Caching Support
- Multi-node configuration support for read replica optimized services.
- and more...
What's Changed
- chore(docs): fix project docs link in README.md by @apejcic in #629
- fix: linting changes related to latest Starlette by @cofin in #634
- feat: add NullFilter/NotNullFilter and with_for_update to get_one methods by @cofin in #638
- fix: add a call
set_async_contextto_get_session_from_requestin Sanic extension by @AlexPetul in #643 - fix: complete SQLAlchemy inheritance pattern support (STI, JTI, CTI) by @cofin in #611
- feat: add read/write replica routing support by @cofin in #635
- fix(fastapi): resolve session lifecycle timing with generator dependencies by @cofin in #648
- fix: add click compatibility layer for CLI alias support by @cofin in #645
- fix: recursively convert nested dicts in model_from_dict by @cofin in #637
- feat: initial support for dogpile caching by @cofin in #636
- feat(#536): add support .csv files for open_fixture by @HairlessVillager in #615
- fix(litestar DTO): Ensure ORM descriptor fields are not evaluated during DTO creation by @provinzkraut in #664
- feat: refactor serializers & code cleanup by @cofin in #661
- docs: fix broken link of documentation by @Kumzy in #669
- docs: remove sphinx-toolbox incompatible with sphinx 8 by @Kumzy in #671
- refactor(listeners): clean up listeners by @cofin in #663
- fix(litestar): isolate in-filter query params for multi-field depende… by @hasansezertasan in #667
- fix: use typing.List to avoid list() method shadowing on Python 3.14 by @cofin in #674
- fix: make
model_from_dictmodel parameter positional-only by @cofin in #673 - feat(repository): add composite primary key support by @cofin in #640
- fix: nullable relationship detection and FileObject nested metadata by @cofin in #679
New Contributors
- @apejcic made their first contribution in #629
- @AlexPetul made their first contribution in #643
- @HairlessVillager made their first contribution in #615
- @hasansezertasan made their first contribution in #667
Full Changelog: v1.8.2...v1.9.0b1
v1.8.2
What's changed
New features 🚀
Bugfixes 🐛
- fix: import error while generating migrations by @renjianguo666 in #630
- fix: add missing type parameter to AsyncServiceT_co and SyncServiceT_… by @mattm-tails in #612
New contributors 🎉
- @mattm-tails made their first contribution in #612
- @renjianguo666 made their first contribution in #630
Full Changelog
v1.8.1...v1.8.2
v1.8.1
What's changed
Bugfixes 🐛
- fix: pin default installed python to 3.10 by @cofin in #601
- fix: adding string representation to PasswordHash and EncryptedString by @Harshal6927 in #598
- fix: error message handling and isolation in repositories by @cofin in #605
- fix: correct race condition in
with_for_updateby @cofin in #607 - fix: update documentation URLs to
advanced-alchemy.devby @cofin in #609
New contributors 🎉
Other changes
- docs: verify modeling by @Harshal6927 in #614
- docs: Fix typo in modeling.rst regarding declarative bases by @Foxerine in #616
- docs: verify repositories by @Harshal6927 in #617
Full Changelog
v1.8.0...v1.8.1