Packages

@sentry/node-core

10.75.2 · 22 Sep 2026MIT23.4M / weekRepositoryHomepagenpmAtom feed

Your version

10.31.0

16 Dec 2025Where it was published

10.77.1 is the newest release of 10.x.

In short

10 new6 fixed2 changed17 internal

Release note

Important Changes

  • browser: Add support for GraphQL persisted operations

The graphqlClientIntegration now supports GraphQL persisted operations (queries). When a persisted query is detected, the integration will capture the operation hash and version as span attributes:

  • graphql.persisted_query.hash.sha256 - The SHA-256 hash of the persisted query

  • graphql.persisted_query.version - The version of the persisted query protocol

Additionally, the graphql.document attribute format has changed to align with OpenTelemetry semantic conventions. It now contains only the GraphQL query string instead of the full JSON request payload.

Before:

"graphql.document": "{\"query\":\"query Test { user { id } }\"}"

After:

"graphql.document": "query Test { user { id } }"

Other Changes

  • node: Support propagateTraceparent option

  • bun: Expose spotlight option in TypeScript

  • core: Add additional exports for captureException and captureMessage parameter types

  • core: Export captureException and captureMessage parameter types

  • core: Parse individual cookies from cookie header

  • node: Add instrument OpenAI export to node

  • profiling: Add support for Node v24 in the prune script

  • tracing: Strip inline media from messages

  • node: Add ESM support for postgres.js instrumentation

  • browser: Stringify span context in linked traces log statement

  • google-cloud-serverless: Move @types/express to optional peerDeps

  • node-core: Passthrough node-cron context

  • tanstack-router: Check for fromLocation existence before reporting pageload

  • tracing: Add system prompt, model to google genai

  • tracing: Set span operations for AI spans with model ID only

Internal Changes

Work in this release was contributed by @sebws and @TBeeren. Thank you for your contributions!