feat: upgrade to React Router v8 - #142
Open
SimeonGriggs wants to merge 1 commit into
Open
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
tints-dev | 75c0efa | Commit Preview URL Branch Preview URL |
Aug 03 2026, 11:28 AM |
SimeonGriggs
marked this pull request as ready for review
August 3, 2026 14:28
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.
Closes #141
Summary
Coordinated React Router v8 upgrade after the production outage from Dependabot's partial bump (#138 / fixed in #140).
Dependency bumps
react-router^7.17.0^8.3.0@react-router/dev^7.17.0^8.3.0@react-router/fs-routes^7.17.0^8.3.0vite^6.4.3^7.3.6@cloudflare/vite-plugin^1.40.0^1.50.0wrangler^4.98.0^4.118.0@cloudflare/workers-types^4…^5…vitest^3.2.6^4.1.10(Vite 7 peer)engines.node>=22>=22.22App changes required by v8 middleware
cloudflareContextviacreateContext(app/context.ts)workers/app.tsnow returns aRouterContextProviderinstead of a plain object (this was the production crash)context.get(cloudflareContext)instead ofcontext.cloudflareAppLoadContextusage fromentry.server.tsxfuture.v8_viteEnvironmentApi; set top-levelsplitRouteModules: true.datapath suffixes in redirect helper for pass-through request URLsVerification
pnpm run build✅pnpm test— 18/18 ✅wrangler dev:/,/api,/palette/...return 200pnpm typecheckstill has pre-existing catalyst / Sanity errors (unchanged frommain)Please check the Workers preview build
Opening this PR should trigger a Cloudflare Workers preview build — please confirm that preview URL loads before merging.