# What changed in @nestjs/axios

> 7 changes in @nestjs/axios 1 to 12 from its official release notes, upgrade guides and advisories: 5 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/@nestjs/axios/

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

## @nestjs/axios 12

### Breaking changes

- Deep imports into build internals are no longer resolvable; import from the package root instead. (12.0.0) — [release notes](https://github.com/nestjs/axios/releases/tag/12.0.0)
- The supported Node range is now ^20.19.0 || ^22.12.0 || >=24.0.0, where require(esm) is available and unflagged. (12.0.0) — [release notes](https://github.com/nestjs/axios/releases/tag/12.0.0)
- @nestjs/axios is published as pure ESM; applications can import its exports from the package root. (12.0.0) — [release notes](https://github.com/nestjs/axios/releases/tag/12.0.0)

### New APIs and options

- Adds support for the HTTP Query verb (RFC 10008). (12.0.1) — [release notes](https://github.com/nestjs/axios/releases/tag/12.0.1)

### Fixes and other changes

- CommonJS applications can continue requiring @nestjs/axios on supported Node versions without converting the app to ESM. (12.0.0) — [release notes](https://github.com/nestjs/axios/releases/tag/12.0.0)

## @nestjs/axios 2

### Breaking changes

- axios was moved to peer dependencies, so consuming projects must provide it as a peer dependency. (2.0.0) — [release notes](https://github.com/nestjs/axios/releases/tag/2.0.0)

## @nestjs/axios 1

### Breaking changes

- Updated the axios dependency to v1, which may affect runtime behavior for developers using @nestjs/axios. (1.0.0) — [release notes](https://github.com/nestjs/axios/releases/tag/1.0.0)
