# What changed in vite-plugin-pwa

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

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

## vite-plugin-pwa 2

### Tooling

- Allows @vite-pwa/assets-generator ^2.0.0 as a peer dependency. (2.0.0) — [release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases/tag/v2.0.0)

## vite-plugin-pwa 1

### New APIs and options

- Adds the onNeedReload callback to the client API. (1.3.0) — [release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases/tag/v1.3.0)

### Tooling

- Adds peer dependency support for Vite 8. (1.3.0) — [release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases/tag/v1.3.0)
