Update Remix to 3.0.0-beta.5#3
Merged
Merged
Conversation
|
🔎 Preview deployed: https://pea-pr-3.kentcdodds.workers.dev Worker: Mocks:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
remixfrom3.0.0-alpha.3to3.0.0-beta.5and refreshesbun.lock.remix/component->remix/ui, routeractionobjects ->handler, data-tablecreateTable->table/column, and D1 adapter contract updates.css/onprops while using the beta UI runtime; review feedback tightened it to preserve Remix intrinsic element props for known DOM/SVG/MathML tags.Intentional Remix v3 upgrade assessment
remix@3.0.0-beta.5release PR/notes,remix@3.0.0-beta.0breaking export changes,remix@3.0.0-beta.4router/data-table notes, and installed package docs/exports forremix/ui,remix/fetch-router, andremix/data-table*.remix/uiexport surface required by beta and pointed client JSX at a repo-local compatibility runtime that wraps the beta UI runtime.handleraction-object contract and updated related tests.table()/columndeclaration API for app tables.compileSql()to the publicSqliteDatabaseAdapterfromremix/data-table/sqlite; D1-specific async execution, metadata normalization, and schema checks remain app-owned.router.mount()and UI primitivemixconventions.router.mount()was not adopted because the current server route table is small and the split would be structural churn. Directmix={css(...)}/mix={[on(...)]}migration was considered against the beta direction, but pea currently has 240+ legacycss=/on={{...}}JSX attributes spread across large route components; converting all of them would be a broad UI rewrite. The scoped shim keeps this upgrade focused while still running on the beta UI runtime, and it can be removed in a future dedicated UI-style migration.Breaking-change notes
componenttoui.handlerinstead ofaction.Review loop
Testing
bun pm view remix@next version->3.0.0-beta.5bun add remix@3.0.0-beta.5 --exactbun tools/ci/mock-preview-config.ts --wrangler-config mock-servers/ai/wrangler.jsonc --out-config /tmp/mock-ai-preview.generated.json --d1-database-name pea-pr-3-db --d1-database-id test-d1-idbun run lintbun run buildbun run typecheckPLAYWRIGHT_PORT=3790 bun run test:push(test:e2e: 20 passed;test:mcp: 4 passed)PLAYWRIGHT_PORT=3790 git push -u origin cursor/update-remix-beta-5-c00f