Releases: infraguys/restalchemy
Releases · infraguys/restalchemy
15.0.1
15.0.0
Use orjson instead of json lib to speed-up (de)serializaton
14.7.0
Func tests: use xdist, create DB per each worker on the fly
14.6.0
What's Changed
- Remove urllib3 dependency by @phantomii in #63
- Add HTTP codes for RecordNotFound and ConflictRecords by @gmelikov in #74
Full Changelog: 14.5.0...14.6.0
14.5.0
Changes: - Documentation added/synced: multilingual docs (DE/EN/RU/ZH). - README updated with a PostgreSQL DATABASE_URI example.
14.4.1: Bugfix: Convert model without ID to string
Use __repr__() to print models without ID
14.4.0
14.3.0: Add dialect-aware savepoint support
Introduce a parameterized decorator and a context manager `savepoint`
that use SQL savepoints based on the current SQL dialect
(PostgreSQL or MySQL). Add helper dicts in the pgsql and mysql
dialect modules to generate savepoint syntax. Add unit tests
for `savepoint` in test_utils.py covering both
dialects and success/error scenarios.
Usage:
```
@savepoint()
def my_function():
pass
with savepoint() as session:
pass
```
14.2.0
What's Changed
- Support "NULLS FIRST/LAST" for "ORDER BY" SQL statements by @Kulv3r in #59
- Fix AND/OR WHERE-clause building by @Kulv3r in #60
- Fix: query params now join into "IN" SQL clause by @Kulv3r in #62
- Fix typo in AbstarctMigrationStep and support old variant by @gmelikov in #61
Full Changelog: 14.1.6...14.2.0
14.1.6: Fix tag for 14.1.5, Release Notes:
**Bug Fixes** - Pagination heavily refactored to support more corner cases like: - sort by UUID DESC - sort by default with page_limit=0/null - etc