Skip to content

Releases: getsentry/sentry-php

3.10.0

19 Oct 09:40
Compare
Choose a tag to compare
  • ref: Add correct never option for max_request_body_size (#1397)
    • Deprecate max_request_body_size.none in favour of max_request_body_size.never
  • fix: Sampling now correctly takes in account the parent sampling decision if available instead of always being false when tracing is disabled (#1407)

3.9.1

11 Oct 09:04
Compare
Choose a tag to compare
  • fix: Suppress errors on is_callable (#1401)

3.9.0

05 Oct 10:10
Compare
Choose a tag to compare
  • feat: Add tracePropagationTargets option (#1396)
  • feat: Expose a function to retrieve the URL of the CSP endpoint (#1378)
  • feat: Add support for Dynamic Sampling (#1360)
    • Add segment to UserDataBag
    • Add TransactionSource, to set information about the transaction name via TransactionContext::setSource() (#1382)
    • Deprecate TransactionContext::fromSentryTrace() in favor of TransactionContext::fromHeaders()

3.8.1

21 Sep 11:12
Compare
Choose a tag to compare
  • fix: Use constant for the SDK version (#1374)
  • fix: Do not throw an TypeError on numeric HTTP headers (#1370)

3.8.0

05 Sep 15:17
dc599ef
Compare
Choose a tag to compare
  • Add Sentry\Monolog\BreadcrumbHandler, a Monolog handler to allow registration of logs as breadcrumbs (#1199)
  • Do not setup any error handlers if the DSN is null (#1349)
  • Add setter for type on the ExceptionDataBag (#1347)
  • Drop symfony/polyfill-uuid in favour of a standalone implementation (#1346)

3.7.0

18 Jul 08:03
Compare
Choose a tag to compare
  • Fix Scope::getTransaction() so that it returns also unsampled transactions (#1334)
  • Set the event extras by taking the data from the Monolog record's extra (#1330)

3.6.1

27 Jun 13:56
Compare
Choose a tag to compare
  • Set the sentry-trace header when using the tracing middleware (#1331)

3.6.0

10 Jun 07:57
Compare
Choose a tag to compare
  • Add support for monolog/monolog:^3.0 (#1321)
  • Add setTag and removeTag public methods to Event for easier manipulation of tags (#1324)

3.5.0

19 May 14:44
5b611e3
Compare
Choose a tag to compare
  • Bump minimum version of guzzlehttp/psr7 package to avoid CVE-2022-24775 (#1305)
  • Fix stripping of memory addresses from stacktrace frames of anonymous classes in PHP >=7.4.2 (#1314)
  • Set the default send_attempts to 0 (this disables retries) and deprecate the option. If you require retries you can increase the send_attempts option to the desired value. (#1312)
  • Add http_connect_timeout and http_timeout client options (#1282)

3.4.0

14 Mar 09:05
Compare
Choose a tag to compare
  • Update Guzzle tracing middleware to meet the expected standard (#1234)
  • Add toArray public method in PayloadSerializer to be able to re-use Event serialization
  • The withScope methods now return the callback's return value (#1263)
  • Set the event extras by taking the data from the Monolog record's context (#1244)
  • Make the StacktraceBuilder class part of the public API and add the Client::getStacktraceBuilder() method to build custom stacktraces (#1124)
  • Support handling the server rate-limits when sending events to Sentry (#1291)
  • Treat the project ID component of the DSN as a string rather than an integer (#1294)