Tracing API
In this version we released API for Tracing. \Sentry\startTransaction is your entry point for manual instrumentation.
More information can be found in our Performance docs or specific
PHP SDK docs.
Breaking Change: This version uses the envelope endpoint. If you are
using an on-premise installation it requires Sentry version >= v20.6.0 to work. If you are using
sentry.io nothing will change and no action is needed.
- [BC BREAK] Remove the deprecated code that made the
Hubclass a singleton (#1038) - [BC BREAK] Remove deprecated code that permitted to register the error, fatal error and exception handlers at once (#1037)
- [BC BREAK] Change the default value for the
error_typesoption fromE_ALLto the value get fromerror_reporting()(#1037) - [BC BREAK] Remove deprecated code to return the event ID as a
stringrather than an object instance from the transport, the client and the hub (#1036) - [BC BREAK] Remove some deprecated methods from the
Optionsclass. (#1047) - [BC BREAK] Remove the deprecated code from the
ModulesIntegrationintegration (#1047) - [BC BREAK] Remove the deprecated code from the
RequestIntegrationintegration (#1047) - [BC BREAK] Remove the deprecated code from the
Breadcrumbclass (#1047) - [BC BREAK] Remove the deprecated methods from the
ClientBuilderInterfaceinterface and its implementations (#1047) - [BC BREAK] The
Scope::setUser()method now always merges the given data with the existing one instead of replacing it as a whole (#1047) - [BC BREAK] Remove the
Context::CONTEXT_USER,Context::CONTEXT_RUNTIME,Context::CONTEXT_TAGS,Context::CONTEXT_EXTRA,Context::CONTEXT_SERVER_OSconstants (#1047) - [BC BREAK] Use PSR-17 factories in place of the Httplug's ones and return a promise from the transport (#1066)
- [BC BREAK] The Monolog handler does not set anymore tags and extras on the event object (#1068)
- [BC BREAK] Remove the
UserContext,ExtraContextandContextclasses and refactor theServerOsContextandRuntimeContextclasses (#1071) - [BC BREAK] Remove the
FlushableClientInterfaceand theClosableTransportInterfaceinterfaces (#1079) - [BC BREAK] Remove the
SpoolTransporttransport and all its related classes (#1080) - Add the
EnvironmentIntegrationintegration to gather data for theosandruntimecontexts (#1071) - Refactor how the event data gets serialized to JSON (#1077)