4
4
5
5
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
6
6
7
+ ## 8.12.0
8
+
9
+ ### Important Changes
10
+
7
11
- ** feat(solid): Remove need to pass router hooks to solid integration** (breaking)
8
12
9
13
This release introduces breaking changes to the ` @sentry/solid ` package (which is currently out in alpha).
@@ -26,6 +30,46 @@ Sentry.init({
26
30
const SentryRouter = withSentryRouterRouting (Router);
27
31
```
28
32
33
+ - ** feat(core): Return client from init method (#12585 )**
34
+
35
+ ` Sentry.init() ` now returns a client directly, so you don't need to explicitly call ` getClient() ` anymore:
36
+
37
+ ``` js
38
+ const client = Sentry .init ();
39
+ ```
40
+
41
+ - ** feat(nextjs): Add ` deleteSourcemapsAfterUpload ` option (#12457 )**
42
+
43
+ This adds an easy way to delete sourcemaps immediately after uploading them:
44
+
45
+ ``` js
46
+ module .exports = withSentryConfig (nextConfig, {
47
+ sourcemaps: {
48
+ deleteSourcemapsAfterUpload: true ,
49
+ },
50
+ });
51
+ ```
52
+
53
+ - ** feat(node): Allow to configure ` maxSpanWaitDuration ` (#12610 )**
54
+
55
+ Adds configuration option for the max. duration in seconds that the SDK will wait for parent spans to be finished before
56
+ discarding a span. The SDK will automatically clean up spans that have no finished parent after this duration. This is
57
+ necessary to prevent memory leaks in case of parent spans that are never finished or otherwise dropped/missing. However,
58
+ if you have very long-running spans in your application, a shorter duration might cause spans to be discarded too early.
59
+ In this case, you can increase this duration to a value that fits your expected data.
60
+
61
+ ### Other Changes
62
+
63
+ - feat(feedback): Extra check for iPad in screenshot support (#12593 )
64
+ - fix(build) upgrade deprecated runners (#12624 )
65
+ - fix(bundle): Ensure CDN bundles do not overwrite ` window.Sentry ` (#12580 )
66
+ - fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integration (#12535 )
67
+ - fix(node): Re-throw errors from koa middleware (#12609 )
68
+ - fix(remix): Mark ` isRemixV2 ` as optional in exposed types. (#12614 )
69
+ - ref(node): Add error message to NodeFetch log (#12612 )
70
+
71
+ Work in this release was contributed by @n4bb12 . Thank you for your contribution!
72
+
29
73
## 8.11.0
30
74
31
75
### Important Changes
0 commit comments