Skip to content

Commit b560f90

Browse files
author
Luca Forstner
committed
Merge remote-tracking branch 'origin/develop' into lforst-bump-runners-ubuntu-24
2 parents 063d846 + e9d2295 commit b560f90

File tree

106 files changed

+2505
-190
lines changed

Some content is hidden

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

106 files changed

+2505
-190
lines changed

.craft.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,18 @@ targets:
108108
- name: npm
109109
id: '@sentry/sveltekit'
110110
includeNames: /^sentry-sveltekit-\d.*\.tgz$/
111+
- name: npm
112+
id: '@sentry/tanstackstart'
113+
includeNames: /^sentry-tanstackstart-\d.*\.tgz$/
111114
- name: npm
112115
id: '@sentry/gatsby'
113116
includeNames: /^sentry-gatsby-\d.*\.tgz$/
114117
- name: npm
115118
id: '@sentry/astro'
116119
includeNames: /^sentry-astro-\d.*\.tgz$/
120+
- name: npm
121+
id: '@sentry/react-router'
122+
includeNames: /^sentry-react-router-\d.*\.tgz$/
117123

118124
## 7. Other Packages
119125
## 7.1

.size-limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = [
4747
path: 'packages/browser/build/npm/esm/index.js',
4848
import: createImport('init', 'browserTracingIntegration', 'replayIntegration'),
4949
gzip: true,
50-
limit: '75.1 KB',
50+
limit: '75.2 KB',
5151
},
5252
{
5353
name: '@sentry/browser (incl. Tracing, Replay) - with treeshaking flags',

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
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 @GerryWilko and @leoambio. Thank you for your contributions!
14+
1315
## 9.2.0
1416

1517
### Important Changes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"dependencies": {
4242
"@babel/preset-typescript": "^7.16.7",
4343
"@playwright/test": "~1.50.0",
44-
"@sentry-internal/rrweb": "2.32.0",
44+
"@sentry-internal/rrweb": "2.33.0",
4545
"@sentry/browser": "9.2.0",
4646
"axios": "1.7.7",
4747
"babel-loader": "^8.2.2",

dev-packages/browser-integration-tests/suites/manual-client/browser-context/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
defaultStackParser,
77
functionToStringIntegration,
88
httpContextIntegration,
9-
inboundFiltersIntegration,
9+
eventFiltersIntegration,
1010
linkedErrorsIntegration,
1111
makeFetchTransport,
1212
} from '@sentry/browser';
@@ -16,7 +16,7 @@ const integrations = [
1616
functionToStringIntegration(),
1717
dedupeIntegration(),
1818
httpContextIntegration(),
19-
inboundFiltersIntegration(),
19+
eventFiltersIntegration(),
2020
linkedErrorsIntegration(),
2121
];
2222

