Skip to content

Commit 2463cec

Browse files
Merge pull request #12638 from getsentry/master
[Gitflow] Merge master into develop
2 parents dd4a7d7 + 7e29803 commit 2463cec

File tree

46 files changed

+217
-174
lines changed

Some content is hidden

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

46 files changed

+217
-174
lines changed

CHANGELOG.md

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

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

7+
## 8.12.0
8+
9+
### Important Changes
10+
711
- **feat(solid): Remove need to pass router hooks to solid integration** (breaking)
812

913
This release introduces breaking changes to the `@sentry/solid` package (which is currently out in alpha).
@@ -26,6 +30,45 @@ Sentry.init({
2630
const SentryRouter = withSentryRouterRouting(Router);
2731
```
2832

33+
- **feat(core): Return client from init method (#12585)**
34+
35+
`Sentry.init()` now returns a client directly, so you don't need to explicitly call `getClient()` anymore:
36+
37+
```js
38+
const client = Sentry.init();
39+
```
40+
41+
- **feat(nextjs): Add `deleteSourcemapsAfterUpload` option (#12457)**
42+
43+
This adds an easy way to delete sourcemaps immediately after uploading them:
44+
45+
```js
46+
module.exports = withSentryConfig(nextConfig, {
47+
sourcemaps: {
48+
deleteSourcemapsAfterUpload: true,
49+
},
50+
});
51+
```
52+
53+
- **feat(node): Allow to configure `maxSpanWaitDuration` (#12610)**
54+
55+
Adds configuration option for the max. duration in seconds that the SDK will wait for parent spans to be finished before
56+
discarding a span. The SDK will automatically clean up spans that have no finished parent after this duration. This is
57+
necessary to prevent memory leaks in case of parent spans that are never finished or otherwise dropped/missing. However,
58+
if you have very long-running spans in your application, a shorter duration might cause spans to be discarded too early.
59+
In this case, you can increase this duration to a value that fits your expected data.
60+
61+
### Other Changes
62+
63+
- feat(feedback): Extra check for iPad in screenshot support (#12593)
64+
- fix(bundle): Ensure CDN bundles do not overwrite `window.Sentry` (#12580)
65+
- fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integration (#12535)
66+
- fix(node): Re-throw errors from koa middleware (#12609)
67+
- fix(remix): Mark `isRemixV2` as optional in exposed types. (#12614)
68+
- ref(node): Add error message to NodeFetch log (#12612)
69+
70+
Work in this release was contributed by @n4bb12. Thank you for your contribution!
71+
2972
## 8.11.0
3073

3174
### 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.11.0",
3+
"version": "8.12.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.44.1",
4444
"@sentry-internal/rrweb": "2.11.0",
45-
"@sentry/browser": "8.11.0",
45+
"@sentry/browser": "8.12.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.11.0",
3+
"version": "8.12.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.11.0",
3+
"version": "8.12.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

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": "8.11.0",
4+
"version": "8.12.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

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.11.0",
3+
"version": "8.12.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.11.0",
35-
"@sentry/types": "8.11.0",
34+
"@sentry/node": "8.12.0",
35+
"@sentry/types": "8.12.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.11.0",
3+
"version": "8.12.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.11.0",
3+
"version": "8.12.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.11.0",
4+
"version": "8.12.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

dev-packages/test-utils/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.11.0",
3+
"version": "8.12.0",
44
"name": "@sentry-internal/test-utils",
55
"author": "Sentry",
66
"license": "MIT",
@@ -45,8 +45,8 @@
4545
},
4646
"devDependencies": {
4747
"@playwright/test": "^1.44.1",
48-
"@sentry/types": "8.11.0",
49-
"@sentry/utils": "8.11.0"
48+
"@sentry/types": "8.12.0",
49+
"@sentry/utils": "8.12.0"
5050
},
5151
"volta": {
5252
"extends": "../../package.json"

0 commit comments

Comments
 (0)