Repository navigation
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_rateoption is set to a value below0.01. (#2438) - Only add the
sentry.releaseattribute to logs when a release is configured. (#2442) - Fix an
Errorwhen 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
404instead of renumbering them. (#2444) - Drop metric attributes that do not have a string key. (#2445)
- Keep the promise rejected in the
GuzzleTracingMiddlewarewhen the rejection reason is not aThrowable. (#2446) - Keep the
baggageentries of other vendors that are already set on the request in theGuzzleTracingMiddleware, instead of overwriting the header. (#2447) - Trim the optional whitespace around keys and values when parsing the
baggageheader. (#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$maxBreadcrumbsof zero or less. (#2450) - Serialize empty log and metric attributes as a JSON object instead of an array. (#2451)