Skip to content

Commit 189848d

Browse files
authored
Merge branch 'develop' into fix/fetch-not-release
2 parents 3ba1c20 + a91a5ba commit 189848d

File tree

240 files changed

+1472
-718
lines changed

Some content is hidden

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

240 files changed

+1472
-718
lines changed

.size-limit.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = [
4040
path: 'packages/browser/build/npm/esm/index.js',
4141
import: createImport('init', 'browserTracingIntegration'),
4242
gzip: true,
43-
limit: '36 KB',
43+
limit: '36.5 KB',
4444
},
4545
{
4646
name: '@sentry/browser (incl. Tracing, Replay)',
@@ -79,7 +79,7 @@ module.exports = [
7979
path: 'packages/browser/build/npm/esm/index.js',
8080
import: createImport('init', 'browserTracingIntegration', 'replayIntegration', 'replayCanvasIntegration'),
8181
gzip: true,
82-
limit: '78.1 KB',
82+
limit: '78.2 KB',
8383
},
8484
{
8585
name: '@sentry/browser (incl. Tracing, Replay, Feedback)',
@@ -124,7 +124,7 @@ module.exports = [
124124
import: createImport('init', 'ErrorBoundary', 'reactRouterV6BrowserTracingIntegration'),
125125
ignore: ['react/jsx-runtime'],
126126
gzip: true,
127-
limit: '39.05 KB',
127+
limit: '39.5 KB',
128128
},
129129
// Vue SDK (ESM)
130130
{

.vscode/settings.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
{
2-
"editor.formatOnType": true,
3-
"editor.formatOnPaste": false,
4-
"editor.formatOnSave": true,
5-
"editor.rulers": [120],
62
"editor.tabSize": 2,
7-
"files.autoSave": "onWindowChange",
83
"files.trimTrailingWhitespace": true,
94
"files.insertFinalNewline": true,
105
"search.exclude": {
@@ -15,11 +10,6 @@
1510
"**/yarn-error.log": true
1611
},
1712
"typescript.tsdk": "./node_modules/typescript/lib",
18-
"[json]": {
19-
"editor.formatOnType": false,
20-
"editor.formatOnPaste": false,
21-
"editor.formatOnSave": false
22-
},
2313
"[markdown]": {
2414
"editor.defaultFormatter": "esbenp.prettier-vscode"
2515
},
@@ -35,12 +25,8 @@
3525
}
3626
],
3727
"deno.enablePaths": ["packages/deno/test"],
38-
"editor.codeActionsOnSave": {
39-
"source.organizeImports.biome": "explicit"
40-
},
4128
"editor.defaultFormatter": "biomejs.biome",
4229
"[typescript]": {
4330
"editor.defaultFormatter": "biomejs.biome"
44-
},
45-
"cSpell.words": ["arrayify", "OTEL"]
31+
}
4632
}

CHANGELOG.md

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

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

