Skip to content

Commit

Permalink
docs: Add apollo integration to migration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad authored Jul 11, 2024
1 parent 963eab7 commit 024e9f1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ Removed top-level exports: `enableAnrDetection`, `Anr`, `deepReadDirSync`, `runW
- [Removal of `enableAnrDetection` and `Anr` class](./MIGRATION.md#removal-of-enableanrdetection-and-anr-class)
- [Removal of `deepReadDirSync` method](./MIGRATION.md#removal-of-deepreaddirsync-method)
- [Removal of `runWithAsyncContext` method](./MIGRATION.md#removal-of-runwithasynccontext-method)
- [Removal of `Apollo` integration](./MIGRATION.md#removal-of-apollo-integration)
#### Removal of `enableAnrDetection` and `Anr` class
Expand All @@ -737,6 +738,24 @@ Sentry.withIsolationScope(() => {
});
```
#### Removal of Apollo integration
The Apollo integration has been removed in `8.x` as `8.x` automatically adds GraphQL support via `graphqlIntegration`
which is automatically enabled.
```js
// before (v7)
Sentry.init({
integrations: [
Sentry.integrations.Apollo(),
],
});

// after (v8)
Sentry.init({});
```
### Next.js SDK
Removed top-level exports: `withSentryApi`, `withSentryAPI`, `withSentryGetServerSideProps`, `withSentryGetStaticProps`,
Expand Down

0 comments on commit 024e9f1

Please sign in to comment.