The official PHP SDK for Sentry (sentry.io)
MIT License
Bot releases are hidden (Show)
Published by HazAT over 3 years ago
Published by HazAT over 3 years ago
Published by HazAT over 3 years ago
$customSamplingContext
argument to Hub::startTransaction()
and HubAdapter::startTransaction()
to fix deprecations thrown in Symfony (#1176)Published by HazAT almost 4 years ago
before_send
callback with transaction events, use traces_sampler
instead to filter transactions (#1158)logger
option not being applied to the event object (#1165)captureEvent()
(#1148)Published by HazAT almost 4 years ago
@
to use a mask check in order to be php 8 compatible (#1141)guzzlehttp/promises
package to the minimum required version compatible with PHP 8 (#1144)symfony/options-resolver
package to the minimum required version compatible with PHP 8 (#1144)Published by HazAT almost 4 years ago
RequestIntegration
integration (#1139)SpanContext::fromTraceparent()
in favor of TransactionContext::fromSentryTrace()
(#1134)startTransaction()
function (#1134)ExceptionDataBag
(#1100)Scope::removeTag
method (#1126)Published by HazAT almost 4 years ago
RequestIntegration
integration when the stream is empty (#1119)Published by HazAT about 4 years ago
UserDataBag
class (#1108)Published by HazAT about 4 years ago
Published by HazAT about 4 years ago
Published by HazAT about 4 years ago
Migration Guide:
https://github.com/getsentry/sentry-php/blob/master/UPGRADE-3.0.md
These breaking changes are mostly regarding the internal interfaces of the SDK.
If you were consuming the SDK from a pure usage perspective (how we describe it in our docs) there shouldn't be any code changes necessary.
Tracing API / Performance Monitoring
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.
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.
Hub
class a singleton (#1038)error_types
option from E_ALL
to the value get from error_reporting()
(#1037)string
rather than an object instance from the transport, the client and the hub (#1036)Options
class. (#1047)ModulesIntegration
integration (#1047)RequestIntegration
integration (#1047)Breadcrumb
class (#1047)ClientBuilderInterface
interface and its implementations (#1047)Scope::setUser()
method now always merges the given data with the existing one instead of replacing it as a whole (#1047)Context::CONTEXT_USER
, Context::CONTEXT_RUNTIME
, Context::CONTEXT_TAGS
, Context::CONTEXT_EXTRA
, Context::CONTEXT_SERVER_OS
constants (#1047)UserContext
, ExtraContext
and Context
classes and refactor the ServerOsContext
and RuntimeContext
classes (#1071)FlushableClientInterface
and the ClosableTransportInterface
interfaces (#1079)SpoolTransport
transport and all its related classes (#1080)EnvironmentIntegration
integration to gather data for the os
and runtime
contexts (#1071)traces_sampler
option to set custom sample rate callback (#1083)Event
class (#1085)7.2
and the minimum version of some dependencies (#1088)captureEvent
to only accept an instance of the Event
class rather than also a plain array (#1094)Published by HazAT about 4 years ago
timeout
and proxy
options for the Symfony HTTP Client (#1084)Published by HazAT about 4 years ago
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.
Hub
class a singleton (#1038)error_types
option from E_ALL
to the value get from error_reporting()
(#1037)string
rather than an object instance from the transport, the client and the hub (#1036)Options
class. (#1047)ModulesIntegration
integration (#1047)RequestIntegration
integration (#1047)Breadcrumb
class (#1047)ClientBuilderInterface
interface and its implementations (#1047)Scope::setUser()
method now always merges the given data with the existing one instead of replacing it as a whole (#1047)Context::CONTEXT_USER
, Context::CONTEXT_RUNTIME
, Context::CONTEXT_TAGS
, Context::CONTEXT_EXTRA
, Context::CONTEXT_SERVER_OS
constants (#1047)UserContext
, ExtraContext
and Context
classes and refactor the ServerOsContext
and RuntimeContext
classes (#1071)FlushableClientInterface
and the ClosableTransportInterface
interfaces (#1079)SpoolTransport
transport and all its related classes (#1080)EnvironmentIntegration
integration to gather data for the os
and runtime
contexts (#1071)Published by HazAT about 4 years ago
Options::setEnvironment
method not accepting null
values (#1057)RequestIntegration
integration when the stream size is unknown (#1064)Published by HazAT about 4 years ago
Published by HazAT over 4 years ago
Published by HazAT over 4 years ago
RequestFetcherInterface
to allow customizing the request data attached to the logged event (#984)AbstractSerializer
to accept Traversable
values using is_iterable
instead of is_array
(#991)ModulesIntegration
integration to improve its code and its tests (#990)GzipEncoderPlugin
class (#1012)FrameContextifierIntegration
integration (#1011)context_lines
option and fix its behavior when passing null
to make it working as described in the documentation (#1003)prefixes
option (#1016)Published by HazAT over 4 years ago
HttpTransport
and removed pre-init of promises (fixes "too many open files" errors) (#981)http_proxy
option not being applied (#978)Published by stayallive over 4 years ago
Please note that the
1.x
branch of the Sentry PHP SDK is no longer actively maintained and will only receive bug-fix and security updates.
mb_substr
instead of substr
if available (#734)default_max_depth
in Raven_Serializer
(#632)