Skip to content

meta(changelog): Update changelog for 9.16.0 #16207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
May 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5c7110d
Update GH issue templates for Linear compatibility
stephanie-anderson Apr 29, 2025
a67ebc4
ref(core): Switch to standardized log envelope (#16133)
AbhiPrasad Apr 29, 2025
2130d35
Merge pull request #16163 from getsentry/master
github-actions[bot] Apr 30, 2025
2e164e1
test(node): Add utility to test esm & cjs instrumentation (#16159)
mydea Apr 30, 2025
13b202f
Merge branch 'develop' into issue-templates
stephanie-anderson Apr 30, 2025
20400d8
Change to single quotes
stephanie-anderson Apr 30, 2025
2f2b66b
Merge pull request #16164 from getsentry/issue-templates
stephanie-anderson Apr 30, 2025
b7c095b
test(node): Remove `axios` in favor of using `fetch` (#16172)
mydea Apr 30, 2025
de2f4b5
feat(vercel-edge): Add logs export (#16166)
AbhiPrasad Apr 30, 2025
b94062f
fix(feedback): Prevent `removeFromDom()` from throwing (#16030)
ryan953 May 1, 2025
7c50cd4
feat(cloudflare): Add support for durable objects (#16180)
AbhiPrasad May 1, 2025
eb49552
fix(node): Use class constructor in docstring for winston transport (…
AbhiPrasad May 2, 2025
4d46e53
docs(pii): Add comments about conditionals around sending PII data (#…
s1gr1d May 5, 2025
640b57f
feat(react-router): Add client-side router instrumentation (#16185)
chargome May 5, 2025
69224b8
fix(core): Respect manually set sentry tracing headers in fetch calls…
Lms24 May 5, 2025
0335cf7
fix(browser): Respect manually set sentry tracing headers in XHR requ…
Lms24 May 5, 2025
2e41f5e
fix(node): Avoid double-wrapping http module (#16177)
mydea May 5, 2025
1e0894c
feat(browser): Add option to sample linked traces consistently (#16037)
Lms24 May 5, 2025
f0e5e2f
feat(cloudflare): Add logs exports (#16165)
AbhiPrasad May 5, 2025
0c983b3
feat(node): Add Prisma integration by default (#16073)
lforst May 5, 2025
229fe5f
feat: Create a Vite plugin that injects sentryConfig into the global …
RulaKhaled May 5, 2025
5c01344
Fix lint issue and tests
RulaKhaled May 5, 2025
a04f3cc
Merge pull request #16197 from getsentry/rola/config-injector
RulaKhaled May 6, 2025
38316fd
test(node): Update express integration tests (#16204)
mydea May 6, 2025
b74f300
fix(node): Fix vercel flushing logic & add test for it (#16208)
mydea May 6, 2025
e0c0d9d
fix(node): Fix 404 route handling in express 5 (#16211)
mydea May 7, 2025
3a81041
feat(node): Drop `http.server` spans with 404 status by default (#16205)
mydea May 7, 2025
a49c946
fix(logs): Ensure logs can be flushed correctly (#16216)
andreiborza May 7, 2025
caa1316
feat(cloudflare): Read `SENTRY_RELEASE` from `env` (#16201)
Lms24 May 7, 2025
35abfe9
meta(changelog): Update changelog for 9.16.0
RulaKhaled May 6, 2025
9c52994
lint the md file
RulaKhaled May 6, 2025
06dff1a
Update CHANGELOG.md
RulaKhaled May 6, 2025
2687d26
Update changelog to latest develop
RulaKhaled May 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 🐞 Bug Report
description: Tell us about something that's not working the way we (probably) intend.
type: 'bug'
labels: ['Bug']
body:
- type: checkboxes
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 💡 Feature Request
description: Create a feature request for a sentry-javascript SDK.
type: 'enhancement'
labels: ['Feature']
body:
- type: markdown
attributes:
Expand Down
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/flaky.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: ❅ Flaky Test
description: Report a flaky test in CI
title: '[Flaky CI]: '
type: 'task'
labels: ['Type: Tests']
labels: ['Tests']
body:
- type: dropdown
id: type
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/internal.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: 💡 [Internal] Blank Issue
description: Only for Sentry Employees! Create an issue without a template.
type: 'task'
body:
- type: markdown
attributes:
Expand Down
6 changes: 3 additions & 3 deletions .size-limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = [
path: 'packages/browser/build/npm/esm/index.js',
import: createImport('init', 'browserTracingIntegration', 'replayIntegration'),
gzip: true,
limit: '76 KB',
limit: '77 KB',
},
{
name: '@sentry/browser (incl. Tracing, Replay) - with treeshaking flags',
Expand Down Expand Up @@ -79,7 +79,7 @@ module.exports = [
path: 'packages/browser/build/npm/esm/index.js',
import: createImport('init', 'browserTracingIntegration', 'replayIntegration', 'replayCanvasIntegration'),
gzip: true,
limit: '81 KB',
limit: '82 KB',
},
{
name: '@sentry/browser (incl. Tracing, Replay, Feedback)',
Expand Down Expand Up @@ -219,7 +219,7 @@ module.exports = [
import: createImport('init'),
ignore: ['$app/stores'],
gzip: true,
limit: '38.5 KB',
limit: '39 KB',
},
// Node SDK (ESM)
{
Expand Down
59 changes: 59 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,65 @@

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

## 9.16.0

### Important changes

- **feat: Create a Vite plugin that injects sentryConfig into the global config ([#16197](https://github.com/getsentry/sentry-javascript/pull/16197))**

Add a new plugin `makeConfigInjectorPlugin` within our existing vite plugin that updates the global vite config with sentry options

- **feat(browser): Add option to sample linked traces consistently ([#16037](https://github.com/getsentry/sentry-javascript/pull/16037))**

This PR implements consistent sampling across traces as outlined in ([#15754](https://github.com/getsentry/sentry-javascript/pull/15754))

- **feat(cloudflare): Add support for durable objects ([#16180](https://github.com/getsentry/sentry-javascript/pull/16180))**

This PR introduces a new `instrumentDurableObjectWithSentry` method to the SDK, which instruments durable objects. We capture both traces and errors automatically.

- **feat(node): Add Prisma integration by default ([#16073](https://github.com/getsentry/sentry-javascript/pull/16073))**

[Prisma integration](https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/integrations/prisma/) is enabled by default, it should work for both ESM and CJS.

- **feat(react-router): Add client-side router instrumentation ([#16185](https://github.com/getsentry/sentry-javascript/pull/16185))**

Adds client-side instrumentation for react router's `HydratedRouter`. To enable it, simply replace `browserTracingIntegration()` with `reactRouterTracingIntegration()` in your client-side init call.

- **fix(node): Avoid double-wrapping http module ([#16177](https://github.com/getsentry/sentry-javascript/pull/16177))**

When running your application in ESM mode, there have been scenarios that resulted in the `http`/`https` emitting duplicate spans for incoming requests. This was apparently caused by us double-wrapping the modules for incoming request isolation.

In order to solve this problem, the modules are no longer monkey patched by us for request isolation. Instead, we register diagnostics*channel hooks to handle request isolation now.
While this is generally not expected to break anything, there is one tiny change that \_may* affect you if you have been relying on very specific functionality:

The `ignoreOutgoingRequests` option of `httpIntegration` receives the `RequestOptions` as second argument. This type is not changed, however due to how the wrapping now works, we no longer pass through the full RequestOptions, but re-construct this partially based on the generated request. For the vast majority of cases, this should be fine, but for the sake of completeness, these are the only fields that may be available there going forward - other fields that _may_ have existed before may no longer be set:

```ts
ignoreOutgoingRequests(url: string, {
method: string;
protocol: string;
host: string;
hostname: string; // same as host
path: string;
headers: OutgoingHttpHeaders;
})
```

### Other changes

- feat(cloudflare): Add logs exports ([#16165](https://github.com/getsentry/sentry-javascript/pull/16165))
- feat(vercel-edge): Add logs export ([#16166](https://github.com/getsentry/sentry-javascript/pull/16166))
- feat(cloudflare): Read `SENTRY_RELEASE` from `env` ([#16201](https://github.com/getsentry/sentry-javascript/pull/16201))
- feat(node): Drop `http.server` spans with 404 status by default ([#16205](https://github.com/getsentry/sentry-javascript/pull/16205))
- fix(browser): Respect manually set sentry tracing headers in XHR requests ([#16184](https://github.com/getsentry/sentry-javascript/pull/16184))
- fix(core): Respect manually set sentry tracing headers in fetch calls ([#16183](https://github.com/getsentry/sentry-javascript/pull/16183))
- fix(feedback): Prevent `removeFromDom()` from throwing ([#16030](https://github.com/getsentry/sentry-javascript/pull/16030))
- fix(node): Use class constructor in docstring for winston transport ([#16167](https://github.com/getsentry/sentry-javascript/pull/16167))
- fix(node): Fix vercel flushing logic & add test for it ([#16208](https://github.com/getsentry/sentry-javascript/pull/16208))
- fix(node): Fix 404 route handling in express 5 ([#16211](https://github.com/getsentry/sentry-javascript/pull/16211))
- fix(logs): Ensure logs can be flushed correctly ([#16216](https://github.com/getsentry/sentry-javascript/pull/16216))
- ref(core): Switch to standardized log envelope ([#16133](https://github.com/getsentry/sentry-javascript/pull/16133))

## 9.15.0

### Important Changes
Expand Down
Loading
Loading