packagist sentry/sentry-laravel 3.8.0

latest releases: dev-master, dev-release/4.9.0, 4.9.0...
12 months ago

The Sentry SDK team is happy to announce the immediate availability of Sentry Laravel SDK v3.8.0.

Features

  • Initial support for Laravel Folio (#738)

    If you are using Laravel Folio in your application, we'll extract a more meaningful transaction name based on the
    VieMatched event.

  • The filesystem adapters for the sentry driver now extend the well-known Laravel classes they decorate,
    Illuminate\Filesystem\FilesystemAdapter and Illuminate\Filesystem\AwsS3V3Adapter.

    Enabling the feature can be simplified by wrapping the configuration for all disks
    with a call to Sentry\Laravel\Features\Storage\Integration::configureDisks()
    in your config/filesystems.php file:

    'disks' => Sentry\Laravel\Features\Storage\Integration::configureDisks([
        'local' => [
            'driver' => 'local',
            'root' => storage_path('app'),
            'throw' => false,
        ],
    
        // ...
    ], /* enableSpans: */ true, /* enableBreadcrumbs: */ true),

    Alternatively, you can enable this feature only for select disks:

    'disks' => [
        'local' => [
            'driver' => 'local',
            'root' => storage_path('app'),
            'throw' => false,
        ],
    
        's3' => Sentry\Laravel\Features\Storage\Integration::configureDisk('s3', [
            // ...
        ], /* enableSpans: */ true, /* enableBreadcrumbs: */ true),
    ],

    By default, both spans and breadcrumbs are enabled.
    You may disable them by passing the second argument, $enableSpans or the third argument, $enableBreadcrumbs.

  • Add Laravel artisan about command (#768)

Bug Fixes

  • Remove usage of Str::replace (#762)

    • This fixes an issue using Cron Monitoring in Laravel 6, 7 and < 8.41.0

Misc

  • Differentiate between boot and register for features (#759)

  • Internal improvements (#769)

    • Make feature registration agnostic to the service container.
    • Cleanup tests by using the @define-env annotation.
    • Move the Log channel to a feature and add tests.
    • Mark BacktraceHelper as @internal and make it lazy for the tracing service provider.

Don't miss a new sentry-laravel release

NewReleases is sending notifications on new releases.