|
4 | 4 |
|
5 | 5 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott |
6 | 6 |
|
| 7 | +## 10.4.0 |
| 8 | + |
| 9 | +### Important Changes |
| 10 | + |
| 11 | +- **fix(browser): Ensure IP address is only inferred by Relay if `sendDefaultPii` is `true`** |
| 12 | + |
| 13 | +This release includes a fix for a [behaviour change](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/#behavior-changes) |
| 14 | +that was originally introduced with v9 of the SDK: User IP Addresses should only be added to Sentry events automatically, |
| 15 | +if `sendDefaultPii` was set to `true`. |
| 16 | + |
| 17 | +However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK. |
| 18 | +Unfortunately, the change did not make it into the initial v10 version but is now applied with `10.4.0`. |
| 19 | +There is _no API_ breakage involved and hence it is safe to update. |
| 20 | +However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include |
| 21 | +user IP addresses, if you set `sendDefaultPii: true` in your `Sentry.init` options. |
| 22 | + |
| 23 | +We apologize for any inconvenience caused! |
| 24 | + |
| 25 | +- **feat(node): Add `ignoreStaticAssets` ([#17370](https://github.com/getsentry/sentry-javascript/pull/17370))** |
| 26 | + |
| 27 | +This release adds a new option to `httpIntegration` to ignore requests for static assets (e.g. `favicon.xml` or `robots.txt`). The option defaults to `true`, meaning that going forward, such requests will not be traced by default. You can still enable tracing for these requests by setting the option to `false`: |
| 28 | + |
| 29 | +```js |
| 30 | +Sentry.init({ |
| 31 | + integrations: [ |
| 32 | + Sentry.httpIntegration({ |
| 33 | + // defaults to true, set to false to enable traces for static assets |
| 34 | + ignoreStaticAssets: false, |
| 35 | + }), |
| 36 | + ], |
| 37 | +}); |
| 38 | +``` |
| 39 | + |
| 40 | +### Other Changes |
| 41 | + |
| 42 | +- fix(nuxt): Do not drop parametrized routes ([#17357](https://github.com/getsentry/sentry-javascript/pull/17357)) |
| 43 | + |
| 44 | +<details> |
| 45 | + <summary> <strong>Internal Changes</strong> </summary> |
| 46 | + |
| 47 | +- ref(node): Split up incoming & outgoing http handling ([#17358](https://github.com/getsentry/sentry-javascript/pull/17358)) |
| 48 | +- test(node): Enable additionalDependencies in integration runner ([#17361](https://github.com/getsentry/sentry-javascript/pull/17361)) |
| 49 | + |
| 50 | +</details> |
| 51 | + |
7 | 52 | ## 10.3.0 |
8 | 53 |
|
9 | 54 | - feat(core): MCP Server - Capture prompt results from prompt function calls (#17284) |
|
0 commit comments