unstale

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

@unstale/cli on npm

@fastify/swagger-ui 63 changes

Breaking changes 1

  • The deprecated useUnsafeMarkdown parameter was removed from the types.

    6.0.0release notes

Behavior and default changes 1

Fixes and other changes 1

  • Swagger UI URLs with query parameters are now resolved correctly.

    6.1.4release notes

@fastify/swagger-ui 56 changes

Breaking changes 1

Fixes and other changes 5

  • Corrected corrupted PNG favicon signatures.

    5.2.6release notes

  • Includes oauth2-redirect.js in the npm package distribution.

    5.2.5release notes

  • Fixes loading a JSON spec from a hash.

    5.0.0release notes

  • Fixes relative URLs for static content.

    5.0.0release notes

  • Fixes static content when routePrefix includes a subpath.

    5.0.0release notes

@fastify/swagger-ui 41 changes

Breaking changes 1

  • The UI is served directly at the route prefix instead of redirecting there.

    4.0.0release notes

@fastify/swagger-ui 32 changes

Breaking changes 2