dev-packages/browser-integration-tests/suites/manual-client/browser-context/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ sentryTest('allows to setup a client manually & capture exceptions', async ({ ge
3838
environment: 'local',
3939
release: '0.0.1',
4040
sdk: {
41-
integrations: ['Breadcrumbs', 'FunctionToString', 'Dedupe', 'HttpContext', 'InboundFilters', 'LinkedErrors'],
41+
integrations: ['Breadcrumbs', 'FunctionToString', 'Dedupe', 'HttpContext', 'EventFilters', 'LinkedErrors'],
4242
name: 'sentry.javascript.browser',
4343
version: expect.any(String),
4444
packages: [{ name: expect.any(String), version: expect.any(String) }],

dev-packages/e2e-tests/verdaccio-config/config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,12 @@ packages:
170170
unpublish: $all
171171
# proxy: npmjs # Don't proxy for E2E tests!
172172

173+
'@sentry/tanstackstart':
174+
access: $all
175+
publish: $all
176+
unpublish: $all
177+
# proxy: npmjs # Don't proxy for E2E tests!
178+
173179
'@sentry/types':
174180
access: $all
175181
publish: $all
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
import { cleanupChildProcesses, createRunner } from '../../../utils/runner';
2+
import { describe, afterAll, test } from 'vitest';
23

34
describe('ContextLines integration in CJS', () => {
45
afterAll(() => {
56
cleanupChildProcesses();
67
});
78

89
// Regression test for: https://github.com/getsentry/sentry-javascript/issues/14892
9-
test('does not leak open file handles', done => {
10-
createRunner(__dirname, 'scenario.ts')
10+
test('does not leak open file handles', async () => {
11+
await createRunner(__dirname, 'scenario.ts')
1112
.expectN(10, {
1213
event: {},
1314
})
14-
.start(done);
15+
.start()
16+
.completed();
1517
});
1618
});

dev-packages/node-integration-tests/suites/express-v5/multiple-routers/complex-router/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { afterAll, test } from 'vitest';
1+
import { afterAll, test, describe } from 'vitest';
22
import { cleanupChildProcesses, createRunner } from '../../../../utils/runner';
33

44
afterAll(() => {

dev-packages/node-integration-tests/suites/tracing/apollo-graphql/useOperationNameForRootSpan/test.ts

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import { createRunner } from '../../../../utils/runner';
2+
import { describe, test, expect } from 'vitest'
23

34
// Graphql Instrumentation emits some spans by default on server start
45
const EXPECTED_START_SERVER_TRANSACTION = {
56
transaction: 'Test Server Start',
67
};
78

89
describe('GraphQL/Apollo Tests > useOperationNameForRootSpan', () => {
9-
test('useOperationNameForRootSpan works with single query operation', done => {
10+
test('useOperationNameForRootSpan works with single query operation', async () => {
1011
const EXPECTED_TRANSACTION = {
1112
transaction: 'GET /test-graphql (query GetHello)',
1213
spans: expect.arrayContaining([
@@ -24,13 +25,14 @@ describe('GraphQL/Apollo Tests > useOperationNameForRootSpan', () => {
2425
]),
2526
};
2627

27-
createRunner(__dirname, 'scenario-query.js')
28+
await createRunner(__dirname, 'scenario-query.js')
2829
.expect({ transaction: EXPECTED_START_SERVER_TRANSACTION })
2930
.expect({ transaction: EXPECTED_TRANSACTION })
30-
.start(done);
31+
.start()
32+
.completed();
3133
});
3234

33-
test('useOperationNameForRootSpan works with single mutation operation', done => {
35+
test('useOperationNameForRootSpan works with single mutation operation', async () => {
3436
const EXPECTED_TRANSACTION = {
3537
transaction: 'GET /test-graphql (mutation TestMutation)',
3638
spans: expect.arrayContaining([
@@ -50,13 +52,14 @@ describe('GraphQL/Apollo Tests > useOperationNameForRootSpan', () => {
5052
]),
5153
};
5254

53-
createRunner(__dirname, 'scenario-mutation.js')
55+
await createRunner(__dirname, 'scenario-mutation.js')
5456
.expect({ transaction: EXPECTED_START_SERVER_TRANSACTION })
5557
.expect({ transaction: EXPECTED_TRANSACTION })
56-
.start(done);
58+
.start()
59+
.completed();
5760
});
5861

59-
test('useOperationNameForRootSpan ignores an invalid root span', done => {
62+
test('useOperationNameForRootSpan ignores an invalid root span', async () => {
6063
const EXPECTED_TRANSACTION = {
6164
transaction: 'test span name',
6265
spans: expect.arrayContaining([
@@ -74,13 +77,14 @@ describe('GraphQL/Apollo Tests > useOperationNameForRootSpan', () => {
7477
]),
7578
};
7679

77-
createRunner(__dirname, 'scenario-invalid-root-span.js')
80+
await createRunner(__dirname, 'scenario-invalid-root-span.js')
7881
.expect({ transaction: EXPECTED_START_SERVER_TRANSACTION })
7982
.expect({ transaction: EXPECTED_TRANSACTION })
80-
.start(done);
83+
.start()
84+
.completed();
8185
});
8286

83-
test('useOperationNameForRootSpan works with single query operation without name', done => {
87+
test('useOperationNameForRootSpan works with single query operation without name', async () => {
8488
const EXPECTED_TRANSACTION = {
8589
transaction: 'GET /test-graphql (query)',
8690
spans: expect.arrayContaining([
@@ -97,13 +101,14 @@ describe('GraphQL/Apollo Tests > useOperationNameForRootSpan', () => {
97101
]),
98102
};
99103

100-
createRunner(__dirname, 'scenario-no-operation-name.js')
104+
await createRunner(__dirname, 'scenario-no-operation-name.js')
101105
.expect({ transaction: EXPECTED_START_SERVER_TRANSACTION })
102106
.expect({ transaction: EXPECTED_TRANSACTION })
103-
.start(done);
107+
.start()
108+
.completed();
104109
});
105110

106-
test('useOperationNameForRootSpan works with multiple query operations', done => {
111+
test('useOperationNameForRootSpan works with multiple query operations', async () => {
107112
const EXPECTED_TRANSACTION = {
108113
transaction: 'GET /test-graphql (query GetHello, query GetWorld)',
109114
spans: expect.arrayContaining([
@@ -132,21 +137,23 @@ describe('GraphQL/Apollo Tests > useOperationNameForRootSpan', () => {
132137
]),
133138
};
134139

135-
createRunner(__dirname, 'scenario-multiple-operations.js')
140+
await createRunner(__dirname, 'scenario-multiple-operations.js')
136141
.expect({ transaction: EXPECTED_START_SERVER_TRANSACTION })
137142
.expect({ transaction: EXPECTED_TRANSACTION })
138-
.start(done);
143+
.start()
144+
.completed();
139145
});
140146

141-
test('useOperationNameForRootSpan works with more than 5 query operations', done => {
147+
test('useOperationNameForRootSpan works with more than 5 query operations', async () => {
142148
const EXPECTED_TRANSACTION = {
143149
transaction:
144150
'GET /test-graphql (query GetHello1, query GetHello2, query GetHello3, query GetHello4, query GetHello5, +4)',
145151
};
146152

147-
createRunner(__dirname, 'scenario-multiple-operations-many.js')
153+
await createRunner(__dirname, 'scenario-multiple-operations-many.js')
148154
.expect({ transaction: EXPECTED_START_SERVER_TRANSACTION })
149155
.expect({ transaction: EXPECTED_TRANSACTION })
150-
.start(done);
156+
.start()
157+
.completed();
151158
});
152159
});

0 commit comments

Comments
 (0)