The Sentry SDK team is happy to announce the immediate availability of Sentry Laravel SDK v4.5.0.
Features
-
Limit when SQL query origins are being captured (#881)
We now only capture the origin of a SQL query when the query is slower than 100ms, configurable by the
SENTRY_TRACE_SQL_ORIGIN_THRESHOLD_MS
environment variable. -
Add tracing and breadcrumbs for Notifications (#852)
-
Add reporter for
Model::preventAccessingMissingAttributes()
(#824) -
Make it easier to enable the debug logger (#880)
You can now enable the debug logger by adding the following to your
config/sentry.php
file:'logger' => Sentry\Logger\DebugFileLogger::class, // This will log SDK logs to `storage_path('logs/sentry.log')`
Only use this in development and testing environments, as it can generate a lot of logs.