Skip to content

Commit 6a37477

Browse files
committed
add migration entry
1 parent 5af0ee9 commit 6a37477

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

MIGRATION.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Upgrading from 7.x to 8.x
22

3+
## Removal of `trackHeaders` option for Astro middleware
4+
5+
Instead of opting-in via the middleware config, you can configure if headers should be captured via
6+
`requestDataIntegration` options, which defaults to `true` but can be disabled like this:
7+
8+
```
9+
Sentry.init({
10+
integrations: [
11+
Sentry.requestDataIntegration({
12+
include: {
13+
headers: false
14+
},
15+
}),
16+
],
17+
});
18+
```
19+
320
## Removal of Client-Side health check transaction filters
421

522
The SDK no longer filters out health check transactions by default. Instead, they are sent to Sentry but still dropped

0 commit comments

Comments
 (0)