github-actions[bot]
87644178b3
[CI] Bump version 3.7.1 ( #2678 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-05-22 08:31:58 -07:00
github-actions[bot]
b53e908a5d
[CI] Bump version 3.7.0 ( #2656 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-05-07 22:35:13 -07:00
Yiming Cao
9d147b931a
feat(fetch-client): implement fetch-based CRUD API client ( #2651 )
...
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 08:28:12 -07:00
Yiming Cao
eff4263c47
refactor(tanstack-query, orm): thread plugin generics through transactions ( #2645 )
...
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 10:56:06 -07:00
Yiming Cao
22e0fd40a9
feat(tanstack-query): add useTransaction hook for sequential transactions ( #2637 )
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
2026-05-03 18:33:15 -07:00
ymc9
516a2a2d81
update test
2026-04-29 23:06:51 -07:00
ymc9
67da884019
fix(tanstack-query): support DbNull/JsonNull/AnyNull serialization over the wire
...
Register SuperJSON custom serializers for the three JSON null sentinels in
both the client-helpers fetch layer and the server's registerCustomSerializers,
so they survive HTTP round-trips when used as query filters or mutation input.
Re-export the singletons from all tanstack-query framework entry points
(react, vue, svelte) for convenient user access.
Fixes #2278
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 22:59:43 -07:00
github-actions[bot]
80c0bd6d68
[CI] Bump version 3.6.4 ( #2624 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-04-27 17:50:05 -07:00
github-actions[bot]
8609d5b3e3
[CI] Bump version 3.6.3 ( #2613 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-04-24 21:21:24 -07:00
github-actions[bot]
fd8db57ef2
[CI] Bump version 3.6.2 ( #2604 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-04-22 10:54:53 -07:00
github-actions[bot]
a1374c042f
[CI] Bump version 3.6.1 ( #2598 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-04-21 08:52:19 -07:00
Yiming Cao
b8209d7eeb
chore: migrate from tsup to tsdown ( #2580 )
2026-04-15 12:13:34 -07:00
github-actions[bot]
3dc922d6a9
[CI] Bump version 3.6.0 ( #2571 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-04-11 19:18:20 -07:00
Yiming Cao
f1375259d1
fix(tanstack-query): propagate TPageParam generic through useInfiniteFindMany ( #2561 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 16:48:29 -07:00
github-actions[bot]
df9b35ea64
[CI] Bump version 3.5.6 ( #2560 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-04-06 13:14:51 -07:00
github-actions[bot]
0495333ca3
[CI] Bump version 3.5.5 ( #2553 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-04-03 14:13:43 -07:00
dependabot[bot]
f2c9d3bd70
chore(deps-dev): bump happy-dom from 20.0.10 to 20.8.9 ( #2547 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 11:15:21 -07:00
github-actions[bot]
263074ce78
[CI] Bump version 3.5.4 ( #2545 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-04-02 10:23:46 -07:00
github-actions[bot]
80f364a2f0
[CI] Bump version 3.5.3 ( #2533 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-03-30 18:40:07 -07:00
Yiming Cao
85d8b6bf2f
chore: add package metadata to all public packages ( #2530 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 13:02:21 -07:00
github-actions[bot]
e79ea0cbad
[CI] Bump version 3.5.2 ( #2523 )
2026-03-26 08:26:49 -07:00
ymc9
3145ba686b
fix(cli): regression of CLI plugin resolution
2026-03-24 19:02:25 -07:00
github-actions[bot]
8b1046b2c7
[CI] Bump version 3.5.0 ( #2511 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-03-23 16:31:36 -07:00
Eugen Istoc
abae35aa61
feat(clients): add ExtResult support to TanStack Query hooks ( #2490 )
2026-03-18 09:43:35 -07:00
Yiming Cao
c768af7b7c
fix(orm): exclude Unsupported fields from ORM client ( #2468 )
2026-03-17 12:36:46 -07:00
ymc9
1ba4e54066
refactor(schema): widen types for attributes, default, and foreignKeyFor in generated schema
...
The generated schema previously used `as const` on entire model/enum/typeDef
objects, causing TypeScript to deeply infer literal types for all nested
properties. This is unnecessary for `attributes`, `default`, and `foreignKeyFor`
which are only used at runtime, not in CRUD type computations.
Changes:
- Add type assertions (`as readonly AttributeApplication[]`, `as FieldDefault`,
`as readonly string[]`) to prevent deep const inference on these properties
- Extract `FieldDefault` type alias from `FieldDef` for cleaner generated code
- Change `FieldHasDefault` to use key existence check (`'default' extends keyof`)
instead of value type check, enabling the `default` widening
- Conditionally import `AttributeApplication` and `FieldDefault` only when used
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:51:43 -07:00
github-actions[bot]
2c32dc329e
[CI] Bump version 3.4.6 ( #2477 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-03-11 11:40:16 -07:00
github-actions[bot]
bd2b111b8e
[CI] Bump version 3.4.5 ( #2457 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-03-06 22:26:46 -08:00
github-actions[bot]
07586f24cf
[CI] Bump version 3.4.4 ( #2450 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-03-04 18:48:24 -08:00
github-actions[bot]
518cbb7ddf
[CI] Bump version 3.4.3 ( #2436 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-03-03 09:34:03 -08:00
github-actions[bot]
f58550e262
[CI] Bump version 3.4.2 ( #2430 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-03-01 20:26:23 -08:00
github-actions[bot]
3336505ed6
[CI] Bump version 3.4.1 ( #2422 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-02-27 19:37:57 -08:00
github-actions[bot]
2da0c214dc
[CI] Bump version 3.4.0 ( #2408 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-02-25 22:40:51 -05:00
Yiming Cao
3e03ab1506
refactor: remove import from orm package in generated schema ( #2387 )
2026-02-19 18:16:13 -08:00
Yiming Cao
da3b0af343
feat: ORM api slicing ( #2383 )
2026-02-18 07:45:04 -08:00
Yiming Cao
f3a24dd5d5
chore: rebuild and update test schemas ( #671 )
2026-02-08 11:29:32 +08:00
github-actions[bot]
274871b858
chore: bump version 3.3.3 ( #659 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-02-06 16:14:11 +08:00
Alex Batis
e10d1b3fea
fix(tanstack): build OOM type fix ( #640 )
...
* fix(tanstack): build OOM type fix
* use Record<never, never> instead of {} for ProcedureHooks type
fixes #610
2026-02-01 21:54:47 +08:00
github-actions[bot]
392b8a2da5
chore: bump version 3.3.2 ( #648 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-02-01 20:59:52 +08:00
Yiming Cao
c67c37c65e
fix(tanstack): add missing ".js" extension for relative imports ( #641 )
2026-01-31 16:10:38 +08:00
github-actions[bot]
646267d736
chore: bump version 3.3.1 ( #642 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-01-31 16:07:23 +08:00
github-actions[bot]
3392104d04
chore: bump version 3.3.0 ( #635 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-01-30 16:22:01 +08:00
github-actions[bot]
f54093db51
chore: bump version 3.2.1 ( #587 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-01-11 16:44:20 +08:00
Yiming Cao
2c9db43cc2
feat(cli): implement watch mode for generate ( #573 )
...
* feat(cli): implement watch mode for generate
* chore(root): update pnpm-lock.yaml
* chore(cli): track all model declaration and removed paths, logs in past tense
* fix(cli): typo, unused double array from
* fix(orm): preserve zod validation errors when validating custom json types
* update
* chore(cli): move import, fix parallel generation on watch
* feat(common-helpers): implement single-debounce
* chore(cli): use single-debounce for debouncing
* feat(common-helpers): implement single-debounce
* fix(common-helpers): re run single-debounce
* fix(tanstack): avoid invalidating queries for custom proc mutations
* add missing file
* fix formatting
---------
Co-authored-by: FTB_lag <tabolskyy.git@gmail.com>
2026-01-08 16:12:14 +08:00
Mike Willbanks
2172614e0e
custom procedures ( #551 )
...
* feat: custom procs
* chore: cleanup
* fix: remove $procedures from client
* fix: failing test due to previous alias
* feat(custom-procs)!: make procedures envelope-only via $procs
- Switch procedure calls to `db.$procs.name({ args: {...} })` (no positional args)
- Remove legacy `$procedures` alias entirely (client API + server routing/logging)
- Validate procedure envelope input (`args` object, required/unknown keys)
- Keep TanStack Query procedure hooks as `(args, options)` (with conditional args optionality)
- Update server/ORM/client tests for the envelope API
* fix: code review feedback
* fix: code review comments
* fix: coderabbit review comments
* fix: remove useless proxy method
* test: add a couple of e2e tests that verify both typing and runtime
* test: improve e2e tests
* test: add missing mutation flag
* regenerate test schema
* refactor: procedure params generation fix and type refactors
- Simplified procedure's params definition from a tuple an object, since procs are now called with an envelop now
- Refactored procedure related typing to make them more consistent with other CURD types (that usually takes the schema as the first type parameter, and a name as the second)
- Moved detailed procedure's types to "crud-types" where other ORM client detailed types are defined
- Removed some type duplication from hooks side
- Updated the "orm" sample to demonstrate procedures
* fix: disable infinite custom proc queries for now
---------
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-01-08 11:21:51 +08:00
sanny-io
446a48335f
feat: exists operation ( #550 )
...
* feat: exists operation
* Add RPC handling.
* Add frontend handling.
* Add tests.
* Fix postgres error.
* Add JSDoc.
* Remove `@ts-expect-error`
* Disable post-processing.
* Put semicolon back.
2026-01-07 18:05:49 +08:00
github-actions[bot]
20f07770b3
chore: bump version 3.2.0 ( #561 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-01-05 16:57:58 +08:00
github-actions[bot]
f13886bb16
chore: bump version 3.1.0 ( #539 )
...
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2025-12-28 12:50:52 +08:00
Yiming Cao
fe731f726a
refactor: extract client-helpers package, update svelte-query to v6 ( #535 )
2025-12-27 22:49:19 +08:00
Yiming Cao
b0178a5893
chore: bump version 3.0.0 ( #522 )
...
* chore: bump version 3.0.0
* update
* update README
* update
2025-12-24 16:48:58 +08:00