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