Skip to content

meta(changelog): Update changelog for 7.48.0 (again) #7856

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 8 commits into from
Apr 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 9 additions & 8 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ body:
- type: dropdown
id: package
attributes:
label:
Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g.
`bundle.tracing.min.js`) in your SDK setup.
label: Which SDK are you using?
description:
If you're using the CDN bundles, please specify the exact bundle (e.g. `bundle.tracing.min.js`) in your SDK
setup.
options:
- '@sentry/angular'
- '@sentry/browser'
- '@sentry/angular'
- '@sentry/ember'
- '@sentry/gatsby'
- '@sentry/nextjs'
Expand All @@ -43,8 +44,8 @@ body:
- '@sentry/sveltekit'
- '@sentry/vue'
- '@sentry/wasm'
- Sentry Browser CDN bundle
- Sentry Browser Loader
- Sentry Browser CDN bundle
validations:
required: true
- type: input
Expand All @@ -61,15 +62,15 @@ body:
label: Framework Version
description:
If you're using one of our framework-specific SDKs (`@sentry/react`, for example), what version of the
_framework_ (not SDK) are you using?
_framework_ are you using?
placeholder: ex. React 17.0.0
- type: input
id: link-to-sentry
attributes:
label: Link to Sentry event
description:
If applicable, provide a link to the affected event from your Sentry account. The event will only be viewable by
Sentry staff.
If applicable, please provide a link to the affected event from your Sentry account. The event will only be
viewable by Sentry staff.
placeholder: https://sentry.io/organizations/<org-slug>/issues/<issue-id>/events/<event-id>/?project=<project-id>
- type: textarea
id: sdk-setup
Expand Down
41 changes: 23 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

### Important Changes


- **feat(node): Add `AsyncLocalStorage` implementation of `AsyncContextStrategy` (#7800)**
- feat(core): Extend `AsyncContextStrategy` to allow reuse of existing context (#7778)
- feat(core): Make `runWithAsyncContext` public API (#7817)
Expand All @@ -22,25 +21,26 @@ This release switches the SDK to use [`AsyncLocalStorage`](https://nodejs.org/ap
If you want to manually add async context isolation to your application, you can use the new `runWithAsyncContext` API.

```js
import * as Sentry from '@sentry/node';

const requestHandler = (ctx, next) => {
return new Promise((resolve, reject) => {
Sentry.runWithAsyncContext(
async hub => {
hub.configureScope(scope =>
scope.addEventProcessor(event =>
Sentry.addRequestDataToEvent(event, ctx.request, {
include: {
user: false,
},
})
)
);

await next();
resolve();
},
{ emitters: [ctx] }
);
Sentry.runWithAsyncContext(async () => {
const hub = Sentry.geCurrentHub();

hub.configureScope(scope =>
scope.addEventProcessor(event =>
Sentry.addRequestDataToEvent(event, ctx.request, {
include: {
user: false,
},
})
)
);

await next();
resolve();
});
});
};
```
Expand Down Expand Up @@ -77,11 +77,16 @@ This release adds automatic upload of source maps to the SvelteKit SDK. No need

Please make sure to follow the [`README`](https://github.com/getsentry/sentry-javascript/blob/develop/packages/sveltekit/README.md#uploading-source-maps) to specify your Sentry auth token, as well as org and project slugs.

**- feat(replay): Capture request & response headers (#7816)**

Replay now captures the `content-length`, `content-type`, and `accept` headers from requests and responses automatically.

### Additional Features and Fixes

- feat(browser): Export request instrumentation options (#7818)
- feat(core): Add async context abstraction (#7753)
- feat(core): Add DSC to all outgoing envelopes (#7820)
- feat(core): Cache processed stacks for debug IDs (#7825)
- feat(node): Add checkin envelope types (#7777)
- feat(replay): Add `getReplayId()` method (#7822)
- fix(browser): Adjust `BrowserTransportOptions` to support offline transport options (#7775)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ sentryTest(
url: 'http://localhost:7654/foo',
method: 'GET',
headers: {
Accept: 'application/json',
Cache: 'no-cache',
accept: 'application/json',
cache: 'no-cache',
},
},
contexts: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ sentryTest(
url: 'http://localhost:7654/foo',
method: 'GET',
headers: {
Accept: 'application/json',
Cache: 'no-cache',
'Content-Type': 'application/json',
accept: 'application/json',
cache: 'no-cache',
'content-type': 'application/json',
},
},
contexts: {
Expand Down

This file was deleted.

This file was deleted.

Loading