Skip to content

Releases: litestar-org/advanced-alchemy

v0.26.2

16 Dec 15:36
Compare
Choose a tag to compare

What's Changed

  • feat: add error_messages as class level configuration by @cofin in #315

Full Changelog: v0.26.1...v0.26.2

v0.26.1

11 Dec 15:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.26.0...v0.26.1

v0.26.0

05 Dec 19:23
Compare
Choose a tag to compare

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 & remove noload 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

27 Nov 20:52
1eb624a
Compare
Choose a tag to compare

What's Changed

  • feat: add max length for encrypted string by @cofin in #290

Full Changelog: v0.24.0...v0.25.0

v0.24.0

15 Nov 00:14
Compare
Choose a tag to compare

What's Changed

  • feat: remove lambda statement usage by @cofin in #288

Full Changelog: v0.23.1...v0.24.0

v0.23.1

11 Nov 23:25
74ac9f9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.23.0...v0.23.1

v0.23.0

11 Nov 16:01
Compare
Choose a tag to compare

What's Changed

  • feat: lambda statement optimizations by @cofin in #284

Full Changelog: v0.22.3...v0.23.0

v0.22.3

07 Nov 23:03
4f2a345
Compare
Choose a tag to compare

What's Changed

  • fix: typing hint adjustment for service.typing by @cofin in #282

Full Changelog: v0.22.2...v0.22.3

v0.22.2

04 Nov 16:58
328bad0
Compare
Choose a tag to compare

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

Full Changelog: v0.22.1...v0.22.2

v0.22.1

28 Oct 18:40
885827b
Compare
Choose a tag to compare

What's Changed

  • fix: use collection.abc.Sequence instead of typing.Sequence by @cofin in #273
  • fix: regression caused by conditional import Sequence for pagination.py by @noamsto in #274

Full Changelog: v0.22.0...v0.22.1