- make url-encoding history-aware (#9496)
- properly support
index
routes with a path inuseResolvedPath
(#9486) - Fix hrefs generated for
createHashRouter
(#9409) - fix encoding/matching issues with special chars (#9477)
- Ignore pathless layout routes when looking for proper submission
action
function (#9455) - Support
basename
and relative routing inloader
/action
redirects (#9447) - Add UMD build for
@remix-run/router
(#9446) - Clean up response APIs for
unstable_createStaticHandler
queryRoute
(#9465) - Changes to static handler for incorporating into Remix (#9482)
- Reset
actionData
after a successful action redirect (#9334) - Update
matchPath
to avoid false positives on dash-separated segments (#9300) - If an index route has children, it will result in a runtime error. We have strengthened our
RouteObject
/RouteProps
types to surface the error in TypeScript. (#9366)
- Preserve state from
initialEntries
(#9288) - Preserve
?index
for fetcher get submissions to index routes (#9312)
This is the first stable release of @remix-run/router
, which provides all the underlying routing and data loading/mutation logic for react-router
. You should not be using this package directly unless you are authoring a routing library similar to react-router
.
For an overview of the features provided by react-router
, we recommend you go check out the docs, especially the feature overview and the tutorial.
For an overview of the features provided by @remix-run/router
, please check out the README
.