Releases: litestar-org/advanced-alchemy
Releases · litestar-org/advanced-alchemy
v0.26.2
v0.26.1
v0.26.0
Announcement
There are only a few minor additions planned before releasing the first stable 1.0 release.
Please join the litestar discord if you have any major issues with the current functionality.
What's in the release?
- Models can now be assigned a
bind_key
. The allows you to have models for separate databases. To use, assign a__bind_key__
value (string based identifier) to your SQLAlchemy model. - Remove the need for a custom AlembicCommands class for Litestar. This will make implementing CLI support for Flask and FastAPI much easier
- Added
bind_key
to the SQLAlchemy configuration. This allows you to associate a registry/metadata with a specific configuration. - Implemented a
MetadataRegistry
class to manage all configured metadata's - Added the ability to override the
lazy
load options supplied on the models at the repository level - Added a default exception handler for the Litestar plugin
- Added
AsyncAttrs
to the built in declarative models - DTOs now support WriteOnlyMapped & DynamicMapped
- DTO configurations parameters for
exclude
,include
,rename_fields
will accept stringified column names or InstrumentedAttributes
Change Summary
- chore: additional documentation build updates by @cofin in #297
- fix: allow documentation indexing by @cofin in #299
- fix: more documentation updates by @cofin in #300
- fix: expose additional objects to documentation by @cofin in #301
- chore(deps): bump dawidd6/action-download-artifact from 6 to 7 by @dependabot in #304
- feat: additional loader configurations and re-organization by @cofin in #303
- feat:
AsyncAttrs
& removenoload
default by @cofin in #305 - feat:
litestar
DTO enhancements by @cofin in #310 - feat: add default exception handler for
litestar
integration by @cofin in #308 - feat!: allow override of
registry
for declarative bases by @cofin in #307
Full Changelog: v0.25.0...v0.26.0
v0.25.0
v0.24.0
v0.23.1
v0.23.0
v0.22.3
v0.22.2
What's Changed
- feat: Improved typing of
ModelDictT
by @vikigenius in #277 - fix: make sure
anyio
is optional by @cofin in #278 - feat: adds default load options at class definition by @cofin in #279
New Contributors
- @vikigenius made their first contribution in #277
Full Changelog: v0.22.1...v0.22.2