-
-
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(changelog): Update changelog for 7.72.0 #9118
Commits on Sep 25, 2023
-
fix(node): Remove dom lib types (#9090)
I've been having issues with the `setTimeout` return type in the node SDK, mostly when running tests: ``` Property 'unref' does not exist on type 'number'. ``` It turns out we've got dom lib types in the base tsconfig which means these have ended up in node SDK. This PR ensures we only have `es6` and no dom lib types and then fixes all the resulting errors.
1Configuration menu - View commit details
-
Copy full SHA for a7cce7b - Browse repository at this point
Copy the full SHA a7cce7bView commit details -
Merge pull request #9105 from getsentry/master
[Gitflow] Merge master into develop
1Configuration menu - View commit details
-
Copy full SHA for 50a36bf - Browse repository at this point
Copy the full SHA 50a36bfView commit details -
feat(node): App Not Responding with stack traces (#9079)
This PR adds ANR detection for Node via a forked child process. The child process runs the same entry point as the main app. To ensure that the main app code does not run in the child process, we use a promise that only resolves in the main process. When the `captureStackTrace` option is enabled, debugging is enabled in the main app process and the child process uses WebSockets to capture stack traces via the v8 inspector API. Overhead is expected to be minimal. With no ANR detected, the only overhead in the main app process is polling the child process over IPC by default every 50ms. The ANR child process consumes around 50-60 MB or RAM and simply keeps track of the polling. Once ANR has been detected, the main process will get paused briefly in the debugger to capture a stack trace frames. At this point, the event loop has been blocked for seconds so the debugging overhead can be considered negligible. Once an ANR event has been reported, the child process exits to prevent further duplicate events. ```ts import { init, enableANRDetection } from '@sentry/node'; init({ dsn: "__DSN__" }); // ESM supports top-level await await enableANRDetection({ captureStackTrace: true }); runApp(); // for CJS you'll need then enableANRDetection({ captureStackTrace: true }).then(() => { runApp(); }) ``` Co-authored-by: Abhijeet Prasad <[email protected]>
1Configuration menu - View commit details
-
Copy full SHA for 5a8d4aa - Browse repository at this point
Copy the full SHA 5a8d4aaView commit details -
ref(node-experimental): Add resource information (#9088)
This was missing currently, so for correctness adding the resource info here.
1Configuration menu - View commit details
-
Copy full SHA for c326e15 - Browse repository at this point
Copy the full SHA c326e15View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 618e992 - Browse repository at this point
Copy the full SHA 618e992View commit details
Commits on Sep 26, 2023
-
fix(nextjs): Filter
RequestAsyncStorage
locations by locations that…… webpack will resolve (#9114)
1Configuration menu - View commit details
-
Copy full SHA for a57b66d - Browse repository at this point
Copy the full SHA a57b66dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 779cd26 - Browse repository at this point
Copy the full SHA 779cd26View commit details