Skip to content

Commit

Permalink
Add example to migration docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
onurtemizkan committed Mar 21, 2024
1 parent 1d8af67 commit 2241b32
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -1003,8 +1003,6 @@ export class HeaderComponent {
}
```
---
# Deprecations in 7.x
You can use the **Experimental** [@sentry/migr8](https://www.npmjs.com/package/@sentry/migr8) to automatically update
Expand Down Expand Up @@ -1142,7 +1140,16 @@ only be set later during the span lifecycle (and thus not be available during sa
## Deprecate `wrapRemixHandleError` in Remix SDK (since v7.100.0)
This release deprecates `wrapRemixHandleError` in favor of using `sentryHandleError` from `@sentry/remix`.
This release deprecates `wrapRemixHandleError` in favor of using `sentryHandleError` from `@sentry/remix`. It can be
used as below:
````typescript
// entry.server.ts
export const handleError = Sentry.wrapHandleErrorWithSentry(() => {
// Custom handleError implementation
});
```

## Deprecate using `getClient()` to check if the SDK was initialized

Expand Down Expand Up @@ -1240,7 +1247,7 @@ typescript:

```ts
const replay = getClient().getIntegrationByName<Replay>('Replay');
```
````
## Deprecate `Hub`
Expand Down

0 comments on commit 2241b32

Please sign in to comment.