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: CHANGELOG.md
+1-45Lines changed: 1 addition & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,51 +10,7 @@
10
10
11
11
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
12
12
13
-
Work in this release was contributed by @tjhiggins, @GrizliK1988, @davidturissini, @nwalters512, @aloisklink, @arturovt, @benjick, @maximepvrt, @mstrokin, and @kunal-511. Thank you for your contributions!
14
-
15
-
-**feat(solidstart)!: Default to `--import` setup and add `autoInjectServerSentry` ([#14862](https://github.com/getsentry/sentry-javascript/pull/14862))**
16
-
17
-
To enable the SolidStart SDK, wrap your SolidStart Config with `withSentry`. The `sentrySolidStartVite` plugin is now automatically
18
-
added by `withSentry` and you can pass the Sentry build-time options like this:
With the `withSentry` wrapper, the Sentry server config should not be added to the `public` directory anymore.
40
-
Add the Sentry server config in `src/instrument.server.ts`. Then, the server config will be placed inside the server build output as `instrument.server.mjs`.
41
-
42
-
Now, there are two options to set up the SDK:
43
-
44
-
1.**(recommended)** Provide an `--import` CLI flag to the start command like this (path depends on your server setup):
2. Add `autoInjectServerSentry: 'top-level-import'` and the Sentry config will be imported at the top of the server entry (comes with tracing limitations)
47
-
```js
48
-
withSentry(
49
-
{
50
-
/* Your SolidStart config options... */
51
-
},
52
-
{
53
-
// Optional: Install Sentry with a top-level import
54
-
autoInjectServerSentry:'top-level-import',
55
-
},
56
-
);
57
-
```
13
+
Work in this release was contributed by @tjhiggins, @GrizliK1988, @davidturissini, @nwalters512, @aloisklink, @arturovt, @benjick, @maximepvrt, @mstrokin, @kunal-511, @jahands, and @nathankleyn. Thank you for your contributions!
Copy file name to clipboardExpand all lines: docs/migration/v8-to-v9.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,6 +234,22 @@ Sentry.init({
234
234
- The `addNormalizedRequestDataToEvent` method has been removed. Use `httpRequestToRequestData` instead and put the resulting object directly on `event.request`.
235
235
- A `sampleRand` field on `PropagationContext` is now required. This is relevant if you used `scope.setPropagationContext(...)`
236
236
237
+
### `@sentry/solidstart`
238
+
239
+
- The `sentrySolidStartVite` plugin is no longer exported. Instead, wrap the SolidStart config with `withSentry` and
240
+
provide Sentry options as the second parameter.
241
+
242
+
```
243
+
// app.config.ts
244
+
import { defineConfig } from '@solidjs/start/config';
The following changes are unlikely to affect users of the SDK. They are listed here only for completion sake, and to alert users that may be relying on internal behavior.
0 commit comments