Skip to content

Commit 215238f

Browse files
Merge pull request #12245 from getsentry/master
[Gitflow] Merge master into develop
2 parents 0fbe39a + d3f3313 commit 215238f

File tree

44 files changed

+219
-166
lines changed

Some content is hidden

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

44 files changed

+219
-166
lines changed

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,59 @@
44

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

7+
## 8.5.0
8+
9+
### Important Changes
10+
11+
- **feat(react): Add React 19 to peer deps (#12207)**
12+
13+
This release adds support for React 19 in the `@sentry/react` SDK package.
14+
15+
- **feat(node): Add `@sentry/node/preload` hook (#12213)**
16+
17+
This release adds a new way to initialize `@sentry/node`, which allows you to use the SDK with performance
18+
instrumentation even if you cannot call `Sentry.init()` at the very start of your app.
19+
20+
First, run the SDK like this:
21+
22+
```bash
23+
node --require @sentry/node/preload ./app.js
24+
```
25+
26+
Now, you can initialize and import the rest of the SDK later or asynchronously:
27+
28+
```js
29+
const express = require('express');
30+
const Sentry = require('@sentry/node');
31+
32+
const dsn = await getSentryDsn();
33+
Sentry.init({ dsn });
34+
```
35+
36+
For more details, head over to the
37+
[PR Description of the new feature](https://github.com/getsentry/sentry-javascript/pull/12213). Our docs will be updated
38+
soon with a new guide.
39+
40+
### Other Changes
41+
42+
- feat(browser): Do not include metrics in base CDN bundle (#12230)
43+
- feat(core): Add `startNewTrace` API (#12138)
44+
- feat(core): Allow to pass custom scope to `captureFeedback()` (#12216)
45+
- feat(core): Only allow `SerializedSession` in session envelope items (#11979)
46+
- feat(nextjs): Use Vercel's `waitUntil` to defer freezing of Vercel Lambdas (#12133)
47+
- feat(node): Ensure manual OTEL setup works (#12214)
48+
- fix(aws-serverless): Avoid minifying `Module._resolveFilename` in Lambda layer bundle (#12232)
49+
- fix(aws-serverless): Ensure lambda layer uses default export from `ImportInTheMiddle` (#12233)
50+
- fix(browser): Improve browser extension error message check (#12146)
51+
- fix(browser): Remove optional chaining in INP code (#12196)
52+
- fix(nextjs): Don't report React postpone errors (#12194)
53+
- fix(nextjs): Use global scope for generic event filters (#12205)
54+
- fix(node): Add origin to redis span (#12201)
55+
- fix(node): Change import of `@prisma/instrumentation` to use default import (#12185)
56+
- fix(node): Only import `inspector` asynchronously (#12231)
57+
- fix(replay): Update matcher for hydration error detection to new React docs (#12209)
58+
- ref(profiling-node): Add warning when using non-LTS node (#12211)
59+
760
## 8.4.0
861

962
### 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.4.0",
3+
"version": "8.5.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -42,7 +42,7 @@
4242
"@babel/preset-typescript": "^7.16.7",
4343
"@playwright/test": "^1.43.1",
4444
"@sentry-internal/rrweb": "2.11.0",
45-
"@sentry/browser": "8.4.0",
45+
"@sentry/browser": "8.5.0",
4646
"axios": "1.6.7",
4747
"babel-loader": "^8.2.2",
4848
"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.4.0",
3+
"version": "8.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/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.4.0",
3+
"version": "8.5.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

dev-packages/event-proxy-server/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"version": "8.4.0",
3+
"version": "8.5.0",
44
"name": "@sentry-internal/event-proxy-server",
55
"author": "Sentry",
66
"license": "MIT",
@@ -41,8 +41,8 @@
4141
"clean": "rimraf -g ./node_modules ./build"
4242
},
4343
"devDependencies": {
44-
"@sentry/types": "8.4.0",
45-
"@sentry/utils": "8.4.0"
44+
"@sentry/types": "8.5.0",
45+
"@sentry/utils": "8.5.0"
4646
},
4747
"volta": {
4848
"extends": "../../package.json"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/node-integration-tests",
3-
"version": "8.4.0",
3+
"version": "8.5.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=14.18"
@@ -31,8 +31,8 @@
3131
"@nestjs/core": "^10.3.3",
3232
"@nestjs/platform-express": "^10.3.3",
3333
"@prisma/client": "5.9.1",
34-
"@sentry/node": "8.4.0",
35-
"@sentry/types": "8.4.0",
34+
"@sentry/node": "8.5.0",
35+
"@sentry/types": "8.5.0",
3636
"@types/mongodb": "^3.6.20",
3737
"@types/mysql": "^2.15.21",
3838
"@types/pg": "^8.6.5",

dev-packages/overhead-metrics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"version": "8.4.0",
3+
"version": "8.5.0",
44
"name": "@sentry-internal/overhead-metrics",
55
"main": "index.js",
66
"author": "Sentry",

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

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": "8.4.0",
3+
"version": "8.5.0",
44
"npmClient": "yarn"
55
}

0 commit comments

Comments
 (0)