Skip to content

fix(templates): update Solid to 2.0.0 stable - #1309

Merged
AmanVarshney01 merged 3 commits into
mainfrom
chore/solid-2-stable
Nov 18, 2026
Merged

AmanVarshney01 merged 3 commits into
mainfrom
chore/solid-2-stable

Conversation

@AmanVarshney01

@AmanVarshney01 AmanVarshney01 commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

Solid 2.0.0 went stable on 2026-11-17. This moves the Solid template off the release candidates.

Package Before After
solid-js, @solidjs/web 2.0.0-rc.21 ^2.0.0
@solidjs/router 2.0.0-next.44 ^2.0.0
@solidjs/meta 1.0.0-next.2 ^2.0.0
@solidjs/vite-plugin 3.0.0-next.57 ^3.0.1
@tanstack/solid-query 6.0.0-rc.5 6.0.0-rc.6 (Solid 2 line is still RC)
@tanstack/query-core 5.101.4 5.107.1 (exact dependency of solid-query rc.6)
  • Drops the RC-era overrides for @solidjs/signals, @solidjs/compiler and @solidjs/babel-plugin, and the pnpm solid-js override. Stable ranges dedupe on their own there.
  • Keeps one "solid-js": "^2.0.0" override in the root package.json for bun/npm. better-auth declares an optional solid-js@^1.0.0 peer, and without the override npm installs solid-js@1.9.19 at the workspace root, where @solidjs/web, the router and solid-query resolve it (npm ls reports it as invalid). bun and pnpm resolve a single 2.0.0 either way.
  • Updates the pnpm minimumReleaseAgeExclude entries 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-core pin has to match exactly. With 5.101.4, every Solid + oRPC sample failed typecheck with Property '#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 the solid-runtime and solid-dev-runtime probes.
  • 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:

App Auth sign-up/in/session Todo create/list, toggle, delete privateData (session / no session) Browser add todo, reload, dashboard
self, bun, SQLite + Drizzle pass pass pass / 401 pass
Hono, pnpm, Postgres + Drizzle pass pass pass / 401 pass
Express, npm, Postgres + Prisma pass pass pass / 401 pass

No page errors in any app. npm ls solid-js shows a single 2.0.0 after the override fix. The 16 Solid build samples were rerun after the fix: 16/16 pass.

Summary by CodeRabbit

  • Updates
    • Solid project templates now use caret version ranges for Solid packages, allowing compatible updates rather than pinning several packages to exact prerelease versions.
    • Generated projects use newer versions of TanStack Solid Query and Query Core.
    • pnpm configuration for Solid projects now excludes selected versions from minimum release-age checks instead of pinning Solid packages through overrides.
    • For package managers other than pnpm, Solid dependency overrides are limited to solid-js.

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.
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
create-better-t-stack-web Ready Ready Preview Nov 18, 2026 2:46pm UTC

Request Review

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-18T10:01:41.472645Z
We couldn’t complete this review. Comment @codex review to try again.
2f87efc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The 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.

Changes

Solid template dependencies

Layer / File(s) Summary
Solid package configuration
packages/template-generator/templates/frontend/solid/package.json.hbs, packages/template-generator/templates/base/package.json.hbs, packages/template-generator/src/utils/add-deps.ts, packages/template-generator/src/template-handlers/extras.ts
The Solid template changes package versions to caret ranges. The base template keeps only a solid-js override. The dependency map and pnpm minimum-release-age exclusions use updated TanStack and Solid package versions.

Possibly related PRs

Merge Risk: Minimal · up to 7725a

Merge Risk: ⚪ Minimal · up to 7725a

This updates generated Solid projects from release-candidate packages to stable Solid 2 dependencies and refreshes the TanStack versions. No actionable merge-blocking risk is evident from the supplied changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title "fix(templates): update Solid to 2.0.0 stable" matches the main change. The PR moves the Solid template from release-candidate Solid packages to stable Solid 2 dependencies, removes the pnpm…
Full details: Title check

Explanation

The title "fix(templates): update Solid to 2.0.0 stable" matches the main change. The PR moves the Solid template from release-candidate Solid packages to stable Solid 2 dependencies, removes the pnpm overrides that pinned Solid to release candidates, and updates the related minimumReleaseAgeExclude entries and @tanstack/query-core. The title does not mention the query-core bump or the npm-specific override, but it does not need to cover every detail.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4fe9885b-0838-4633-b82a-dd735e9d18bc
Commits

Reviewing files that changed from the base of the PR and between 2f87efc and 508a61b.

Files ignored due to path filters: 1

  • packages/template-generator/src/templates.generated.ts is excluded by !**/*.generated.*
Files selected for processing: 1

  • packages/template-generator/templates/base/package.json.hbs

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.

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.
@AmanVarshney01 AmanVarshney01 changed the title chore(templates): update Solid to 2.0.0 stable fix(templates): update Solid to 2.0.0 stable Nov 18, 2026
@AmanVarshney01
AmanVarshney01 enabled auto-merge (squash) November 18, 2026 14:45
@AmanVarshney01
AmanVarshney01 merged commit c6f57b0 into main Nov 18, 2026
8 of 12 checks passed
@AmanVarshney01
AmanVarshney01 deleted the chore/solid-2-stable branch November 18, 2026 14:47

This branch was successfully deployed

1 active deployment
Preview — 7725a6fb Deployed Nov 18, 2026 by vercel[bot]
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