Skip to content

feat(client-react)!: remove deprecated useQuery legacy query-field aliases (11.0)#2372

Merged
os-zhuang merged 1 commit into
mainfrom
v11-remove-client-react-query-aliases
Jun 27, 2026
Merged

feat(client-react)!: remove deprecated useQuery legacy query-field aliases (11.0)#2372
os-zhuang merged 1 commit into
mainfrom
v11-remove-client-react-query-aliases

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Removes the deprecated legacy query-field aliases from @objectstack/client-react useQuery/useInfiniteQuery (epic #2364, A3). Canonical names only: selectfields, filterswhere, sortorderBy, toplimit, skipoffset. One file; no framework consumers used the aliases; build+DTS+tsc clean. Rides into 11.0 (major changeset).

🤖 Generated with Claude Code

…iases (11.0)

`UseQueryOptions`/`useQuery`/`useInfiniteQuery` no longer accept the legacy
aliases `select`/`filters`/`sort`/`top`/`skip`; callers use the canonical Spec
names `fields`/`where`/`orderBy`/`limit`/`offset`. The fallback-resolution code
and the `Omit<…, 'top'|'skip'>` carve-outs are gone.

No framework consumers used the aliases; build + DTS typecheck clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 27, 2026 2:09pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tooling size/s and removed documentation Improvements or additions to documentation tooling labels Jun 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/client-react.

4 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:

  • content/docs/concepts/packages.mdx (via @objectstack/client-react)
  • content/docs/guides/client-sdk.mdx (via @objectstack/client-react)
  • content/docs/guides/packages.mdx (via @objectstack/client-react)
  • content/docs/guides/skills.mdx (via packages/client-react)

Advisory only. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs origin/main → pass the list as args.docs.

@os-zhuang
os-zhuang merged commit 50ef82b into main Jun 27, 2026
16 checks passed
@os-zhuang
os-zhuang deleted the v11-remove-client-react-query-aliases branch June 27, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant