Skip to content

Releases: litestar-org/advanced-alchemy

v0.5.3

31 Oct 16:07
15a7d76
Compare
Choose a tag to compare

What's Changed

  • feat: enable flask support by @cofin in #86

Full Changelog: v0.5.2...v0.5.3

v0.5.2

31 Oct 02:18
103f9bf
Compare
Choose a tag to compare

What's Changed

  • feat: re-export modules to make importing easier by @cofin in #81
  • fix: adds greenlet as a dependencies for Mac OS by @cofin in #84
  • feat: adds a get_session function to the config by @cofin in #83

Full Changelog: v0.5.1...v0.5.2

v0.5.1

28 Oct 03:52
da03540
Compare
Choose a tag to compare

What's Changed

  • feat: add simple_asdict and use the ASGI lifecycle to manage state on restart by @cofin in #80

Full Changelog: v0.5.0...v0.5.1

v0.5.0

27 Oct 16:31
4caadbf
Compare
Choose a tag to compare

What's Changed

  • fix: sqlalchemy dto for models non Column fields by @abdulhaq-e in #75
  • docs: add odbc note to contributing guide by @abdulhaq-e in #76
  • fix: reference column names from Mapper object in model_from_dict by @cemrehancavdar in #78
  • feat: add get_and_update to the repository and services by @cofin in #77
  • feat: upsert and upsert_many now support match_fields by @cofin in #79

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

24 Oct 02:50
090725a
Compare
Choose a tag to compare

What's New

  • feat: add create_all configuration parameter for Litestar by @cofin in #70

When this attribute is set to True, models are automatically deployed on startup by calling metadata.create_all

What's Changed

  • feat: verify the service has an identity before updating. by @cofin in #71

Full Changelog: v0.3.5...v0.4.0

v0.3.5

23 Oct 20:57
cef8745
Compare
Choose a tag to compare

What's Changed

  • fix: service exists should use exists from repository by @cofin in #68
  • feat: deprecate get_or_create in favor of get_or_upsert by @cofin in #69
  • fix: do not set id with item_id when None by @cofin in #67

Full Changelog: v0.3.4...v0.3.5

v0.3.4

19 Oct 14:17
f40e497
Compare
Choose a tag to compare

What's Changed

  • chore: remove commented line from code example by @cofin in #63
  • chore: optimized test build & coverage collection by @cofin in #61
  • fix: better handle empty collection filters by @cofin in #62

Full Changelog: v0.3.3...v0.3.4

v0.3.3

18 Oct 14:22
5f91dab
Compare
Choose a tag to compare

What's New?

The Postgres dialect now prefers to use an ANY instead of an IN for filtering a collection for results.

Example:

Here is the normal SQL that would have previously been generated:

select id
from my_table
where id in (:1, :2, :3, ...)

Here is the updated pattern that is used now.

select id
from my_table
where id = ANY(:1)

This has the additional benefit of allowing us to avoid hitting the max bind parameters values of the engine.

This functionality can be disabled by setting the prefer_any_dialects repository variable to None or ().

What's Changed

  • chore: include a services example in the README by @cofin in #56
  • chore: fix examples in README.md by @sfermigier in #58
  • chore: add sonarcloud to CI by @cofin in #57
  • feat: prefer ANY over IN for postgres by @cofin in #60

New Contributors

Full Changelog: v0.3.2...v0.3.3

v0.3.2

15 Oct 21:53
65d8876
Compare
Choose a tag to compare

What's Changed

  • feat: configurable autocommit handler factory function for Litestar plugin by @geeshta in #50
  • fix: CollectionFilter returns all entries if values is empty by @cofin in #52
  • fix: correct assertion for test case by @cofin in #55
  • chore: updated README.md by @cofin in #53
  • feat: add support for cockroachdb by @cofin in #48

New Contributors

Full Changelog: v0.3.1...v0.3.2

v0.3.1

09 Oct 14:27
46d3e7a
Compare
Choose a tag to compare

What's Changed

  • feat: consolidate litestar extension imports by @cofin in #49

Full Changelog: v0.3.0...v0.3.1