Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getsentry/sentry-javascript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 10.77.1
Choose a base ref
...
head repository: getsentry/sentry-javascript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 10.78.0
Choose a head ref
  • 12 commits
  • 104 files changed
  • 11 contributors

Commits on Oct 27, 2026

  1. Configuration menu
    Copy the full SHA
    d3270d2 View commit details
    Browse the repository at this point in the history
  2. fix(v10/elysia): use Node transport on Node runtimes (#25484)

    Backport of: #25015
    
    ## Differences to the original PR
    
    - `packages/elysia/test/sdk.test.ts`: added `vi.unstubAllGlobals()` to
    the `init` suite's `afterEach`. `develop` already has it from an earlier
    change, but `v10` doesn't. Without it, the new `Bun` global stub from
    the "uses makeFetchTransport by default on Bun" test leaks into the
    later "detects runtime correctly" test and makes it fail. This only
    changes the test; the SDK change is the same as the original.
    
    <!-- junior-request-attribution:start -->
    via Junior system actor `junior`.
    <!-- junior-request-attribution:end -->
    
    <!-- junior-session-footer:start -->
    <!--
    junior-conversation-id:agent-dispatch%3Adispatch_e2d9682ec1a7b2d7f0f202f0a051f7a3
    -->
    
    --
    
    [View Junior
    Session](https://junior-prod.sentry.dev/conversations/agent-dispatch%3Adispatch_e2d9682ec1a7b2d7f0f202f0a051f7a3)
    [[Sentry]](https://sentry.sentry.io/explore/conversations/agent-dispatch%3Adispatch_e2d9682ec1a7b2d7f0f202f0a051f7a3/?project=4510944073809921)
    
    <!-- junior-session-footer:end -->
    
    Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
    sentry-junior[bot] authored Oct 27, 2026
    Configuration menu
    Copy the full SHA
    b5b9467 View commit details
    Browse the repository at this point in the history
  3. fix(v10/elysia): Set SDK metadata on the options passed to init (#25486)

    Backport of: #24521
    
    ## Differences to the original PR
    
    - `packages/elysia/test/sdk.test.ts`: dropped the updated `detects bun
    runtime when Bun is defined` assertions — that test (and its
    `vi.stubGlobal`/`vi.unstubAllGlobals` setup) doesn't exist on v10. The
    Node-runtime regression test (`passes Elysia SDK metadata to initNode`)
    is backported and fails without the fix.
    
    <!-- junior-request-attribution:start -->
    via Junior system actor `junior`.
    <!-- junior-request-attribution:end -->
    
    <!-- junior-session-footer:start -->
    <!--
    junior-conversation-id:agent-dispatch%3Adispatch_bd63706ff178f2ce5dfeca498c2ed352
    -->
    
    --
    
    [View Junior
    Session](https://junior-prod.sentry.dev/conversations/agent-dispatch%3Adispatch_bd63706ff178f2ce5dfeca498c2ed352)
    [[Sentry]](https://sentry.sentry.io/explore/conversations/agent-dispatch%3Adispatch_bd63706ff178f2ce5dfeca498c2ed352/?project=4510944073809921)
    
    <!-- junior-session-footer:end -->
    
    Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
    sentry-junior[bot] authored Oct 27, 2026
    Configuration menu
    Copy the full SHA
    65d23eb View commit details
    Browse the repository at this point in the history
  4. fix(v10/astro): defer to @sentry/cloudflare/vite on Cloudflare Work…

    …ers (#25530)
    
    Backport of: #25347
    
    ## Differences to the original PR
    
    - `packages/astro/src/integration/index.ts`: v10's Astro integration has
    no orchestrion plugin, so the hunk that skips it when the Cloudflare
    plugin is present is dropped. On v10, `sentryCloudflareVitePlugin()`
    only wraps the Worker with `_experimental.autoInstrumentation: true`,
    and only that sub-plugin (`sentry-cloudflare-auto-instrument`) has the
    `sentry-cloudflare-` prefix. So the integration defers only in that
    setup. With the plugin's defaults, or with
    `useDiagnosticsChannelInjection` alone, it keeps its own wrap and
    default server init. The detection code is unchanged; the comments
    describe the v10 behavior.
    - `packages/astro/test/integration/index.test.ts`: the `describe.each`
    cases use v10's plugin sets (`sentry-cloudflare-auto-instrument`, plus
    `code-transformer` with `useDiagnosticsChannelInjection`) in place of
    develop's default and `autoInstrumentation: false` sets. The
    `orchestrionVite` assertions are dropped. Added a case where only the
    orchestrion transform is present, which checks that the integration
    keeps its own Worker wrap. The orchestrion tests on develop next to
    these cases are not included, because that feature isn't on v10.
    - `astro-6-cf-workers` e2e app: `astro.config.mjs` passes
    `_experimental: { autoInstrumentation: true }`, because
    auto-instrumentation is opt-in on v10.
    - `cloudflare-autoinstrument-package-entry` e2e app: deleted, as in the
    original. Its v10 version (from #25430) already differed from develop in
    its test assertions and dependencies.
    
    Fixes #21901
    Fixes #25344
    
    <!-- junior-request-attribution:start -->
    via **Jan Peer Stöcklmair**.
    <!-- junior-request-attribution:end -->
    
    <!-- junior-session-footer:start -->
    <!-- junior-conversation-id:agent%3A69d2379269688fe0fc2d1e1d7edadf0e -->
    
    --
    
    [View Junior
    Session](https://junior-prod.sentry.dev/conversations/agent%3A69d2379269688fe0fc2d1e1d7edadf0e)
    [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A69d2379269688fe0fc2d1e1d7edadf0e/?project=4510944073809921)
    
    <!-- junior-session-footer:end -->
    
    Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
    Co-authored-by: Jan VamPeer Stöcklmair <jan.peer@sentry.io>
    Co-authored-by: isaacs <i@izs.me>
    Co-authored-by: Nicolas Hrubec <nicolas.hrubec@outlook.com>
    4 people authored Oct 27, 2026
    Configuration menu
    Copy the full SHA
    bb2bb52 View commit details
    Browse the repository at this point in the history
  5. meta(changelog): Merge 10.77.0 into 10.77.1 because 10.77.0 was not r…

    …eleased (#25760)
    
    ## What
    
    Move the 10.77.0 changelog entries into 10.77.1 and mark 10.77.0 as not
    released.
    
    ## Why
    
    10.77.0 was never published, so its changes first shipped in 10.77.1.
    
    Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
    andreiborza and claude authored Oct 27, 2026
    Configuration menu
    Copy the full SHA
    e2fa5ba View commit details
    Browse the repository at this point in the history
  6. fix(v10/core): Use trace_metric data category for metrics rate limi…

    …ts and client reports (#25612)
    
    Backport of: #25606
    
    ## Differences to the original PR
    
    - `packages/core/src/metrics/internal.ts` and
    `packages/core/test/lib/metrics/internal.test.ts`: no change. On v10,
    `_INTERNAL_captureMetric` does not record client reports when
    `beforeSendMetric` drops a metric (and has no `callback_error`
    handling), so there is no `metric` category to rename there.
    - `packages/core/test/lib/transports/base.test.ts`: the new
    `trace_metric` rate limit test expects
    `recordDroppedEvent('ratelimit_backoff', 'trace_metric')` without a
    count, because the v10 transport does not pass `item_count` to
    `recordDroppedEvent`. Also added the `Envelope` type import, which the
    v10 test file did not have. The 413 container item test from the
    original PR does not exist on v10, so it was not touched.
    Lms24 authored Oct 27, 2026
    Configuration menu
    Copy the full SHA
    76defeb View commit details
    Browse the repository at this point in the history
  7. fix(v10/nextjs): Don't crash Cloudflare workers on import of the Next…

    ….js version helper (#25730)
    
    Webpack-built OpenNext workers have an empty `__filename`, so the
    module-scope `createRequire` in `config/util` threw on import and failed
    the instrumentation hook, fixed by creating that require inside
    `resolveNextjsPackageJson`.
    
    To test this properly we would need to add an app specifically to test
    this, which doesn't seem worth it for v10. This issue doesn't occur in
    v11 because the server entry no longer exports config paths, so the
    `createRequire` call is never evaluated.
    
    closes #25683
    logaretm authored Oct 27, 2026
    Configuration menu
    Copy the full SHA
    0664050 View commit details
    Browse the repository at this point in the history
  8. fix(v10/core): Stop sending client reports for breadcrumbs (#25752)

    Backport of: #24537
    
    Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
    logaretm and Lms24 authored Oct 27, 2026
    Configuration menu
    Copy the full SHA
    3c8e1d7 View commit details
    Browse the repository at this point in the history
  9. fix(v10/core): Drop sampled-out errors before they take a promise buf…

    …fer slot (#25753)
    
    Backport of: #25751
    
    ## Differences to the original PR
    
    - `packages/core/test/lib/client.test.ts`: the "does not set
    lastEventId" test passes an explicit `event_id` and asserts
    `lastEventId()` isn't it, instead of asserting `undefined`. v10's test
    setup doesn't reset `lastEventId` between tests, so an earlier test's ID
    leaks in.
    logaretm authored Oct 27, 2026
    Configuration menu
    Copy the full SHA
    26744d3 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2026

  1. fix(v10/deno): Re-export portable helpers that Cloudflare exposes (#2…

    …5708)
    
    Backport of: #25491
    
    ## Differences to the original PR
    
    - Re-exported the 16 portable helpers already implemented in v10. AI
    helpers remain in `@sentry/core` on v10; Prisma comes from the existing
    server-utils dependency. Existing exports retain their current source
    entry points.
    - Omitted `instrumentMistralAiClient`, `instrumentTypeSafeClient` and
    `FlueOptions`, which are absent on v10.
    - Omitted the SDK refactor and new `initWithoutDefaultIntegrations` /
    `getDefaultIntegrationsWithoutPerformance` APIs: v10 has a different
    integration setup. This is the missing-export subset of the original PR,
    not the new initialization APIs. v10 defaults remain unchanged.
    - Retained the export regression test for all 16 available helpers;
    omitted the unavailable type and initialization tests.
    
    Fixes #23896
    
    Co-authored-by: isaacs <i@izs.me>
    Co-authored-by: GPT-6 <codex@openai.com>
    3 people authored Oct 28, 2026
    Configuration menu
    Copy the full SHA
    e4ea7fd View commit details
    Browse the repository at this point in the history
  2. meta(changelog): Update changelog for 10.78.0 (#25831)

    Updates the changelog for 10.78.0
    Lms24 authored Oct 28, 2026
    Configuration menu
    Copy the full SHA
    a4cc5f9 View commit details
    Browse the repository at this point in the history
  3. release: 10.78.0

    Lms24 committed Oct 28, 2026
    Configuration menu
    Copy the full SHA
    5f277de View commit details
    Browse the repository at this point in the history
Loading