@tanstack/start-client-core@1.170.12

parruda/swarm@tanstack/start-client-core@1.170.12Jun 6, 2026by github-actions[bot]

AI Summary

A patch release introducing `validator()` as the canonical method for server functions and middleware, while deprecating the older `inputValidator()` method.

Key Highlights

  • Added `validator()` as the canonical server function and middleware validator method
  • Deprecated `inputValidator()`
  • Compiler warnings emitted for remaining uses of `inputValidator()`

Breaking Changes

  • Deprecation of `inputValidator()` in favor of `validator()`

New Features

  • New `validator()` method for server functions

Full Release Notes

### Patch Changes

-   [#7566](https://github.com/TanStack/router/pull/7566) [`9bebf8d`](https://github.com/TanStack/router/commit/9bebf8dc9f2bf74b680c065a5aa63d03b9622825) - Add `validator()` as the canonical server function and middleware validator method. Deprecate `inputValidator()` and emit compiler warnings for remaining uses.