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
f8c9bf69fe
feat: add include_total flag to offset pagination to skip COUNT query ( #158 )
2026-03-21 15:16:22 +01:00
d3vyce
fd7269a372
refactor: CursorDirection enum, cursor value parsing and __class_getitem__ caching ( #144 )
2026-03-15 17:48:50 +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
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
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
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
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
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
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
d3vyce
7da34f33a2
fix: handle Date, Float, Numeric cursor column types in cursor_paginate ( #90 )
2026-02-23 20:58:43 +01:00
d3vyce
6cf7df55ef
feat: add cursor based pagination in CrudFactory ( #86 )
2026-02-23 13:51:34 +01:00
d3vyce
7482bc5dad
feat: add schema parameter to CRUD methods for typed response serialization ( #84 )
2026-02-23 10:02:52 +01:00
d3vyce
9d07dfea85
feat: add opt-in default_load_options parameter in CrudFactory ( #82 )
...
* feat: add opt-in default_load_options parameter in CrudFactory
* docs: add Relationship loading in CRUD
2026-02-21 12:35:15 +01:00
d3vyce
6714ceeb92
chore: documentation ( #76 )
...
* chore: update docstring example to use python code block
* docs: add documentation
* feat: add docs build + fix other workdlows
* fix: add missing return type
2026-02-19 16:43:38 +01:00
d3vyce
c32f2e18be
feat: add many to many support in CrudFactory ( #65 )
2026-02-15 15:57:15 +01:00
d3vyce
e24153053e
fix: PydanticSchemaGenerationError on import: Response[ModelType] evaluated at class definition time ( #42 )
2026-02-06 15:04:41 +01:00
d3vyce
f68793fbdb
feat: use PaginatedResponse and Response into crud ( #36 )
...
* feat: return PaginatedResponse for paginate crud function
* feat: add as_response argument for get, create, update and delete crud functions
2026-02-05 22:54:07 +01:00
d3vyce
8c287b3ce7
feat: add join to crud functions ( #21 )
2026-02-01 15:01:10 +01:00
d3vyce
d14551781c
feat: add search to crud paginate function ( #17 )
...
* feat: add search to crud paginate function
* fixes: comments + tests import
2026-01-29 00:08:02 +01:00