Packages

fastify

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

Upgrading fastify From 4.28.0 to 5.12.5

40 releases in betweennotes for 37

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

Counted from 37 of 40 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

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'

10 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

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