fastify

fastify breaking-changes badge

fastify (latest known version: 5.10.0) has 9 known breaking changes on record, each backed by a source URL.

Actively maintainedLatest known version: 5.10.0npm ↗

Security advisories

GHSA-247c-9743-5963HIGH>=5.3.2 <5.8.5

Fastify has a Body Schema Validation Bypass via Leading Space in Content-Type Header

source ↗

GHSA-3fjj-p79j-c9hhMODERATE>=4.0.0 <4.10.2 || >=3.0.0 <3.29.4

Fastify: Incorrect Content-Type parsing can lead to CSRF attack

source ↗

GHSA-444r-cwp2-x5xfMODERATE<5.8.3

fastify: request.protocol and request.host Spoofable via X-Forwarded-Proto/Host from Untrusted Connections

source ↗

GHSA-455w-c45v-86rgHIGH>=4.0.0 <4.8.1

fastify vulnerable to denial of service via malicious Content-Type

source ↗

GHSA-573f-x89g-hqp9MODERATE>=5.7.2 <5.8.1

Fastify's Missing End Anchor in "subtypeNameReg" Allows Malformed Content-Types to Pass Validation

source ↗

GHSA-jx2c-rxcm-jvmqHIGH<5.7.2

Fastify's Content-Type header tab character allows body validation bypass

source ↗

GHSA-mg2h-6x62-wpwcHIGH>=5.0.0 <5.3.2 || >=4.29.0 <4.29.1

Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass

source ↗

GHSA-mq6c-fh97-4gwvHIGH<0.38.0

Denial of Service vulnerability with large JSON payloads in fastify

source ↗

GHSA-mrq3-vjjr-p77cLOW<5.7.3

Fastify Vulnerable to DoS via Unbounded Memory Allocation in sendWebStream

source ↗

GHSA-xw5p-hw6r-2j98MODERATE<2.15.1

Denial of service in fastify

source ↗

Recent changes

v5.0.0-alpha.1Breaking

* feat!: Add req.hostname and req.port by @aarontravass in https://github.com/fastify/fastify/pull/4766

source ↗

v5.0.0-alpha.4Breaking

* refactor!: remove json shorthand by @climba03003 in https://github.com/fastify/fastify/pull/5586

source ↗

v5.0.0Breaking

* refactor!: remove json shorthand by @climba03003 in https://github.com/fastify/fastify/pull/5586

source ↗

v5.0.0Breaking

* feat!: Add req.hostname and req.port by @aarontravass in https://github.com/fastify/fastify/pull/4766

source ↗

v4.0.0Breaking

Version 4.0.0 is a semver-major release over 3.29.5, but no breaking change was detected in the release notes text - flagged for manual review.

source ↗

v3.0.0Breaking

⚠️ When updating your application to Fastify v3, update all the module at once. There might be incompatibilities by trying to do them "one at a time".

source ↗

v2.15.1Breaking

For security reasons we changed the default in the `ajv`configuration. Unfortunately `allErrors: true` is a DoS attack vector for certain schemas. So this changed to `allErrors: false`. See: ajv-validator/ajv@334071a Ref: https://hackerone.com/reports/903521

source ↗

v2.0.0Breaking

Version 2.0.0 is a semver-major release over 1.14.6, but no breaking change was detected in the release notes text - flagged for manual review.

source ↗

v1.0.0Breaking

Version 1.0.0 is a semver-major release over 0.43.0, but no breaking change was detected in the release notes text - flagged for manual review.

source ↗

Check what changed for fastify since your installed version, live.

Open the playground →