-
This version exclusively uses the envelope endpoint to send event data to Sentry.
If you are using sentry.io, no action is needed. If you are using an on-premise/self-hosted installation of Sentry, the minimum requirement is now version
>= v20.6.0. -
Added
ext-curlas a composer requirement. -
The
IgnoreErrorsIntegrationintegration was removed. Use theignore_exceptionsoption instead.Sentry\init([ 'ignore_exceptions' => [BadThingsHappenedException::class], ]);
This option performs an
is_acheck, so you can also ignore more generic exceptions. -
Removed support for
symfony/options-resolver: ^3.4.43. -
The
RequestFetchernow relies onguzzlehttp/psr7: ^1.8.4|^2.1.1. -
Added new methods to
ClientInterfacepublic function getCspReportUrl(): ?string; public function getStacktraceBuilder(): StacktraceBuilder;
-
Added new methods to
HubInterfacepublic function captureCheckIn(string $slug, CheckInStatus $status, $duration = null, ?MonitorConfig $monitorConfig = null, ?string $checkInId = null): ?string;
-
The new default value for the
trace_propagation_targetsoption is nownull. To not attach any headers to outgoing requests, using theGuzzleTracingMiddleware, set this option to[]. -
The
ignore_exceptionsoption now performs ais_acheck on the provided class strings. -
The
send_attemptsoption was removed. You may implement a custom transport if you rely on this behaviour. -
The
enable_compressionoption was removed. Usehttp_compressioninstead. -
The
loggeroption now accepts aPsr\Log\LoggerInterfaceinstance instead ofstring. -
Removed
Options::getSendAttempts/setSendAttempts(). -
Removed
Options::isCompressionEnabled/setEnableCompression(). UseOptions::isHttpCompressionEnabled/setEnableHttpCompression()instead. -
Removed
SpanContext::fromTraceparent(). UseSentry\continueTrace()instead. -
Removed
TransactionContext::fromSentryTrace(). UseSentry\continueTrace()instead. -
Removed
Sentry\Exception\InvalidArgumentException. Use\InvalidArgumentExceptioninstead. -
Removed
Sentry\Exception/ExceptionInterface. -
Removed
ClientBuilderInterface(). -
Removed
ClientBuilder::setSerializer(). -
Removed
ClientBuilder::setTransportFactory(). You can set a custom transport via thetransportoption. -
Removed
Client::__construct()parameterSerializerInterface $serializer. -
Removed
TransportFactoryInterface. -
Removed
DefaultTransportFactory. -
Removed
HttpClientFactoryInterface. -
Removed
HttpClientFactory. -
Removed
NullTransport. -
Removed
Dsn::getSecretKey(). -
Removed
Dsn::setSecretKey(). -
Removed
Dsn::getStoreApiEndpointUrl(). -
Removed
EventType::default(). -
Removed adding the value of the
loggeroption as a tag on the event. If you rely on this behaviour, add the tag manually. -
Added return type to
Dsn::getProjectId(): string. -
Changed return type to
Options::getLogger(): ?LoggerInterface. -
Changed parameter type of
Options::setLogger(LoggerInterface $logger).