Skip to content

publish: getsentry/sentry-javascript@10.58.0 #8560

Description

@sentry-release-bot

Requested by: @chargome

Merge target: master

Quick links:

Assign the accepted label to this issue to approve the release.

Targets

  • npm[@sentry/core]
  • npm[@sentry/types]
  • npm[@sentry/node-core]
  • npm[@sentry/server-utils]
  • npm[@sentry/browser-utils]
  • npm[@sentry/replay]
  • npm[@sentry/opentelemetry]
  • npm[@sentry/feedback]
  • npm[@sentry/replay-canvas]
  • npm[@sentry/browser]
  • npm[@sentry/node]
  • npm[@sentry/profiling-node]
  • npm[@sentry/node-native]
  • npm[@sentry/angular]
  • npm[@sentry/ember]
  • npm[@sentry/react]
  • npm[@sentry/solid]
  • npm[@sentry/svelte]
  • npm[@sentry/vue]
  • npm[@sentry/wasm]
  • npm[@sentry/vercel-edge]
  • npm[@sentry/cloudflare]
  • npm[@sentry/deno]
  • npm[@sentry/aws-serverless]
  • npm[@sentry/google-cloud-serverless]
  • npm[@sentry/bun]
  • npm[@sentry/elysia]
  • npm[@sentry/hono]
  • npm[@sentry/nestjs]
  • npm[@sentry/effect]
  • npm[@sentry/nextjs]
  • npm[@sentry/nuxt]
  • npm[@sentry/remix]
  • npm[@sentry/solidstart]
  • npm[@sentry/sveltekit]
  • npm[@sentry/tanstackstart]
  • npm[@sentry/tanstackstart-react]
  • npm[@sentry/gatsby]
  • npm[@sentry/astro]
  • npm[@sentry/react-router]
  • npm[@sentry/nitro]
  • npm[@sentry/typescript]
  • npm[@sentry/eslint-plugin-sdk]
  • npm[@sentry/eslint-config-sdk]
  • aws-lambda-layer
  • gcs[browser-cdn-bundles]
  • github
  • registry

Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.


📋 Changelog

Important Changes

  • feat(hono): Add support for the Deno runtime (#21450)

    @sentry/hono now supports the Deno runtime via a new @sentry/hono/deno entry point.
    Install @sentry/deno as a peer dependency and initialize Sentry through the sentry() middleware:

    import { Hono } from 'hono';
    import { sentry } from '@sentry/hono/deno';
    
    const app = new Hono();
    
    app.use(
      sentry(app, {
        dsn: '__DSN__', // or Deno.env.get('SENTRY_DSN')
        tracesSampleRate: 1.0,
      }),
    );
    
    Deno.serve(app.fetch);
  • feat(core): Extract objects as structured logs in consoleLoggingIntegration (#21385)

    The consoleLoggingIntegration now extracts structured log attributes when the first argument is a plain object.

    // Object keys become log attributes
    console.log({ userId: 123, action: 'login' }, 'User logged in');
    // → attributes: { userId: 123, action: "login" }
    
    // Non-object first args use template + parameters (unchanged)
    console.log('Hello', 'world', 123);
    // → sentry.message.template: "Hello {} {}"
  • feat(react-router): Stabilize the instrumentation API (#21470)

    React Router's instrumentation API is now stable — the @experimental markers have been removed from createSentryServerInstrumentation, createSentryClientInstrumentation, and the related helpers and types.
    The manual server wrappers wrapServerLoader and wrapServerAction are now deprecated in favor of it. Export instrumentations = [Sentry.createSentryServerInstrumentation()] from your entry.server.tsx to instrument all loaders and actions without wrapping them individually.

Other Changes

  • feat(hono): Add HTTP connection info to server spans (#21408)
  • feat(node-core): Attach log message and fields to pino error events (#21422)
  • feat(react-router): Always build client instrumentation and deprecate useInstrumentationAPI (#21432)
  • feat(react-router): Rename client navigation roots from the route pattern (#21463)
  • fix(astro): Resolve middleware export types (#21414)
  • fix(browser): Ignore __sentry_wrapped__ inherited from Function.prototype (#21506)
  • fix(core): Avoid double counting cached input tokens for Vercel AI SDK v6 (#21488)
  • fix(core): Keep safeJoin side-effect-free for DOM elements (#21356)
  • fix(deno): Use correct paths for module and types fields in package.json (#21449)
  • fix(nextjs): Mark redirect server actions as ok instead of internal_error (#21521)
  • fix(react-router): Mark instrumentation API active on invocation (#21420)
  • fix(redis): Bring span attributes into alignment with conventions
  • fix(sveltekit): Add default exports condition (#21472)
  • fix(tanstackstart-react): Preserve middleware context types (#21441)
  • perf(core): Reuse unchanged Vercel AI messages JSON

Work in this release was contributed by @archievi, @AyaanFaisal21, @itosa-kazu, and @bkchr. Thank you for your contributions!

Internal Changes
  • chore: Pin OTel to <2.8.0 in ts 3.8 test app (#21474)
  • chore(ci): Add dependabot auto-triage pipeline (#21318)
  • chore(dependabot): Group react-router packages to bump in unison (#21442)
  • chore(deps-dev): Bump the react-router group across 1 directory with 3 updates (#21448)
  • chore(deps): Bump @hapi/content from 6.0.1 to 6.0.2 (#21180)
  • chore(deps): Bump getsentry/craft from 2.26.2 to 2.26.9 (#21444)
  • chore(deps): Bump hono from 4.12.18 to 4.12.21 in /dev-packages/e2e-tests/test-applications/cloudflare-hono (#21340)
  • chore(deps): Bump nx to 22.7.5 (#21527)
  • chore(deps): Bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 (#21302)
  • chore(size-limit): weekly auto-bump (#21501)
  • ci(dependabot-triage): Add outcome step (#21507)
  • ci(deps): Bump actions/github-script from 7 to 9 (#21300)
  • ci(deps): Bump anthropics/claude-code-action from 1.0.124 to 1.0.142 (#21445)
  • feat(deps): Bump shell-quote from 1.8.3 to 1.8.4 (#21412)
  • feat(deps): Bump the remix group with 4 updates (#21447)
  • feat(nestjs): Migrate vendored nest instrumentation to Sentry APIs (#21516)
  • ref: Remove unused SENTRY_BUILD_PRESERVE_MODULES env check from rollup configs (#21487)
  • ref: Rename published internal packages (#21371)
  • ref(nestjs): Streamline nestjs-core (#21434)
  • ref(node): Drop eslint-ignores and oxlint exemption in generic-pool instrumentation (#21435)
  • ref(node): Migrate vendored generic-pool instrumentation to Sentry APIs (#21523)
  • ref(node): Streamline dataloader instrumentation (#21475)
  • ref(node): Streamline generic-pool (#21363)
  • test: Skip nuxt-5 E2E test (#21524)
  • test(astro): Add Astro 7 e2e app (#21471)
  • test(node): Remove generic-pool fake unit test (#21439)
  • test(node): Replace lru-memoizer fake unit test with integration coverage (#21437)
  • test(react-router): Add Redis-backed DB-span coverage to rr7 (#21398)
  • test(react-router): Finalize instrumentation api e2e coverage (#21468)
  • test(react-router): Fix e2e tests (#21485)
  • test(react-router): Verify client fetch instrumentation hook fires (#21402)
  • test(tanstackstart-react): Initialize Sentry from a dedicated client init file (#21397)

Metadata

Metadata

Assignees

Labels

acceptedAdd to approve the deployci-readyCI passed, safe to publish without polling

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions