Skip to content

feat(solid): migrate adapter to Solid 2 - #40

Merged
codeBelt merged 1 commit into
mainfrom
codex/solid2-integration
Oct 27, 2026
Merged

codeBelt merged 1 commit into
mainfrom
codex/solid2-integration

Conversation

@codeBelt

Copy link
Copy Markdown
Owner

The Solid adapter now targets Solid 2.0.0-rc.18 exclusively. Its public snapshot-accessor API stays the same, while synchronous notifications let Solid's own scheduler and flush() observe store updates correctly. Ordinary core subscriptions remain batched.

Require a live Solid owner before subscribing and stop delivery when that owner is disposed, including disposal during notification. Migrate the example and compiler tooling, add real browser regressions, and document the Solid 1 removal in a minor changeset for 0.9.0.

Validation:

  • 560 unit tests passed.
  • 136 browser tests passed across Chromium, Firefox, and WebKit, including all 18 Solid cases; 8 existing clipboard skips are expected.
  • Original adapter failed the explicit-flush and owner-validation regressions.
  • Library build, TypeScript checks, lint, Solid example production build, and CI Bun frozen-lockfile install passed.
  • Packed-package Solid 2 browser smoke and Docusaurus production build passed.

Upgrade: pin solid-js to 2.0.0-rc.18; browser apps should also pin @solidjs/web to that version and use Solid 2 compiler tooling. Call useClassyStore() inside a component or live createRoot(). Solid 1 is no longer supported.

@codeBelt
codeBelt merged commit 3e2281d into main Oct 27, 2026
6 checks passed
@codeBelt
codeBelt deleted the codex/solid2-integration branch October 27, 2026 16:05
@github-actions github-actions Bot mentioned this pull request Oct 27, 2026
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