Skip to content

Releases: getsentry/sentry-php

3.2.1

06 Apr 08:04
Compare
Choose a tag to compare
  • Changes behaviour of error_types option when not set: before it defaulted to error_reporting() statically at SDK initialization; now it will be evaluated each time during error handling to allow silencing errors temporarily (#1196)

3.2.0

03 Mar 13:57
Compare
Choose a tag to compare
  • Make the HTTP headers sanitizable in the RequestIntegration integration instead of removing them entirely (#1161)
  • Deprecate the logger option (#1167)
  • Pass the event hint from the capture*() methods down to the before_send callback (#1138)
  • Deprecate the tags option, see the docs for other ways to set tags (#1174)
  • Make sure the environment field is set to production if it has not been overridden explicitly (#1116)

3.1.5

18 Feb 14:34
Compare
Choose a tag to compare
  • Fix incorrect detection of silenced errors (by the @ operator) (#1183)

3.1.4

02 Feb 21:27
Compare
Choose a tag to compare
  • Allow jean85/pretty-package-versions 2.0 (#1170)

2.5.2

02 Feb 21:29
Compare
Choose a tag to compare
  • Allow jean85/pretty-package-versions 2.0 (#1171, backport of #1170 from 3.x)

3.1.3

25 Jan 12:09
Compare
Choose a tag to compare
  • Fix the fetching of the version of the SDK (#1169)
  • Add the $customSamplingContext argument to Hub::startTransaction() and HubAdapter::startTransaction() to fix deprecations thrown in Symfony (#1176)

3.1.2

08 Jan 12:42
Compare
Choose a tag to compare
  • Fix unwanted call to the before_send callback with transaction events, use traces_sampler instead to filter transactions (#1158)
  • Fix the logger option not being applied to the event object (#1165)
  • Fix a bug that made some event attributes being overwritten by option config values when calling captureEvent() (#1148)

2.5.1

11 Dec 16:13
Compare
Choose a tag to compare
  • Fix regression introduced in #1129 (#1143)
  • Fix capturing of the request body in the RequestIntegration integration when the stream is empty (#1129)
  • Fix wrong deprecation message when using the MissingPublicKeyCredentialException class (#1155)

3.1.1

07 Dec 08:27
Compare
Choose a tag to compare
  • Add support for PHP 8.0 (#1087)
  • Change the error handling for silenced fatal errors using @ to use a mask check in order to be php 8 compatible (#1141)
  • Update the guzzlehttp/promises package to the minimum required version compatible with PHP 8 (#1144)
  • Update the symfony/options-resolver package to the minimum required version compatible with PHP 8 (#1144)

3.1.0

01 Dec 10:29
Compare
Choose a tag to compare
  • Fix capturing of the request body in the RequestIntegration integration (#1139)
  • Deprecate SpanContext::fromTraceparent() in favor of TransactionContext::fromSentryTrace() (#1134)
  • Allow setting custom data on the sampling context by passing it as 2nd argument of the startTransaction() function (#1134)
  • Add setter for value on the ExceptionDataBag (#1100)
  • Add Scope::removeTag method (#1126)