Skip to content

chore: ride solid rc.16 - #462

Merged
ryansolid merged 2 commits into
nextfrom
claude/project-thread-rcv3tn
Oct 21, 2026
Merged

ryansolid merged 2 commits into
nextfrom
claude/project-thread-rcv3tn

Conversation

@ryansolid

Copy link
Copy Markdown
Member

Requested by Ryan · project thread

Moves the Solid floors from rc.14 to rc.16 in package.json and the pnpm-workspace.yaml catalog and age excludes, and regenerates the lockfile. rc.16 includes solid#4030, which moves the shell-end marker before </body>. Two plugin issues showed up with the bump:

1. JSX source locations were wrong under sourceNames.locations. rc.16's compiler is the first to take locations, so the code path from #421 had never run against a real compiler before. The JSX transform runs after the lazy, primitive-names and refresh passes, and each of those reprints the module. The JSX locations therefore pointed into rewritten code; for example, <Home /> on line 6 was reported as 18:57. Running JSX first would break the primitive locations and refresh's dependency detection. Instead, a new internal helper remapJsxLocations (src/source-names.ts) maps each "file:line:col" string the JSX pass wrote back through the earlier passes' combined sourcemap, using Node's built-in module.SourceMap (no new dependency). It covers both the native and babel backends, and it only runs when locations are on and the code was rewritten. Tests now assert the component and binding locations for both backends.

2. In-process server-function failures were reported twice in start-ssr's contain checks (mw-prod, preview). rc.16 dedupes reports per kind and adds reportRequestFailure(error, event) to @solidjs/web. The generated containFailure in src/ssr/index.ts now calls it, replacing the hand-built reportServerError call, the SERVER_ERRORS symbol lookup and the manual console.error, for net −4 lines. The test expectations change from render/failed to request/failed, and the README paragraph about contained failures now describes the request kind.

No new public API and no new browser runtime bytes. The changeset is solid-rc16.md (patch).

Local results on this branch (current next plus this commit):

  • build, tsc --noEmit
  • unit tests 36/36
  • ssr: 12/12, plus all its sub-suites
  • css-matrix 87/87, bridge 21/21
  • start-client 70/70
  • start-env 47/47
  • start-ssr run.mjs 755/755, plus http-bridge, warnings, dedupe 8/8 and ssr-inline

Known caveat: the output sourcemap isn't adjusted when a rewritten location string changes length, so later columns on that line can be off by about one character.


Generated by Claude Code

Bump solid-js / @solidjs/web / @solidjs/compiler / @solidjs/babel-plugin
to 2.0.0-rc.16 and fix the two things the bump surfaced:

- JSX source locations pointed into the code the native prelude
  (primitive names, lazy, refresh) had reprinted. Map them back through
  the prelude's sourcemap on both compiler backends; the primitives
  pass's own locations are already authored positions and are kept.
- Start mode's production containFailure now reports through
  @solidjs/web's reportRequestFailure (kind 'request'), so an error the
  runtime already reported is not heard a second time under rc.16's
  per-kind ledger.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019zVakGXNk835Dj1yu5kGgE
@changeset-bot

changeset-bot Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0d9a0d5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@solidjs/vite-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ryansolid ryansolid self-assigned this Oct 21, 2026
@socket-security

socket-security Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​solidjs/​web@​2.0.0-rc.14 ⏵ 2.0.0-rc.1610010083 +197100
Updated@​solidjs/​diagnostics@​2.0.0-rc.14 ⏵ 2.0.0-rc.168410010095 +1100
Updated@​solidjs/​babel-plugin@​2.0.0-rc.14 ⏵ 2.0.0-rc.1694 +1100100 +195 +1100
Updatedsolid-js@​2.0.0-rc.14 ⏵ 2.0.0-rc.16100 +110095 +195 -1100
Updated@​solidjs/​compiler@​2.0.0-rc.14 ⏵ 2.0.0-rc.1699 +1100100 +195 +1100

View full report

@pkg-pr-new

pkg-pr-new Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@solidjs/vite-plugin@462

commit: 0d9a0d5

@ryansolid
ryansolid merged commit b8fdf58 into next Oct 21, 2026
6 checks 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.

2 participants