Update dependency monolog/monolog to v3 #3152
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.17.*
->3.5.*
Release Notes
Seldaek/monolog (monolog/monolog)
v3.5.0
Compare Source
indentStacktraces(' ')
(#1835)setMaxLevelNameLength(3)
(#1850)[]
and not{}
arrays once json serialized) containing inline linebreaks in LineFormatter (#1818)WithMonologChannel
attribute for integrators to use to configure autowiring (#1847)extra
data leaking between handlers that have handler-specific processors set (#1819)v3.4.0
Compare Source
LoadAverageProcessor
to track one of the 1, 5 or 15min load averages (#1803)AsMonologProcessor
attribute (#1797)TelegramBotHandler
topic
/message_thread_id
support (#1802)FingersCrossedHandler
passthruLevel checking (#1801)TestHandler
method docs (#1794)display_errors
string values (#1804)v3.3.1
Compare Source
v3.3.0
Compare Source
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)op_type
tocreate
instead of the defaultindex
(#1766)BrowserConsoleHandler
logging to use more appropriate methods than just console.log in the browser (#1739)WhatFailureGroupHandler
not catching errors happening insideclose()
(#1791)GoogleCloudLoggingFormatter
(#1758)AmqpHandler->setExtraAttributes
not working with buffering handler wrappers (#1781)v3.2.0
Compare Source
CubeHandler
andPHPConsoleHandler
as both projects are abandoned and those should not be used anymore (#1734)Logger
@final
as it should not be extended, prefer composition or talk to us if you are missing something7
to0
) support toLogger::log
andLogger::addRecord
to increase interoperability (#1723)SyslogFormatter
to output syslog-like files which can be consumed by tools like lnav (#1689)__toString
for objects which are not json serializable inJsonFormatter
(#1733)GoogleCloudLoggingFormatter
(#1719)AmqpHandler->setExtraAttributes
to allow configuring attributes when using an AMQPExchange (#1724)\n
or\r
sequences (#1720)v3.1.0
Compare Source
$datetime
parameter toLogger::addRecord
as low level API to allow logging into the past or future (#1682)Logger::useLoggingLoopDetection
to allow disabling cyclic logging detection in concurrent frameworks (#1681)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)v3.0.0
Compare Source
Changes from RC1
Monolog\LevelName
enum does not exist anymore, useMonolog\Level->getName()
instead.v2.9.2
Compare Source
v2.9.1
Compare Source
v2.9.0
Compare Source
BrowserConsoleHandler
logging to use more appropriate methods than just console.log in the browser (#1739)WhatFailureGroupHandler
not catching errors happening insideclose()
(#1791)GoogleCloudLoggingFormatter
(#1758)AmqpHandler->setExtraAttributes
not working with buffering handler wrappers (#1781)v2.8.0
Compare Source
CubeHandler
andPHPConsoleHandler
as both projects are abandoned and those should not be used anymore (#1734)7
to0
) support toLogger::log
andLogger::addRecord
to increase interoperability (#1723)__toString
for objects which are not json serializable inJsonFormatter
(#1733)GoogleCloudLoggingFormatter
(#1719)AmqpHandler->setExtraAttributes
to allow configuring attributes when using an AMQPExchange (#1724)\n
or\r
sequences (#1720)v2.7.0
Compare Source
$datetime
parameter toLogger::addRecord
as low level API to allow logging into the past or future (#1682)Logger::useLoggingLoopDetection
to allow disabling cyclic logging detection in concurrent frameworks (#1681)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)v2.6.0
Compare Source
SwiftMailerHandler
, useSymfonyMailerHandler
insteadSymfonyMailerHandler
(#1663)v2.5.0
Compare Source
callType
to IntrospectionProcessor (#1612)v2.4.0
Compare Source
Monolog\LogRecord
interface that can be used to type-hint records likearray|\Monolog\LogRecord $record
to be forward compatible with the upcoming Monolog 3 changesincludeStacktraces
constructor params to LineFormatter & JsonFormatter (#1603)persistent
,timeout
,writingTimeout
,connectionTimeout
,chunkSize
constructor params to SocketHandler and derivatives (#1600)AsMonologProcessor
PHP attribute which can help autowiring / autoconfiguration of processors if frameworks / integrations decide to make use of it. This is useless when used purely with Monolog (#1637)user_agent
key in WebProcessor, disabled by default but you can use it by configuring the $extraFields you want (#1613)self
(#1609)v2.3.5
Compare Source
v2.3.4
Compare Source
v2.3.3
Compare Source
v2.3.2
Compare Source
v2.3.1
Compare Source
@inheritDoc
annotations having the wrong casev2.3.0
Compare Source
v2.2.0
Compare Source
v2.1.1
Compare Source
v2.1.0
Compare Source
JSON_INVALID_UTF8_SUBSTITUTE
to default json flags, so that invalid UTF8 characters now get converted to � instead of being converted from ISO-8859-15 to UTF8 as it was before, which was hardly a comprehensive solution$ignoreEmptyContextAndExtra
option to JsonFormatter to skip empty context/extra entirely from the output$parseMode
,$disableWebPagePreview
and$disableNotification
options to TelegramBotHandlerv2.0.2
Compare Source
v2.0.1
Compare Source
v2.0.0
Compare Source
v1.27.1
Compare Source
v1.27.0
Compare Source
v1.26.1
Compare Source
v1.26.0
Compare Source
v1.25.5
Compare Source
v1.25.4
Compare Source
v1.25.3
Compare Source
v1.25.2
Compare Source
v1.25.1
Compare Source
v1.25.0
Compare Source
v1.24.0
Compare Source
normalize
method, make sure you add the new$depth = 0
argument to your function signature to avoid strict PHP warnings.ResettableInterface
in order to reset/reset/clear/flush handlers and processorsProcessorInterface
as an optional way to label a class as being a processor (mostly useful for autowiring dependency containers)contexts
context or extra key to forward that to Sentry's contextsand implement it where possible
v1.23.0
Compare Source
$ident
argumentv1.22.1
Compare Source
v1.22.0
Compare Source
v1.21.0
Compare Source
v1.20.0
Compare Source
v1.19.0
Compare Source
%message%
and other LineFormatter replacements in the subject line of emails sent with NativeMailHandler and SwiftMailerHandlerv1.18.2
Compare Source
v1.18.1
Compare Source
v1.18.0
Compare Source
Logger->useMicrosecondTimestamps(false)
, disabling it gets you a bit of performance boost but reduces the precision to the second instead of microsecondLogger->withName
to clone a logger (keeping all handlers) with a new name%context.*%
in LineFormatterpayload
context value in RollbarHandlerfingerprint
context value in RavenHandlersetWritingTimeout()
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday" in timezone Europe/Rome, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.