unstale

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 init

@unstale/cli on npm

unplugin-auto-import 213 changes

Breaking changes 2

  • The package is now ESM-only, so developers must use it as an ESM package.

    21.0.0release notes

  • Support for Node.js versions below 20.19.0 is dropped.

    21.0.0release notes

Performance 1

  • Picomatch matchers are precompiled once per context, improving performance.

    21.1.0release notes

unplugin-auto-import 205 changes

New APIs and options 2

  • An option was added to preserve file extensions for .ts and .tsx files.

    20.3.0release notes

  • A React DOM preset was added for configuring auto-imports.

    20.3.0release notes

Behavior and default changes 2

  • The React preset was updated, potentially changing the auto-imports it provides.

    20.3.0release notes

  • The @solidjs/router preset was updated, potentially changing the auto-imports it provides.

    20.3.0release notes

Fixes and other changes 1

  • Types for @antfu/utils are now resolved in the generated dts output.

    20.3.0release notes