@tanstack/start-storage-context@1.167.39

TanStack/router@tanstack/start-storage-context@1.167.39Oct 12, 2026by github-actions[bot]

Upgrading?

AI Summary

Optimized request middleware bookkeeping and clarified pathname handling for server routes to ensure encoded characters are preserved.

Key Highlights

  • Skipped middleware bookkeeping when no middleware is configured
  • Server route handlers and middleware now receive the router's decoded pathname
  • Characters like `%2F`, `%3F`, and `%23` remain encoded

New Features

  • Performance optimization for middleware processing
  • Consistent pathname handling between matching and handlers

Full Release Notes

### Patch Changes

-   [#8451](https://github.com/TanStack/router/pull/8451) [`740b0ce`](https://github.com/TanStack/router/commit/740b0ce17737d1f7398740136acdbeabe80df7d8) - Skip request middleware bookkeeping when no request middleware is configured, and stop copying serialization adapters when the router adds none.

    Server route handlers and route middleware now receive the router's decoded pathname, the same one used for route matching. Characters that would change how the path is read, such as `%2F`, `%3F`, and `%23`, stay encoded.

-   Updated dependencies \[[`d6ba115`](https://github.com/TanStack/router/commit/d6ba115d5751c75e20943f0062577cf17b446d82)]:
    -   @tanstack/router-core@1.171.37

Related Repositories