-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Comparing changes
Open a pull request
base repository: getsentry/sentry-javascript
base: 7.71.0
head repository: getsentry/sentry-javascript
compare: 7.72.0
- 10 commits
- 58 files changed
- 7 contributors
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 -
getsentry-bot committed
Sep 25, 2023 Configuration menu - View commit details
-
Copy full SHA for 7614bb9 - Browse repository at this point
Copy the full SHA 7614bb9View 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 <devabhiprasad@gmail.com>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
RequestAsyncStoragelocations by locations that…… webpack will resolve (#9114)
Luca Forstner authoredSep 26, 2023 1Configuration menu - View commit details
-
Copy full SHA for a57b66d - Browse repository at this point
Copy the full SHA a57b66dView commit details -
meta(changelog): Update changelog for 7.72.0
Luca Forstner committedSep 26, 2023 Configuration menu - View commit details
-
Copy full SHA for 779cd26 - Browse repository at this point
Copy the full SHA 779cd26View commit details -
Merge pull request #9118 from getsentry/prepare-release/7.72.0
Luca Forstner authoredSep 26, 2023 Configuration menu - View commit details
-
Copy full SHA for f736381 - Browse repository at this point
Copy the full SHA f736381View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7bd97b - Browse repository at this point
Copy the full SHA e7bd97bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 7.71.0...7.72.0