fix(deps): update dependency monolog/monolog to v3 #19

Open
renovate-bot wants to merge 1 commit from renovate/monolog-monolog-3.x into master
Collaborator

This PR contains the following updates:

Package Change Age Confidence
monolog/monolog ^2.0^3.0 age confidence

Release Notes

Seldaek/monolog (monolog/monolog)

v3.10.0

Compare Source

  • Added automatic directory cleanup in RotatingFileHandler (#​2000)
    • Added timezone-aware file rotation to RotatingFileHandler (#​1982)
    • Added support for mongodb/mongodb 2.0+ (#​1998)
    • Added NoDiscard attribute to TestHandler methods to ensure the result is used (#​2013)
    • Fixed JsonFormatter crashing if __toString throws while normalizing data (#​1968)
    • Fixed PHP 8.5 deprecation warnings (#​1997, #​2009)
    • Fixed DeduplicatingHandler collecting duplicate logs if the file cannot be locked (2e97231)
    • Fixed GelfMessageFormatter to use integers instead of bool for gelf 1.1 support (#​1973)
    • Fixed empty stack traces being output anyway (#​1979)
    • Fixed StreamHandler not reopening the file if the inode changed (#​1963)
    • Fixed TelegramBotHandler sending empty messages (#​1992)
    • Fixed file paths in stack traces containing backslashes on windows, always using / now to unify logs (#​1980)
    • Fixed RotatingFileHandler unlink errors not being suppressed correctly (#​1999)

v3.9.0

Compare Source

  • BC Warning: Fixed SendGridHandler to use the V3 API as V2 is now shut down, but this requires a new API key (#​1952)
    • Deprecated Monolog\Test\TestCase in favor of Monolog\Test\MonologTestCase (#​1953)
    • Added extension point for NativeMailerHandler::mail (#​1948)
    • Added setHandler method to BufferHandler to modify the nested handler at runtime (#​1946)
    • Fixed date format in ElasticsearchFormatter to use +00:00 vs +0000 tz identifiers (#​1942)
    • Fixed GelfMessageFormatter handling numeric context/extra keys (#​1932)

v3.8.1

Compare Source

  • Deprecated Monolog\DateTimeImmutable in favor of Monolog\JsonSerializableDateTimeImmutable (#​1928)
    • Fixed gelf keys not being valid when context/extra data keys have spaces in them (#​1927)
    • Fixed empty lines appearing in the stack traces when a custom formatter returned null (#​1925)

v3.8.0

Compare Source

  • Added $fileOpenMode param to StreamHandler to define a custom fopen mode to open the log file (#​1913)
    • Fixed PHP 8.4 deprecation notices (#​1903)
    • Added ability to extend/override IntrospectionProcessor (#​1899)
    • Added $timeout param to ProcessHandler to configure the stream_select() timeout to avoid blocking too long (default is 1.0 sec) (#​1916)
    • Fixed JsonFormatter batch handling to normalize records individually to make sure they look the same as if they were handled one by one (#​1906)
    • Fixed StreamHandler handling of write failures so that it now closes/reopens the stream and retries the write once before failing (#​1882)
    • Fixed StreamHandler error handler causing issues if a stream handler triggers an error (#​1866)
    • Fixed StreamHandler::reset not closing the stream, so that it would fail to write in some cases with long running processes (#​1862)
    • Fixed RotatingFileHandler issue where rotation does not happen in some long running processes (#​1905)
    • Fixed JsonFormatter handling of incomplete classes (#​1834)
    • Fixed RotatingFileHandler bug where rotation could sometimes not happen correctly (#​1905)

v3.7.0

Compare Source

  • Added NormalizerFormatter->setBasePath(...) (and JsonFormatter by extension) that allows removing the project's path from the stack trace output (47e301d)
    • Fixed JsonFormatter handling of incomplete classes (#​1834)
    • Fixed private error handlers causing problems with custom StreamHandler implementations (#​1866)

v3.6.0

Compare Source

  • Added LineFormatter->setBasePath(...) that allows removing the project's path from the stack trace output (#​1873)
    • Added $includeExtra option in PsrHandler to also use extra data to replace placeholder values in the message (#​1852)
    • Added ability to customize what is a duplicated message by extending the DeduplicationHandler (#​1879)
    • Added handling for using GelfMessageFormatter together with the AmqpHandler (#​1869)
    • Added ability to extend GoogleCloudLoggingFormatter (#​1859)
    • Fixed __toString failures in context data crashing the normalization process (#​1868)
    • Fixed PHP 8.4 deprecation warnings (#​1874)

v3.5.0

Compare Source

  • Added ability to indent stack traces in LineFormatter via e.g. indentStacktraces(' ') (#​1835)
    • Added ability to configure a max level name length in LineFormatter via e.g. setMaxLevelNameLength(3) (#​1850)
    • Added support for indexed arrays (i.e. [] and not {} arrays once json serialized) containing inline linebreaks in LineFormatter (#​1818)
    • Added WithMonologChannel attribute for integrators to use to configure autowiring (#​1847)
    • Fixed log record extra data leaking between handlers that have handler-specific processors set (#​1819)
    • Fixed LogglyHandler issue with record level filtering (#​1841)
    • Fixed display_errors parsing in ErrorHandler which did not support string values (#​1804)
    • Fixed bug where the previous error handler would not be restored in some cases where StreamHandler fails (#​1815)
    • Fixed normalization error when normalizing incomplete classes (#​1833)

v3.4.0

Compare Source

  • Added LoadAverageProcessor to track one of the 1, 5 or 15min load averages (#​1803)
    • Added support for priority to the AsMonologProcessor attribute (#​1797)
    • Added TelegramBotHandler topic/message_thread_id support (#​1802)
    • Fixed FingersCrossedHandler passthruLevel checking (#​1801)
    • Fixed support of yearly and monthly rotation log file to rotate only once a month/year (#​1805)
    • Fixed TestHandler method docs (#​1794)
    • Fixed handling of falsey display_errors string values (#​1804)

v3.3.1

Compare Source

  • Fixed Logger not being serializable anymore (#​1792)

v3.3.0

Compare Source

  • 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 to create instead of the default index (#​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 inside close() (#​1791)
    • Fixed datetime field in GoogleCloudLoggingFormatter (#​1758)
    • Fixed infinite loop detection within Fibers (#​1753)
    • Fixed AmqpHandler->setExtraAttributes not working with buffering handler wrappers (#​1781)

v3.2.0

Compare Source

  • Deprecated CubeHandler and PHPConsoleHandler 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 to 0) support to Logger::log and Logger::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 in JsonFormatter (#​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)

v3.1.0

Compare Source

  • Added $datetime parameter to Logger::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)

v3.0.0

Compare Source

Changes from RC1

  • The Monolog\LevelName enum does not exist anymore, use Monolog\Level->getName() instead.

v2.11.0

Compare Source

  • Added support for mongodb/mongodb 2.0+
    • Fixed deprecation warnings in PHP 8.4/8.5
    • Fixed TelegramBotHandler sending empty messages (#​1992)
    • Fixed RotatingFileHandler unlink errors not being suppressed correctly (#​1999)

Full Changelog: https://github.com/Seldaek/monolog/compare/2.10.0...2.11.0

v2.10.0

Compare Source

  • Added $fileOpenMode to StreamHandler to define a custom fopen mode to open the log file (#​1913)
    • Fixed StreamHandler handling of write failures so that it now closes/reopens the stream and retries the write once before failing (#​1882)
    • Fixed StreamHandler error handler causing issues if a stream handler triggers an error (#​1866)
    • Fixed JsonFormatter handling of incomplete classes (#​1834)
    • Fixed RotatingFileHandler bug where rotation could sometimes not happen correctly (#​1905)

v2.9.3

Compare Source

  • Fixed PHP 8.4 deprecation warnings (#​1874)

v2.9.2

Compare Source

  • Fixed display_errors parsing in ErrorHandler which did not support string values (#​1804)
    • Fixed bug where the previous error handler would not be restored in some cases where StreamHandler fails (#​1815)
    • Fixed normalization error when normalizing incomplete classes (#​1833)

Configuration

📅 Schedule: Branch creation - "after 3am every weekday,every weekend" in timezone Europe/Amsterdam, 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [monolog/monolog](https://github.com/Seldaek/monolog) | `^2.0` → `^3.0` | ![age](https://developer.mend.io/api/mc/badges/age/packagist/monolog%2fmonolog/3.10.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/monolog%2fmonolog/2.9.1/3.10.0?slim=true) | --- ### Release Notes <details> <summary>Seldaek/monolog (monolog/monolog)</summary> ### [`v3.10.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#3100-2026-01-02) [Compare Source](https://github.com/Seldaek/monolog/compare/3.9.0...3.10.0) - Added automatic directory cleanup in RotatingFileHandler ([#&#8203;2000](https://github.com/Seldaek/monolog/issues/2000)) - Added timezone-aware file rotation to RotatingFileHandler ([#&#8203;1982](https://github.com/Seldaek/monolog/issues/1982)) - Added support for mongodb/mongodb 2.0+ ([#&#8203;1998](https://github.com/Seldaek/monolog/issues/1998)) - Added NoDiscard attribute to TestHandler methods to ensure the result is used ([#&#8203;2013](https://github.com/Seldaek/monolog/issues/2013)) - Fixed JsonFormatter crashing if \_\_toString throws while normalizing data ([#&#8203;1968](https://github.com/Seldaek/monolog/issues/1968)) - Fixed PHP 8.5 deprecation warnings ([#&#8203;1997](https://github.com/Seldaek/monolog/issues/1997), [#&#8203;2009](https://github.com/Seldaek/monolog/issues/2009)) - Fixed DeduplicatingHandler collecting duplicate logs if the file cannot be locked ([`2e97231`](https://github.com/Seldaek/monolog/commit/2e97231)) - Fixed GelfMessageFormatter to use integers instead of bool for gelf 1.1 support ([#&#8203;1973](https://github.com/Seldaek/monolog/issues/1973)) - Fixed empty stack traces being output anyway ([#&#8203;1979](https://github.com/Seldaek/monolog/issues/1979)) - Fixed StreamHandler not reopening the file if the inode changed ([#&#8203;1963](https://github.com/Seldaek/monolog/issues/1963)) - Fixed TelegramBotHandler sending empty messages ([#&#8203;1992](https://github.com/Seldaek/monolog/issues/1992)) - Fixed file paths in stack traces containing backslashes on windows, always using / now to unify logs ([#&#8203;1980](https://github.com/Seldaek/monolog/issues/1980)) - Fixed RotatingFileHandler unlink errors not being suppressed correctly ([#&#8203;1999](https://github.com/Seldaek/monolog/issues/1999)) ### [`v3.9.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#390-2025-03-24) [Compare Source](https://github.com/Seldaek/monolog/compare/3.8.1...3.9.0) - BC Warning: Fixed SendGridHandler to use the V3 API as V2 is now shut down, but this requires a new API key ([#&#8203;1952](https://github.com/Seldaek/monolog/issues/1952)) - Deprecated Monolog\Test\TestCase in favor of Monolog\Test\MonologTestCase ([#&#8203;1953](https://github.com/Seldaek/monolog/issues/1953)) - Added extension point for NativeMailerHandler::mail ([#&#8203;1948](https://github.com/Seldaek/monolog/issues/1948)) - Added setHandler method to BufferHandler to modify the nested handler at runtime ([#&#8203;1946](https://github.com/Seldaek/monolog/issues/1946)) - Fixed date format in ElasticsearchFormatter to use +00:00 vs +0000 tz identifiers ([#&#8203;1942](https://github.com/Seldaek/monolog/issues/1942)) - Fixed GelfMessageFormatter handling numeric context/extra keys ([#&#8203;1932](https://github.com/Seldaek/monolog/issues/1932)) ### [`v3.8.1`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#381-2024-12-05) [Compare Source](https://github.com/Seldaek/monolog/compare/3.8.0...3.8.1) - Deprecated Monolog\DateTimeImmutable in favor of Monolog\JsonSerializableDateTimeImmutable ([#&#8203;1928](https://github.com/Seldaek/monolog/issues/1928)) - Fixed gelf keys not being valid when context/extra data keys have spaces in them ([#&#8203;1927](https://github.com/Seldaek/monolog/issues/1927)) - Fixed empty lines appearing in the stack traces when a custom formatter returned null ([#&#8203;1925](https://github.com/Seldaek/monolog/issues/1925)) ### [`v3.8.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#380-2024-11-12) [Compare Source](https://github.com/Seldaek/monolog/compare/3.7.0...3.8.0) - Added `$fileOpenMode` param to `StreamHandler` to define a custom fopen mode to open the log file ([#&#8203;1913](https://github.com/Seldaek/monolog/issues/1913)) - Fixed PHP 8.4 deprecation notices ([#&#8203;1903](https://github.com/Seldaek/monolog/issues/1903)) - Added ability to extend/override `IntrospectionProcessor` ([#&#8203;1899](https://github.com/Seldaek/monolog/issues/1899)) - Added `$timeout` param to `ProcessHandler` to configure the stream\_select() timeout to avoid blocking too long (default is 1.0 sec) ([#&#8203;1916](https://github.com/Seldaek/monolog/issues/1916)) - Fixed JsonFormatter batch handling to normalize records individually to make sure they look the same as if they were handled one by one ([#&#8203;1906](https://github.com/Seldaek/monolog/issues/1906)) - Fixed `StreamHandler` handling of write failures so that it now closes/reopens the stream and retries the write once before failing ([#&#8203;1882](https://github.com/Seldaek/monolog/issues/1882)) - Fixed `StreamHandler` error handler causing issues if a stream handler triggers an error ([#&#8203;1866](https://github.com/Seldaek/monolog/issues/1866)) - Fixed `StreamHandler::reset` not closing the stream, so that it would fail to write in some cases with long running processes ([#&#8203;1862](https://github.com/Seldaek/monolog/issues/1862)) - Fixed `RotatingFileHandler` issue where rotation does not happen in some long running processes ([#&#8203;1905](https://github.com/Seldaek/monolog/issues/1905)) - Fixed `JsonFormatter` handling of incomplete classes ([#&#8203;1834](https://github.com/Seldaek/monolog/issues/1834)) - Fixed `RotatingFileHandler` bug where rotation could sometimes not happen correctly ([#&#8203;1905](https://github.com/Seldaek/monolog/issues/1905)) ### [`v3.7.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#370-2024-06-28) [Compare Source](https://github.com/Seldaek/monolog/compare/3.6.0...3.7.0) - Added `NormalizerFormatter->setBasePath(...)` (and `JsonFormatter` by extension) that allows removing the project's path from the stack trace output ([`47e301d`](https://github.com/Seldaek/monolog/commit/47e301d3e)) - Fixed JsonFormatter handling of incomplete classes ([#&#8203;1834](https://github.com/Seldaek/monolog/issues/1834)) - Fixed private error handlers causing problems with custom StreamHandler implementations ([#&#8203;1866](https://github.com/Seldaek/monolog/issues/1866)) ### [`v3.6.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#360-2024-04-12) [Compare Source](https://github.com/Seldaek/monolog/compare/3.5.0...3.6.0) - Added `LineFormatter->setBasePath(...)` that allows removing the project's path from the stack trace output ([#&#8203;1873](https://github.com/Seldaek/monolog/issues/1873)) - Added `$includeExtra` option in `PsrHandler` to also use extra data to replace placeholder values in the message ([#&#8203;1852](https://github.com/Seldaek/monolog/issues/1852)) - Added ability to customize what is a duplicated message by extending the `DeduplicationHandler` ([#&#8203;1879](https://github.com/Seldaek/monolog/issues/1879)) - Added handling for using `GelfMessageFormatter` together with the `AmqpHandler` ([#&#8203;1869](https://github.com/Seldaek/monolog/issues/1869)) - Added ability to extend `GoogleCloudLoggingFormatter` ([#&#8203;1859](https://github.com/Seldaek/monolog/issues/1859)) - Fixed `__toString` failures in context data crashing the normalization process ([#&#8203;1868](https://github.com/Seldaek/monolog/issues/1868)) - Fixed PHP 8.4 deprecation warnings ([#&#8203;1874](https://github.com/Seldaek/monolog/issues/1874)) ### [`v3.5.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#350-2023-10-27) [Compare Source](https://github.com/Seldaek/monolog/compare/3.4.0...3.5.0) - Added ability to indent stack traces in LineFormatter via e.g. `indentStacktraces(' ')` ([#&#8203;1835](https://github.com/Seldaek/monolog/issues/1835)) - Added ability to configure a max level name length in LineFormatter via e.g. `setMaxLevelNameLength(3)` ([#&#8203;1850](https://github.com/Seldaek/monolog/issues/1850)) - Added support for indexed arrays (i.e. `[]` and not `{}` arrays once json serialized) containing inline linebreaks in LineFormatter ([#&#8203;1818](https://github.com/Seldaek/monolog/issues/1818)) - Added `WithMonologChannel` attribute for integrators to use to configure autowiring ([#&#8203;1847](https://github.com/Seldaek/monolog/issues/1847)) - Fixed log record `extra` data leaking between handlers that have handler-specific processors set ([#&#8203;1819](https://github.com/Seldaek/monolog/issues/1819)) - Fixed LogglyHandler issue with record level filtering ([#&#8203;1841](https://github.com/Seldaek/monolog/issues/1841)) - Fixed display\_errors parsing in ErrorHandler which did not support string values ([#&#8203;1804](https://github.com/Seldaek/monolog/issues/1804)) - Fixed bug where the previous error handler would not be restored in some cases where StreamHandler fails ([#&#8203;1815](https://github.com/Seldaek/monolog/issues/1815)) - Fixed normalization error when normalizing incomplete classes ([#&#8203;1833](https://github.com/Seldaek/monolog/issues/1833)) ### [`v3.4.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#340-2023-06-21) [Compare Source](https://github.com/Seldaek/monolog/compare/3.3.1...3.4.0) - Added `LoadAverageProcessor` to track one of the 1, 5 or 15min load averages ([#&#8203;1803](https://github.com/Seldaek/monolog/issues/1803)) - Added support for priority to the `AsMonologProcessor` attribute ([#&#8203;1797](https://github.com/Seldaek/monolog/issues/1797)) - Added `TelegramBotHandler` `topic`/`message_thread_id` support ([#&#8203;1802](https://github.com/Seldaek/monolog/issues/1802)) - Fixed `FingersCrossedHandler` passthruLevel checking ([#&#8203;1801](https://github.com/Seldaek/monolog/issues/1801)) - Fixed support of yearly and monthly rotation log file to rotate only once a month/year ([#&#8203;1805](https://github.com/Seldaek/monolog/issues/1805)) - Fixed `TestHandler` method docs ([#&#8203;1794](https://github.com/Seldaek/monolog/issues/1794)) - Fixed handling of falsey `display_errors` string values ([#&#8203;1804](https://github.com/Seldaek/monolog/issues/1804)) ### [`v3.3.1`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#331-2023-02-06) [Compare Source](https://github.com/Seldaek/monolog/compare/3.3.0...3.3.1) - Fixed Logger not being serializable anymore ([#&#8203;1792](https://github.com/Seldaek/monolog/issues/1792)) ### [`v3.3.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#330-2023-02-06) [Compare Source](https://github.com/Seldaek/monolog/compare/3.2.0...3.3.0) - Deprecated FlowdockHandler & Formatter as the flowdock service was shutdown ([#&#8203;1748](https://github.com/Seldaek/monolog/issues/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 ([#&#8203;1745](https://github.com/Seldaek/monolog/issues/1745)) - Added an ElasticsearchHandler option to set the `op_type` to `create` instead of the default `index` ([#&#8203;1766](https://github.com/Seldaek/monolog/issues/1766)) - Added support for enum context values in PsrLogMessageProcessor ([#&#8203;1773](https://github.com/Seldaek/monolog/issues/1773)) - Added graylog2/gelf-php 2.x support ([#&#8203;1747](https://github.com/Seldaek/monolog/issues/1747)) - Improved `BrowserConsoleHandler` logging to use more appropriate methods than just console.log in the browser ([#&#8203;1739](https://github.com/Seldaek/monolog/issues/1739)) - Fixed GitProcessor not filtering correctly based on Level ([#&#8203;1749](https://github.com/Seldaek/monolog/issues/1749)) - Fixed `WhatFailureGroupHandler` not catching errors happening inside `close()` ([#&#8203;1791](https://github.com/Seldaek/monolog/issues/1791)) - Fixed datetime field in `GoogleCloudLoggingFormatter` ([#&#8203;1758](https://github.com/Seldaek/monolog/issues/1758)) - Fixed infinite loop detection within Fibers ([#&#8203;1753](https://github.com/Seldaek/monolog/issues/1753)) - Fixed `AmqpHandler->setExtraAttributes` not working with buffering handler wrappers ([#&#8203;1781](https://github.com/Seldaek/monolog/issues/1781)) ### [`v3.2.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#320-2022-07-24) [Compare Source](https://github.com/Seldaek/monolog/compare/3.1.0...3.2.0) - Deprecated `CubeHandler` and `PHPConsoleHandler` as both projects are abandoned and those should not be used anymore ([#&#8203;1734](https://github.com/Seldaek/monolog/issues/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` to `0`) support to `Logger::log` and `Logger::addRecord` to increase interoperability ([#&#8203;1723](https://github.com/Seldaek/monolog/issues/1723)) - Added `SyslogFormatter` to output syslog-like files which can be consumed by tools like [lnav](https://lnav.org/) ([#&#8203;1689](https://github.com/Seldaek/monolog/issues/1689)) - Added support for `__toString` for objects which are not json serializable in `JsonFormatter` ([#&#8203;1733](https://github.com/Seldaek/monolog/issues/1733)) - Added `GoogleCloudLoggingFormatter` ([#&#8203;1719](https://github.com/Seldaek/monolog/issues/1719)) - Added support for Predis 2.x ([#&#8203;1732](https://github.com/Seldaek/monolog/issues/1732)) - Added `AmqpHandler->setExtraAttributes` to allow configuring attributes when using an AMQPExchange ([#&#8203;1724](https://github.com/Seldaek/monolog/issues/1724)) - Fixed serialization/unserialization of handlers to make sure private properties are included ([#&#8203;1727](https://github.com/Seldaek/monolog/issues/1727)) - Fixed allowInlineLineBreaks in LineFormatter causing issues with windows paths containing `\n` or `\r` sequences ([#&#8203;1720](https://github.com/Seldaek/monolog/issues/1720)) - Fixed max normalization depth not being taken into account when formatting exceptions with a deep chain of previous exceptions ([#&#8203;1726](https://github.com/Seldaek/monolog/issues/1726)) - Fixed PHP 8.2 deprecation warnings ([#&#8203;1722](https://github.com/Seldaek/monolog/issues/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 ([#&#8203;1678](https://github.com/Seldaek/monolog/issues/1678)) ### [`v3.1.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#310-2022-06-09) [Compare Source](https://github.com/Seldaek/monolog/compare/3.0.0...3.1.0) - Added `$datetime` parameter to `Logger::addRecord` as low level API to allow logging into the past or future ([#&#8203;1682](https://github.com/Seldaek/monolog/issues/1682)) - Added `Logger::useLoggingLoopDetection` to allow disabling cyclic logging detection in concurrent frameworks ([#&#8203;1681](https://github.com/Seldaek/monolog/issues/1681)) - Fixed handling of fatal errors if callPrevious is disabled in ErrorHandler ([#&#8203;1670](https://github.com/Seldaek/monolog/issues/1670)) - Fixed interop issue by removing the need for a return type in ProcessorInterface ([#&#8203;1680](https://github.com/Seldaek/monolog/issues/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 ([#&#8203;1677](https://github.com/Seldaek/monolog/issues/1677)) - Fixed RotatingFileHandler issue when the date format contained slashes ([#&#8203;1671](https://github.com/Seldaek/monolog/issues/1671)) ### [`v3.0.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#300-2022-05-10) [Compare Source](https://github.com/Seldaek/monolog/compare/2.11.0...3.0.0) Changes from RC1 - The `Monolog\LevelName` enum does not exist anymore, use `Monolog\Level->getName()` instead. ### [`v2.11.0`](https://github.com/Seldaek/monolog/releases/tag/2.11.0) [Compare Source](https://github.com/Seldaek/monolog/compare/2.10.0...2.11.0) - Added support for mongodb/mongodb 2.0+ - Fixed deprecation warnings in PHP 8.4/8.5 - Fixed TelegramBotHandler sending empty messages ([#&#8203;1992](https://github.com/Seldaek/monolog/issues/1992)) - Fixed RotatingFileHandler unlink errors not being suppressed correctly ([#&#8203;1999](https://github.com/Seldaek/monolog/issues/1999)) **Full Changelog**: <https://github.com/Seldaek/monolog/compare/2.10.0...2.11.0> ### [`v2.10.0`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#2100-2024-11-12) [Compare Source](https://github.com/Seldaek/monolog/compare/2.9.3...2.10.0) - Added `$fileOpenMode` to `StreamHandler` to define a custom fopen mode to open the log file ([#&#8203;1913](https://github.com/Seldaek/monolog/issues/1913)) - Fixed `StreamHandler` handling of write failures so that it now closes/reopens the stream and retries the write once before failing ([#&#8203;1882](https://github.com/Seldaek/monolog/issues/1882)) - Fixed `StreamHandler` error handler causing issues if a stream handler triggers an error ([#&#8203;1866](https://github.com/Seldaek/monolog/issues/1866)) - Fixed `JsonFormatter` handling of incomplete classes ([#&#8203;1834](https://github.com/Seldaek/monolog/issues/1834)) - Fixed `RotatingFileHandler` bug where rotation could sometimes not happen correctly ([#&#8203;1905](https://github.com/Seldaek/monolog/issues/1905)) ### [`v2.9.3`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#293-2024-04-12) [Compare Source](https://github.com/Seldaek/monolog/compare/2.9.2...2.9.3) - Fixed PHP 8.4 deprecation warnings ([#&#8203;1874](https://github.com/Seldaek/monolog/issues/1874)) ### [`v2.9.2`](https://github.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#292-2023-10-27) [Compare Source](https://github.com/Seldaek/monolog/compare/2.9.1...2.9.2) - Fixed display\_errors parsing in ErrorHandler which did not support string values ([#&#8203;1804](https://github.com/Seldaek/monolog/issues/1804)) - Fixed bug where the previous error handler would not be restored in some cases where StreamHandler fails ([#&#8203;1815](https://github.com/Seldaek/monolog/issues/1815)) - Fixed normalization error when normalizing incomplete classes ([#&#8203;1833](https://github.com/Seldaek/monolog/issues/1833)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3am every weekday,every weekend" in timezone Europe/Amsterdam, 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
fix(deps): update dependency monolog/monolog to v3
Some checks failed
renovate/artifacts Artifact file update failure
renovate/stability-days Updates have met minimum release age requirement
9b4eb26159
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update monolog/monolog:3.10.0 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - symfony/proxy-manager-bridge is locked to version v6.2.7 and an update of this package was not requested.
    - friendsofphp/proxy-manager-lts v1.0.14 requires laminas/laminas-code ~3.4.1|^4.0 -> satisfiable by laminas/laminas-code[4.10.0].
    - laminas/laminas-code 4.10.0 requires php ~8.1.0 || ~8.2.0 -> your php version (8.5.5) does not satisfy that requirement.
    - symfony/proxy-manager-bridge v6.2.7 requires friendsofphp/proxy-manager-lts ^1.0.2 -> satisfiable by friendsofphp/proxy-manager-lts[v1.0.14].


### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: composer.lock ``` Command failed: composer update monolog/monolog:3.10.0 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - symfony/proxy-manager-bridge is locked to version v6.2.7 and an update of this package was not requested. - friendsofphp/proxy-manager-lts v1.0.14 requires laminas/laminas-code ~3.4.1|^4.0 -> satisfiable by laminas/laminas-code[4.10.0]. - laminas/laminas-code 4.10.0 requires php ~8.1.0 || ~8.2.0 -> your php version (8.5.5) does not satisfy that requirement. - symfony/proxy-manager-bridge v6.2.7 requires friendsofphp/proxy-manager-lts ^1.0.2 -> satisfiable by friendsofphp/proxy-manager-lts[v1.0.14]. ```
Some checks failed
renovate/artifacts Artifact file update failure
renovate/stability-days Updates have met minimum release age requirement
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/monolog-monolog-3.x:renovate/monolog-monolog-3.x
git switch renovate/monolog-monolog-3.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/monolog-monolog-3.x
git switch renovate/monolog-monolog-3.x
git rebase master
git switch master
git merge --ff-only renovate/monolog-monolog-3.x
git switch renovate/monolog-monolog-3.x
git rebase master
git switch master
git merge --no-ff renovate/monolog-monolog-3.x
git switch master
git merge --squash renovate/monolog-monolog-3.x
git switch master
git merge --ff-only renovate/monolog-monolog-3.x
git switch master
git merge renovate/monolog-monolog-3.x
git push origin master
Sign in to join this conversation.
No description provided.