npm / fastify-plugin
fastify-plugin
What changed in fastify-plugin 5 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
3 breaking2 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initfastify-plugin 65 changes
Breaking changes 2
The options object is no longer mutated.
A deprecated interface was removed; TypeScript consumers relying on it may need to update their code.
Behavior and default changes 1
The options.name value is now type-checked.
Fixes and other changes 2
Hyphenated anonymous plugin names are now preserved.
Passing a nullish plugin now throws the intended TypeError.
fastify-plugin 52 changes
Breaking changes 1
The minimum supported Fastify version was updated.
Behavior and default changes 1
The package explicitly declares its JavaScript module type, which affects how Node.js interprets its files.