The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.25.0.
Features
- Add
ExceptionToSentryIssueHandlerMonolog handler that only captures exceptions as Sentry issues without converting log messages to errors. (#2061) - Add
metric_flush_thresholdoption to automatically flush buffered metrics after a configured number of metric records. (#2059)
\Sentry\init([
'dsn' => '__YOUR_DSN__',
'metric_flush_threshold' => 50,
]);Bug Fixes
- Prevent PHP warnings when trying to increase the memory limit for out-of-memory error handling. (#2063)