diff --git a/.tav.yml b/.tav.yml index 55b6b92c0a..7f0b5946cd 100644 --- a/.tav.yml +++ b/.tav.yml @@ -420,16 +420,11 @@ restify: # - #1086 suggests fastify@2.4.0 was a broken release, skip it. # - fastify@4.0.1 is broken: https://github.com/fastify/fastify/issues/3998#issuecomment-1153662513 # - fastify@4.16.0 - 4.16.2 (inclusive) are broken releases +# - fastify@4.27.0 bumped to `pino@^9.0.0`, `pino@9.10.0` is using Node.js' `tracingChannel` API. Breaking support for nodejs <18.19.0 # - Do not run "test/sanitize-field-names/fastify.test.js" for older fastify, # because the test file uses '@fastify/formbody', which only has versions # for fastify >=3. fastify: - - versions: '1.0.0 || 1.14.6' # subset of '1.x' - node: '>=6 <12' - commands: - - node test/instrumentation/modules/fastify/fastify.test.js - - node test/instrumentation/modules/fastify/async-await.test.js - - node test/instrumentation/modules/fastify/set-framework.test.js - versions: '2.0.0 || 2.15.3' # subset of '>=2.0.0 <2.4.0 || >2.4.0 <3' node: '>=6 <15' commands: @@ -448,7 +443,7 @@ fastify: - node test/sanitize-field-names/fastify.test.js - versions: mode: max-7 - include: '>=4 <5' + include: '>=4 <4.26.2' exclude: '4.0.1 || >=4.16.0 <=4.16.2' peerDependencies: '@fastify/formbody@^7' node: '>=14.6.0' @@ -457,6 +452,16 @@ fastify: - node test/instrumentation/modules/fastify/async-await.test.js - node test/instrumentation/modules/fastify/set-framework.test.js - node test/sanitize-field-names/fastify.test.js + - versions: + mode: max-3 + include: '>=4.26.2 <5' + peerDependencies: '@fastify/formbody@^7' + node: '>=18.19.0' + commands: + - node test/instrumentation/modules/fastify/fastify.test.js + - node test/instrumentation/modules/fastify/async-await.test.js + - node test/instrumentation/modules/fastify/set-framework.test.js + - node test/sanitize-field-names/fastify.test.js - versions: mode: max-7 include: '>=5 <6' diff --git a/docs/reference/fastify.md b/docs/reference/fastify.md index c71e9e3f37..a1b0b6bd93 100644 --- a/docs/reference/fastify.md +++ b/docs/reference/fastify.md @@ -151,7 +151,7 @@ But in many cases, information about the HTTP request itself isn’t enough. To See [*Supported technologies*](/reference/supported-technologies.md) for details. -See also: [Fastify’s own LTS documentation.](https://www.fastify.io/docs/latest/LTS/) +See also: [Fastify’s own LTS documentation.](https://fastify.dev/docs/latest/Reference/LTS/) ## Troubleshooting [fastify-troubleshooting] diff --git a/docs/reference/supported-technologies.md b/docs/reference/supported-technologies.md index b4fd15e66f..64539901d0 100644 --- a/docs/reference/supported-technologies.md +++ b/docs/reference/supported-technologies.md @@ -49,7 +49,7 @@ Though you can use Elastic APM [with any Node.js framework](/reference/custom-st | [AWS Lambda](/reference/lambda.md) | N/A | | | [Azure Functions](/reference/azure-functions.md) | v3, v4 | [Node.js programming model v3 and v4](https://learn.microsoft.com/en-us/azure/azure-functions/functions-node-upgrade-v4) | | [Express](/reference/express.md) | >=4.0.0 <6.0.0 | | -| [Fastify](/reference/fastify.md) | >=1.0.0 | See also [Fastify’s own LTS documentation](https://www.fastify.io/docs/latest/Reference/LTS/) | +| [Fastify](/reference/fastify.md) | >=2.0.0 | See also [Fastify’s own LTS documentation](https://www.fastify.io/docs/latest/Reference/LTS/) | | [@hapi/hapi](/reference/hapi.md) | >=17.9.0 <22.0.0 | | | [Koa](/reference/koa.md) via koa-router or @koa/router | >=5.2.0 <14.0.0 | Koa doesn’t have a built in router, so we can’t support Koa directly since we rely on router information for full support. We currently support the most popular Koa router called [koa-router](https://github.com/koajs/koa-router). | | [Restify](/reference/restify.md) | >=5.2.0 <12.0.0 | |