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
c90717754f
chore: add prek (pre-commit alternative)
2026-03-25 14:24:30 -04:00
337985ef38
Version 2.4.2
v2.4.2
2026-03-24 15:39:14 -04:00
d3vyce
b5e6dfe6fe
refactor: test suite cleanup and simplification ( #174 )
2026-03-24 20:38:35 +01: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
v2.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
v2.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
dependabot[bot]
e62612a93a
⬆ Bump coverage from 7.13.4 to 7.13.5 ( #149 )
...
Bumps [coverage](https://github.com/coveragepy/coveragepy ) from 7.13.4 to 7.13.5.
- [Release notes](https://github.com/coveragepy/coveragepy/releases )
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst )
- [Commits](https://github.com/coveragepy/coveragepy/compare/7.13.4...7.13.5 )
---
updated-dependencies:
- dependency-name: coverage
dependency-version: 7.13.5
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 19:11:03 +01:00
dependabot[bot]
56f0ea291e
⬆ Bump zensical from 0.0.26 to 0.0.27 ( #150 )
...
Bumps [zensical](https://github.com/zensical/zensical ) from 0.0.26 to 0.0.27.
- [Release notes](https://github.com/zensical/zensical/releases )
- [Commits](https://github.com/zensical/zensical/compare/v0.0.26...v0.0.27 )
---
updated-dependencies:
- dependency-name: zensical
dependency-version: 0.0.27
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 19:10:52 +01:00
dependabot[bot]
ee896009ee
⬆ Bump ty from 0.0.21 to 0.0.23 ( #151 )
...
Bumps [ty](https://github.com/astral-sh/ty ) from 0.0.21 to 0.0.23.
- [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.21...0.0.23 )
---
updated-dependencies:
- dependency-name: ty
dependency-version: 0.0.23
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 19:10:41 +01:00
dependabot[bot]
65bf928e12
⬆ Bump ruff from 0.15.5 to 0.15.6 ( #152 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.15.5 to 0.15.6.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.15.5...0.15.6 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.15.6
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 19:10:28 +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
v2.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
v2.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
dependabot[bot]
a59f098930
⬆ Bump zensical from 0.0.24 to 0.0.26 ( #126 )
...
Bumps [zensical](https://github.com/zensical/zensical ) from 0.0.24 to 0.0.26.
- [Release notes](https://github.com/zensical/zensical/releases )
- [Commits](https://github.com/zensical/zensical/compare/v0.0.24...v0.0.26 )
---
updated-dependencies:
- dependency-name: zensical
dependency-version: 0.0.26
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 20:22:02 +01:00
dependabot[bot]
96e34ba8af
⬆ Bump ruff from 0.15.4 to 0.15.5 ( #128 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.15.4 to 0.15.5.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.15.4...0.15.5 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.15.5
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 20:21:50 +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
v2.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
v2.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
dependabot[bot]
96d445e3f3
⬆ Bump zensical from 0.0.23 to 0.0.24 ( #112 )
...
Bumps [zensical](https://github.com/zensical/zensical ) from 0.0.23 to 0.0.24.
- [Release notes](https://github.com/zensical/zensical/releases )
- [Commits](https://github.com/zensical/zensical/compare/v0.0.23...v0.0.24 )
---
updated-dependencies:
- dependency-name: zensical
dependency-version: 0.0.24
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 14:57:58 +01:00
dependabot[bot]
80306e1af3
⬆ Bump ruff from 0.15.2 to 0.15.4 ( #113 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.15.2 to 0.15.4.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.15.2...0.15.4 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.15.4
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 14:57:48 +01:00
dependabot[bot]
fd999b63f1
⬆ Bump ty from 0.0.18 to 0.0.20 ( #114 )
...
Bumps [ty](https://github.com/astral-sh/ty ) from 0.0.18 to 0.0.20.
- [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.18...0.0.20 )
---
updated-dependencies:
- dependency-name: ty
dependency-version: 0.0.20
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 14:57:37 +01:00
dependabot[bot]
c0f352b914
⬆ Bump fastapi from 0.133.1 to 0.135.1 ( #115 )
...
Bumps [fastapi](https://github.com/fastapi/fastapi ) from 0.133.1 to 0.135.1.
- [Release notes](https://github.com/fastapi/fastapi/releases )
- [Commits](https://github.com/fastapi/fastapi/compare/0.133.1...0.135.1 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-version: 0.135.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 14:57:26 +01:00
c4c760484b
Version 2.0.0
v2.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
v1.3.0
2026-03-01 05:22:16 -05:00