npm / unplugin-auto-import
unplugin-auto-import
What changed in unplugin-auto-import 20 to 21, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
2 breaking2 new APIs and options1 performance2 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initunplugin-auto-import 213 changes
Breaking changes 2
The package is now ESM-only, so developers must use it as an ESM package.
Support for Node.js versions below 20.19.0 is dropped.
Performance 1
Picomatch matchers are precompiled once per context, improving performance.
unplugin-auto-import 205 changes
New APIs and options 2
An option was added to preserve file extensions for .ts and .tsx files.
A React DOM preset was added for configuring auto-imports.
Behavior and default changes 2
The React preset was updated, potentially changing the auto-imports it provides.
The @solidjs/router preset was updated, potentially changing the auto-imports it provides.
Fixes and other changes 1
Types for @antfu/utils are now resolved in the generated dts output.