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 7.72.0 #9118

Merged
merged 7 commits into from
Sep 26, 2023
Merged

Commits on Sep 25, 2023

  1. 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.
    timfish authored Sep 25, 2023
    1 Configuration menu
    Copy the full SHA
    a7cce7b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #9105 from getsentry/master

    [Gitflow] Merge master into develop
    github-actions[bot] authored Sep 25, 2023
    1 Configuration menu
    Copy the full SHA
    50a36bf View commit details
    Browse the repository at this point in the history
  3. 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]>
    timfish and AbhiPrasad authored Sep 25, 2023
    1 Configuration menu
    Copy the full SHA
    5a8d4aa View commit details
    Browse the repository at this point in the history
  4. ref(node-experimental): Add resource information (#9088)

    This was missing currently, so for correctness adding the resource info
    here.
    mydea authored Sep 25, 2023
    1 Configuration menu
    Copy the full SHA
    c326e15 View commit details
    Browse the repository at this point in the history
  5. 1 Configuration menu
    Copy the full SHA
    618e992 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. fix(nextjs): Filter RequestAsyncStorage locations by locations that…

    … webpack will resolve (#9114)
    lforst authored Sep 26, 2023
    1 Configuration menu
    Copy the full SHA
    a57b66d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    779cd26 View commit details
    Browse the repository at this point in the history