Skip to content

Commit

Permalink
Merge pull request #208 from getsentry/fix-upgrade-doc
Browse files Browse the repository at this point in the history
Add info about skip_capture in the update document
  • Loading branch information
Jean85 committed May 6, 2019
2 parents 12f00db + 889bef5 commit a198cbf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UPGRADE-3.0.md
Expand Up @@ -8,6 +8,11 @@ The major change is in the fact that we now require the `sentry/sdk` metapackage
This new version has been completely rewritten: if you use this bundle and you interact directly with the underlying SDK
and client, you should read through the [relative upgrade document](https://github.com/getsentry/sentry-php/blob/master/UPGRADE-2.0.md).

## Changes in the configuration
There are only two BC impacting the configuration:
* the `skip_capture` option has been **removed**: the same feature has been implemented in the new SDK, with the PHP `excluded_exceptions` option; you just have to move your values from `sentry.skip_capture` to `sentry.options.excluded_exceptions`
* The `sentry.options` values reflect the options of the PHP SDK; many of those have been removed, and there are some new ones. You can read the [appropriate section of the upgrade document](https://github.com/getsentry/sentry-php/blob/master/UPGRADE-2.0.md#client-options), with the exception of the `server` to `dsn` migration, which is still handled in the same way by the bundle, under `sentry.dsn`

## HTTPlug
Since SDK 2.0 uses HTTPlug to remain transport-agnostic, you need to have installed two packages that provides
[`php-http/async-client-implementation`](https://packagist.org/providers/php-http/async-client-implementation)
Expand Down

0 comments on commit a198cbf

Please sign in to comment.