Packages

fastify

5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed

Upgrading fastify From 3.21.6 to 5.12.5

121 releases in betweennotes for 115

Reading releases, release notes and advisories…

Other targets from 3.21.6Newest 3.x3.29.5Latest5.12.8
  1. 3.21.6yours
  2. 20 releases
  3. 3.29.3security
  4. 2 releases
  5. 4.0.0major
  6. 13 releases
  7. 4.7.0security
  8. 1 release
  9. 4.8.1security
  10. 5 releases
  11. 4.10.2security
  12. 37 releases
  13. 4.29.1security
  14. 5.0.0major
  15. 5 releases
  16. 5.3.1security
  17. 5.3.2security
  18. 9 releases
  19. 5.7.3security
  20. 2 releases
  21. 5.8.1security
  22. 1 release
  23. 5.8.3security
  24. 1 release
  25. 5.8.5security
  26. 7 releases
  27. 5.12.1security
  28. 5.12.2security
  29. 2 releases
  30. 5.12.5target
12+
changes to make
9
advisories fixed
175+
new
294+
fixes

Counted from 115 of 121 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking5.2.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking4.18.0
  • Breaking4.0.0
  • Deprecated4.26.0
  • Deprecated4.11.0
  • Deprecated4.0.0

Security

1 advisory still affects 5.12.5

Upgrading to 5.12.6 clears it.

Release by release

  1. 5.12.5

    Security fix16 Sep 20262 new
  2. 5.12.3 – 5.12.42 releases, nothing new or fixed; 1 without a note

  3. 5.12.1

    Security fix18 Aug 20262 fixes
  4. 5.12.0

    13 Aug 20261 new · 2 fixes
    • New

      Add Reply.prototype.mediaType

    • Fixed

      Remove raw response headers

    • Fixed

      content-type: Return undefined for invalid media types

  5. 5.11.3

    8 Aug 20264 fixes
    • Fixed

      Clear trailer state when removing all trailers

    • Fixed

      Pass null instead of undefined to requestCompleted on success

    • Fixed

      Recognize constructor-assigned built-in properties as decorator …

    • Fixed

      Reset lastIndex before testing global/sticky content-type RegExp parsers

  6. 5.11.2

    3 Aug 20261 fix
    • Fixed

      Fix fastify version in fastify.js

  7. 5.11.1

    3 Aug 20263 fixes
    • Fixed

      Add http method override warning

    • Fixed

      types: Allow explicit http2: false in server options

    • Fixed

      Do not force close in-flight connections when forceCloseConnections is 'idle'

158 other lines we could not sort, mostly version bumps
  • Bumped v5.9.0

    5.9.0
  • Updated Plugins-Guide.md; Changed "fastify" to "instance" during plugin registration to showcase that it's added as a child

    5.8.3
  • Update broken link to N|Solid

    5.2.2
  • types: Use node: prefix for builtins

    5.2.0
  • types: Make plugin options required if they have any defined props

    5.1.0
  • Sync next-branch

    5.0.0
  • Next: Disallow decorate('name', null) in the types

    5.0.0
  • Change request id header default value to false

    5.0.0
  • types: Remove variadic listen types

    5.0.0
  • types: Remove nonexistant done parameter from onRegister

    5.0.0

1072 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.