@@ -28,7 +28,7 @@ convenient interface and improved consistency between various JavaScript environ
28
28
29
29
## Contents
30
30
31
- - [ Contributing] ( https://github.com/getsentry/sentry-javascript/blob/master /CONTRIBUTING.md )
31
+ - [ Contributing] ( https://github.com/getsentry/sentry-javascript/blob/develop /CONTRIBUTING.md )
32
32
- [ Supported Platforms] ( #supported-platforms )
33
33
- [ Installation and Usage] ( #installation-and-usage )
34
34
- [ Other Packages] ( #other-packages )
@@ -40,7 +40,6 @@ For each major JavaScript platform, there is a specific high-level SDK that prov
40
40
package. Please refer to the README and instructions of those SDKs for more detailed information:
41
41
42
42
- [ ` @sentry/browser ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/browser ) : SDK for Browsers
43
- - [ ` @sentry/bun ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/bun ) : SDK for Bun
44
43
- [ ` @sentry/node ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/node ) : SDK for Node including
45
44
integrations for Express
46
45
- [ ` @sentry/angular ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/angular ) : Browser SDK for
@@ -52,6 +51,7 @@ package. Please refer to the README and instructions of those SDKs for more deta
52
51
- [ ` @sentry/sveltekit ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/sveltekit ) : SDK for
53
52
SvelteKit
54
53
- [ ` @sentry/vue ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/vue ) : Browser SDK for Vue
54
+ - [ ` @sentry/solid ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/solid ) : Browser SDK for Solid
55
55
- [ ` @sentry/gatsby ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/gatsby ) : SDK for Gatsby
56
56
- [ ` @sentry/nextjs ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/nextjs ) : SDK for Next.js
57
57
- [ ` @sentry/remix ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/remix ) : SDK for Remix
@@ -64,6 +64,13 @@ package. Please refer to the README and instructions of those SDKs for more deta
64
64
native crashes
65
65
- [ ` @sentry/capacitor ` ] ( https://github.com/getsentry/sentry-capacitor ) : SDK for Capacitor Apps and Ionic with support
66
66
for native crashes
67
+ - [ ` @sentry/bun ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/bun ) : SDK for Bun
68
+ - [ ` @sentry/deno ` ] ( https://github.com/getsentry/sentry-javascript/tree/master/packages/deno ) : SDK for Deno
69
+
70
+ ## Version Support Policy
71
+
72
+ The current version of the SDK is 8.x. Version 7.x of the SDK will continue to receive critical bugfixes until end
73
+ of 2024.
67
74
68
75
## Installation and Usage
69
76
@@ -77,14 +84,14 @@ yarn add @sentry/browser
77
84
Setup and usage of these SDKs always follows the same principle.
78
85
79
86
``` javascript
80
- import { init , captureMessage } from ' @sentry/browser' ;
87
+ import * as Sentry from ' @sentry/browser' ;
81
88
82
- init ({
89
+ Sentry . init ({
83
90
dsn: ' __DSN__' ,
84
91
// ...
85
92
});
86
93
87
- captureMessage (' Hello, world!' );
94
+ Sentry . captureMessage (' Hello, world!' );
88
95
```
89
96
90
97
## Other Packages
0 commit comments