Skip to content

Commit 28b2fd3

Browse files
committed
Merge branch 'develop' into patch-1
2 parents 5aa9d54 + 938fe65 commit 28b2fd3

File tree

75 files changed

+323
-297
lines changed

Some content is hidden

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

75 files changed

+323
-297
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,28 @@
1010

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

13+
Work in this release was contributed by @anonrig. Thank you for your contribution!
14+
15+
## 8.44.0
16+
17+
### Deprecations
18+
19+
- **feat: Deprecate `autoSessionTracking` ([#14640](https://github.com/getsentry/sentry-javascript/pull/14640))**
20+
21+
Deprecates `autoSessionTracking`.
22+
To enable session tracking, it is recommended to unset `autoSessionTracking` and ensure that either, in browser environments
23+
the `browserSessionIntegration` is added, or in server environments the `httpIntegration` is added.
24+
25+
To disable session tracking, it is recommended to unset `autoSessionTracking` and to remove the `browserSessionIntegration` in
26+
browser environments, or in server environments configure the `httpIntegration` with the `trackIncomingRequestsAsSessions` option set to `false`.
27+
28+
### Other Changes
29+
30+
- feat: Reword log message around unsent spans ([#14641](https://github.com/getsentry/sentry-javascript/pull/14641))
31+
- feat(opentelemetry): Set `response` context for http.server spans ([#14634](https://github.com/getsentry/sentry-javascript/pull/14634))
32+
- fix(google-cloud-serverless): Update homepage link in package.json ([#14411](https://github.com/getsentry/sentry-javascript/pull/14411))
33+
- fix(nuxt): Add unbuild config to not fail on warn ([#14662](https://github.com/getsentry/sentry-javascript/pull/14662))
34+
1335
Work in this release was contributed by @robinvw1. Thank you for your contribution!
1436

1537
## 8.43.0

biome.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",
6-
"useIgnoreFile": true
6+
"useIgnoreFile": true,
7+
"defaultBranch": "develop"
78
},
89
"organizeImports": {
910
"enabled": true
@@ -17,13 +18,15 @@
1718
"noUnusedVariables": "error",
1819
"noPrecisionLoss": "error"
1920
},
21+
"complexity": {
22+
"useRegexLiterals": "error"
23+
},
2024
"suspicious": {
2125
"all": false,
2226
"noControlCharactersInRegex": "error"
2327
},
2428
"nursery": {
25-
"noUnusedImports": "error",
26-
"useRegexLiterals": "error"
29+
"noUnusedImports": "error"
2730
},
2831
"performance": {
2932
"all": true,
@@ -92,6 +95,10 @@
9295
"json": {
9396
"formatter": {
9497
"enabled": true
98+
},
99+
"parser": {
100+
"allowComments": true,
101+
"allowTrailingCommas": true
95102
}
96103
}
97104
}

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.43.0",
3+
"version": "8.44.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.43.0",
46+
"@sentry/browser": "8.44.0",
4747
"axios": "1.7.7",
4848
"babel-loader": "^8.2.2",
4949
"html-webpack-plugin": "^5.5.0",

dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-inp-late/subject.js

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
const blockUI = (delay = 70) => e => {
2-
const startTime = Date.now();
1+
const blockUI =
2+
(delay = 70) =>
3+
e => {
4+
const startTime = Date.now();
35

4-
function getElasped() {
5-
const time = Date.now();
6-
return time - startTime;
7-
}
6+
function getElasped() {
7+
const time = Date.now();
8+
return time - startTime;
9+
}
810

9-
while (getElasped() < delay) {
10-
//
11-
}
11+
while (getElasped() < delay) {
12+
//
13+
}
1214

13-
e.target.classList.add('clicked');
14-
};
15+
e.target.classList.add('clicked');
16+
};
1517

1618
document.querySelector('[data-test-id=not-so-slow-button]').addEventListener('click', blockUI(300));
1719
document.querySelector('[data-test-id=slow-button]').addEventListener('click', blockUI(450));

dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-inp-parametrized-late/subject.js

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
const blockUI = (delay = 70) => e => {
2-
const startTime = Date.now();
1+
const blockUI =
2+
(delay = 70) =>
3+
e => {
4+
const startTime = Date.now();
35

4-
function getElasped() {
5-
const time = Date.now();
6-
return time - startTime;
7-
}
6+
function getElasped() {
7+
const time = Date.now();
8+
return time - startTime;
9+
}
810

9-
while (getElasped() < delay) {
10-
//
11-
}
11+
while (getElasped() < delay) {
12+
//
13+
}
1214

13-
e.target.classList.add('clicked');
14-
};
15+
e.target.classList.add('clicked');
16+
};
1517

1618
document.querySelector('[data-test-id=not-so-slow-button]').addEventListener('click', blockUI(300));
1719
document.querySelector('[data-test-id=slow-button]').addEventListener('click', blockUI(450));

dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-inp-parametrized/subject.js

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
const blockUI = (delay = 70) => e => {
2-
const startTime = Date.now();
1+
const blockUI =
2+
(delay = 70) =>
3+
e => {
4+
const startTime = Date.now();
35

4-
function getElasped() {
5-
const time = Date.now();
6-
return time - startTime;
7-
}
6+
function getElasped() {
7+
const time = Date.now();
8+
return time - startTime;
9+
}
810

9-
while (getElasped() < delay) {
10-
//
11-
}
11+
while (getElasped() < delay) {
12+
//
13+
}
1214

13-
e.target.classList.add('clicked');
14-
};
15+
e.target.classList.add('clicked');
16+
};
1517

1618
document.querySelector('[data-test-id=not-so-slow-button]').addEventListener('click', blockUI(300));
1719
document.querySelector('[data-test-id=slow-button]').addEventListener('click', blockUI(450));

dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-inp/subject.js

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
const blockUI = (delay = 70) => e => {
2-
const startTime = Date.now();
1+
const blockUI =
2+
(delay = 70) =>
3+
e => {
4+
const startTime = Date.now();
35

4-
function getElasped() {
5-
const time = Date.now();
6-
return time - startTime;
7-
}
6+
function getElasped() {
7+
const time = Date.now();
8+
return time - startTime;
9+
}
810

9-
while (getElasped() < delay) {
10-
//
11-
}
11+
while (getElasped() < delay) {
12+
//
13+
}
1214

13-
e.target.classList.add('clicked');
14-
};
15+
e.target.classList.add('clicked');
16+
};
1517

1618
document.querySelector('[data-test-id=not-so-slow-button]').addEventListener('click', blockUI(300));
1719
document.querySelector('[data-test-id=slow-button]').addEventListener('click', blockUI(450));

dev-packages/browser-integration-tests/utils/helpers.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,10 @@ export const countEnvelopes = async (
134134

135135
page.on('request', requestHandler);
136136

137-
setTimeout(
138-
() => {
139-
page.off('request', requestHandler);
140-
resolve(reqCount);
141-
},
142-
options?.timeout || 1000,
143-
);
137+
setTimeout(() => {
138+
page.off('request', requestHandler);
139+
resolve(reqCount);
140+
}, options?.timeout || 1000);
144141
});
145142

146143
if (options?.url) {

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.43.0",
3+
"version": "8.44.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.43.0",
4+
"version": "8.44.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

0 commit comments

Comments
 (0)