Skip to content

Releases: litestar-org/advanced-alchemy

v0.29.1

17 Jan 05:19
Compare
Choose a tag to compare

What's changed

Sorry for the back to back releases. This includes a DX improvement that was meant to be included in v0.29.0. There's no additional functionality other than the additional "crud" specific to_model methods on the service are now available.

New features 🚀

  • feat: add convenience hooks for to_model operations by @cofin in #347

Full Changelog
v0.29.0...v0.29.1

v0.29.0

17 Jan 03:54
Compare
Choose a tag to compare

Whats New

This release is primarily focused on documentation, typing improvements, and an all new native Flask integration.

New contributors 🎉

Bugfixes 🐛

  • fix: fully qualify all datetime module references by @cofin in #341
  • fix: disabled timezone in alembic.ini by @Harshal6927 in #344

New features 🚀

  • feat: various typing improvements for services by @cofin in #342
  • feat(flask): Auto extend Flask CLI and add session integration by @cofin in #111

Other changes

  • docs: clarifications to services and modeling docs by @sloria in #345

Full Changelog
v0.28.0...v0.29.0

v0.28.0

13 Jan 19:11
Compare
Choose a tag to compare

What's changed

This release adds a new optional --bind-key option to the CLI. When used, it will only use that specific engine for applying alembic migrations.

New contributors 🎉

New features 🚀

  • feat(cli): add bind-key option to CLI by @cofin in #339

Document and Bugfixes 🐛

  • docs: added information about accessing sessions by @Harshal6927 in #325
  • docs: update color theme to match litestar by @Kumzy in #334
  • docs: add types documentation by @Kumzy in #335
  • docs: Add doc for creating a custom model by @Kumzy in #333

Full Changelog
v0.27.1...v0.28.0

v0.27.1

11 Jan 02:24
Compare
Choose a tag to compare

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 and 3.9 type hints by @cofin in #330

New Contributors

Full Changelog: v0.27.0...v0.27.1

v0.27.0

08 Jan 21:40
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.26.2...v0.27.0

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