@tanstack/router-cli@1.167.44

TanStack/router@tanstack/router-cli@1.167.44Oct 14, 2026by github-actions[bot]

Upgrading?

AI Summary

The CLI tool has been refactored to replace the `yargs` dependency with the dependency-free `cac` parser, improving performance and reducing bundle size.

Key Highlights

  • Replaced `yargs` with dependency-free `cac` parser
  • Commands `tsr generate` and `tsr watch` remain functional
  • Improved error handling for unknown commands, options, and arguments

New Features

  • Dependency-free parser implementation
  • Strict error handling for invalid arguments

Full Release Notes

### Patch Changes

-   [#8711](https://github.com/TanStack/router/pull/8711) [`a80cd74`](https://github.com/TanStack/router/commit/a80cd7410591396aa203f754c34caff2628f21fd) - Replace `yargs` with the dependency-free `cac` for parsing `tsr` arguments. `tsr generate` and `tsr watch` work as before. Running `tsr` with no command now prints help, and unknown commands, unknown options, or extra arguments now print an error and exit with code 1 instead of being ignored.

-   Updated dependencies \[]:
    -   @tanstack/router-generator@1.167.44

Related Repositories