Skip to content

Upgrade to Solid 2 - #30

Merged
AlexanderHott merged 5 commits into
mainfrom
feat/solid-2
Nov 23, 2026
Merged

AlexanderHott merged 5 commits into
mainfrom
feat/solid-2

Conversation

@AlexanderHott

@AlexanderHott AlexanderHott commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Moves the app to Solid 2 (solid-js 2.0.3 + @solidjs/web) with no intended behavior change.

Two dependencies don't ship Solid 2 releases on npm yet:

Other upgrades:

  • Kobalte 2.0.0-alpha.5
  • @lucide/solid
  • @solidjs/vite-plugin
  • TanStack Router/Start 2.0.0-rc.10. rc.11 doesn't build: it imports @tanstack/start-server-core/request-scope, which the package doesn't export.

Component changes follow the Solid 2 APIs:

  • omit/merge instead of splitProps/mergeProps
  • class arrays instead of cn
  • onSettled cleanups
  • split createEffect
  • Loading/Errored

The three forms now share createFormSubmission for their submission state and Ctrl+Enter submit, because the migrated code made the three blocks identical and fallow failed on the clone.

Fixes included:

  • Regressions found in review:
    • Loader-seeded state is a one-time snapshot again, so re-navigating no longer resets the download queue selection or the pagination cursors.
    • The passkey guard uses a plain flag, because Solid 2 signal reads lag writes until flush. Without it, two synchronous P presses started two ceremonies.
  • pnpm db:migrate: broken by the drizzle-kit rc.6 bump in Update dependencies and group dependabot PRs #28. Snapshots were regenerated with drizzle-kit up; drizzle-kit check/generate report no schema changes. Production migrations only read the SQL files, so production wasn't affected.

Known follow-up, likely pre-existing (not verified on main): after you pick an older batch in "Recent downloads", the dropdown shows the newest one while the list below shows the batch you picked. Polling recreates the selected <option>.

Proof:

  • Checks: vp check, tsc, 101 tests, vp build and fallow pass.
  • Manual browser end-to-end test against Postgres, MinIO, and both workers:
    • sign up / sign in, hotkeys and sequences, org creation
    • image upload → background removal → transparent output, polling, selection, bulk delete, retry
    • YouTube download to a ready file
    • invites, settings, invite accept
  • A/B browser reproductions: both review fixes, each failing without its fix and passing with it.
  • Shared submit hotkey: Ctrl+Enter submits sign-up, create-organization (with focus in the input) and sign-in.

Reviewed with sol-loop: 3 rounds with gpt-6.2-sol. Sol verdict: approved

🤖 Generated with Claude Code

Created with Claude Opus 5.5 in Claude Code; reviewed by gpt-6.2-sol.

AlexanderHott and others added 5 commits November 23, 2026 13:13
Move to solid-js 2 / @solidjs/web, Kobalte 2 alpha, TanStack Router/Start 2 RC,
@lucide/solid, and @solidjs/vite-plugin. TanStack Form and Hotkeys have no Solid 2
release yet: forms use a small adapter over @tanstack/form-core (src/lib/form.ts) and
hotkeys use the pkg.pr.new build from TanStack/hotkeys#213.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
drizzle-kit rc.6 rejects the old snapshot format, which broke db:migrate.
Generated with drizzle-kit up; check and generate report no schema changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Loader-seeded signals are snapshots again, so loader revalidation no longer resets
the download queue selection or history cursors. The passkey guard uses a plain
flag because Solid 2 signal reads lag writes until flush.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All three forms selected submission state and registered the same Ctrl+Enter
submit hotkey, which fallow flags as a 3-way clone. createFormSubmission does both;
each form passes only its own hotkey options.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AlexanderHott
AlexanderHott merged commit f0f8934 into main Nov 23, 2026
1 check 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.

1 participant