github getsentry/sentry-javascript 10.50.0

10 hours ago

Important Changes

  • feat(effect): Support v4 beta (#20394)

    The @sentry/effect integration now supports Effect v4 beta, enabling Sentry instrumentation for the latest Effect framework version.
    Read more in the Effect SDK readme.

  • feat(hono): Add @sentry/hono/bun for Bun runtime (#20355)

    A new @sentry/hono/bun entry point adds first-class support for running Hono applications instrumented with Sentry on the Bun runtime.
    Read more in the Hono SDK readme.

  • feat(replay): Add replayStart/replayEnd client lifecycle hooks (#20369)

    New replayStart and replayEnd client lifecycle hooks let you react to replay session start and end events in your application.

Other Changes

  • feat(core): Emit no_parent_span client outcomes for discarded spans requiring a parent (#20350)
  • feat(deps): Bump protobufjs from 7.5.4 to 7.5.5 (#20372)
  • feat(hono): Add runtime packages as optional peer dependencies (#20423)
  • feat(opentelemetry): Add tracingChannel utility for context propagation (#20358)
  • fix(browser): Enrich graphqlClient spans for relative URLs (#20370)
  • fix(browser): Filter implausible LCP values (#20338)
  • fix(cloudflare): Use TransformStream to keep track of streams (#20452)
  • fix(console): Re-patch console in AWS Lambda runtimes (#20337)
  • fix(core): Correct GoogleGenAIIstrumentedMethod typo in type name
  • fix(core): Handle stateless MCP wrapper transport correlation (#20293)
  • fix(hono): Remove undefined from options type (#20419)
  • fix(node): Guard against null httpVersion in outgoing request span attributes (#20430)
  • fix(node-core): Pass rejection reason instead of Promise as originalException (#20366)
Internal Changes
  • chore: Ignore claude worktrees (#20440)
  • chore: Prevent test from creating zombie process (#20392)
  • chore: Update size-limit (#20412)
  • chore(dev-deps): Bump nx from 22.5.0 to 22.6.5 (#20458)
  • chore(e2e-tests): Use tarball symlinks for E2E tests instead of verdaccio (#20386)
  • chore(lint): Remove lint warnings (#20413)
  • chore(test): Remove empty variant tests (#20443)
  • chore(tests): Use verdaccio as node process instead of docker image (#20336)
  • docs(readme): Update usage instructions for binary scripts (#20426)
  • ref(node): Vendor undici instrumentation (#20190)
  • test(aws-serverless): Ensure aws-serverless E2E tests run locally (#20441)
  • test(aws-serverless): Split npm & layer tests (#20442)
  • test(browser): Fix flaky sessions route-lifecycle test + upgrade axios (#20197)
  • test(cloudflare): Use .makeRequestAndWaitForEnvelope to wait for envelopes (#20208)
  • test(effect): Rename effect e2e tests to a versioned folder (#20390)
  • test(hono): Add E2E test for Hono on Cloudflare, Node and Bun (#20406)
  • test(hono): Add E2E tests for middleware spans (#20451)
  • test(nextjs): Unskip blocked cf tests (#20356)
  • test(node): Refactor integration tests for honoIntegration (#20397)
  • test(node): Use docker-compose healthchecks for service readiness (#20429)
  • test(node-core): Fix minute-boundary race in session-aggregate tests (#20437)
  • test(nuxt): Fix flaky database error test (#20447)

Bundle size 📦

Path Size
@sentry/browser 25.27 KB
@sentry/browser - with treeshaking flags 23.78 KB
@sentry/browser (incl. Tracing) 42.78 KB
@sentry/browser (incl. Tracing + Span Streaming) 44.44 KB
@sentry/browser (incl. Tracing, Profiling) 47.59 KB
@sentry/browser (incl. Tracing, Replay) 81.04 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 70.8 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 85.62 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 97.58 KB
@sentry/browser (incl. Feedback) 41.7 KB
@sentry/browser (incl. sendFeedback) 29.83 KB
@sentry/browser (incl. FeedbackAsync) 34.72 KB
@sentry/browser (incl. Metrics) 26.53 KB
@sentry/browser (incl. Logs) 26.65 KB
@sentry/browser (incl. Metrics & Logs) 27.33 KB
@sentry/react 26.97 KB
@sentry/react (incl. Tracing) 44.97 KB
@sentry/vue 29.99 KB
@sentry/vue (incl. Tracing) 44.55 KB
@sentry/svelte 25.29 KB
CDN Bundle 27.9 KB
CDN Bundle (incl. Tracing) 45 KB
CDN Bundle (incl. Logs, Metrics) 29.25 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 46.01 KB
CDN Bundle (incl. Replay, Logs, Metrics) 67.31 KB
CDN Bundle (incl. Tracing, Replay) 81.19 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 82.19 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 86.53 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 87.59 KB
CDN Bundle - uncompressed 81.63 KB
CDN Bundle (incl. Tracing) - uncompressed 134.39 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 85.67 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 137.72 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 206.35 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 249.08 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 252.4 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 261.69 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 265 KB
@sentry/nextjs (client) 47.44 KB
@sentry/sveltekit (client) 43.18 KB
@sentry/node-core 56.98 KB
@sentry/node 171.53 KB
@sentry/node - without tracing 95.99 KB
@sentry/aws-serverless 112.62 KB

Don't miss a new sentry-javascript release

NewReleases is sending notifications on new releases.