[go: up one dir, main page]

go: Update module github.com/getsentry/sentry-go to v0.40.0

This MR contains the following updates:

Package Type Update Change
github.com/getsentry/sentry-go require minor v0.36.1 -> v0.40.0

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

getsentry/sentry-go (github.com/getsentry/sentry-go)

v0.40.0: 0.40.0

Compare Source

The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.40.0.

Bug Fixes
  • Disable DisableTelemetryBuffer flag and noop Telemetry Buffer, to prevent a panic at runtime (#​1149).

v0.39.0: 0.39.0

Compare Source

The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.39.0.

Features
  • Drop events from the telemetry buffer when rate-limited or transport is full, allowing the buffer queue to empty itself under load (#​1138).
Bug Fixes
  • Fix scheduler's hasWork() method to check if buffers are ready to flush. The previous implementation was causing CPU spikes (#​1143).

v0.38.0: 0.38.0

Compare Source

Breaking Changes
Features
  • Introduce a new async envelope transport and telemetry buffer to prioritize and batch events (#​1094, #​1093, #​1107).

    • Advantages:
      • Prioritized, per-category buffers (errors, transactions, logs, check-ins) reduce starvation and improve resilience under load
      • Batching for high-volume logs (up to 100 items or 5s) cuts network overhead
      • Bounded memory with eviction policies
      • Improved flush behavior with context-aware flushing
  • Add ClientOptions.DisableTelemetryBuffer to opt out and fall back to the legacy transport layer (HTTPTransport / HTTPSyncTransport).

    err := sentry.Init(sentry.ClientOptions{
      Dsn: "__DSN__",
      DisableTelemetryBuffer: true, // fallback to legacy transport
    })
Notes
  • If a custom Transport is provided, the SDK automatically disables the telemetry buffer and uses the legacy transport for compatibility.

v0.37.0: 0.37.0

Compare Source

The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.37.0.

Breaking Changes
  • Behavioral change for the TraceIgnoreStatusCodes option. The option now defaults to ignoring 404 status codes (#​1122).
Features
  • Add sentry.origin attribute to structured logs to identify log origin for slog and logrus integrations (auto.log.slog, auto.log.logrus) (#​1121).
Bug Fixes
  • Fix slog event handler to use the initial context, ensuring events use the correct hub/span when the emission context lacks one (#​1133).
  • Improve exception chain processing by checking pointer values when tracking visited errors, avoiding instability for certain wrapped errors (#​1132).
Misc
  • Bump golang.org/x/net to v0.38.0 (#​1126).

v0.36.2: 0.36.2

Compare Source

The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.36.2.

Bug Fixes
  • Fix context propagation for logs to ensure logger instances correctly inherit span and hub information from their creation context (#​1118)
    • Logs now properly propagate trace context from the logger's original context, even when emitted in a different context
    • The logger will first check the emission context, then fall back to its creation context, and finally to the current hub

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by GitLab Dependency Bot

Merge request reports

Loading