# What changed in vite-imagetools

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

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

## vite-imagetools 7

### Breaking changes

- Node.js 18 or newer is now required, aligning with Vite and Vitest. (7.0.0) — [release notes](https://github.com/JonasKruckenberg/imagetools/blob/HEAD/packages/vite/CHANGELOG.md)

### New APIs and options

- An inline directive is now available. (7.0.0) — [release notes](https://github.com/JonasKruckenberg/imagetools/blob/HEAD/packages/vite/CHANGELOG.md)
- The plugin now supports Vite's server.origin option. (7.0.0) — [release notes](https://github.com/JonasKruckenberg/imagetools/blob/HEAD/packages/vite/CHANGELOG.md)

### Performance

- Generated images can now be cached. (7.0.0) — [release notes](https://github.com/JonasKruckenberg/imagetools/blob/HEAD/packages/vite/CHANGELOG.md)

### Fixes and other changes

- The pathname is now URI-decoded when emitting a file. (7.0.0) — [release notes](https://github.com/JonasKruckenberg/imagetools/blob/HEAD/packages/vite/CHANGELOG.md)
