d3vyce
5215b921ae
fix: facet keys always use full relation chain ( #190 )
2026-03-27 18:56:58 +01:00
d3vyce
29326ab532
perf: batch insert fixtures ( #188 )
2026-03-26 20:29:25 +01:00
d3vyce
04afef7e33
feat(fixtures): fixtures multi-variant contexts, custom Enum support, and context-filtered loading ( #187 )
2026-03-26 20:19:41 +01:00
d3vyce
666c621fda
fix: create_db_session commits via real transaction, not savepoint ( #184 )
2026-03-26 19:57:40 +01:00
460b760fa4
Version 2.4.3
2026-03-26 07:58:32 -04:00
dependabot[bot]
65d0b0e0b1
⬆ Bump ty from 0.0.23 to 0.0.25 ( #178 )
...
* ⬆ Bump ty from 0.0.23 to 0.0.25
Bumps [ty](https://github.com/astral-sh/ty ) from 0.0.23 to 0.0.25.
- [Release notes](https://github.com/astral-sh/ty/releases )
- [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ty/compare/0.0.23...0.0.25 )
---
updated-dependencies:
- dependency-name: ty
dependency-version: 0.0.25
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix: ty warnings
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: d3vyce <nicolas.sudres@proton.me >
2026-03-26 12:57:29 +01:00
d3vyce
b4eb4c1ca9
fix: force auto-begin in create_db_dependency so lock_tables always uses savepoints ( #176 )
2026-03-25 19:26:28 +01:00
337985ef38
Version 2.4.2
2026-03-24 15:39:14 -04:00
d3vyce
6681b7ade7
fix: defer on_create/on_update/on_delete dispatch until outermost transaction commits ( #172 )
2026-03-24 19:56:03 +01:00
d3vyce
6981c33dc8
fix: inherit @watch field filter from parent classes via MRO traversal ( #170 )
2026-03-23 19:08:17 +01:00
d3vyce
0c7a99039c
fix: await any awaitable callback return value, not only coroutines ( #168 )
2026-03-23 18:58:48 +01:00
d3vyce
bcb5b0bfda
fix: suppress on_create/on_delete for objects created and deleted within the same transaction ( #166 )
2026-03-23 18:51:28 +01:00
100e1c1aa9
Version 2.4.1
2026-03-21 11:48:17 -04:00
d3vyce
db6c7a565f
feat: add offset_params, cursor_params and paginate_params FastAPI dependency factories ( #162 )
2026-03-21 16:44:11 +01:00
d3vyce
768e405554
fix: use URL-safe base64 encoding for cursor tokens ( #160 )
2026-03-21 15:33:17 +01:00
d3vyce
f0223ebde4
feat: add pages computed field to OffsetPagination schema ( #159 )
2026-03-21 15:24:11 +01:00
d3vyce
f8c9bf69fe
feat: add include_total flag to offset pagination to skip COUNT query ( #158 )
2026-03-21 15:16:22 +01:00
6d6fae5538
Version 2.4.0
2026-03-20 15:54:14 -04:00
d3vyce
fc9cd1f034
fix: resolve MissingGreenlet error when accessing self attributes in WatchedFieldsMixin callbacks ( #154 )
2026-03-20 20:52:11 +01:00
d3vyce
f82225f995
feat: add WatchedFieldsMixin ( #148 )
...
* feat/add WatchedFieldsMixin and watch_fields decorator for field-change monitoring
* docs: add WatchedFieldsMixin
* feat: add on_event, on_create and on_delete
* docs: update README
2026-03-19 19:19:33 +01:00
d3vyce
2e9c6c0c90
feat: support Annotated[AsyncSession, Depends(...)] in PathDependency and BodyDependency ( #146 )
2026-03-18 20:10:58 +01:00
2c494fcd17
Version 2.3.0
2026-03-15 12:52:44 -04:00
d3vyce
fd7269a372
refactor: CursorDirection enum, cursor value parsing and __class_getitem__ caching ( #144 )
2026-03-15 17:48:50 +01:00
d3vyce
c863744012
feat: PaginatedResponse[T] as discriminated union annotation ( #142 )
2026-03-15 17:41:33 +01:00
d3vyce
aedcbf4e04
feat: add UUIDv7Mixin ( #140 )
2026-03-14 20:41:46 +01:00
d3vyce
19c013bdec
feat: unified paginate() endpoint with typed pagination responses ( #134 )
...
* feat: unified paginate() endpoint with typed pagination responses
* docs: unified paginate() endpoint
* fix: add tests
2026-03-14 20:23:20 +01:00
d3vyce
81407c3038
fix: use clock_timestamp() instead of now() for Mixin to ensure unique values ( #138 )
2026-03-14 17:30:11 +01:00
d3vyce
0fb00d44da
fix: prev_cursor does not navigate backward ( #136 )
2026-03-14 17:18:53 +01:00
d3vyce
19232d3436
feat: add AsyncCrud subclass style and base_class param to CrudFactory ( #132 )
2026-03-12 22:46:51 +01:00
1eafcb3873
Version 2.2.1
2026-03-12 15:39:44 -04:00
dependabot[bot]
0d67fbb58d
⬆ Bump ty from 0.0.20 to 0.0.21 ( #127 )
...
* ⬆ Bump ty from 0.0.20 to 0.0.21
Bumps [ty](https://github.com/astral-sh/ty ) from 0.0.20 to 0.0.21.
- [Release notes](https://github.com/astral-sh/ty/releases )
- [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ty/compare/0.0.20...0.0.21 )
---
updated-dependencies:
- dependency-name: ty
dependency-version: 0.0.21
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix: ty warnings
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: d3vyce <nicolas.sudres@proton.me >
2026-03-12 20:29:02 +01:00
d3vyce
26d649791f
feat: auto-include primary key in CrudFactory searchable_fields ( #130 )
2026-03-12 20:21:32 +01:00
dde5183e68
Version 2.2.0
2026-03-10 14:53:55 -04:00
d3vyce
e4250a9910
feat: bring first() to parity with get()/get_or_none() — add with_for_update and schema support ( #123 )
2026-03-10 19:34:18 +01:00
d3vyce
4800941934
fix: cascade delete M2M association rows via ORM session ( #121 )
2026-03-10 19:18:16 +01:00
0cc21d2012
Version 2.1.0
2026-03-09 12:45:52 -04:00
d3vyce
a3245d50f0
docs: clarify metrics module usage ( #117 )
2026-03-09 17:17:11 +01:00
d3vyce
baebf022f6
feat: move db related function from pytest to db module ( #119 )
2026-03-09 17:15:50 +01:00
c4c760484b
Version 2.0.0
2026-03-04 11:20:46 -05:00
d3vyce
432e0722e0
refactor: remove deprecated parameter and function/cleanup code ( #101 )
...
* refactor: remove deprecated parameter and function
* refactor: centralize type aliases in types.py and simplify crud layer
* test: add missing tests for fixtures/utils.py
* refactor: simplify and deduplicate across crud, metrics, cli, and
exceptions
* docs: fix old Paginate references
* docs: add migration + fix icon
* docs: update README/migration to v2
2026-03-04 17:19:38 +01:00
d3vyce
e732e54518
feat: add models module ( #109 )
...
* feat: add models module
* docs: add models module
2026-03-04 15:14:55 +01:00
d3vyce
05b5a2c876
feat: rework Exception/ApiError ( #107 )
...
* feat: rework Exception/ApiError
* docs: update exceptions module
* fix: docstring
2026-03-02 16:34:29 +01:00
d3vyce
4a020c56d1
feat: Raise NotFoundError instead of LookupError in wait_for_row_change ( #105 )
2026-03-02 14:28:37 +01:00
56d365d14b
Version 1.3.0
2026-03-01 05:22:16 -05:00
d3vyce
a257d85d45
Add sort_params helper in CrudFactory ( #103 )
...
* feat: add sort_params helper in CrudFactory
* docs: add sorting
* fix: change sort_by to order_by
2026-03-01 11:20:43 +01:00
117675d02f
Version 1.2.1
2026-02-27 13:57:03 -05:00
8d57bf9525
Version 1.2.0
2026-02-26 09:34:35 -05:00
d3vyce
5a08ec2f57
feat: add faceted search in CrudFactory ( #97 )
...
* feat: add faceted search in CrudFactory
* feat: add filter_params_schema in CrudFactory
* fix: add missing Raises in build_search_filters docstring
* fix: faceted search
* fix: cov
* fix: documentation/filter_params
2026-02-26 15:23:07 +01:00
7ec407834a
Version 1.1.2
2026-02-23 14:59:33 -05:00
d3vyce
7da34f33a2
fix: handle Date, Float, Numeric cursor column types in cursor_paginate ( #90 )
2026-02-23 20:58:43 +01:00