Repository navigation
fix(templates): update Solid to 2.0.0 stable - #1309
Conversation
Bump solid-js, @solidjs/web, @solidjs/router and @solidjs/meta to ^2.0.0, @solidjs/vite-plugin to ^3.0.1, and @tanstack/solid-query to 6.0.0-rc.6 with its exact @tanstack/query-core 5.107.1. Drop the rc-era Solid overrides now that stable ranges dedupe, and point the pnpm release-age excludes at the stable versions.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
No actionable comments were generated in the recent review. WalkthroughThe Solid template now uses caret version ranges for Solid packages. The base template removes conditional overrides for three Solid packages. Dependency configuration updates TanStack versions and pnpm release-age exclusions. ChangesSolid template dependencies
Possibly related PRs
Merge Risk:
|
better-auth declares an optional solid-js ^1 peer, and npm installed solid-js 1.9.19 at the workspace root next to Solid 2 packages. Keep a solid-js ^2.0.0 override for bun and npm.
Summary
Solid 2.0.0 went stable on 2026-11-17. This moves the Solid template off the release candidates.
solid-js,@solidjs/web2.0.0-rc.21^2.0.0@solidjs/router2.0.0-next.44^2.0.0@solidjs/meta1.0.0-next.2^2.0.0@solidjs/vite-plugin3.0.0-next.57^3.0.1@tanstack/solid-query6.0.0-rc.56.0.0-rc.6(Solid 2 line is still RC)@tanstack/query-core5.101.45.107.1(exact dependency of solid-query rc.6)@solidjs/signals,@solidjs/compilerand@solidjs/babel-plugin, and the pnpmsolid-jsoverride. Stable ranges dedupe on their own there."solid-js": "^2.0.0"override in the rootpackage.jsonfor bun/npm.better-authdeclares an optionalsolid-js@^1.0.0peer, and without the override npm installssolid-js@1.9.19at the workspace root, where@solidjs/web, the router and solid-query resolve it (npm lsreports it asinvalid). bun and pnpm resolve a single 2.0.0 either way.minimumReleaseAgeExcludeentries to the exact new versions. They're less than a day old, and version-specific entries keep the release-age guard for future releases.The
query-corepin has to match exactly. With5.101.4, every Solid + oRPC sample failed typecheck withProperty '#private' in type 'QueryClient' refers to a different member.Verification
BTS_BUILD_SAMPLES=1 BTS_BUILD_SAMPLE_FILTER=solid: 16/16 pass. That covers frontend-only on bun/npm/pnpm, Hono, Express + Mongoose, Fastify + Prisma + Polar, Elysia, vite-plus, and self oRPC with and without auth, including thesolid-runtimeandsolid-dev-runtimeprobes.bun run check: clean.apps/cli test:ci: 112 pass.Live e2e (Docker images + real DB + browser)
Ran on generated Solid apps with the todo example, using
docker compose up --build, the API and agent-browser:No page errors in any app.
npm ls solid-jsshows a single2.0.0after the override fix. The 16 Solid build samples were rerun after the fix: 16/16 pass.Summary by CodeRabbit
solid-js.