What remix-run/react-router shipped
Written by FoxPlug from public releases; not affiliated with Remix. An automatic summary of the public release, pull request and commit data of github.com/remix-run/react-router. Remix did not write it and does not use or endorse FoxPlug. Every line links to the public change it describes.
Get a weekly update like this for your product, free
Week of September 21, 2026
What shipped
- Session API methods including session.flash are now documented with prose explanations of their behavior. Pull request #15555
- Fixed path matching for optional static segments that contain non-word characters like dots, spaces, or percent signs. Pull request #15425
- Fixed JSDoc comment parsing in useNavigation documentation to prevent dox regex scanning errors. Pull request #15561
- Corrected useRouterState documentation example to use the correct hook name in scope. Pull request #15535
- Fixed three broken documentation links in optimize-revalidation.md and middleware.md. Pull request #15530
Why it matters
This week brings improvements to documentation accuracy and completeness, particularly around the Session API which now has full method documentation. A routing bug fix ensures optional segments with special characters work correctly, and several documentation errors were corrected to prevent developer confusion.
Changelog entry
- Documented Session API methods: session.has, session.set, session.flash, session.get, and session.unflash Pull request #15555
- Fixed path matching for optional static segments containing non-word characters (dots, spaces, percent signs, non-ASCII) Pull request #15425
- Fixed JSDoc comment parsing in useNavigation hook documentation Pull request #15561
- Fixed useRouterState documentation example to use correct hook name Pull request #15535
- Fixed broken documentation links in optimize-revalidation.md and middleware.md Pull request #15530
[0] Fixed JSDoc parsing in useNavigation docs. [1] Documented Session API methods. [2] Corrected useRouterState example. [3] Fixed optional segment matching with special characters. [4] Fixed broken doc links.
This week's updates focus on documentation quality and routing correctness. [1] Session API methods are now fully documented with behavior explanations. [3] Optional path segments containing special characters are now matched correctly. [0] JSDoc comment parsing was fixed to prevent regex errors. [2] useRouterState documentation example was corrected. [4] Several broken internal documentation links were repaired.