Skip to content
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

meta(changelog): Update changelog for 8.0.0-beta.3 #11698

Merged
merged 15 commits into from
Apr 19, 2024

Conversation

lforst
Copy link
Member

@lforst lforst commented Apr 19, 2024

No description provided.

Lms24 and others added 15 commits April 18, 2024 13:20
…11679)

Wwe can streamline our pageload span
creation logic now that we actually want to keep the propagation context
on the scope after the transaction finished (see #11599). Previously,
we'd fork a new scope for the pageload span but IMHO (and according to
all our tests) this is no longer necessary.
…ace lifetime tests (#11660)

Adds checks for the contents of the `trace` envelope headers in
our new `trace-lifetime` test suite. The purpose of these checks is to
ensure that we not only propagate and send correct trace data in request
headers and Sentry events (trace context) but also in the `trace`
envelope header.
)

This hopefully fixes this, not sure how to write a test for this (?) but
we can add one later as well...
…nt trace context (#11681)

More clearly shows the current difference in `event.contexts.trace` for
error events, depending on if they were sent during an active span or
afterwards.
While looking into how we send trace context for error events (today: We
only send `trace_id`, `span_id` and `parent_span_id` for errors, while
we send everything for transactions. In browser, we always send
everything...) I noticed that we don't cover this well for express
today. Digging into this, I figured the tests was actually pretty
broken, because we didn't have the right import order, so
instrumentation was not fully correct 😬 so I split the node-express E2E
tests into multiple files, added a test to check the error event shape,
and fixed the app setup.
Fixes an oversight from
#11628, which was
found in the example app.
Now that #11630 was
merged in, we can remove `setupGlobalHub`.
Adds `addOpenTelemetryInstrumentation`, a helper that can be used to
dynamically register OpenTelemetry instrumentation. This helps unblock
work on #11548

The helper itself is quite small:

```ts
export function addOpenTelemetryInstrumentation(
  instrumentation: InstrumentationOption | InstrumentationOption[],
): void {
  registerInstrumentations({
    instrumentations: Array.isArray(instrumentation) ? instrumentation : [instrumentation],
  });
}
```

and is designed to accept either a standalone instrumentation or an
array of instrumentations. This gives users a ton of flexibility into
usage!
Instead of using `this.endSession`, directly use `endSession`.
This ports `packages/browser/test/integration/suites/onerror.js` to
playwright. Because I couldn't throw top level errors without generating
script errors, I elected to simulate `window.onerror` being called.

Co-authored-by: Lukas Stracke <[email protected]>
Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser 21.67 KB (added)
@sentry/browser (incl. Tracing) 31.4 KB (added)
@sentry/browser (incl. Tracing, Replay) 66.73 KB (added)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.14 KB (added)
@sentry/browser (incl. Tracing, Replay with Canvas) 70.57 KB (added)
@sentry/browser (incl. Tracing, Replay, Feedback) 80.44 KB (added)
@sentry/browser (incl. Feedback) 35.25 KB (added)
@sentry/browser (incl. Feedback, Feedback Modal) 35.25 KB (added)
@sentry/browser (incl. Feedback, Feedback Modal, Feedback Screenshot) 37.28 KB (added)
@sentry/browser (incl. sendFeedback) 26.46 KB (added)
@sentry/react 24.35 KB (added)
@sentry/react (incl. Tracing) 34.31 KB (added)
@sentry/vue 25.2 KB (added)
@sentry/vue (incl. Tracing) 33.12 KB (added)
@sentry/svelte 21.79 KB (added)
CDN Bundle 24.03 KB (added)
CDN Bundle (incl. Tracing) 32.71 KB (added)
CDN Bundle (incl. Tracing, Replay) 66.37 KB (added)
CDN Bundle (incl. Tracing, Replay, Feedback) 82.57 KB (added)
CDN Bundle - uncompressed 70.85 KB (added)
CDN Bundle (incl. Tracing) - uncompressed 97.5 KB (added)
CDN Bundle (incl. Tracing, Replay) - uncompressed 207.16 KB (added)
@sentry/nextjs (client) 33.64 KB (added)
@sentry/sveltekit (client) 31.9 KB (added)
@sentry/node 160.37 KB (added)

@lforst lforst merged commit 06a4460 into master Apr 19, 2024
94 checks passed
@lforst lforst deleted the prepare-release/8.0.0-beta.3 branch April 19, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants