Skip to content

Commit 819e4de

Browse files
committed
docs: Add apollo integration to migration docs
1 parent 963eab7 commit 819e4de

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

MIGRATION.md

Lines changed: 16 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,21 @@ 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: [Sentry.integrations.Apollo()],
750+
});
751+
752+
// after (v8)
753+
Sentry.init({});
754+
```
755+
740756
### Next.js SDK
741757
742758
Removed top-level exports: `withSentryApi`, `withSentryAPI`, `withSentryGetServerSideProps`, `withSentryGetStaticProps`,

0 commit comments

Comments
 (0)