@tanstack/query-core@5.103.1

TanStack/query@tanstack/query-core@5.103.1Sep 16, 2026by github-actions[bot]

Upgrading?

AI Summary

A patch release fixing structural sharing logic and reducer behavior for streamed queries.

Key Highlights

  • Fixed structural sharing to handle objects with custom constructors
  • Fixed reducers to preserve `null` values instead of replacing with `initialValue`

New Features

  • Improved robustness in structural sharing for plain objects
  • Better handling of null values in custom reducers

Full Release Notes

### Patch Changes

-   [#11512](https://github.com/TanStack/query/pull/11512) [`8330b2f`](https://github.com/TanStack/query/commit/8330b2f2d431f226d7bb95eb727c637be9d4c6d8) - Handle plain objects with an own `constructor` data property during structural sharing and query-key hashing.

-   [#11510](https://github.com/TanStack/query/pull/11510) [`3212966`](https://github.com/TanStack/query/commit/3212966a3681e02d14eb79e9cce0d3265b046877) - Preserve `null` values returned by custom `streamedQuery` reducers instead of replacing them with `initialValue`.

Related Repositories