Skip to content

Commit ff85a83

Browse files
authored
Merge branch 'develop' into dependabot/npm_and_yarn/sentry/rollup-plugin-3.2.1
2 parents 2a560cb + d0b2f7d commit ff85a83

File tree

118 files changed

+1575
-463
lines changed

Some content is hidden

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

118 files changed

+1575
-463
lines changed

CHANGELOG.md

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

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

13+
## 9.5.0
14+
15+
### Important Changes
16+
17+
We found some issues with the new feedback screenshot annotation where screenshots are not being generated properly. Due to this issue, we are reverting the feature.
18+
19+
- Revert "feat(feedback) Allowing annotation via highlighting & masking ([#15484](https://github.com/getsentry/sentry-javascript/pull/15484))" (#15609)
20+
21+
### Other Changes
22+
23+
- Add cloudflare adapter detection and path generation ([#15603](https://github.com/getsentry/sentry-javascript/pull/15603))
24+
- deps(nextjs): Bump rollup to `4.34.9` ([#15589](https://github.com/getsentry/sentry-javascript/pull/15589))
25+
- feat(bun): Automatically add performance integrations ([#15586](https://github.com/getsentry/sentry-javascript/pull/15586))
26+
- feat(replay): Bump rrweb to 2.34.0 ([#15580](https://github.com/getsentry/sentry-javascript/pull/15580))
27+
- fix(browser): Call original function on early return from patched history API ([#15576](https://github.com/getsentry/sentry-javascript/pull/15576))
28+
- fix(nestjs): Copy metadata in custom decorators ([#15598](https://github.com/getsentry/sentry-javascript/pull/15598))
29+
- fix(react-router): Fix config type import ([#15583](https://github.com/getsentry/sentry-javascript/pull/15583))
30+
- fix(remix): Use correct types export for `@sentry/remix/cloudflare` ([#15599](https://github.com/getsentry/sentry-javascript/pull/15599))
31+
- fix(vue): Attach Pinia state only once per event ([#15588](https://github.com/getsentry/sentry-javascript/pull/15588))
32+
33+
Work in this release was contributed by @msurdi-a8c, @namoscato, and @rileyg98. Thank you for your contributions!
34+
35+
## 9.4.0
36+
37+
- feat(core): Add types for logs protocol and envelope ([#15530](https://github.com/getsentry/sentry-javascript/pull/15530))
38+
- feat(deps): Bump `@sentry/cli` from 2.41.1 to 2.42.2 ([#15510](https://github.com/getsentry/sentry-javascript/pull/15510))
39+
- feat(deps): Bump `@sentry/webpack-plugin` from 3.1.2 to 3.2.1 ([#15512](https://github.com/getsentry/sentry-javascript/pull/15512))
40+
- feat(feedback) Allowing annotation via highlighting & masking ([#15484](https://github.com/getsentry/sentry-javascript/pull/15484))
41+
- feat(nextjs): Add `use client` directive to client SDK entrypoints ([#15575](https://github.com/getsentry/sentry-javascript/pull/15575))
42+
- feat(nextjs): Allow silencing of instrumentation warning ([#15555](https://github.com/getsentry/sentry-javascript/pull/15555))
43+
- feat(sveltekit): Ensure `AsyncLocalStorage` async context strategy is used in Cloudflare Pages ([#15557](https://github.com/getsentry/sentry-javascript/pull/15557))
44+
- fix(cloudflare): Make `@cloudflare/workers-types` an optional peer dependency ([#15554](https://github.com/getsentry/sentry-javascript/pull/15554))
45+
- fix(core): Don't reverse values in event filters ([#15584](https://github.com/getsentry/sentry-javascript/pull/15584))
46+
- fix(core): Handle normalization of null prototypes correctly ([#15556](https://github.com/getsentry/sentry-javascript/pull/15556))
47+
- fix(nextjs): Only warn on missing `onRequestError` in version 15 ([#15553](https://github.com/getsentry/sentry-javascript/pull/15553))
48+
- fix(node): Allow for `undefined` transport to be passed in ([#15560](https://github.com/getsentry/sentry-javascript/pull/15560))
49+
- fix(wasm): Fix wasm integration stacktrace parsing for filename ([#15572](https://github.com/getsentry/sentry-javascript/pull/15572))
50+
- perf(node): Store normalized request for processing ([#15570](https://github.com/getsentry/sentry-javascript/pull/15570))
51+
1352
## 9.3.0
1453

1554
### Important Changes

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,8 @@ package. Please refer to the README and instructions of those SDKs for more deta
7676

7777
## Version Support Policy
7878

79-
The current version of the SDK is 8.x. Version 7.x of the SDK will continue to receive critical bugfixes until end
80-
of 2024.
81-
82-
All SDKs require Node v18+ to run. ESM-only SDKs require Node v18.19.1+ to run.
79+
We recognize the importance of continued support for our SDK across different versions.
80+
Our commitment is to provide bug fixes and feature updates for older versions based on community demand and usage.
8381

8482
## Installation and Usage
8583

dev-packages/browser-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/browser-integration-tests",
3-
"version": "9.3.0",
3+
"version": "9.5.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -41,9 +41,9 @@
4141
"dependencies": {
4242
"@babel/preset-typescript": "^7.16.7",
4343
"@playwright/test": "~1.50.0",
44-
"@sentry-internal/rrweb": "2.33.0",
45-
"@sentry/browser": "9.3.0",
46-
"axios": "1.7.7",
44+
"@sentry-internal/rrweb": "2.34.0",
45+
"@sentry/browser": "9.5.0",
46+
"axios": "1.8.2",
4747
"babel-loader": "^8.2.2",
4848
"fflate": "0.8.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": "9.3.0",
3+
"version": "9.5.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": "9.3.0",
4+
"version": "9.5.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": "9.3.0",
3+
"version": "9.5.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

dev-packages/e2e-tests/test-applications/nuxt-3-dynamic-import/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"nuxt": "^3.14.0"
1919
},
2020
"devDependencies": {
21-
"@nuxt/test-utils": "^3.14.1",
2221
"@playwright/test": "~1.50.0",
2322
"@sentry-internal/test-utils": "link:../../../test-utils"
2423
},
Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
1-
import { fileURLToPath } from 'node:url';
2-
import type { ConfigOptions } from '@nuxt/test-utils/playwright';
31
import { getPlaywrightConfig } from '@sentry-internal/test-utils';
42

5-
const nuxtConfigOptions: ConfigOptions = {
6-
nuxt: {
7-
rootDir: fileURLToPath(new URL('.', import.meta.url)),
8-
},
9-
};
10-
113
/* Make sure to import from '@nuxt/test-utils/playwright' in the tests
124
* Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
135

146
const config = getPlaywrightConfig({
157
startCommand: `pnpm start`,
16-
use: { ...nuxtConfigOptions },
178
});
189

1910
export default config;

dev-packages/e2e-tests/test-applications/nuxt-3-dynamic-import/tests/errors.client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expect, test } from '@nuxt/test-utils/playwright';
1+
import { expect, test } from '@playwright/test';
22
import { waitForError } from '@sentry-internal/test-utils';
33

44
test.describe('client-side errors', async () => {

dev-packages/e2e-tests/test-applications/nuxt-3-dynamic-import/tests/tracing.client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expect, test } from '@nuxt/test-utils/playwright';
1+
import { expect, test } from '@playwright/test';
22
import { waitForTransaction } from '@sentry-internal/test-utils';
33
import type { Span } from '@sentry/nuxt';
44

dev-packages/e2e-tests/test-applications/nuxt-3-min/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"nuxt": "3.7.0"
2121
},
2222
"devDependencies": {
23-
"@nuxt/test-utils": "^3.14.1",
2423
"@playwright/test": "~1.50.0",
2524
"@sentry-internal/test-utils": "link:../../../test-utils"
2625
},
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
import { fileURLToPath } from 'node:url';
2-
import type { ConfigOptions } from '@nuxt/test-utils/playwright';
31
import { getPlaywrightConfig } from '@sentry-internal/test-utils';
42

5-
const nuxtConfigOptions: ConfigOptions = {
6-
nuxt: {
7-
rootDir: fileURLToPath(new URL('.', import.meta.url)),
8-
},
9-
};
10-
11-
/* Make sure to import from '@nuxt/test-utils/playwright' in the tests
12-
* Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
13-
143
const config = getPlaywrightConfig({
154
startCommand: `pnpm start:import`,
16-
use: { ...nuxtConfigOptions },
175
});
186

197
export default config;

dev-packages/e2e-tests/test-applications/nuxt-3-min/tests/errors.client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expect, test } from '@nuxt/test-utils/playwright';
1+
import { expect, test } from '@playwright/test';
22
import { waitForError } from '@sentry-internal/test-utils';
33

44
test.describe('client-side errors', async () => {

dev-packages/e2e-tests/test-applications/nuxt-3-min/tests/tracing.client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expect, test } from '@nuxt/test-utils/playwright';
1+
import { expect, test } from '@playwright/test';
22
import { waitForTransaction } from '@sentry-internal/test-utils';
33
import type { Span } from '@sentry/nuxt';
44

dev-packages/e2e-tests/test-applications/nuxt-3-top-level-import/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"nuxt": "^3.14.0"
1919
},
2020
"devDependencies": {
21-
"@nuxt/test-utils": "^3.14.1",
2221
"@playwright/test": "~1.50.0",
2322
"@sentry-internal/test-utils": "link:../../../test-utils"
2423
}
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
import { fileURLToPath } from 'node:url';
2-
import type { ConfigOptions } from '@nuxt/test-utils/playwright';
31
import { getPlaywrightConfig } from '@sentry-internal/test-utils';
42

5-
const nuxtConfigOptions: ConfigOptions = {
6-
nuxt: {
7-
rootDir: fileURLToPath(new URL('.', import.meta.url)),
8-
},
9-
};
10-
11-
/* Make sure to import from '@nuxt/test-utils/playwright' in the tests
12-
* Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
13-
143
const config = getPlaywrightConfig({
154
startCommand: `pnpm start`,
16-
use: { ...nuxtConfigOptions },
175
});
186

197
export default config;

dev-packages/e2e-tests/test-applications/nuxt-3-top-level-import/tests/errors.client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expect, test } from '@nuxt/test-utils/playwright';
1+
import { expect, test } from '@playwright/test';
22
import { waitForError } from '@sentry-internal/test-utils';
33

44
test.describe('client-side errors', async () => {

dev-packages/e2e-tests/test-applications/nuxt-3-top-level-import/tests/tracing.client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expect, test } from '@nuxt/test-utils/playwright';
1+
import { expect, test } from '@playwright/test';
22
import { waitForTransaction } from '@sentry-internal/test-utils';
33
import type { Span } from '@sentry/nuxt';
44

dev-packages/e2e-tests/test-applications/nuxt-3/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"nuxt": "^3.14.0"
2020
},
2121
"devDependencies": {
22-
"@nuxt/test-utils": "^3.14.1",
2322
"@playwright/test": "~1.50.0",
2423
"@sentry-internal/test-utils": "link:../../../test-utils"
2524
}
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
import { fileURLToPath } from 'node:url';
2-
import type { ConfigOptions } from '@nuxt/test-utils/playwright';
31
import { getPlaywrightConfig } from '@sentry-internal/test-utils';
42

5-
const nuxtConfigOptions: ConfigOptions = {
6-
nuxt: {
7-
rootDir: fileURLToPath(new URL('.', import.meta.url)),
8-
},
9-
};
10-
11-
/* Make sure to import from '@nuxt/test-utils/playwright' in the tests
12-
* Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
13-
143
const config = getPlaywrightConfig({
154
startCommand: `pnpm start:import`,
16-
use: { ...nuxtConfigOptions },
175
});
186

197
export default config;

dev-packages/e2e-tests/test-applications/nuxt-3/tests/errors.client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expect, test } from '@nuxt/test-utils/playwright';
1+
import { expect, test } from '@playwright/test';
22
import { waitForError } from '@sentry-internal/test-utils';
33

44
test.describe('client-side errors', async () => {

dev-packages/e2e-tests/test-applications/nuxt-3/tests/tracing.client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expect, test } from '@nuxt/test-utils/playwright';
1+
import { expect, test } from '@playwright/test';
22
import { waitForTransaction } from '@sentry-internal/test-utils';
33
import type { Span } from '@sentry/nuxt';
44

dev-packages/e2e-tests/test-applications/nuxt-4/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"nuxt": "^3.13.2"
2121
},
2222
"devDependencies": {
23-
"@nuxt/test-utils": "^3.14.2",
2423
"@playwright/test": "~1.50.0",
2524
"@sentry-internal/test-utils": "link:../../../test-utils"
2625
},
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
import { fileURLToPath } from 'node:url';
2-
import type { ConfigOptions } from '@nuxt/test-utils/playwright';
31
import { getPlaywrightConfig } from '@sentry-internal/test-utils';
42

5-
const nuxtConfigOptions: ConfigOptions = {
6-
nuxt: {
7-
rootDir: fileURLToPath(new URL('.', import.meta.url)),
8-
},
9-
};
10-
11-
/* Make sure to import from '@nuxt/test-utils/playwright' in the tests
12-
* Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
13-
143
const config = getPlaywrightConfig({
154
startCommand: `pnpm start:import`,
16-
use: { ...nuxtConfigOptions },
175
});
186

197
export default config;

dev-packages/e2e-tests/test-applications/sveltekit-2.5.0-twp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@sentry-internal/test-utils": "link:../../../test-utils",
2323
"@sentry/core": "latest || *",
2424
"@sveltejs/adapter-auto": "^3.0.0",
25-
"@sveltejs/kit": "2.5.0",
25+
"@sveltejs/kit": "2.8.3",
2626
"@sveltejs/vite-plugin-svelte": "^3.0.0",
2727
"svelte": "^5.0.0-next.115",
2828
"svelte-check": "^3.6.0",
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<script lang="ts">
2+
export let data
3+
</script>
4+
5+
<h1>Type Assertion</h1>
6+
7+
<p>
8+
This route only exists to ensure we don't emit a build error because of the angle bracket type assertion in +page.ts
9+
see https://github.com/getsentry/sentry-javascript/issues/9318
10+
</p>
11+
12+
<p>
13+
Message: {data.msg}
14+
</p>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export async function load() {
2+
let x: unknown = 'foo';
3+
return {
4+
// this angle bracket type assertion threw an auto instrumentation error
5+
// see: https://github.com/getsentry/sentry-javascript/issues/9318
6+
msg: <string>x,
7+
};
8+
}

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": "9.3.0",
4+
"version": "9.5.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": "9.3.0",
3+
"version": "9.5.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -30,9 +30,9 @@
3030
"@nestjs/common": "10.4.6",
3131
"@nestjs/core": "10.4.6",
3232
"@nestjs/platform-express": "10.4.6",
33-
"@sentry/aws-serverless": "9.3.0",
34-
"@sentry/core": "9.3.0",
35-
"@sentry/node": "9.3.0",
33+
"@sentry/aws-serverless": "9.5.0",
34+
"@sentry/core": "9.5.0",
35+
"@sentry/node": "9.5.0",
3636
"@types/mongodb": "^3.6.20",
3737
"@types/mysql": "^2.15.21",
3838
"@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": "9.3.0",
3+
"version": "9.5.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": "9.3.0",
4+
"version": "9.5.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": "9.3.0",
3+
"version": "9.5.0",
44
"name": "@sentry-internal/test-utils",
55
"author": "Sentry",
66
"license": "MIT",
@@ -45,7 +45,7 @@
4545
},
4646
"devDependencies": {
4747
"@playwright/test": "~1.50.0",
48-
"@sentry/core": "9.3.0"
48+
"@sentry/core": "9.5.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": "9.3.0",
3+
"version": "9.5.0",
44
"npmClient": "yarn"
55
}

0 commit comments

Comments
 (0)