Skip to content

Commit 5be252c

Browse files
committed
meta(changelog): Update changelog for 8.43.0
1 parent a9dcdb8 commit 5be252c

File tree

1 file changed

+95
-9
lines changed

1 file changed

+95
-9
lines changed

CHANGELOG.md

+95-9
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,112 @@
1010

1111
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
1212

13+
## 8.43.0
14+
1315
### Important Changes
1416

1517
- **feat(nuxt): Add option autoInjectServerSentry (no default import()) ([#14553](https://github.com/getsentry/sentry-javascript/pull/14553))**
1618

17-
Using the dynamic `import()` as the default behavior for initializing the SDK on the server-side did not work for every project.
18-
The default behavior of the SDK has been changed, and you now need to **use the `--import` flag to initialize Sentry on the server-side** to leverage full functionality.
19+
Using the dynamic `import()` as the default behavior for initializing the SDK on the server-side did not work for every project.
20+
The default behavior of the SDK has been changed, and you now need to **use the `--import` flag to initialize Sentry on the server-side** to leverage full functionality.
1921

20-
Example with `--import`:
22+
Example with `--import`:
2123

22-
```bash
23-
node --import ./.output/server/sentry.server.config.mjs .output/server/index.mjs
24-
```
24+
```bash
25+
node --import ./.output/server/sentry.server.config.mjs .output/server/index.mjs
26+
```
2527

26-
In case you are not able to use the `--import` flag, you can enable auto-injecting Sentry in the `nuxt.config.ts` (comes with limitations):
28+
In case you are not able to use the `--import` flag, you can enable auto-injecting Sentry in the `nuxt.config.ts` (comes with limitations):
2729

28-
```json
30+
```ts
2931
sentry: {
3032
autoInjectServerSentry: 'top-level-import', // or 'experimental_dynamic-import'
3133
},
32-
```
34+
```
35+
36+
- **feat(browser): Adds LaunchDarkly and OpenFeature integrations ([#14207](https://github.com/getsentry/sentry-javascript/pull/14207))**
37+
38+
Adds browser SDK integrations for tracking feature flag evaluations through the LaunchDarkly JS SDK and OpenFeature Web SDK:
39+
40+
```ts
41+
import * as Sentry from '@sentry/browser';
42+
43+
Sentry.init({
44+
integrations: [
45+
// Track LaunchDarkly feature flags
46+
Sentry.launchDarklyIntegration(),
47+
// Track OpenFeature feature flags
48+
Sentry.openFeatureIntegration(),
49+
],
50+
});
51+
```
52+
53+
- Read more about the [Feature Flags](https://develop.sentry.dev/sdk/expected-features/#feature-flags) feature in Sentry.
54+
- Read more about the [LaunchDarkly SDK Integration](https://docs.sentry.io/platforms/javascript/configuration/integrations/launchdarkly/).
55+
- Read more about the [OpenFeature SDK Integration](https://docs.sentry.io/platforms/javascript/configuration/integrations/openfeature/).
56+
57+
- **feat(browser): Add `featureFlagsIntegration` for custom tracking of flag evaluations ([#14582](https://github.com/getsentry/sentry-javascript/pull/14582))**
58+
59+
Adds a browser integration to manually track feature flags with an API. Feature flags are attached to subsequent error events:
60+
61+
```ts
62+
import * as Sentry from '@sentry/browser';
63+
64+
const featureFlagsIntegrationInstance = Sentry.featureFlagsIntegration();
65+
66+
Sentry.init({
67+
// Initialize the SDK with the feature flag integration
68+
integrations: [featureFlagsIntegrationInstance],
69+
});
70+
71+
// Manually track a feature flag
72+
featureFlagsIntegrationInstance.addFeatureFlag('my-feature', true);
73+
```
74+
75+
- **feat(astro): Add Astro 5 support ([#14613](https://github.com/getsentry/sentry-javascript/pull/14613))**
76+
77+
With this release, the Sentry Astro SDK officially supports Astro 5.
78+
79+
### Deprecations
80+
81+
- feat(nextjs): Deprecate typedef for `hideSourceMaps` ([#14594](https://github.com/getsentry/sentry-javascript/pull/14594))
82+
83+
The functionality of `hideSourceMaps` was removed in version 8 but was forgotten to be deprecated and removed.
84+
It will be completely removed in the next major version.
85+
86+
- feat(core): Deprecate APIs around `RequestSession`s ([#14566](https://github.com/getsentry/sentry-javascript/pull/14566))
87+
88+
The APIs around `RequestSession`s are mostly used internally.
89+
Going forward the SDK will not expose concepts around `RequestSession`s.
90+
Instead, functionality around server-side [Release Health](https://docs.sentry.io/product/releases/health/) will be managed in integrations.
91+
92+
### Other Changes
93+
94+
- feat(browser): Add `browserSessionIntegration` ([#14551](https://github.com/getsentry/sentry-javascript/pull/14551))
95+
- feat(core): Add `raw_security` envelope types ([#14562](https://github.com/getsentry/sentry-javascript/pull/14562))
96+
- feat(deps): Bump @opentelemetry/instrumentation from 0.55.0 to 0.56.0 ([#14625](https://github.com/getsentry/sentry-javascript/pull/14625))
97+
- feat(deps): Bump @sentry/cli from 2.38.2 to 2.39.1 ([#14626](https://github.com/getsentry/sentry-javascript/pull/14626))
98+
- feat(deps): Bump @sentry/rollup-plugin from 2.22.6 to 2.22.7 ([#14622](https://github.com/getsentry/sentry-javascript/pull/14622))
99+
- feat(deps): Bump @sentry/webpack-plugin from 2.22.6 to 2.22.7 ([#14623](https://github.com/getsentry/sentry-javascript/pull/14623))
100+
- feat(nestjs): Add fastify support ([#14549](https://github.com/getsentry/sentry-javascript/pull/14549))
101+
- feat(node): Add @vercel/ai instrumentation ([#13892](https://github.com/getsentry/sentry-javascript/pull/13892))
102+
- feat(node): Add `disableAnrDetectionForCallback` function ([#14359](https://github.com/getsentry/sentry-javascript/pull/14359))
103+
- feat(node): Add `trackIncomingRequestsAsSessions` option to http integration ([#14567](https://github.com/getsentry/sentry-javascript/pull/14567))
104+
- feat(nuxt): Add option `autoInjectServerSentry` (no default `import()`) ([#14553](https://github.com/getsentry/sentry-javascript/pull/14553))
105+
- feat(nuxt): Add warning when Netlify or Vercel build is discovered ([#13868](https://github.com/getsentry/sentry-javascript/pull/13868))
106+
- feat(nuxt): Improve serverless event flushing and scope isolation ([#14605](https://github.com/getsentry/sentry-javascript/pull/14605))
107+
- feat(opentelemetry): Stop looking at propagation context for span creation ([#14481](https://github.com/getsentry/sentry-javascript/pull/14481))
108+
- feat(opentelemetry): Update OpenTelemetry dependencies to `^1.29.0` ([#14590](https://github.com/getsentry/sentry-javascript/pull/14590))
109+
- feat(opentelemetry): Update OpenTelemetry dependencies to `1.28.0` ([#14547](https://github.com/getsentry/sentry-javascript/pull/14547))
110+
- feat(replay): Upgrade rrweb packages to 2.30.0 ([#14597](https://github.com/getsentry/sentry-javascript/pull/14597))
111+
- fix(core): Decode `filename` and `module` stack frame properties in Node stack parser ([#14544](https://github.com/getsentry/sentry-javascript/pull/14544))
112+
- fix(core): Filter out unactionable CEFSharp promise rejection error by default ([#14595](https://github.com/getsentry/sentry-javascript/pull/14595))
113+
- fix(nextjs): Don't show warning about devtool option ([#14552](https://github.com/getsentry/sentry-javascript/pull/14552))
114+
- fix(nextjs): Only apply tracing metadata to data fetcher data when data is an object ([#14575](https://github.com/getsentry/sentry-javascript/pull/14575))
115+
- fix(node): Guard against invalid `maxSpanWaitDuration` values ([#14632](https://github.com/getsentry/sentry-javascript/pull/14632))
116+
- fix(react): Match routes with `parseSearch` option in TanStack Router instrumentation ([#14328](https://github.com/getsentry/sentry-javascript/pull/14328))
117+
- fix(sveltekit): Fix git SHA not being picked up for release ([#14540](https://github.com/getsentry/sentry-javascript/pull/14540))
118+
- fix(types): Fix generic exports with default ([#14576](https://github.com/getsentry/sentry-javascript/pull/14576))
33119

34120
Work in this release was contributed by @lsmurray. Thank you for your contribution!
35121

0 commit comments

Comments
 (0)