44
55- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66
7+ ## 8.12.0
8+
9+ ### Important Changes
10+
711- ** feat(solid): Remove need to pass router hooks to solid integration** (breaking)
812
913This release introduces breaking changes to the ` @sentry/solid ` package (which is currently out in alpha).
@@ -26,6 +30,45 @@ Sentry.init({
2630const SentryRouter = withSentryRouterRouting (Router);
2731```
2832
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(bundle): Ensure CDN bundles do not overwrite ` window.Sentry ` (#12580 )
65+ - fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integration (#12535 )
66+ - fix(node): Re-throw errors from koa middleware (#12609 )
67+ - fix(remix): Mark ` isRemixV2 ` as optional in exposed types. (#12614 )
68+ - ref(node): Add error message to NodeFetch log (#12612 )
69+
70+ Work in this release was contributed by @n4bb12 . Thank you for your contribution!
71+
2972## 8.11.0
3073
3174### Important Changes
0 commit comments