release-2026-06-16-2217

browserbase/stagehandrelease-2026-06-16-2217Jun 16, 2026by github-actions[bot]

AI Summary

This release focuses on performance optimizations and bug fixes for the TanStack Router ecosystem, including SSR improvements and dependency updates across multiple packages.

Key Highlights

  • Added support for Rsbuild preview SSR middleware in start-plugin-core.
  • Implemented performance improvements including lightweight route match caching and skipped server context updates.
  • Fixed bugs related to useMatch selector errors and silenced AbortError in stream rendering.
  • Refactored code to reduce bundle size and remove unnecessary timeouts in router components.

New Features

  • Rsbuild preview SSR middleware support

Full Release Notes

Release 2026-06-16 22:17

## Changes

### Features

- start-plugin-core: support Rsbuild preview SSR middleware (#7372) (e499164c72) by @elecmonkey

### Fix

- react-router: avoid throwing in useMatch selector (#7595) (52db7034fd) by @Sheraff
- benchmarks: run SSR setup imports natively (#7579) (b80781ede4) by @Sheraff

### Performance

- router-core: cache lightweight route matches (#7601) (a415471437) by @Sheraff
- start-server-core: skip update for server context (#7599) (96eca43ab8) by @Sheraff
- react-router: add match selector compares (#7596) (56bd271ba0) by @Sheraff

### Refactor

- solid-router: remove unnecessary setTimeout from Match components (#7584) (41e7a24f69) by @Sheraff
- router-core: avoid creating promises when not necessary (#7582) (5127d861ae) by @Sheraff
- react-router: Reduce bundle size by sharing hook structuralSharing logic (#7577) (689d88e04c) by @Sheraff
- react-router: useMatches skips useRef during SSR (#7575) (4a93cffffc) by @Sheraff

### Chore

- react-router: silence AbortError in renderRouterToStream (#7627) (689c5ab32e) by @Sheraff
- forgot changeset in #7596 (#7600) (f046b064d3) by @Sheraff
- update nx to 22.7.5 (#7583) (6f1daf5104) by @beaussan


## Packages

- @tanstack/react-router@1.170.16
- @tanstack/react-start@1.168.26
- @tanstack/react-start-client@1.168.14
- @tanstack/react-start-rsc@0.1.25
- @tanstack/react-start-server@1.167.20
- @tanstack/solid-router@1.170.16
- @tanstack/solid-start@1.168.26
- @tanstack/solid-start-client@1.168.14
- @tanstack/solid-start-server@1.167.20
- @tanstack/start-plugin-core@1.171.18
- @tanstack/start-server-core@1.169.15
- @tanstack/vue-start@1.168.25
- @tanstack/vue-start-server@1.167.20