Update dependency monolog/monolog to v3
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
monolog/monolog | require | major |
^2.2 -> ^3.0
|
Release Notes
Seldaek/monolog
v3.3.1
- Fixed Logger not being serializable anymore (#1792)
v3.3.0
- Deprecated FlowdockHandler & Formatter as the flowdock service was shutdown (#1748)
- Added
ClosureContextProcessor
to allow delaying the creation of context data by setting a Closure in context which is called when the log record is used (#1745) - Added an ElasticsearchHandler option to set the
op_type
tocreate
instead of the defaultindex
(#1766) - Added support for enum context values in PsrLogMessageProcessor (#1773)
- Added graylog2/gelf-php 2.x support (#1747)
- Improved
BrowserConsoleHandler
logging to use more appropriate methods than just console.log in the browser (#1739) - Fixed GitProcessor not filtering correctly based on Level (#1749)
- Fixed
WhatFailureGroupHandler
not catching errors happening insideclose()
(#1791) - Fixed datetime field in
GoogleCloudLoggingFormatter
(#1758) - Fixed infinite loop detection within Fibers (#1753)
- Fixed
AmqpHandler->setExtraAttributes
not working with buffering handler wrappers (#1781)
- Added
v3.2.0
- Deprecated
CubeHandler
andPHPConsoleHandler
as both projects are abandoned and those should not be used anymore (#1734)- Marked
Logger
@final
as it should not be extended, prefer composition or talk to us if you are missing something - Added RFC 5424 level (
7
to0
) support toLogger::log
andLogger::addRecord
to increase interoperability (#1723) - Added
SyslogFormatter
to output syslog-like files which can be consumed by tools like lnav (#1689) - Added support for
__toString
for objects which are not json serializable inJsonFormatter
(#1733) - Added
GoogleCloudLoggingFormatter
(#1719) - Added support for Predis 2.x (#1732)
- Added
AmqpHandler->setExtraAttributes
to allow configuring attributes when using an AMQPExchange (#1724) - Fixed serialization/unserialization of handlers to make sure private properties are included (#1727)
- Fixed allowInlineLineBreaks in LineFormatter causing issues with windows paths containing
\n
or\r
sequences (#1720) - Fixed max normalization depth not being taken into account when formatting exceptions with a deep chain of previous exceptions (#1726)
- Fixed PHP 8.2 deprecation warnings (#1722)
- Fixed rare race condition or filesystem issue where StreamHandler is unable to create the directory the log should go into yet it exists already (#1678)
- Marked
v3.1.0
- Added
$datetime
parameter toLogger::addRecord
as low level API to allow logging into the past or future (#1682)- Added
Logger::useLoggingLoopDetection
to allow disabling cyclic logging detection in concurrent frameworks (#1681) - Fixed handling of fatal errors if callPrevious is disabled in ErrorHandler (#1670)
- Fixed interop issue by removing the need for a return type in ProcessorInterface (#1680)
- Marked the reusable
Monolog\Test\TestCase
class as@internal
to make sure PHPStorm does not show it above PHPUnit, you may still use it to test your own handlers/etc though (#1677) - Fixed RotatingFileHandler issue when the date format contained slashes (#1671)
- Added
v3.0.0
Changes from RC1
- The
Monolog\LevelName
enum does not exist anymore, useMonolog\Level->getName()
instead.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.