From 64fe4b0d719e62a7c70a00f9d23c35ba89e8d8b2 Mon Sep 17 00:00:00 2001 From: Michael Hoffmann Date: Wed, 18 Oct 2023 01:39:09 +0200 Subject: [PATCH] Add Upgrade guide --- UPGRADE-4.0.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 UPGRADE-4.0.md diff --git a/UPGRADE-4.0.md b/UPGRADE-4.0.md new file mode 100644 index 000000000..66409565c --- /dev/null +++ b/UPGRADE-4.0.md @@ -0,0 +1,8 @@ +# Upgrade 3.x to 4.0 + +- The `send_attempts` option was removed. You may implement a custom transport if you rely on this behaviour. +- `SpanContext::fromTraceparent()` was removed. Use `Sentry\continueTrace()` instead. +- `TransactionContext::fromSentryTrace()` was removed. Use `Sentry\continueTrace()` instead. +- The `IgnoreErrorsIntegration` integration was removed. Use the `ignore_errors` option instead. +- `Sentry\Exception\InvalidArgumentException` was removed. Use `\InvalidArgumentException` instead. +- `Sentry\Exception/ExceptionInterface` was removed.