-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
chore(deps): update Bun 1.3, tRPC v11, React 19.2, Better Auth 1.4 #2131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- TypeScript 5.9.2 → 5.9.3 - @types/node 24.3.1 → 24.10.1 - ESLint plugins and related tooling - ESLint config: extend TS parser to tsx, fix React config
2d5249e to
5727064
Compare
- React, react-dom 19.2.1 - @types/react 19.2.7, @types/react-dom 19.2.3 - @vitejs/plugin-react 5.1.1, plugin-react-swc 4.2.2 - @eslint-react/eslint-plugin 2.3.12
- Migrate tRPC client to v11 API (createTRPCOptionsProxy) - Remove api.Provider wrapper (no longer needed in v11) - Update passkey import to @better-auth/passkey/client - Bump dependencies across packages
- Use canonical imports (withPubSub from @ws-kit/pubsub) - Add timestamp payload to Ping/Pong messages - Simplify AppData interface with Record<string, unknown> - Remove sendError helper with complex typing - Add explicit Router<AppData> return type - Update README examples to match implementation
- Import passkey from @better-auth/passkey (now separate package) - Simplify passkey-login component to match WebAuthn API (no email needed) - Gate conditional UI behind authConfig.passkey.enableConditionalUI - Fix error handling to use result.error.code instead of unreachable catch - Add try/catch/finally for network-level failures - Remove composite mode from app tsconfig to avoid TS2742 errors
…th compatibility - Add indexes on all FK columns for query performance - Add composite unique constraints (member, team_member, identity, invitation) - Add invitation_status enum with lifecycle timestamps (acceptedAt, rejectedAt) - Add passkey audit fields (lastUsedAt, deviceName, platform) - Add updatedAt to all tables for consistent audit trails - Rename DbSchema to DatabaseSchema for clarity - Rename WRANGLER_HYPERDRIVE_* env vars to CLOUDFLARE_HYPERDRIVE_* - Streamline db/CLAUDE.md and db/README.md documentation
- Use import.meta.env.DEV consistently in loggerLink (Vite pattern) - Move auth error handling to global mutation onError (actually works) - Remove ineffective setQueryDefaults/setMutationDefaults (key mismatch)
- Replace execa/globby with Bun.spawn and Bun.Glob - Rename scripts to remove redundant ui- prefix - Use import.meta.dirname instead of fileURLToPath - Switch root scripts from --filter to --cwd for cleaner output
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Major dependency updates with breaking changes to tRPC client configuration and passkey authentication flow.
Runtime & Build
tRPC v11 Migration
createTRPCOptionsProxypattern (replacescreateTRPCReact)api.Providerwrapper (no longer needed in v11)mutations.onErrorBetter Auth 1.4+ Passkey
@better-auth/passkey(now separate package)authConfig.passkey.enableConditionalUIlastUsedAt,deviceName,platformDatabase Schema
invitation_statusenum with lifecycle timestampsupdatedAtto all tables for consistent audit trailsWRANGLER_HYPERDRIVE_*→CLOUDFLARE_HYPERDRIVE_*Other Improvements
Bun.spawn,Bun.Glob).tsx, fix React configBreaking Changes
tRPC v11 Client
Passkey Authentication
Environment Variables
Migration Guide
api.Providerwrapper, update client creation pattern@better-auth/passkey, remove email from passkey sign-inWRANGLER_HYPERDRIVE_*toCLOUDFLARE_HYPERDRIVE_*Ref #2108 #2114