Commit Graph
161 Commits
Author SHA1 Message Date
d3vyceandd3vyce 7779dcbadd fix: ty warning 2026-07-28 14:15:44 +02:00
d3vyceandd3vyce fd83a7142d fix: ruff warnings 2026-07-28 13:55:31 +02:00
d3vyceandd3vyce 651326d54b fix: EventSession.commit() wasted and N+1 reloads 2026-07-26 16:17:59 +02:00
d3vyceandd3vyce 169bf710f0 fix: skip unnecessary String cast on already-string search columns 2026-07-26 16:10:38 +02:00
d3vyceandd3vyce adc0ff14c1 fix: skip redundant refresh/reload round trips in create() and update() 2026-07-26 15:50:13 +02:00
d3vyceandd3vyce 19a823dc8b refactor: batch facet queries into a single round trip 2026-07-26 15:49:58 +02:00
d3vyceandd3vyce c15aee22b0 Version 5.0.0 2026-07-11 15:09:41 +02:00
d3vyceandd3vyce 51acf61d0f chore: remove security module 2026-07-11 15:09:41 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>d3vyce
953d58e5cc ⬆ Bump ty from 0.0.44 to 0.0.58 (#348)
* ⬆ Bump ty from 0.0.44 to 0.0.58

---
updated-dependencies:
- dependency-name: ty
  dependency-version: 0.0.58
  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-07-11 14:49:30 +02:00
d3vyceandGitHub c16909f585 fix: restore static type hints for FixtureRegistry, load_fixtures, load_fixtures_by_context lost in lazy-import refactor (#347) 2026-07-07 18:42:30 +02:00
d3vyceandGitHub c256e58d64 fix: batch_merge crashes with AnnotatedJoin has no attribute _autoincrement_column on joined-table inheritance (#345) 2026-07-07 18:22:13 +02:00
d3vyceandGitHub 040c023b8a feat: allow default context via FIXTURES_CONTEXT env var for fixtures load (#343) 2026-07-06 18:17:07 +02:00
d3vyce 06d49d5dc4 Version 5.0.0-beta2 2026-07-04 05:01:12 -04:00
d3vyceandGitHub de06839a16 fix: 'Could not refresh instance' when using EventSession (#341) 2026-07-04 01:57:45 +02:00
d3vyceandGitHub ff367e4281 fix: internal rollback() corrupts caller's ambient transaction and discards uncommitted work (#339) 2026-07-04 01:53:10 +02:00
d3vyceandGitHub 9cb4c1474f feat: always include Context.BASE fixtures when loading/listing by context (#337) 2026-07-04 01:08:03 +02:00
d3vyceandGitHub 44ba5bdd4b perf: lazy-import in CLI commands to speed up startup (#335) 2026-07-02 22:40:48 +02:00
d3vyceandGitHub fe2c0f3eff Rework fixtures module (#333)
* feat: fixture refresh DB-generated values onto returned instances

* refactor: replace utils.get_obj_by_attr/get_field_by_attr with registry.obj/field lookups

* refactor: log fixture command output instead of print

* chore: clean up fixture module
2026-07-01 19:24:00 +02:00
d3vyceandGitHub 70e0b3b9d5 chore: Database enhancement (#329) 2026-06-27 13:30:38 +02:00
d3vyceandGitHub 1e021005bc fix: wait_for_row_change raises and never detects changes under REPEATABLE READ (#327) 2026-06-26 18:50:45 +02:00
d3vyce 025f1907fd Version 5.0.0-beta1 2026-06-25 15:15:49 -04:00
d3vyceandGitHub 9698a0743b chore: rework DB module (#324) 2026-06-25 21:11:50 +02:00
d3vyce 2641881df5 Version 4.1.3 2026-06-09 12:48:01 -04:00
d3vyceandGitHub 49b579bcec feat: add optional prefix parameter to create_worker_database and worker_database_url (#306) 2026-06-09 18:46:09 +02:00
d3vyceandGitHub 4bb4287922 fix: drop worker database with force to handle active connections (#304) 2026-06-09 18:34:44 +02:00
d3vyce 43445e931e Version 4.1.2 2026-06-08 12:41:22 -04:00
d3vyceandGitHub 3e2518b803 fix/create_worker_database connects to non-existent database on fresh setup (#302)
* fix/create_worker_database connects to non-existent database on fresh setup

* tests: add more tests for pytest module
2026-06-08 18:37:59 +02:00
d3vyce b0c35bfc8a Version 4.1.1 2026-06-03 16:03:47 -04:00
d3vyceandGitHub cd928688af fix: pool exhaustion and lock timeout surface as 500 instead of structured 503 (#295) 2026-06-03 22:03:15 +02:00
d3vyce f80dae285a Version 4.1.0 2026-05-21 12:26:20 -04:00
d3vyceandGitHub 7f7734f0f3 feat: add advisory_lock context manager (#283) 2026-05-21 18:23:25 +02:00
d3vyceandGitHub 2a427a2946 feat: add NOWAIT/SKIP LOCKED row locking support and extend with_for_update to get_multi and update (#281) 2026-05-16 11:59:37 +02:00
d3vyceandGitHub 189e9e1a13 Version 4.0.0 (#263)
* fix: lock_tables acquires dedicated session to enforce RAII lock boundaries (#261)

* fix: make lock_tables generic over session type (#270)

* docs: fix zensical warnings

* Version 4.0.0

* docs: add v4 migration + fix lock_tables documentation
2026-05-08 13:04:24 +02:00
d3vyceandGitHub 99eabe3b23 feat: add security module (#111)
* feat: add security module

* feat(security): add oauth helpers

* docs: add authentication example

* fix: cleanup + simplify

* docs: update module and reference

* fix: multiple security bugs + remove example for now

* feat: use async_lru for caching

* fix: rename nonce by state_token
2026-05-08 12:50:06 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>d3vyce
1a67da91e6 ⬆ Bump ty from 0.0.31 to 0.0.33 (#267)
* ⬆ Bump ty from 0.0.31 to 0.0.33

Bumps [ty](https://github.com/astral-sh/ty) from 0.0.31 to 0.0.33.
- [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.31...0.0.33)

---
updated-dependencies:
- dependency-name: ty
  dependency-version: 0.0.33
  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-04-30 19:36:14 +02:00
d3vyce 2115036a8d Version 3.1.1 2026-04-16 15:37:23 -04:00
d3vyceandGitHub dcdaab52cf fix: KeyError on fixture load with SQLAlchemy joined-table inheritance (#254) 2026-04-16 20:23:37 +02:00
d3vyce 94e7d79d06 Version 3.1.0 2026-04-12 12:48:32 -04:00
d3vyceandGitHub 9268b576b4 feat: add M2M helpers (#247) 2026-04-12 18:46:57 +02:00
d3vyceandGitHub 863e6ce6e9 feat: add get_field_by_attr fixtures helper (#245) 2026-04-12 17:12:08 +02:00
d3vyceandGitHub c7397faea4 feat: auto eager-load relationships in register_fixtures (#243) 2026-04-12 17:04:44 +02:00
d3vyce 0ed93d62c8 Version 3.0.3 2026-04-07 05:43:10 -04:00
d3vyceandGitHub 2a49814818 feat: normalize enum facet values to member names and accept name strings in filter_by (#235) 2026-04-07 11:42:24 +02:00
d3vyceandGitHub 54decaf3e1 fix: coerce plain int values to enum member when filtering on IntEnum column (#231) 2026-04-07 10:43:01 +02:00
d3vyce 6b127d9645 Version 3.0.2 2026-04-04 19:13:09 -04:00
d3vyceandGitHub 8bed96f4bf fix: apply default_load_options after create() and update() to prevent MissingGreenlet on relationship access (#229) 2026-04-04 20:47:05 +02:00
d3vyceandGitHub 74d15e13bc feat: support relation tuples in order_fields for cross-table sorting (#227)
* feat: support relation tuples in order_fields for cross-table sorting

* docs: update crud module
2026-04-04 17:00:14 +02:00
d3vyceandGitHub e38d8d2d4f feat: expose sort_columns in paginated response (#225) 2026-04-04 14:46:36 +02:00
d3vyce 9b74f162ab Version 3.0.1 2026-04-03 05:44:10 -04:00
d3vyceandGitHub e388e26858 fix: widen JoinType to accept aliased and polymorphic targets (#221) 2026-04-02 22:58:52 +02:00