Releases: litestar-org/advanced-alchemy
Releases · litestar-org/advanced-alchemy
v0.27.1
What's Changed
- feat(docs): updated styling and docstrings by @cofin in #324
- docs: added information about accessing sessions by @Harshal6927 in #325
- feat: updated
advanced_alchemy.base
reference docs by @cofin in #327 - fix(docs): adjust title formatting for smaller screens by @cofin in #328
- chore: remove
.python-version
by @cofin in #329 - fix: correction for
3.8
and3.9
type hints by @cofin in #330
New Contributors
- @Harshal6927 made their first contribution in #325
Full Changelog: v0.27.0...v0.27.1
v0.27.0
What's Changed
- fix(typing): fix typing of id_attribute fields by @nightblure in #318
- feat: implement re-usable CLI by @cofin in #320
- feat: adds additional type guard helpers by @cofin in #322
- feat: initial doc revamp by @cofin in #323
New Contributors
- @nightblure made their first contribution in #318
Full Changelog: v0.26.2...v0.27.0
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