v4.0.0-beta #597
Replies: 3 comments 2 replies
-
|
First of all... Congrats!! I've installed the 4.0 and have an issue (maybe my fault, too late here :-D ) If I use in this way it works: But if I use through log, it does not work: I added in config/logging.php: and added the ROLLBAR_TOKEN in the .env, of course ;-) But when I use this: it does not trigger the rollbar channel. Any ideas ? THANK YOU in advance |
Beta Was this translation helpful? Give feedback.
-
|
I've been testing in a "pre-live" environment for 2 weeks, and works fine! |
Beta Was this translation helpful? Give feedback.
-
|
Any idea of publishing date ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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 returnvoid. If you still need theResponsereturn value from those methods, you can now use the newRollbar::report()method which returnsResponse.What's Changed
Added
psr/logv3 by @danielmorell in Added support for psr/log v3 #577.Rollbar::report()andRollbarLogger::report()methods to continue to supportResponsereturn type requirements after upgrading to psr/log v3 by @danielmorell in Added support for psr/log v3 #577.EncodedPayloadclass and payload interfaces by @danielmorell in Added comments and type annotations to the EncodedPayload class and payload interfaces #581.RollbarandRollbarLoggerclasses by @danielmorell in Added types and method docs toRollbarandRollbarLoggerclasses #585.DataBuilderInterfaceby @danielmorell in Added required public methods to theDataBuilderInterface#586.ResponseHandlerInterfaceby @danielmorell in Updated the typing and comments for theResponseHandlerInterface#588.ScrubberInterfaceandScrubberclass by @danielmorell in Added typing / comments to theScrubberInterfaceandScrubberclass #591.FilterInterfaceby @danielmorell in Added typing / comments to theFilterInterfaceand removed the token argument #587.SenderInterfaceby @danielmorell in Added typing / comments to theSenderInterface#592.Changed
IStrategytoStrategyInterfaceupdatedTruncationand changed custom truncation strategy from requiring class extend theAbstractStrategyto now require it implementStrategyInterfaceby @danielmorell in Renamed IStrategy to StrategyInterface updated Truncation #580.FilterInterface::shouldSend()$accessΤokenargument with$isUncaughtmaking it close tocheck_ignoreusage @danielmorell in Added typing / comments to theFilterInterfaceand removed the token argument #587.Removed
Rollbar/LevelFactoryby @danielmorell in Removed deprecated log levels and fixed inconsistent use of LevelFactory #578.Rollbarby @danielmorell in Removed deprecated reporting methods fromRollbar#579.nullreturn type fromTransformerInterface::getPayload()by @danielmorell in Updated theTransformerInterface#593.Fixed
psr/logcontext exception by @danielmorell in Fixed #461 Added support for psr/log context exception #582.handlerconfiguration parameter is set #469 AddedrequireAccessToken()method toSenderInterfaceby @danielmorell in Fixed #469 AddedrequireAccessToken()method to senders #595.New Contributors
Full Changelog: v3.1.4...v4.0.0-beta
This discussion was created from the release v4.0.0-beta.
Beta Was this translation helpful? Give feedback.
All reactions