npm / @fastify/passport
@fastify/passport
What changed in @fastify/passport 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@fastify/passport 43 changes
Fixes and other changes 3
Type definitions no longer require both @fastify/session and @fastify/secure-session types.
Accepts falsy serialized user IDs, allowing them to be handled correctly.
Supports TypeScript imports in both ESM and CommonJS.