zenstack/packages
ymc9 520cdf4d6e refactor(tanstack-query): strongly type TransactionOperation and normalize model name lookup
- Make `TransactionOperation<Schema>` a discriminated union over (model, op) pairs with schema-derived args types
- Normalize incoming mutation model name via case-insensitive schema lookup so lowerCaseFirst names resolve
- Guard transaction onSuccess against malformed variables and per-item shape
- Move `normalizeEndpoint` from constants.ts to client.ts
- Group react-query tests into CRUD/Optimistic/Sequential describe blocks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 17:22:05 -07:00
..
auth-adapters/better-auth chore: upgrade to TypeScript 6 (#2629) 2026-04-29 20:41:27 -07:00
cli chore: upgrade to TypeScript 6 (#2629) 2026-04-29 20:41:27 -07:00
clients refactor(tanstack-query): strongly type TransactionOperation and normalize model name lookup 2026-05-03 17:22:05 -07:00
common-helpers [CI] Bump version 3.6.4 (#2624) 2026-04-27 17:50:05 -07:00
config [CI] Bump version 3.6.4 (#2624) 2026-04-27 17:50:05 -07:00
create-zenstack [CI] Bump version 3.6.4 (#2624) 2026-04-27 17:50:05 -07:00
ide [CI] Bump version 3.6.4 (#2624) 2026-04-27 17:50:05 -07:00
language [CI] Bump version 3.6.4 (#2624) 2026-04-27 17:50:05 -07:00
orm fix(tanstack-query): support DbNull/JsonNull/AnyNull serialization over the wire 2026-04-29 22:59:43 -07:00
plugins/policy fix(policy): resolve inherited fields in delegate sub-type create policy checks (#2623) 2026-04-27 18:23:37 -07:00
schema [CI] Bump version 3.6.4 (#2624) 2026-04-27 17:50:05 -07:00
sdk fix(orm): export UncheckedCreateInput/CheckedCreateInput and add XOR to UpdateInput (#2627) 2026-04-29 14:44:21 -07:00
server fix(tanstack-query): support DbNull/JsonNull/AnyNull serialization over the wire 2026-04-29 22:59:43 -07:00
testtools chore: upgrade to TypeScript 6 (#2629) 2026-04-29 20:41:27 -07:00
zod [CI] Bump version 3.6.4 (#2624) 2026-04-27 17:50:05 -07:00