github getsentry/sentry-php 3.17.0

latest releases: 4.10.0, 4.9.0, 4.8.1...
19 months ago

The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v3.17.0.

Features

  • Add ignore_exceptions & ignore_transactions options (#1503)

    We deprecated the IgnoreErrorsIntegration in favor of this new option.
    The option will also take previous exceptions into account.

    \Sentry\init([
      'ignore_exceptions' => [BadThingsHappenedException::class],
    ]);

    To ignore a transaction being sent to Sentry, add its name to the config option.
    You can find the transaction name on the Performance page.

    \Sentry\init([
        'ignore_transactions' => ['GET /health'],
    ]);

Misc

  • Bump php-http/discovery to ^1.15 (#1504)

    You may need to allow the added composer plugin, introduced in php-http/discovery v1.15.0, to execute when running composer update.
    We previously pinned this package to version <1.15.
    Due to conflicts with other packages, we decided to lift this restriction.

Don't miss a new sentry-php release

NewReleases is sending notifications on new releases.