npm / @fastify/swagger-ui
@fastify/swagger-ui
What changed in @fastify/swagger-ui 3 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-20.
5 breaking1 behavior and defaults6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@fastify/swagger-ui 63 changes
Breaking changes 1
The deprecated useUnsafeMarkdown parameter was removed from the types.
Behavior and default changes 1
Updated the topbar selector for custom logos.
Fixes and other changes 1
Swagger UI URLs with query parameters are now resolved correctly.
@fastify/swagger-ui 56 changes
Breaking changes 1
Updates the minimum supported Fastify version.
Fixes and other changes 5
Corrected corrupted PNG favicon signatures.
Includes oauth2-redirect.js in the npm package distribution.
Fixes loading a JSON spec from a hash.
Fixes relative URLs for static content.
Fixes static content when routePrefix includes a subpath.
@fastify/swagger-ui 41 changes
Breaking changes 1
The UI is served directly at the route prefix instead of redirecting there.
@fastify/swagger-ui 32 changes
Breaking changes 2
Support for Node.js 14 and 16 was dropped.
Source maps were removed to reduce package size.