Skip to content

Commit 024e9f1

Browse files
authored
docs: Add apollo integration to migration docs
1 parent 963eab7 commit 024e9f1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

MIGRATION.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ Removed top-level exports: `enableAnrDetection`, `Anr`, `deepReadDirSync`, `runW
711711
- [Removal of `enableAnrDetection` and `Anr` class](./MIGRATION.md#removal-of-enableanrdetection-and-anr-class)
712712
- [Removal of `deepReadDirSync` method](./MIGRATION.md#removal-of-deepreaddirsync-method)
713713
- [Removal of `runWithAsyncContext` method](./MIGRATION.md#removal-of-runwithasynccontext-method)
714+
- [Removal of `Apollo` integration](./MIGRATION.md#removal-of-apollo-integration)
714715
715716
#### Removal of `enableAnrDetection` and `Anr` class
716717
@@ -737,6 +738,24 @@ Sentry.withIsolationScope(() => {
737738
});
738739
```
739740
741+
#### Removal of Apollo integration
742+
743+
The Apollo integration has been removed in `8.x` as `8.x` automatically adds GraphQL support via `graphqlIntegration`
744+
which is automatically enabled.
745+
746+
```js
747+
// before (v7)
748+
Sentry.init({
749+
integrations: [
750+
Sentry.integrations.Apollo(),
751+
],
752+
});
753+
754+
// after (v8)
755+
Sentry.init({});
756+
```
757+
758+
740759
### Next.js SDK
741760
742761
Removed top-level exports: `withSentryApi`, `withSentryAPI`, `withSentryGetServerSideProps`, `withSentryGetStaticProps`,

0 commit comments

Comments
 (0)