Skip to content

Commit 9581a2e

Browse files
Merge pull request #14541 from getsentry/master
[Gitflow] Merge master into develop
2 parents 9defdce + 6331d7c commit 9581a2e

File tree

48 files changed

+181
-130
lines changed

Some content is hidden

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

48 files changed

+181
-130
lines changed

CHANGELOG.md

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

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

13+
## 8.42.0
14+
15+
### Important Changes
16+
17+
- **feat(react): React Router v7 support (library) ([#14513](https://github.com/getsentry/sentry-javascript/pull/14513))**
18+
19+
This release adds support for [React Router v7 (library mode)](https://reactrouter.com/home#react-router-as-a-library).
20+
Check out the docs on how to set up the integration: [Sentry React Router v7 Integration Docs](https://docs.sentry.io/platforms/javascript/guides/react/features/react-router/v7/)
21+
22+
### Deprecations
23+
24+
- **feat: Warn about source-map generation ([#14533](https://github.com/getsentry/sentry-javascript/pull/14533))**
25+
26+
In the next major version of the SDK we will change how source maps are generated when the SDK is added to an application.
27+
Currently, the implementation varies a lot between different SDKs and can be difficult to understand.
28+
Moving forward, our goal is to turn on source maps for every framework, unless we detect that they are explicitly turned off.
29+
Additionally, if we end up enabling source maps, we will emit a log message that we did so.
30+
31+
With this particular release, we are emitting warnings that source map generation will change in the future and we print instructions on how to prepare for the next major.
32+
33+
- **feat(nuxt): Deprecate `tracingOptions` in favor of `vueIntegration` ([#14530](https://github.com/getsentry/sentry-javascript/pull/14530))**
34+
35+
Currently it is possible to configure tracing options in two places in the Sentry Nuxt SDK:
36+
37+
- In `Sentry.init()`
38+
- Inside `tracingOptions` in `Sentry.init()`
39+
40+
For tree-shaking purposes and alignment with the Vue SDK, it is now recommended to instead use the newly exported `vueIntegration()` and its `tracingOptions` option to configure tracing options in the Nuxt SDK:
41+
42+
```ts
43+
// sentry.client.config.ts
44+
import * as Sentry from '@sentry/nuxt';
45+
46+
Sentry.init({
47+
// ...
48+
integrations: [
49+
Sentry.vueIntegration({
50+
tracingOptions: {
51+
trackComponents: true,
52+
},
53+
}),
54+
],
55+
});
56+
```
57+
58+
### Other Changes
59+
60+
- feat(browser-utils): Update `web-vitals` to v4.2.4 ([#14439](https://github.com/getsentry/sentry-javascript/pull/14439))
61+
- feat(nuxt): Expose `vueIntegration` ([#14526](https://github.com/getsentry/sentry-javascript/pull/14526))
62+
- fix(feedback): Handle css correctly in screenshot mode ([#14535](https://github.com/getsentry/sentry-javascript/pull/14535))
63+
1364
## 8.41.0
1465

1566
### 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.41.0",
3+
"version": "8.42.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.29.0",
46-
"@sentry/browser": "8.41.0",
46+
"@sentry/browser": "8.42.0",
4747
"axios": "1.7.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.41.0",
3+
"version": "8.42.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.41.0",
4+
"version": "8.42.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.41.0",
3+
"version": "8.42.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.41.0",
4+
"version": "8.42.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": "8.41.0",
3+
"version": "8.42.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=14.18"
@@ -31,9 +31,9 @@
3131
"@nestjs/core": "10.4.6",
3232
"@nestjs/platform-express": "10.4.6",
3333
"@prisma/client": "5.9.1",
34-
"@sentry/aws-serverless": "8.41.0",
35-
"@sentry/core": "8.41.0",
36-
"@sentry/node": "8.41.0",
34+
"@sentry/aws-serverless": "8.42.0",
35+
"@sentry/core": "8.42.0",
36+
"@sentry/node": "8.42.0",
3737
"@types/mongodb": "^3.6.20",
3838
"@types/mysql": "^2.15.21",
3939
"@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": "8.41.0",
3+
"version": "8.42.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.41.0",
4+
"version": "8.42.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": "8.41.0",
3+
"version": "8.42.0",
44
"name": "@sentry-internal/test-utils",
55
"author": "Sentry",
66
"license": "MIT",
@@ -45,7 +45,7 @@
4545
},
4646
"devDependencies": {
4747
"@playwright/test": "^1.44.1",
48-
"@sentry/core": "8.41.0"
48+
"@sentry/core": "8.42.0"
4949
},
5050
"volta": {
5151
"extends": "../../package.json"

0 commit comments

Comments
 (0)