# What changed in @redocly/cli

> 10 changes in @redocly/cli 2 from its official release notes, upgrade guides and advisories: 5 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/@redocly/cli/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @redocly/cli 2

### New APIs and options

- The generate-client command adds the client.telemetry option. (2.64.0) — [release notes](https://github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.64.0)
- The generated TypeScript client adds the onSettled middleware hook. (2.64.0) — [release notes](https://github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.64.0)
- The command supports the body-link pagination style, which follows the next page URL from a response field. (2.63.0) — [release notes](https://github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.63.0)
- The tanstack-query generator creates infinite query options for operations using body-link pagination. (2.63.0) — [release notes](https://github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.63.0)
- The nextLink option sets the response field containing the next page URL for body-link pagination. (2.63.0) — [release notes](https://github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.63.0)

### Fixes and other changes

- Fixed the command crashing on OpenAPI 3.2 descriptions with a deviceAuthorization OAuth flow and non-empty scopes. (2.64.1) — [release notes](https://github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.64.1)
- Fixed the command crashing on OpenAPI 3.2 descriptions with a deviceAuthorization OAuth flow and non-empty scopes. (2.64.1) — [release notes](https://github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.64.1)
- Fixed the command altering string values in runtime expressions containing a dot followed by a digit. (2.64.1) — [release notes](https://github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.64.1)
- The generated Go client no longer sends duplicate query parameters when following a next page link. (2.63.0) — [release notes](https://github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.63.0)
- Older browsers without AbortSignal.timeout() or AbortSignal.any() now correctly throw TimeoutError for timed-out requests instead of AbortError in Chrome 103–123. (2.63.0) — [release notes](https://github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.63.0)
