Releases: getsentry/sentry-laravel
Releases · getsentry/sentry-laravel
3.1.0
- Unhandled exceptions are now correctly marked as
handled: false
and displayed as such on the issues list and detail page (#608)- Make sure to update your
App/Exceptions/Handler.php
file to enable this new behaviour. See https://docs.sentry.io/platforms/php/guides/laravel/
- Make sure to update your
3.0.1
3.0.0
New features
- We are now creating more spans to give you better insights into the performance of your application
- Add a
http.client
span. This span indicates the time that is spent when using the Laravel HTTP client (#585) - Add a
http.route
span. This span indicates the time that is spent inside a controller method or route closure (#593) - Add a
db.transaction
span. This span indicates the time that is spent inside a database transaction (#594)
- Add a
- Add support for Dynamic Sampling
- Add support for Dynamic Sampling (#572)
Breaking changes
- Laravel Lumen is no longer supported
- Drop support for Laravel Lumen (#579)
- Laravel versions 5.0 - 5.8 are no longer supported
- Drop support for Laravel 5.x (#581)
- Remove
Sentry\Integration::extractNameForRoute()
, it's alternativeSentry\Integration::extractNameAndSourceForRoute()
is marked as@internal
(#580) - Remove internal
Sentry\Integration::currentTracingSpan()
, useSentrySdk::getCurrentHub()->getSpan()
if you were using this internal method (#592)
Other changes
- Set the tracing transaction name on the
Illuminate\Routing\Events\RouteMatched
instead of at the end of the request (#580) - Remove extracting route name or controller for transaction names (#583). This unifies the transaction names to a more concise format.
- Simplify Sentry meta tag retrieval, by adding
Sentry\Laravel\Integration::sentryMeta()
(#586) - Fix tracing with nested queue jobs (mostly when running jobs in the
sync
driver) (#592)
2.14.2
2.14.1
2.14.0
- Fix not listening to queue events because
QueueManager
is registered asqueue
in the container and not by it's class name (#568) - Fix status code not populated on transaction if response did not inherit from
Illuminate\Http\Response
likeIlluminate\Http\JsonResponse
(#573) - Align Span Operations with new spec (#574)
- Fix broken
SetRequestMiddleware
on Laravel < 6.0 (#575) - Also extract the authenticated user
email
andusername
attributes if available (#577)
2.13.0
- Only catch
BindingResolutionException
when trying to get the PSR-7 request object from the container
2.12.1
- Fix incorrect
release
andenvironment
values when using thesentry:test
command
2.12.0
- Add support for normalized route names when using Laravel Lumen (#449)
- Add support for adding the user ID to the user scope when using Laravel Sanctum (#542)
- Allow configuration of the
send_default_pii
SDK option with theSENTRY_SEND_DEFAULT_PII
env variable