Skip to content

Commit 6f903d5

Browse files
Merge pull request #14642 from getsentry/master
[Gitflow] Merge master into develop
2 parents a9dcdb8 + e8847ee commit 6f903d5

File tree

49 files changed

+238
-144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+238
-144
lines changed

CHANGELOG.md

Lines changed: 95 additions & 9 deletions
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

dev-packages/browser-integration-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-integration-tests",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -43,7 +43,7 @@
4343
"@babel/preset-typescript": "^7.16.7",
4444
"@playwright/test": "^1.44.1",
4545
"@sentry-internal/rrweb": "2.30.0",
46-
"@sentry/browser": "8.42.0",
46+
"@sentry/browser": "8.43.0",
4747
"axios": "1.7.7",
4848
"babel-loader": "^8.2.2",
4949
"html-webpack-plugin": "^5.5.0",

dev-packages/bundle-analyzer-scenarios/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/bundle-analyzer-scenarios",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"description": "Scenarios to test bundle analysis with",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/dev-packages/bundle-analyzer-scenarios",

dev-packages/clear-cache-gh-action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@sentry-internal/clear-cache-gh-action",
33
"description": "An internal Github Action to clear GitHub caches.",
4-
"version": "8.42.0",
4+
"version": "8.43.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

dev-packages/e2e-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/e2e-tests",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

dev-packages/external-contributor-gh-action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@sentry-internal/external-contributor-gh-action",
33
"description": "An internal Github Action to add external contributors to the CHANGELOG.md file.",
4-
"version": "8.42.0",
4+
"version": "8.43.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

dev-packages/node-integration-tests/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/node-integration-tests",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=14.18"
@@ -31,9 +31,9 @@
3131
"@nestjs/core": "10.4.6",
3232
"@nestjs/platform-express": "10.4.6",
3333
"@prisma/client": "5.9.1",
34-
"@sentry/aws-serverless": "8.42.0",
35-
"@sentry/core": "8.42.0",
36-
"@sentry/node": "8.42.0",
34+
"@sentry/aws-serverless": "8.43.0",
35+
"@sentry/core": "8.43.0",
36+
"@sentry/node": "8.43.0",
3737
"@types/mongodb": "^3.6.20",
3838
"@types/mysql": "^2.15.21",
3939
"@types/pg": "^8.6.5",

dev-packages/rollup-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/rollup-utils",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"description": "Rollup utilities used at Sentry for the Sentry JavaScript SDK",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/rollup-utils",

dev-packages/size-limit-gh-action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@sentry-internal/size-limit-gh-action",
33
"description": "An internal Github Action to compare the current size of a PR against the one on develop.",
4-
"version": "8.42.0",
4+
"version": "8.43.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

dev-packages/test-utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"name": "@sentry-internal/test-utils",
55
"author": "Sentry",
66
"license": "MIT",
@@ -45,7 +45,7 @@
4545
},
4646
"devDependencies": {
4747
"@playwright/test": "^1.44.1",
48-
"@sentry/core": "8.42.0"
48+
"@sentry/core": "8.43.0"
4949
},
5050
"volta": {
5151
"extends": "../../package.json"

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"npmClient": "yarn"
55
}

