Skip to content

Prepare the 2.0.0 stable release (fixes #80, #74) - #85

Merged
ryansolid merged 1 commit into
nextfrom
claude/project-thread-gz362i
Nov 17, 2026
Merged

ryansolid merged 1 commit into
nextfrom
claude/project-thread-gz362i

Conversation

@ryansolid

Copy link
Copy Markdown
Member

Requested by Ryan · project thread

Release prep for the stable Solid 2.0 line of @solidjs/meta.

Version: 2.0.0

The release jumps to 2.0.0 to match solid-js, @solidjs/web and @solidjs/router. The 1.0.0-next.* prereleases were this same line, and no stable 1.x will exist. Changesets exits pre mode (pre.json mode exit). Exiting from 1.0.0-next.2 would give 1.0.0, so the base version is set to 2.0.0-next.2, which was never published. A changeset version dry run gives 2.0.0.

Fixes

Release plumbing

  • Ported the OIDC trusted-publishing release.yml from main (Publish to npm with trusted publishing (OIDC) #79): id-token: write, Node 24, and provenance. The npm trusted publisher matches the repo and the release.yml filename, and 0.29.8 was published this way.
  • release.yml and test.yml now also run on next, so merging this opens the changesets Version Packages PR on next. Merging that PR publishes 2.0.0 to latest (changeset publish, with no hard-coded tag).
  • pnpm-workspace.yaml uses pnpm 10 settings that pnpm 9 rejects (packages field missing), so CI now takes pnpm 10.28.0 from packageManager instead of pinning 9.

Tests on 2.0.0

  • Peers and devDeps are solid-js / @solidjs/web ^2.0.0. The toolchain moves to vite 8, vitest 4 and @solidjs/vite-plugin 3.0.0-next.57, since next.28's compiler is from the rc.0 era. hot is renamed to refresh, @types/jest is swapped for @types/node, and the SSR config aliases now match exactly, because a bare solid-js alias was rewriting solid-js/internal.
  • The SSR project now pins the server dev builds, which is where SERVER_WRITE is reported.
  • title-dynamic-sync gets one authored head child. @solidjs/web 2.0.0's hydrate(document) loops forever when the head holds only registry tags. That's fixed in fix(web): hydrate(document) hangs when the head holds only registry tags solid#4962 for 2.0.1, and this line can be dropped once the devDeps move to 2.0.1.
  • Results: ssr 4, hydrate 3, client 15, types all pass.

Size

Client bundle (Head, Title and Meta with the web browser build, esbuild minified): 45,777 → 45,795 B minified, +2 B brotli (16,023 → 16,025). esbuild doesn't fold the imported isServer; Rollup/Vite prod builds should.

Rules checked

Server render is pure (no signal writes on the server). There is no hydration refetch and no new public API: the solid condition is packaging only.


Generated by Claude Code

- Exit changesets pre mode; version base 2.0.0-next.2 so the release lands
  on 2.0.0 to match solid-js, @solidjs/web and @solidjs/router.
- Peers solid-js / @solidjs/web ^2.0.0; tests on 2.0.0 with vite 8,
  vitest 4 and @solidjs/vite-plugin 3.0.0-next.57.
- Head skips its dirty-signal writes on the server (#80).
- Add a solid export condition so Vite bundles meta in SSR (#74).
- Port the OIDC trusted-publishing release workflow from main (#79) and
  run release/test workflows on next; pnpm 10 via packageManager.
- README: Solid 2.x pairs with meta 2.x.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117BoWKWHHqh8SPie5sNgqt
@ryansolid ryansolid self-assigned this Nov 17, 2026
@socket-security

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
Updatedvitest@​3.1.1 ⏵ 4.1.1298 +12100 +757998100
Updatedvite@​6.2.6 ⏵ 8.3.899 +8100 +338298 +1100
Updated@​solidjs/​web@​2.0.0-rc.0 ⏵ 2.0.0100 +410084 +197 +1100
Updatedsolid-js@​2.0.0-rc.0 ⏵ 2.0.0100 +110095 +196 +1100
Updated@​solidjs/​vite-plugin@​3.0.0-next.28 ⏵ 3.0.0-next.5798 +2310010097 +8100

View full report

@ryansolid
ryansolid merged commit 8c795ff into next Nov 17, 2026
3 checks passed
@ryansolid
ryansolid deleted the claude/project-thread-gz362i branch November 17, 2026 08:40
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