Skip to content

Commit a198cbf

Browse files
authored
Merge pull request #208 from getsentry/fix-upgrade-doc
Add info about skip_capture in the update document
2 parents 12f00db + 889bef5 commit a198cbf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UPGRADE-3.0.md

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ The major change is in the fact that we now require the `sentry/sdk` metapackage
88
This new version has been completely rewritten: if you use this bundle and you interact directly with the underlying SDK
99
and client, you should read through the [relative upgrade document](https://github.com/getsentry/sentry-php/blob/master/UPGRADE-2.0.md).
1010

11+
## Changes in the configuration
12+
There are only two BC impacting the configuration:
13+
* 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`
14+
* 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`
15+
1116
## HTTPlug
1217
Since SDK 2.0 uses HTTPlug to remain transport-agnostic, you need to have installed two packages that provides
1318
[`php-http/async-client-implementation`](https://packagist.org/providers/php-http/async-client-implementation)

0 commit comments

Comments
 (0)