packages/angular/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/angular",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"description": "Official Sentry SDK for Angular",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/angular",
@@ -21,8 +21,8 @@
2121
"rxjs": "^6.5.5 || ^7.x"
2222
},
2323
"dependencies": {
24-
"@sentry/browser": "8.42.0",
25-
"@sentry/core": "8.42.0",
24+
"@sentry/browser": "8.43.0",
25+
"@sentry/core": "8.43.0",
2626
"tslib": "^2.4.1"
2727
},
2828
"devDependencies": {

packages/astro/package.json

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
{
22
"name": "@sentry/astro",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"description": "Official Sentry SDK for Astro",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/astro",
7-
"keywords": ["withastro", "astro-component", "astro-integration", "sentry", "apm"],
7+
"keywords": [
8+
"withastro",
9+
"astro-component",
10+
"astro-integration",
11+
"sentry",
12+
"apm"
13+
],
814
"author": "Sentry",
915
"license": "MIT",
1016
"engines": {
1117
"node": ">=18.14.1"
1218
},
1319
"type": "module",
14-
"files": ["/build"],
20+
"files": [
21+
"/build"
22+
],
1523
"main": "build/cjs/index.client.js",
1624
"module": "build/esm/index.server.js",
1725
"browser": "build/esm/index.client.js",
@@ -48,9 +56,9 @@
4856
"astro": ">=3.x || >=4.0.0-beta || >=5.x"
4957
},
5058
"dependencies": {
51-
"@sentry/browser": "8.42.0",
52-
"@sentry/core": "8.42.0",
53-
"@sentry/node": "8.42.0",
59+
"@sentry/browser": "8.43.0",
60+
"@sentry/core": "8.43.0",
61+
"@sentry/node": "8.43.0",
5462
"@sentry/vite-plugin": "^2.22.6"
5563
},
5664
"devDependencies": {

packages/aws-serverless/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/aws-serverless",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"description": "Official Sentry SDK for AWS Lambda and AWS Serverless Environments",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/serverless",
@@ -68,8 +68,8 @@
6868
"@opentelemetry/instrumentation": "^0.56.0",
6969
"@opentelemetry/instrumentation-aws-lambda": "0.49.0",
7070
"@opentelemetry/instrumentation-aws-sdk": "0.48.0",
71-
"@sentry/core": "8.42.0",
72-
"@sentry/node": "8.42.0",
71+
"@sentry/core": "8.43.0",
72+
"@sentry/node": "8.43.0",
7373
"@types/aws-lambda": "^8.10.62"
7474
},
7575
"devDependencies": {

packages/browser-utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-utils",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"description": "Browser Utilities for all Sentry JavaScript SDKs",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/browser-utils",
@@ -39,7 +39,7 @@
3939
"access": "public"
4040
},
4141
"dependencies": {
42-
"@sentry/core": "8.42.0"
42+
"@sentry/core": "8.43.0"
4343
},
4444
"scripts": {
4545
"build": "run-p build:transpile build:types",

packages/browser/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/browser",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"description": "Official Sentry SDK for browsers",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/browser",
@@ -39,14 +39,14 @@
3939
"access": "public"
4040
},
4141
"dependencies": {
42-
"@sentry-internal/browser-utils": "8.42.0",
43-
"@sentry-internal/feedback": "8.42.0",
44-
"@sentry-internal/replay": "8.42.0",
45-
"@sentry-internal/replay-canvas": "8.42.0",
46-
"@sentry/core": "8.42.0"
42+
"@sentry-internal/browser-utils": "8.43.0",
43+
"@sentry-internal/feedback": "8.43.0",
44+
"@sentry-internal/replay": "8.43.0",
45+
"@sentry-internal/replay-canvas": "8.43.0",
46+
"@sentry/core": "8.43.0"
4747
},
4848
"devDependencies": {
49-
"@sentry-internal/integration-shims": "8.42.0",
49+
"@sentry-internal/integration-shims": "8.43.0",
5050
"fake-indexeddb": "^4.0.1"
5151
},
5252
"scripts": {

packages/bun/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/bun",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"description": "Official Sentry SDK for bun",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/bun",
@@ -39,9 +39,9 @@
3939
"access": "public"
4040
},
4141
"dependencies": {
42-
"@sentry/core": "8.42.0",
43-
"@sentry/node": "8.42.0",
44-
"@sentry/opentelemetry": "8.42.0"
42+
"@sentry/core": "8.43.0",
43+
"@sentry/node": "8.43.0",
44+
"@sentry/opentelemetry": "8.43.0"
4545
},
4646
"devDependencies": {
4747
"bun-types": "latest"

packages/cloudflare/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/cloudflare",
3-
"version": "8.42.0",
3+
"version": "8.43.0",
44
"description": "Official Sentry SDK for Cloudflare Workers and Pages",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/cloudflare",
@@ -39,7 +39,7 @@
3939
"access": "public"
4040
},
4141
"dependencies": {
42-
"@sentry/core": "8.42.0"
42+
"@sentry/core": "8.43.0"
4343
},
4444
"optionalDependencies": {
4545
"@cloudflare/workers-types": "^4.x"

0 commit comments

Comments
 (0)