react-router
Advanced tools
Changelog
v7.1.5
Date: 2025-01-31
react-router
- Fix regression introduced in 7.1.4
via #12800 that caused issues navigating to hash routes inside splat routes for applications using Lazy Route Discovery (patchRoutesOnNavigation
) (#12927)Full Changelog: v7.1.4...v7.1.5
Changelog
v7.1.4
Date: 2025-01-30
@react-router/dev
- Properly resolve Windows file paths to scan for Vite's dependency optimization when using the unstable_optimizeDeps
future flag (#12637)@react-router/dev
- Fix prerendering when using a custom server - previously we ended up trying to import the users custom server when we actually want to import the virtual server build module (#12759)react-router
- Properly handle status codes that cannot have a body in single fetch responses (204, etc.) (#12760)react-router
- Properly bubble headers as errorHeaders
when throwing a data()
result (#12846)
Set-Cookie
headers if also returned from headers
react-router
- Stop erroring on resource routes that return raw strings/objects and instead serialize them as text/plain
or application/json
responses (#12848)
.data
extension.data
request, they will still be encoded via turbo-stream
react-router
- Optimize Lazy Route Discovery path discovery to favor a single querySelectorAll
call at the body
level instead of many calls at the sub-tree level (#12731)react-router
- Optimize route matching by skipping redundant matchRoutes
calls when possible (#12800, #12882)react-router
- Internal reorg to clean up some duplicated route module types (#12799)Full Changelog: v7.1.3...v7.1.4
Changelog
v6.29.0
Date: 2025-01-30
signal
as a parameter to patchRoutesOnNavigation
(#12900)
data()
result (#12845)matchRoutes
calls when possible (#12169)patchRoutesOnNavigation
path
param for fetcher calls (#12899)Full Changelog: v6.28.2...v6.29.0