npm / unplugin
unplugin
What changed in unplugin 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
4 breaking1 new APIs and options1 behavior and defaults1 tooling8 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initunplugin 37 changes
Breaking changes 1
String filters are no longer allowed for resolveId.
New APIs and options 1
Adds an adapter for using unplugin with Rsbuild.
Behavior and default changes 1
Bun sanitizes plugin names when creating namespaces.
Fixes and other changes 4
Missing optional peer dependencies were added.
Optional peer types are declared.
Bun now consumes plugin.bun.
Bun supports per-plugin loader resolution and respects the loader returned from the load hook.
unplugin 28 changes
Breaking changes 3
The esbuild
meta.buildAPI is dropped.Node 16 support is dropped, so developers need a newer Node.js version.
Webpack 4 support is dropped.
Tooling 1
Vite 6 is supported.
Fixes and other changes 4
Compatibility with esbuild versions before 0.14.3 is fixed.
Serialized communication between JavaScript and Rust is fixed.
Fixes the issue where
Plugin.__vfsis undefined in rspack.Webpack is imported lazily.