-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: Add Changelog entry for 8.6.0 #12272
Commits on May 27, 2024
-
Merge pull request #12245 from getsentry/master
[Gitflow] Merge master into develop
Configuration menu - View commit details
-
Copy full SHA for 215238f - Browse repository at this point
Copy the full SHA 215238fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d0f6f4 - Browse repository at this point
Copy the full SHA 5d0f6f4View commit details -
chore: Remove express integration comment from e2e tests (#12241)
We are safe to change this now.
Configuration menu - View commit details
-
Copy full SHA for 4644dd7 - Browse repository at this point
Copy the full SHA 4644dd7View commit details -
feat(react): Add
Sentry.reactErrorHandler
(#12147)This PR introduces `Sentry.reactErrorHandler`, which looks like so: ```js import * as Sentry from '@sentry/react'; import { hydrateRoot } from "react-dom/client"; ReactDOM.hydrateRoot( document.getElementById("root"), <React.StrictMode> <App /> </React.StrictMode>, { onUncaughtError: Sentry.reactErrorHandler(), onCaughtError: Sentry.reactErrorHandler((error, errorInfo) => { // optional callback if users want custom config. }), } ); ``` To validate this change, we add a react 19 e2e test.
Configuration menu - View commit details
-
Copy full SHA for 7185a53 - Browse repository at this point
Copy the full SHA 7185a53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8007c13 - Browse repository at this point
Copy the full SHA 8007c13View commit details
Commits on May 28, 2024
-
fix(tracing): Ensure sent spans are limited to 1000 (#12252)
To avoid too large payloads, we should only send up to 1000 spans. We actually had two different problems here in browser and node: 1. In browser, we _did_ limit to 1000, but we did so in an unfortunate way, which is to reset the set after 1000 spans. So if a span had 1010 children, only the last 10 would be send. 2. In node, we just sent all spans. I rewrote this to now consistently send the first 1000 spans of a transaction. I decided to keep all spans (no matter the limit) on the internal parent-child map. Due to this this may grow a lot, but we can avoid inconsistent state (e.g. what happens if a span has a parent in the map, but the parent does not have the span as children, ...) All of these should be garbage collected together ideally, so this should be fine hopefully.
Configuration menu - View commit details
-
Copy full SHA for 38bd57b - Browse repository at this point
Copy the full SHA 38bd57bView commit details -
test: Improve E2E node tests (#12258)
This does two main things: 1. Updates node E2E tests to use `fetch` instead of axios 2. Update node E2E tests to avoid sending to Sentry. Instead, we check everywhere via the proxy that the data sent is OK. Part of #11910
Configuration menu - View commit details
-
Copy full SHA for d5f1caf - Browse repository at this point
Copy the full SHA d5f1cafView commit details -
fix(core): Pass in cron monitor config correctly (#12248)
Fixes #12217 Make sure `failure_issue_threshold` and `recovery_threshold` get passed in correctly.
Configuration menu - View commit details
-
Copy full SHA for cd97287 - Browse repository at this point
Copy the full SHA cd97287View commit details -
feat(sveltekit): Add request data to server-side events (#12254)
This PR adds request data to server-side Sentry events by extracting the request object in our `sentryHandle` request handler. This is in line with our other SDKs and was simply missing from the SvelteKit SDK so far.
Configuration menu - View commit details
-
Copy full SHA for 09af745 - Browse repository at this point
Copy the full SHA 09af745View commit details -
Configuration menu - View commit details
-
Copy full SHA for 253c610 - Browse repository at this point
Copy the full SHA 253c610View commit details -
feat(metrics): Add
timings
method to metrics (#12226)This introduces a new method, `metrics.timing()`, which can be used in two ways: 1. With a numeric value, to simplify creating a distribution metric. This will default to `second` as unit: ```js Sentry.metrics.timing('myMetric', 100); ``` 2. With a callback, which will wrap the duration of the callback. This can accept a sync or async callback. It will create an inactive span around the callback and at the end emit a metric with the duration of the span in seconds: ```js const returnValue = Sentry.metrics.timing('myMetric', measureThisFunction); ``` Closes #12215
Configuration menu - View commit details
-
Copy full SHA for d63d7c6 - Browse repository at this point
Copy the full SHA d63d7c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb1ed25 - Browse repository at this point
Copy the full SHA fb1ed25View commit details -
ref(core): Use versioned carrier on global object (#12206)
This PR implements a versioned Sentry carrier as described in #12188. The idea is that SDKs can from now on access their global Sentry instance and thereby no longer overwrite or interfere with potentially other SDKs (e.g. 3rd party libraries, scripts, etc). Internally, SDKs can access their carrier via the `window.__SENTRY__[SDK_VERSION]`. Externally (spotlight, loader script) via `window.__SENTRY__[window.__SENTRY__.version]`. --------- Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
Configuration menu - View commit details
-
Copy full SHA for 005f40d - Browse repository at this point
Copy the full SHA 005f40dView commit details
Commits on May 29, 2024
-
test(replay): Remove outdated test constraint (#12270)
Noticed this while looking into #12244, console should be instrumented just fine in the CDN bundle.
Configuration menu - View commit details
-
Copy full SHA for 82f4432 - Browse repository at this point
Copy the full SHA 82f4432View commit details -
meta: Add Changelog entry for 8.6.0
Update CHANGELOG.md Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
Configuration menu - View commit details
-
Copy full SHA for 787a29b - Browse repository at this point
Copy the full SHA 787a29bView commit details