From 293982a8774109c625f0dc87b13951b22151cf36 Mon Sep 17 00:00:00 2001 From: Alessandro Lai Date: Tue, 16 Apr 2019 12:37:05 +0200 Subject: [PATCH 1/3] Add info about skip_capture in the update document --- UPGRADE-3.0.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index a9e9d5c3..563730cc 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -8,6 +8,9 @@ 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). +The only breaking change reflected in the bundle due to this update is the `skip_capture` option: it has been **removed** because +the same feature has been implemented in the new SDK, with the native `excluded_exceptions` option. + ## 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) From b5722f862362f713f148e4c332c3c1e750622bfb Mon Sep 17 00:00:00 2001 From: Alessandro Lai Date: Wed, 17 Apr 2019 11:09:01 +0200 Subject: [PATCH 2/3] Reword and add section about config BC --- UPGRADE-3.0.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index 563730cc..361ca720 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -8,8 +8,10 @@ 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). -The only breaking change reflected in the bundle due to this update is the `skip_capture` option: it has been **removed** because -the same feature has been implemented in the new SDK, with the native `excluded_exceptions` option. +## 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 native `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 native 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 From 889bef54d55409fa671f12b80ef66e4836c14966 Mon Sep 17 00:00:00 2001 From: Alessandro Lai Date: Mon, 6 May 2019 17:42:35 +0200 Subject: [PATCH 3/3] s/native/PHP/ --- UPGRADE-3.0.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index 361ca720..bb87ee07 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -10,8 +10,8 @@ and client, you should read through the [relative upgrade document](https://gith ## 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 native `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 native 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` + * 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