Skip to content

Releases: getsentry/sentry-laravel

3.1.0

10 Nov 13:14
Compare
Choose a tag to compare

3.0.1

27 Oct 12:18
Compare
Choose a tag to compare
  • Remove incorrect checks if performance tracing should be enabled and rely on the transaction sampling decision instead (#600)
  • Fix SENTRY_RELEASE .env variable not working when using config caching (#603)

3.0.0

19 Oct 08:48
Compare
Choose a tag to compare

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 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 alternative Sentry\Integration::extractNameAndSourceForRoute() is marked as @internal (#580)
  • Remove internal Sentry\Integration::currentTracingSpan(), use SentrySdk::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

13 Oct 09:30
Compare
Choose a tag to compare
  • Fix extracting command input resulting in errors when calling Artisan commands programatically with null as an argument value (#589)

2.14.1

10 Oct 10:22
Compare
Choose a tag to compare
  • Fix not setting the correct SDK ID and version when running the sentry:test command (#582)

2.14.0

03 Oct 14:31
Compare
Choose a tag to compare
  • Fix not listening to queue events because QueueManager is registered as queue 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 like Illuminate\Http\JsonResponse (#573)
  • Align Span Operations with new spec (#574)
  • Fix broken SetRequestMiddleware on Laravel < 6.0 (#575)
  • Also extract the authenticated user email and username attributes if available (#577)

2.13.0

15 Jul 11:38
Compare
Choose a tag to compare
  • Only catch BindingResolutionException when trying to get the PSR-7 request object from the container

2.12.1

27 Jun 13:56
Compare
Choose a tag to compare
  • Fix incorrect release and environment values when using the sentry:test command

2.12.0

05 Apr 10:43
Compare
Choose a tag to compare
  • 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 the SENTRY_SEND_DEFAULT_PII env variable

2.11.1

15 Feb 07:31
Compare
Choose a tag to compare
  • Fix deprecation notice in route name extraction (#543)