Skip to content

Releases: getsentry/sentry-php

2.2.4

04 Nov 10:46
Compare
Choose a tag to compare
  • Suggest installing Monolog to send log messages directly to Sentry (#908)
  • Make the $errcontext argument of the ErrorHandler::handleError() method nullable (#917)

2.2.3

31 Oct 11:16
Compare
Choose a tag to compare
  • Fix deprecation raised when serializing callable in certain circumstances (#821)
  • Fix incorrect critical breadcrumb level by replacing it with the fatal 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

10 Oct 08:21
Compare
Choose a tag to compare
  • Fix handling of fifth argument in the error handler (#892)
  • Catch exception from vendors in Sentry\Transport\HttpTransport (#899)

2.2.1

23 Sep 12:06
Compare
Choose a tag to compare
  • Disable default deprecation warning Sentry\Transport\HttpTransport (#884)

2.2.0

23 Sep 09:43
6798aca
Compare
Choose a tag to compare
  • Change type hint for both parameter and return value of HubInterface::getCurrentHub and HubInterface::setCurrentHub() methods (#849)
  • Add the setTags, setExtras and clearBreadcrumbs methods to the Scope 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 and Hub::setCurrent methods to set the current hub instance (#847)

2.1.3

06 Sep 17:06
Compare
Choose a tag to compare
  • Fix GZIP-compressed requests failing when exit($code) was used to terminate the application (#877)

2.1.2

22 Aug 07:52
Compare
Choose a tag to compare
  • Fix TypeError in Sentry\Monolog\Handler when the extra data array has numeric keys (#833).
  • Fix sending of GZIP-compressed requests when the enable_compression option is true (#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

13 Jun 11:34
Compare
Choose a tag to compare
  • Fix the behavior of the excluded_exceptions option: now it's used to skip capture of exceptions, not to purge the exception 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

22 May 07:53
Compare
Choose a tag to compare
  • Mark Sentry internal frames when using attach_stacktrace as in_app false (#786)
  • Increase default severity of E_RECOVERABLE_ERROR to Severity::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 and SENTRY_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)

2.0.1

01 Mar 09:06
Compare
Choose a tag to compare
  • Do no longer report silenced errors by default (#785)
  • New option capture_silenced_error to enable reporting of silenced errors, disabled by default (#785)