github getsentry/sentry-php 4.39.0

one hour ago

The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.39.0.

Bug Fixes

  • Record a client report when an event is lost because the HTTP client threw an exception while sending it. (#2401)
  • Release the Excimer profiler as soon as the profiler of a transaction stops, instead of holding on to its timer until the next garbage collection run. (#2424)
  • Prevent memory exhaustion in long running tasks by discarding a profile that exceeds the maximum duration before its samples are converted. (#2436)
  • Fix all events being dropped when the sample_rate option is set to a value below 0.01. (#2438)
  • Only add the sentry.release attribute to logs when a release is configured. (#2442)
  • Fix an Error when serializing an object with readonly properties. Traversable objects such as generators are no longer iterated while they are serialized. (#2443)
  • Keep numeric context names such as 404 instead of renumbering them. (#2444)
  • Drop metric attributes that do not have a string key. (#2445)
  • Keep the promise rejected in the GuzzleTracingMiddleware when the rejection reason is not a Throwable. (#2446)
  • Keep the baggage entries of other vendors that are already set on the request in the GuzzleTracingMiddleware, instead of overwriting the header. (#2447)
  • Trim the optional whitespace around keys and values when parsing the baggage header. (#2448)
  • Fix the wording of the log messages for profiles that are discarded because of a missing OS or runtime context. (#2449)
  • Store no breadcrumbs when Scope::addBreadcrumb() is called with a $maxBreadcrumbs of zero or less. (#2450)
  • Serialize empty log and metric attributes as a JSON object instead of an array. (#2451)

Don't miss a new sentry-php release

NewReleases is sending notifications on new releases.