Skip to content

Releases: infraguys/restalchemy

15.0.1

26 Jan 07:51

Choose a tag to compare

Add AnySimpleType to base types

15.0.0

20 Jan 19:35

Choose a tag to compare

Use orjson instead of json lib to speed-up (de)serializaton

14.7.0

16 Jan 08:55

Choose a tag to compare

Func tests: use xdist, create DB per each worker on the fly

14.6.0

30 Dec 10:45

Choose a tag to compare

What's Changed

Full Changelog: 14.5.0...14.6.0

14.5.0

23 Dec 12:57
bbb7044

Choose a tag to compare

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

17 Dec 20:38

Choose a tag to compare

Use __repr__() to print models without ID

14.4.0

16 Dec 06:19

Choose a tag to compare

What's Changed

  • Openapi: use to_simple_type() to get default values of types by @gmelikov in #68
  • Bump urllib3 to secure version by @gmelikov in #69
  • types_dynamic: return verbose error about validation by @gmelikov in #70

Full Changelog: 14.3.0...14.4.0

14.3.0: Add dialect-aware savepoint support

05 Dec 19:16

Choose a tag to compare

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

18 Sep 11:08

Choose a tag to compare

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:

20 Aug 09:05
803ef19

Choose a tag to compare

**Bug Fixes**
- Pagination heavily refactored to support more corner cases like:
  - sort by UUID DESC
  - sort by default with page_limit=0/null
  - etc