Commit 9ae72e2
feat(node)!: Drop support for Fastify
## What
Drops support for Fastify `<3.21.0` by removing
`FastifyInstrumentationV3` (and `instrumentFastifyV3`). The node
`fastifyIntegration` becomes a thin pass-through to the channel-based
integration in `@sentry/server-utils`.
## Why
The channel-based `fastifyIntegration` (default since #22501) covers
Fastify `>=3.21.0 <6`. The v3 OpenTelemetry instrumentation only existed
to fill the `>=3.0.0 <3.21.0` gap, and it was the last remaining
import-in-the-middle module-patcher in `@sentry/node`. Dropping the old
Fastify range lets us remove it.
Ref: #22346
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com><3.21.0 (#22752)1 parent 5ad415c commit 9ae72e2
10 files changed
Lines changed: 5 additions & 643 deletions
File tree
- dev-packages/e2e-tests/test-applications/node-fastify-3
- tests
- packages/node/src/integrations/tracing
- fastify
- v3
- enums
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 28 | | |
38 | 29 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
4 | 3 | | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
94 | 92 | | |
95 | 93 | | |
96 | 94 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 95 | | |
103 | 96 | | |
104 | 97 | | |
| |||
108 | 101 | | |
109 | 102 | | |
110 | 103 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 104 | | |
122 | 105 | | |
123 | 106 | | |
| |||
135 | 118 | | |
136 | 119 | | |
137 | 120 | | |
138 | | - | |
| 121 | + | |
139 | 122 | | |
140 | 123 | | |
141 | 124 | | |
| |||
Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 0 additions & 34 deletions
This file was deleted.
0 commit comments