Skip to content

Releases: rollbar/rollbar-php

v3.1.2

30 Mar 21:25
0d11475
Compare
Choose a tag to compare

This release is a patch to fix a regression in functionality that was introduced in v3.0.0.

Fixed

Full Changelog: v3.1.1...v3.1.2

v3.1.1

11 Mar 15:28
d2fde4e
Compare
Choose a tag to compare

This release is a patch to fix a bug in the TraceChain class that was introduced in v3.1.0.

Fixed

  • Tracechain must implements ContentInterface to be part of Body. by @stephpy in #560

New Contributors

Thank you for joining our community!

Full Changelog: v3.1.0...v3.1.1

v3.1.0

09 Mar 15:41
4cf5c77
Compare
Choose a tag to compare

Aside from some needed maintenance and bug fixes, this release resolves some issues needed to support PHP 8.1. It also updates our support for psr/log to v2! The other significant update is the addition of the transformer option.

One of the important changes is in what types can be passed to custom argument in Rollbar\Rollbar::init(). Passing in an object or class instance that does not implement the new Rollbar\SerializerInterface has been deprecated. This helps us ensure any custom values in your payload are serializable, and they can be sent to Rollbar serves without error.

Added

Fixed

Changed

New Contributors

Thank you for joining our community!

Full Changelog: v3.0.0...v3.1.0

v3.0.0

24 Sep 01:15
a36461e
Compare
Choose a tag to compare

This release and the entire v3 series target PHP 8+ only. If you are using PHP 7.4 or earlier, please use the v2 series.

If you are upgrading from a v2 series release, please pay special attention to the APi changes mentioned below.

Problems? Click the "Join Release Discussion" button below and leave your question.

Added

  • Support for PHP 8.
  • Type signatures and strict type enforcement.
  • Less member variable boilerplate via constructor property promotion.
  • Type signatures for Serialized handlers.
  • Compatibility with XDebug 3.
  • Docker containers for quick interaction: try composer docker-build and composer docker-run.

Removed

  • Support for PHP 7 and earlier.
  • Spurious use of Monolog\StreamHandler.
  • $isUncaught parameter on Rollbar::log; replaced with Rollbar::logUncaught.
  • Use of call_user_func and call_user_func_array internally.
  • Monolog 1 handler.

Fixed

  • The performance test suite now runs to completion with assertions on the expected run-time performance within GitHub actions. Running these on different hardware configurations may not match the expectations, so care should be taken to match test platform specifications when reporting performance issues. A future version may provide better direction as to the required test platform specifications.
  • Missing URL encoding when internally calling the Rollbar occurrences API.
  • Uncaptured local variables when using the zend.exception_ignore_args=Off engine configuration.

Changed

  • The new configuration option scrub_safelist replaces the deprecated scrub_whitelist configuration option, which is now removed.
  • The check_ignore configuration option, if defined and containing the name of an invocable function, will now catch thrown \Error -- division by zero, parse and type errors, assertion failures, etc. Before, only thrown \Exception would be caught.
  • In the event the API rejected an occurrence during a log() call, and no message was available, the new default message reads "message not set": before this was misspelled as "mesage not set".
  • AgentSender::sendBatch() no longer returns a value, as it was inconsistent with the interface. To access the return values, pass a return-by-reference variable as the third argument to AgentSender::sendBatch.

v2.1.0

02 Jul 02:02
ff3db57
Compare
Choose a tag to compare
  • Added support for PHP 7.3 and 7.4.

v2.0.0

02 Oct 06:31
Compare
Choose a tag to compare
  • The master branch and the v2.x series will continue full support for PHP >= 7.1.
  • Make the SDK compatible with Monolog 2.0.0.
  • Full support for PHP 7.0 will continue in branch v1.x until PHP 7.0 EOL (Jan 1st 2020).
  • Security fixes only support for PHP < 7 will continue in branch v1.x.

v1.8.1

06 May 11:52
Compare
Choose a tag to compare
  • Add monolog dependency #458

v1.8.0

03 May 23:47
Compare
Choose a tag to compare

WARNING: This build is broken. Please skip it and move on to https://github.com/rollbar/rollbar-php/releases/tag/v1.8.1 containing a critical fix.

Remove commitizen setup; prefer global usage instead #450
Standardized dev options: enabled, transmit, output, verbose #456
Configurable Exception Raising for rollbar.log #449
Increase memory limits for php5.3 in Travis CI #452
Make the repo commitizen-friendly #447
Amended PR: Add to config minimumLevel option #442
Updated rollbar.js snippet to the latest version (v2.6.1)

v1.7.5

04 Mar 09:02
Compare
Choose a tag to compare

HHVM does not support PHP language anymore #438
Respect the result of any user-defined error handling #437

v1.7.4

02 Jan 16:25
Compare
Choose a tag to compare

#431 Extra Custom data not showing in Rollbar