Skip to content

Commit fe37c12

Browse files
committed
Merge branch 'develop' into beta
2 parents 8647499 + 7e39d04 commit fe37c12

File tree

63 files changed

+443
-217
lines changed

Some content is hidden

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

63 files changed

+443
-217
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = {
2121
'examples/**',
2222
'test/manual/**',
2323
'types/**',
24+
'scripts/*.js',
2425
],
2526
reportUnusedDisableDirectives: true,
2627
overrides: [

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,15 @@ jobs:
10351035
overwrite: true
10361036
retention-days: 7
10371037

1038+
- name: Upload E2E Test Event Dumps
1039+
uses: actions/upload-artifact@v4
1040+
if: always()
1041+
with:
1042+
name: playwright-event-dumps-job_e2e_playwright_tests-${{ matrix.test-application }}
1043+
path: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}/event-dumps
1044+
overwrite: true
1045+
retention-days: 7
1046+
10381047
- name: Upload test results to Codecov
10391048
if: cancelled() == false
10401049
continue-on-error: true

CHANGELOG.md

Lines changed: 87 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,102 @@
1010

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

13-
## 8.35.0-beta.0
13+
## 8.35.0
14+
15+
### Beta release of the official Nuxt Sentry SDK
16+
17+
This release marks the beta release of the `@sentry/nuxt` Sentry SDK. For details on how to use it, check out the
18+
[Sentry Nuxt SDK README](https://github.com/getsentry/sentry-javascript/tree/develop/packages/nuxt). Please reach out on
19+
[GitHub](https://github.com/getsentry/sentry-javascript/issues/new/choose) if you have any feedback or concerns.
20+
21+
- **feat(nuxt): Make dynamic import() wrapping default
22+
([#13958](https://github.com/getsentry/sentry-javascript/pull/13958))** (BREAKING)
23+
- **feat(nuxt): Add Rollup plugin to wrap server entry with `import()`
24+
([#13945](https://github.com/getsentry/sentry-javascript/pull/13945))**
25+
26+
**It is no longer required to add a Node `--import` flag. Please update your start command to avoid initializing Sentry
27+
twice (BREAKING CHANGE).** The SDK will now apply modifications during the build of your application to allow for
28+
patching of libraries during runtime. If run into issues with this change, you can disable this behavior in your
29+
`nuxt.config.ts` and use the `--import` flag instead:
30+
31+
```js
32+
sentry: {
33+
dynamicImportForServerEntry: false;
34+
}
35+
```
36+
37+
- **feat(nuxt): Respect user-provided source map generation settings
38+
([#14020](https://github.com/getsentry/sentry-javascript/pull/14020))**
39+
40+
We now require you to explicitly enable sourcemaps for the clientside so that Sentry can un-minify your errors. We made
41+
this change so source maps aren't accidentally leaked to the public. Enable source maps on the client as follows:
42+
43+
```js
44+
export default defineNuxtConfig({
45+
sourcemap: {
46+
client: true,
47+
},
48+
});
49+
```
50+
51+
- feat(nuxt): Log server instrumentation might not work in dev
52+
([#14021](https://github.com/getsentry/sentry-javascript/pull/14021))
53+
- feat(nuxt): Add Http `responseHook` with `waitUntil`
54+
([#13986](https://github.com/getsentry/sentry-javascript/pull/13986))
1455

1556
### Important Changes
1657

58+
- **feat(vue): Add Pinia plugin ([#13841](https://github.com/getsentry/sentry-javascript/pull/13841))**
59+
60+
Support for [Pinia](https://pinia.vuejs.org/) is added in this release for `@sentry/vue`. To capture Pinia state data,
61+
add `createSentryPiniaPlugin()` to your Pinia store:
62+
63+
```javascript
64+
import { createPinia } from 'pinia';
65+
import { createSentryPiniaPlugin } from '@sentry/vue';
66+
67+
const pinia = createPinia();
68+
69+
pinia.use(createSentryPiniaPlugin());
70+
```
71+
72+
- **feat(node): Implement Sentry-specific http instrumentation
73+
([#13763](https://github.com/getsentry/sentry-javascript/pull/13763))**
74+
75+
This change introduces a new `SentryHttpInstrumentation` to handle non-span related HTTP instrumentation, allowing it to
76+
run side-by-side with OTel's `HttpInstrumentation`. This improves support for custom OTel setups and avoids conflicts
77+
with Sentry's instrumentation. Additionally, the `spans: false` option is reintroduced for `httpIntegration` to disable
78+
span emission while still allowing custom `HttpInstrumentation` instances (`httpIntegration({ spans: false })`).
79+
1780
- **feat(core): Make stream instrumentation opt-in
1881
([#13951](https://github.com/getsentry/sentry-javascript/pull/13951))**
1982

2083
This change adds a new option `trackFetchStreamPerformance` to the browser tracing integration. Only when set to `true`,
2184
Sentry will instrument streams via fetch.
2285

86+
### Other Changes
87+
88+
- feat(node): Expose `suppressTracing` API ([#13875](https://github.com/getsentry/sentry-javascript/pull/13875))
89+
- feat(replay): Do not log "timeout while trying to read resp body" as exception
90+
([#13965](https://github.com/getsentry/sentry-javascript/pull/13965))
91+
- chore(node): Bump `@opentelemetry/instrumentation-express` to `0.43.0`
92+
([#13948](https://github.com/getsentry/sentry-javascript/pull/13948))
93+
- chore(node): Bump `@opentelemetry/instrumentation-fastify` to `0.40.0`
94+
([#13983](https://github.com/getsentry/sentry-javascript/pull/13983))
95+
- fix: Ensure type for `init` is correct in meta frameworks
96+
([#13938](https://github.com/getsentry/sentry-javascript/pull/13938))
97+
- fix(core): `.set` the `sentry-trace` header instead of `.append`ing in fetch instrumentation
98+
([#13907](https://github.com/getsentry/sentry-javascript/pull/13907))
99+
- fix(module): keep version for node ESM package ([#13922](https://github.com/getsentry/sentry-javascript/pull/13922))
100+
- fix(node): Ensure `ignoreOutgoingRequests` of `httpIntegration` applies to breadcrumbs
101+
([#13970](https://github.com/getsentry/sentry-javascript/pull/13970))
102+
- fix(replay): Fix onError sampling when loading an expired buffered session
103+
([#13962](https://github.com/getsentry/sentry-javascript/pull/13962))
104+
- fix(replay): Ignore older performance entries when starting manually
105+
([#13969](https://github.com/getsentry/sentry-javascript/pull/13969))
106+
- perf(node): Truncate breadcrumb messages created by console integration
107+
([#14006](https://github.com/getsentry/sentry-javascript/pull/14006))
108+
23109
Work in this release was contributed by @ZakrepaShe and @zhiyan114. Thank you for your contributions!
24110

25111
### Other 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.35.0-beta.0",
3+
"version": "8.35.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.11.0",
46-
"@sentry/browser": "8.35.0-beta.0",
46+
"@sentry/browser": "8.35.0",
4747
"axios": "1.6.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.35.0-beta.0",
3+
"version": "8.35.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.35.0-beta.0",
4+
"version": "8.35.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.35.0-beta.0",
3+
"version": "8.35.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"test:assert": "TEST_ENV=production playwright test"
1313
},
1414
"dependencies": {
15-
"@astrojs/check": "^0.9.2",
16-
"@astrojs/node": "^8.3.2",
15+
"@astrojs/check": "0.9.2",
16+
"@astrojs/node": "8.3.2",
1717
"@playwright/test": "^1.46.0",
1818
"@sentry/astro": "* || latest",
1919
"@sentry-internal/test-utils": "link:../../../test-utils",
20-
"@spotlightjs/astro": "^2.1.6",
21-
"astro": "^4.13.3",
20+
"@spotlightjs/astro": "2.1.6",
21+
"astro": "4.13.3",
2222
"typescript": "^5.5.4"
2323
},
2424
"devDependencies": {

dev-packages/e2e-tests/test-applications/cloudflare-astro/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
"@sentry/astro": "latest || *",
2222
"astro": "4.16.1"
2323
},
24+
"devDependencies": {
25+
"@astrojs/internal-helpers": "0.4.1"
26+
},
2427
"volta": {
2528
"extends": "../../package.json"
2629
}

dev-packages/e2e-tests/test-applications/nextjs-15/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ next-env.d.ts
4343
.vscode
4444

4545
test-results
46+
event-dumps

0 commit comments

Comments
 (0)