13+
## 8.37.1
14+
15+
- feat(deps): Bump @opentelemetry/instrumentation from 0.53.0 to 0.54.0 for @sentry/opentelemetry ([#14187](https://github.com/getsentry/sentry-javascript/pull/14187))
16+
17+
## 8.37.0
18+
19+
### Important Changes
20+
1321
- **feat(nuxt): Add `piniaIntegration` ([#14138](https://github.com/getsentry/sentry-javascript/pull/14138))**
1422

1523
The Nuxt SDK now allows you to track Pinia state for captured errors. To enable the Pinia plugin, add the `piniaIntegration` to your client config:
@@ -27,6 +35,35 @@ Sentry.init({
2735
});
2836
```
2937

38+
- **feat: Deprecate metrics API ([#14157](https://github.com/getsentry/sentry-javascript/pull/14157))**
39+
40+
The Sentry Metrics beta has ended in favour of revisiting metrics in another form at a later date.
41+
42+
This new approach will include different APIs, making the current metrics API unnecessary. This release
43+
deprecates the metrics API with the plan to remove in the next SDK major version. If you currently use the
44+
metrics API in your code, you can safely continue to do so but sent data will no longer be processed by Sentry.
45+
46+
[Learn more](https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Metrics-Beta-Ended-on-October-7th) about the end of the Metrics beta.
47+
48+
### Other Changes
49+
50+
- feat(browser): Add `http.response_delivery_type` attribute to resource spans ([#14056](https://github.com/getsentry/sentry-javascript/pull/14056))
51+
- feat(browser): Add `skipBrowserExtensionCheck` escape hatch option ([#14147](https://github.com/getsentry/sentry-javascript/pull/14147))
52+
- feat(deps): Bump @opentelemetry/instrumentation from 0.53.0 to 0.54.0 ([#14174](https://github.com/getsentry/sentry-javascript/pull/14174))
53+
- feat(deps): Bump @opentelemetry/instrumentation-fastify from 0.40.0 to 0.41.0 ([#14175](https://github.com/getsentry/sentry-javascript/pull/14175))
54+
- feat(deps): Bump @opentelemetry/instrumentation-graphql from 0.43.0 to 0.44.0 ([#14173](https://github.com/getsentry/sentry-javascript/pull/14173))
55+
- feat(deps): Bump @opentelemetry/instrumentation-mongodb from 0.47.0 to 0.48.0 ([#14171](https://github.com/getsentry/sentry-javascript/pull/14171))
56+
- feat(deps): Bump @opentelemetry/propagator-aws-xray from 1.25.1 to 1.26.0 ([#14172](https://github.com/getsentry/sentry-javascript/pull/14172))
57+
- feat(nuxt): Add `asyncFunctionReExports` to define re-exported server functions ([#14104](https://github.com/getsentry/sentry-javascript/pull/14104))
58+
- feat(nuxt): Add `piniaIntegration` ([#14138](https://github.com/getsentry/sentry-javascript/pull/14138))
59+
- fix(browser): Avoid recording long task spans starting before their parent span ([#14183](https://github.com/getsentry/sentry-javascript/pull/14183))
60+
- fix(core): Ensure errors thrown in async cron jobs bubble up ([#14182](https://github.com/getsentry/sentry-javascript/pull/14182))
61+
- fix(core): Silently fail `maybeInstrument` ([#14140](https://github.com/getsentry/sentry-javascript/pull/14140))
62+
- fix(nextjs): Resolve path for dynamic webpack import ([#13751](https://github.com/getsentry/sentry-javascript/pull/13751))
63+
- fix(node): Make sure `modulesIntegration` does not crash esm apps ([#14169](https://github.com/getsentry/sentry-javascript/pull/14169))
64+
65+
Work in this release was contributed by @rexxars. Thank you for your contribution!
66+
3067
## 8.36.0
3168

3269
### Important Changes

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

dev-packages/browser-integration-tests/suites/feedback/attachTo/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Sentry.init({
1414
integrations: [feedback],
1515
});
1616

17-
feedback.attachTo('#custom-feedback-buttom');
17+
feedback.attachTo('#custom-feedback-button');

dev-packages/browser-integration-tests/suites/feedback/attachTo/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<meta charset="utf-8" />
55
</head>
66
<body>
7-
<button type="button" id="custom-feedback-buttom">Show feedback!</button>
7+
<button type="button" id="custom-feedback-button">Show feedback!</button>
88
</body>
99
</html>

dev-packages/browser-integration-tests/suites/feedback/attachTo/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sentryTest('should capture feedback with custom button', async ({ getLocalTestUr
2626
const url = await getLocalTestUrl({ testDir: __dirname });
2727

2828
await page.goto(url);
29-
await page.locator('#custom-feedback-buttom').click();
29+
await page.locator('#custom-feedback-button').click();
3030
await page.waitForSelector(':visible:text-is("Report a Bug")');
3131

3232
expect(await page.locator(':visible:text-is("Report a Bug")').count()).toEqual(1);

dev-packages/browser-integration-tests/suites/public-api/instrumentation/onError/non-string-arg/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sentryTest(
88
'should catch onerror calls with non-string first argument gracefully',
99
async ({ getLocalTestPath, page, browserName }) => {
1010
if (browserName === 'webkit') {
11-
// This test fails on Webkit as erros thrown from `runScriptInSandbox` are Script Errors and skipped by Sentry
11+
// This test fails on Webkit as errors thrown from `runScriptInSandbox` are Script Errors and skipped by Sentry
1212
sentryTest.skip();
1313
}
1414

dev-packages/browser-integration-tests/suites/public-api/instrumentation/onError/rethrown/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sentryTest(
88
'should NOT catch an exception already caught [but rethrown] via Sentry.captureException',
99
async ({ getLocalTestPath, page, browserName }) => {
1010
if (browserName === 'webkit') {
11-
// This test fails on Webkit as erros thrown from `runScriptInSandbox` are Script Errors and skipped by Sentry
11+
// This test fails on Webkit as errors thrown from `runScriptInSandbox` are Script Errors and skipped by Sentry
1212
sentryTest.skip();
1313
}
1414

dev-packages/browser-integration-tests/suites/public-api/instrumentation/onError/syntax-errors/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { getFirstSentryEnvelopeRequest, runScriptInSandbox } from '../../../../.
66

77
sentryTest('should catch syntax errors', async ({ getLocalTestPath, page, browserName }) => {
88
if (browserName === 'webkit') {
9-
// This test fails on Webkit as erros thrown from `runScriptInSandbox` are Script Errors and skipped by Sentry
9+
// This test fails on Webkit as errors thrown from `runScriptInSandbox` are Script Errors and skipped by Sentry
1010
sentryTest.skip();
1111
}
1212

0 commit comments

Comments
 (0)