Releases: litestar-org/advanced-alchemy
Releases · litestar-org/advanced-alchemy
v0.5.3
v0.5.2
v0.5.1
v0.5.0
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 inmodel_from_dict
by @cemrehancavdar in #78 - feat: add
get_and_update
to the repository and services by @cofin in #77 - feat:
upsert
andupsert_many
now supportmatch_fields
by @cofin in #79
New Contributors
- @abdulhaq-e made their first contribution in #75
- @cemrehancavdar made their first contribution in #78
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's New
When this attribute is set to True
, models are automatically deployed on startup by calling metadata.create_all
What's Changed
Full Changelog: v0.3.5...v0.4.0
v0.3.5
v0.3.4
v0.3.3
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
overIN
forpostgres
by @cofin in #60
New Contributors
- @sfermigier made their first contribution in #58
Full Changelog: v0.3.2...v0.3.3
v0.3.2
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