Releases: decahedronio/monolog-sticky-context
Releases · decahedronio/monolog-sticky-context
Support monolog v2
1.0.0: Merge pull request #2 from decahedronio/feat/laravel-tap
Documentation update and addition of a Laravel tap
that can be used for quickly configuring Laravel 5.6+ applications.
0.3.0
This release introduces the concept of stacks. There are no breaking changes to the default behaviour if you use the default processor included in the package.
However, on the off chance that you don't, and have instead chosen to build your own processor, the introduction of stacks introduces some breaking changes:
StickyContext::all()
now returns an array of stacks and their data. If you wish to retrieve data like before, you could callStickyContext::stack(StickyContext::defaultStack())->all()
. Alternatively, you could useStickyContext::all()[StickyContext::defaultStack()]
.- By using stacks, there is no longer a
protected static $data
, if you were extending theStickyContext
class on your own, you will need to make sure to update your code to be compatible with stacks. - The
add
method has been moved to theStickyContextStack
class. However, as all static calls onStickyContext
proxy to the default stack, this is unlikely to cause problems.
0.2.0
Initial Release
This release is the initial release, and includes the Monolog processor, and the supporting StickyContext object