Skip to content

feat(entities): add createdAt sortBy, deprecate new#12

Merged
Tsabary merged 1 commit into
mainfrom
feat/entities-createdat-sortby
Jun 24, 2026
Merged

feat(entities): add createdAt sortBy, deprecate new#12
Tsabary merged 1 commit into
mainfrom
feat/entities-createdat-sortby

Conversation

@Tsabary

@Tsabary Tsabary commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Mirrors the server change: adds createdAt as the canonical entity sortBy and marks new deprecated.

  • FetchManyEntitiesProps.sortBy: add createdAt; keep new as a @deprecated member (server still accepts it, identical behavior, removed in v8).

Scoped to entities only. Pairs with the server, monorepo, and docs PRs.

Verification: tsc --noEmit clean.

🤖 Generated with Claude Code

Mirrors the v7 server: `createdAt` is the canonical time sort; `new` stays as a
deprecated alias (removed in v8, marked @deprecated). Server behavior unchanged —
`new` is treated identically and flagged via deprecation headers.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Tsabary Tsabary self-assigned this Jun 24, 2026
@Tsabary Tsabary merged commit 3454b03 into main Jun 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant