Releases: getsentry/sentry-php
Releases · getsentry/sentry-php
2.2.4
2.2.3
- Fix deprecation raised when serializing callable in certain circumstances (#821)
- Fix incorrect
critical
breadcrumb level by replacing it with thefatal
level (#901) - Fix regression on default sending behavior of the
HttpTransport
transport (#905) - Fix stacktrace frame inApp detection: all paths outside the project_root are now considered as not in app (#911)
2.2.2
2.2.1
2.2.0
- Change type hint for both parameter and return value of
HubInterface::getCurrentHub
andHubInterface::setCurrentHub()
methods (#849) - Add the
setTags
,setExtras
andclearBreadcrumbs
methods to theScope
class (#852) - Silently cast numeric values to strings when trying to set the tags instead of throwing (#858)
- Support force sending events on-demand and fix sending of events in long-running processes (#813)
- Update PHPStan and introduce Psalm (#846)
- Add an integration to set the transaction attribute of the event (#865)
- Deprecate
Hub::getCurrent
andHub::setCurrent
methods to set the current hub instance (#847)
2.1.3
2.1.2
- Fix
TypeError
inSentry\Monolog\Handler
when the extra data array has numeric keys (#833). - Fix sending of GZIP-compressed requests when the
enable_compression
option istrue
(#857) - Fix error thrown when trying to set the
transaction
attribute of the event in a CLI environment (#862) - Fix integrations that were not skipped if the client bound to the current hub was not using them (#861)
- Fix undefined index generated by missing function in class (#823)
2.1.1
- Fix the behavior of the
excluded_exceptions
option: now it's used to skip capture of exceptions, not to purge theexception
data of the event, which resulted in broken or empty chains of exceptions in reported events (#822) - Fix handling of uploaded files in the
RequestIntegration
, to respect the PSR-7 spec fully (#827) - Fix use of
REMOTE_ADDR
server variable rather than HTTP header - Fix exception, open_basedir restriction in effect (#824)
2.1.0
- Mark Sentry internal frames when using
attach_stacktrace
asin_app
false
(#786) - Increase default severity of
E_RECOVERABLE_ERROR
toSeverity::ERROR
, instead of warning (#792) - Make it possible to register fatal error listeners separately from the error listeners
and change the type of the reported exception to\Sentry\Exception\FatalErrorException
(#788) - Add a static factory method to create a breadcrumb from an array of data (#798)
- Add support for
SENTRY_ENVRIONMENT
andSENTRY_RELEASE
environment variables (#810) - Add the
class_serializers
option to make it possible to customize how objects are serialized in the event payload (#809) - Fix the default value of the
$exceptions
property of the Event class (#806) - Add a Monolog handler (#808)
- Allow capturing the body of an HTTP request (#807)
- Capture exceptions during serialization, to avoid hard failures (#818)