Releases: rollbar/rollbar-php
v4.1.0-beta
What's Changed
This beta release adds new major feature to Rollbar PHP, Telemetry! You can now get a breadcrumb of events that led up to an exception, error, or other report.
This is a beta release, so we encourage you to test it and give us any feedback you have.
Added
- Added support for Telemetry by @danielmorell in #634.
Fixed
- Fixed #480 IPv6 could not be resolved by curl sender by @danielmorell in #635.
Full Changelog: v4.0.2...v4.1.0-beta
v4.0.2
What's Changed
Fixed
- Fixed unable to to define custom scrubber by @zinkovskiy in #554.
- Fixed #631 log message was in the description by @danielmorell in #632.
Maintenance
- Fixed tests for performance test suite by @Chris53897 in #619.
- Updated PHPUnit to v10 by @Chris53897 in #621.
- Added CI tests for
--prefer-lowest
by @Chris53897 in #624. - Added CI tests for PHP 8.3 by @Chris53897 in #630.
New Contributors
- @zinkovskiy made their first contribution in #554
Full Changelog: v4.0.1...v4.0.2
v4.0.1
What's Changed
Added
- Added response status code to verbose log message fixing #613 by @danielmorell in #614.
Fixed
- Fixed #617
RollbarLogger:log()
not compatible with psr/log 1 by @danielmorell in #623.
Maintenance
- Added missing CI workflow for v3.x by @danielmorell in #616.
- Added Phpunit 10 result folder to .gitignore by @Chris53897 in #625.
- Updated test dependencies to fix generated mock class type annotation error by @danielmorell in #627.
- Fixed duplicate Psalm config and silenced unnecessary warnings by @Chris53897 in #622.
- Fixed test helper method
ArrayLogger:log()
psr/log 1 compatability by@danielmorell in #626. - Fixed the CI status badge in the README.md file. by @danielmorell in #628.
Full Changelog: v4.0.0...v4.0.1
v1.8.2
v4.0.0
In v4.0.0 we added support for psr/log
v3 and monolog/monolog
v3. We also improved the compatibility with PHP 8.2 and above.
What's Changed
Added
- PHP 8 language level mitigations, add typehints by @Chris8934 in #569.
- Added support for
psr/log
v3 by @danielmorell in #577. - Added support for
monolog/monolog
v3 by @danielmorell in #602 fixing #575. - Added comments and type annotations to the
EncodedPayload
class and payload interfaces by @danielmorell in #581. - Added typing / comments to
Rollbar
andRollbarLogger
classes by @danielmorell in #585. - Added required public methods to the
DataBuilderInterface
by @danielmorell in #586. - Added typing / comments to the
ResponseHandlerInterface
by @danielmorell in #588. - Added typing / comments to the
ScrubberInterface
andScrubber
class by @danielmorell in #591. - Added typing / comments to the
FilterInterface
by @danielmorell in #587. - Added typing / comments to the
SenderInterface
by @danielmorell in #592.
Changed
- Renamed
IStrategy
toStrategyInterface
updatedTruncation
and changed custom truncation strategy from requiring class extend theAbstractStrategy
to now require it implementStrategyInterface
by @danielmorell in #580. - Replaced the
FilterInterface::shouldSend()
$accessΤoken
argument with$isUncaught
making it close tocheck_ignore
usage @danielmorell in #587. - Updated the object serialization logic by @danielmorell in #605
Removed
- Removed deprecated log levels and fixed inconsistent use of
Rollbar/LevelFactory
by @danielmorell in #578. - Removed previously deprecated reporting methods from
Rollbar
by @danielmorell in #579. - Removed the
null
return type fromTransformerInterface::getPayload()
by @danielmorell in #593. - Removed the
Config::getAllowedCircularReferenceTypes()
method by @danielmorell in #603 - Removed the
Serializable
deprecation warning by @danielmorell in #605
Fixed
- Fixed call of method name changed in 8fac418 by @danielmorell in #583.
- Fixed #461 Added support for
psr/log
context exception by @danielmorell in #582. - Fixed #469 Added
requireAccessToken()
method toSenderInterface
by @danielmorell in #595. - Fixed #590 PHP 8.2 deprecated dynamic property creation by @danielmorell in #606
Full Changelog: v3.1.4...v4.0.0
v4.0.0-rc
What's Changed
Added
Added #575 support for monolog/monolog
v3 by @danielmorell in #602
Changed
Updated the object serialization logic by @danielmorell in #605
Removed
Removed the Config::getAllowedCircularReferenceTypes()
method by @danielmorell in #603
Removed the Serializable
deprecation warning by @danielmorell in #605
Fixed
Fixed #590 PHP 8.2 deprecated dynamic property creation by @danielmorell in #606
Full Changelog: v4.0.0-beta...v4.0.0-rc
v4.0.0-beta
This beta release of 4.0.0 fixes the psr/log v3.0 issue as well as adds a lot of typing improvements to the public interfaces and methods.
With the update to psr/log v3 Rollbar::log()
, and other logging methods defined in the psr/log interface now return void
. If you still need the Response
return value from those methods, you can now use the new Rollbar::report()
method which returns Response
.
What's Changed
Added
- PHP 8 language level mitigations, add typehints by @Chris8934 in #569.
- Added support for
psr/log
v3 by @danielmorell in #577. - Added the
Rollbar::report()
andRollbarLogger::report()
methods to continue to supportResponse
return type requirements after upgrading to psr/log v3 by @danielmorell in #577. - Added comments and type annotations to the
EncodedPayload
class and payload interfaces by @danielmorell in #581. - Added typing / comments to
Rollbar
andRollbarLogger
classes by @danielmorell in #585. - Added required public methods to the
DataBuilderInterface
by @danielmorell in #586. - Added typing / comments to the
ResponseHandlerInterface
by @danielmorell in #588. - Added typing / comments to the
ScrubberInterface
andScrubber
class by @danielmorell in #591. - Added typing / comments to the
FilterInterface
by @danielmorell in #587. - Added typing / comments to the
SenderInterface
by @danielmorell in #592.
Changed
- Renamed
IStrategy
toStrategyInterface
updatedTruncation
and changed custom truncation strategy from requiring class extend theAbstractStrategy
to now require it implementStrategyInterface
by @danielmorell in #580. - Replaced the
FilterInterface::shouldSend()
$accessΤoken
argument with$isUncaught
making it close tocheck_ignore
usage @danielmorell in #587.
Removed
- Removed deprecated log levels and fixed inconsistent use of
Rollbar/LevelFactory
by @danielmorell in #578. - Removed previously deprecated reporting methods from
Rollbar
by @danielmorell in #579. - Removed the
null
return type fromTransformerInterface::getPayload()
by @danielmorell in #593.
Fixed
- Fixed call of method name changed in 8fac418 by @danielmorell in #583.
- Fixed #461 Added support for
psr/log
context exception by @danielmorell in #582. - Fixed #469 Added
requireAccessToken()
method toSenderInterface
by @danielmorell in #595.
New Contributors
- @paulserraino made their first contribution in #584
Full Changelog: v3.1.4...v4.0.0-beta
v3.1.4
v3.1.3
What's Changed
- Fixed 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
- Fixed error suppressor context detection for PHP 8 by @tanakahisateru in #565
- Added Safer parse_str() usage by @tanakahisateru in #566
- Fixed #571 added null check on $filename by @danielmorell in #572
- Fixed bug in tests on local machine (mac m1) by @Chris53897 in #568
New Contributors
- @matt-h made their first contribution in #563
- @pcoutinho made their first contribution in #567
- @tanakahisateru made their first contribution in #565
- @Chris53897 made their first contribution in #568
Full Changelog: v3.1.2...v3.1.3
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