You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MIGRATION.md
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,28 @@ Node.js version 6 has reached end of life in April 2019. For Sentry JavaScript S
10
10
As far as SDK development goes, dropping support means no longer running integration tests for Node.js version 6, and also no longer handling edge cases specific to version 6.
11
11
Running the new SDK version on Node.js v6 is therefore highly discouraged.
12
12
13
+
## Removal of `@sentry/minimal`
14
+
15
+
The `@sentry/minimal` package was deleted and it's functionality was moved to `@sentry/hub`. All exports from `@sentry/minimal` should be avaliable in `@sentry/hub` other than `_callOnClient` function which was removed.
16
+
17
+
```ts
18
+
// New in v7:
19
+
import {
20
+
addBreadcrumb,
21
+
captureException,
22
+
configureScope,
23
+
setTag,
24
+
} from'@sentry/hub';
25
+
26
+
// Before:
27
+
import {
28
+
addBreadcrumb,
29
+
captureException,
30
+
configureScope,
31
+
setTag,
32
+
} from'@sentry/minimal';
33
+
```
34
+
13
35
## Removal Of Old Platform Integrations From `@sentry/integrations` Package
14
36
15
37
The following classes will be removed from the `@sentry/integrations` package and can no longer be used:
0 commit comments