Releases: rollbar/rollbar-php
v3.1.3-RC1
What's Changed
- Update comment line number by @matt-h in #563
- Fixed rollbar/rollbar-php-laravel#136 try using __serialize when obj implements \Serializable by @pcoutinho in #567
New Contributors
- @matt-h made their first contribution in #563
- @pcoutinho made their first contribution in #567
Full Changelog: v3.1.2...v3.1.3
v3.1.2
This release is a patch to fix a regression in functionality that was introduced in v3.0.0.
Fixed
- Fixed rollbar/rollbar-php-laravel#134 Person ID not cast to string by @danielmorell in #562
Full Changelog: v3.1.1...v3.1.2
v3.1.1
This release is a patch to fix a bug in the TraceChain class that was introduced in v3.1.0.
Fixed
New Contributors
Thank you for joining our community!
Full Changelog: v3.1.0...v3.1.1
v3.1.0
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
- Added transformer option by @danielroehrig in #543
- Allow
psr/log
v2 by @Jean85 in #536 - Added psalm static analysis by @bishopb in #550, and #551
- Added
Rollbar\SerializerInterface
to describe serialization behavior @danielmorell in #558
Fixed
- Fixed
report_suppressed
isset check by @trsteel88 and @bishopb in #539, and $546. - Fixed missed cleanup of synthetic member variable by @bishopb in #547
- Fixed possibly null argument by @bishopb in #552
- Fixed deprecation warnings on PHP 8.1 @danielmorell in #558
Changed
New Contributors
- @trsteel88 made their first contribution in #539
- @danielroehrig made their first contribution in #543
- @Jean85 made their first contribution in #536
Thank you for joining our community!
Full Changelog: v3.0.0...v3.1.0
v3.0.0
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
andcomposer docker-run
.
Removed
- Support for PHP 7 and earlier.
- Spurious use of
Monolog\StreamHandler
. $isUncaught
parameter onRollbar::log
; replaced withRollbar::logUncaught
.- Use of
call_user_func
andcall_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 deprecatedscrub_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 toAgentSender::sendBatch
.
v2.1.0
v2.0.0
- The
master
branch and thev2.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
v1.8.0
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)