Packages

fastify

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

Upgrading fastify From 4.10.1 to 5.12.5

76 releases in betweennotes for 70

Other targets from 4.10.1Newest 4.x4.29.1Latest5.12.8
  1. 4.10.1yours
  2. 4.10.2security
  3. 37 releases
  4. 4.29.1security
  5. 5.0.0major
  6. 5 releases
  7. 5.3.1security
  8. 5.3.2security
  9. 9 releases
  10. 5.7.3security
  11. 2 releases
  12. 5.8.1security
  13. 1 release
  14. 5.8.3security
  15. 1 release
  16. 5.8.5security
  17. 7 releases
  18. 5.12.1security
  19. 5.12.2security
  20. 2 releases
  21. 5.12.5target
8+
changes to make
10
advisories fixed
107+
new
203+
fixes

Counted from 70 of 76 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
  • Deprecated4.26.0
  • Deprecated4.11.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'

52 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

836 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.