@@ -97,7 +97,7 @@ Sentry SDK requires the fetch API to be available in the environment.
97
97
98
98
## General API Changes
99
99
100
- - The minumum supported Node version for all the SDK packages is Node 14 (#10527 )
100
+ - The minimum supported Node version for all the SDK packages is Node 14 (#10527 )
101
101
- Remove ` spanStatusfromHttpCode ` in favour of ` getSpanStatusFromHttpCode ` (#10361 )
102
102
- Remove deprecated ` deepReadDirSync ` export from ` @sentry/node ` (#10564 )
103
103
- Remove ` _eventFromIncompleteOnError ` usage (#10553 )
@@ -118,7 +118,7 @@ npx @sentry/migr8@latest
118
118
This will let you select which updates to run, and automatically update your code. Make sure to still review all code
119
119
changes!
120
120
121
- ## Depreacted ` BrowserTracing ` integration
121
+ ## Deprecated ` BrowserTracing ` integration
122
122
123
123
The ` BrowserTracing ` integration, together with the custom routing instrumentations passed to it, are deprecated in v8.
124
124
Instead, you should use ` Sentry.browserTracingIntegration() ` .
@@ -243,7 +243,16 @@ only be set later during the span lifecycle (and thus not be available during sa
243
243
244
244
## Deprecate ` wrapRemixHandleError ` in Remix SDK (since v7.100.0)
245
245
246
- This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` .
246
+ This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` . It can be
247
+ used as below:
248
+
249
+ ```` typescript
250
+ // entry.server.ts
251
+
252
+ export const handleError = Sentry .wrapHandleErrorWithSentry (() => {
253
+ // Custom handleError implementation
254
+ });
255
+ ```
247
256
248
257
## Deprecate using ` getClient() ` to check if the SDK was initialized
249
258
@@ -337,7 +346,7 @@ typescript:
337
346
338
347
```ts
339
348
const replay = getClient ().getIntegrationByName <Replay >('Replay ');
340
- ```
349
+ ````
341
350
342
351
## Deprecate `Hub `
343
352
@@ -1139,8 +1148,8 @@ version.
1139
1148
### Import Changes
1140
1149
1141
1150
Due to the compiler change, our NPM package structure changed as well as it now conforms to the
1142
- [ ** Angular** Package Format v10] ( https://docs.google.com/document/d/1uh2D6XqaGh2yjjXwfF4SrJqWl1MBhMPntlNBBsk6rbw/edit ) .
1143
- In case you're importing from specific paths other than ` @sentry/angular ` you will have to adjust these paths. As an
1151
+ [Angular Package Format v10](https://docs.google.com/document/d/1uh2D6XqaGh2yjjXwfF4SrJqWl1MBhMPntlNBBsk6rbw/edit). In
1152
+ case you're importing from specific paths other than ` @sentry / angular ` you will have to adjust these paths. As an
1144
1153
example, ` import ... from ' @sentry/angular/esm/injex.js' ` should be changed to
1145
1154
` import ... from ' @sentry/angular/esm2015/index.js' ` . Generally, we strongly recommend only importing from
1146
1155
` @sentry / angular ` .
0 commit comments