Seldaek/monolog (monolog/monolog)
### [`v3.7.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#370-2024-06-28)
[Compare Source](https://togithub.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://togithub.com/Seldaek/monolog/commit/47e301d3e))
- Fixed JsonFormatter handling of incomplete classes ([#1834](https://togithub.com/Seldaek/monolog/issues/1834))
- Fixed private error handlers causing problems with custom StreamHandler implementations ([#1866](https://togithub.com/Seldaek/monolog/issues/1866))
### [`v3.6.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#360-2024-04-12)
[Compare Source](https://togithub.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 ([#1873](https://togithub.com/Seldaek/monolog/issues/1873))
- Added `$includeExtra` option in `PsrHandler` to also use extra data to replace placeholder values in the message ([#1852](https://togithub.com/Seldaek/monolog/issues/1852))
- Added ability to customize what is a duplicated message by extending the `DeduplicationHandler` ([#1879](https://togithub.com/Seldaek/monolog/issues/1879))
- Added handling for using `GelfMessageFormatter` together with the `AmqpHandler` ([#1869](https://togithub.com/Seldaek/monolog/issues/1869))
- Added ability to extend `GoogleCloudLoggingFormatter` ([#1859](https://togithub.com/Seldaek/monolog/issues/1859))
- Fixed `__toString` failures in context data crashing the normalization process ([#1868](https://togithub.com/Seldaek/monolog/issues/1868))
- Fixed PHP 8.4 deprecation warnings ([#1874](https://togithub.com/Seldaek/monolog/issues/1874))
### [`v3.5.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#350-2023-10-27)
[Compare Source](https://togithub.com/Seldaek/monolog/compare/3.4.0...3.5.0)
- Added ability to indent stack traces in LineFormatter via e.g. `indentStacktraces(' ')` ([#1835](https://togithub.com/Seldaek/monolog/issues/1835))
- Added ability to configure a max level name length in LineFormatter via e.g. `setMaxLevelNameLength(3)` ([#1850](https://togithub.com/Seldaek/monolog/issues/1850))
- Added support for indexed arrays (i.e. `[]` and not `{}` arrays once json serialized) containing inline linebreaks in LineFormatter ([#1818](https://togithub.com/Seldaek/monolog/issues/1818))
- Added `WithMonologChannel` attribute for integrators to use to configure autowiring ([#1847](https://togithub.com/Seldaek/monolog/issues/1847))
- Fixed log record `extra` data leaking between handlers that have handler-specific processors set ([#1819](https://togithub.com/Seldaek/monolog/issues/1819))
- Fixed LogglyHandler issue with record level filtering ([#1841](https://togithub.com/Seldaek/monolog/issues/1841))
- Fixed display_errors parsing in ErrorHandler which did not support string values ([#1804](https://togithub.com/Seldaek/monolog/issues/1804))
- Fixed bug where the previous error handler would not be restored in some cases where StreamHandler fails ([#1815](https://togithub.com/Seldaek/monolog/issues/1815))
- Fixed normalization error when normalizing incomplete classes ([#1833](https://togithub.com/Seldaek/monolog/issues/1833))
### [`v3.4.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#340-2023-06-21)
[Compare Source](https://togithub.com/Seldaek/monolog/compare/3.3.1...3.4.0)
- Added `LoadAverageProcessor` to track one of the 1, 5 or 15min load averages ([#1803](https://togithub.com/Seldaek/monolog/issues/1803))
- Added support for priority to the `AsMonologProcessor` attribute ([#1797](https://togithub.com/Seldaek/monolog/issues/1797))
- Added `TelegramBotHandler` `topic`/`message_thread_id` support ([#1802](https://togithub.com/Seldaek/monolog/issues/1802))
- Fixed `FingersCrossedHandler` passthruLevel checking ([#1801](https://togithub.com/Seldaek/monolog/issues/1801))
- Fixed support of yearly and monthly rotation log file to rotate only once a month/year ([#1805](https://togithub.com/Seldaek/monolog/issues/1805))
- Fixed `TestHandler` method docs ([#1794](https://togithub.com/Seldaek/monolog/issues/1794))
- Fixed handling of falsey `display_errors` string values ([#1804](https://togithub.com/Seldaek/monolog/issues/1804))
### [`v3.3.1`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#331-2023-02-06)
[Compare Source](https://togithub.com/Seldaek/monolog/compare/3.3.0...3.3.1)
- Fixed Logger not being serializable anymore ([#1792](https://togithub.com/Seldaek/monolog/issues/1792))
### [`v3.3.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#330-2023-02-06)
[Compare Source](https://togithub.com/Seldaek/monolog/compare/3.2.0...3.3.0)
- Deprecated FlowdockHandler & Formatter as the flowdock service was shutdown ([#1748](https://togithub.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 ([#1745](https://togithub.com/Seldaek/monolog/issues/1745))
- Added an ElasticsearchHandler option to set the `op_type` to `create` instead of the default `index` ([#1766](https://togithub.com/Seldaek/monolog/issues/1766))
- Added support for enum context values in PsrLogMessageProcessor ([#1773](https://togithub.com/Seldaek/monolog/issues/1773))
- Added graylog2/gelf-php 2.x support ([#1747](https://togithub.com/Seldaek/monolog/issues/1747))
- Improved `BrowserConsoleHandler` logging to use more appropriate methods than just console.log in the browser ([#1739](https://togithub.com/Seldaek/monolog/issues/1739))
- Fixed GitProcessor not filtering correctly based on Level ([#1749](https://togithub.com/Seldaek/monolog/issues/1749))
- Fixed `WhatFailureGroupHandler` not catching errors happening inside `close()` ([#1791](https://togithub.com/Seldaek/monolog/issues/1791))
- Fixed datetime field in `GoogleCloudLoggingFormatter` ([#1758](https://togithub.com/Seldaek/monolog/issues/1758))
- Fixed infinite loop detection within Fibers ([#1753](https://togithub.com/Seldaek/monolog/issues/1753))
- Fixed `AmqpHandler->setExtraAttributes` not working with buffering handler wrappers ([#1781](https://togithub.com/Seldaek/monolog/issues/1781))
### [`v3.2.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#320-2022-07-24)
[Compare Source](https://togithub.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 ([#1734](https://togithub.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 ([#1723](https://togithub.com/Seldaek/monolog/issues/1723))
- Added `SyslogFormatter` to output syslog-like files which can be consumed by tools like [lnav](https://lnav.org/) ([#1689](https://togithub.com/Seldaek/monolog/issues/1689))
- Added support for `__toString` for objects which are not json serializable in `JsonFormatter` ([#1733](https://togithub.com/Seldaek/monolog/issues/1733))
- Added `GoogleCloudLoggingFormatter` ([#1719](https://togithub.com/Seldaek/monolog/issues/1719))
- Added support for Predis 2.x ([#1732](https://togithub.com/Seldaek/monolog/issues/1732))
- Added `AmqpHandler->setExtraAttributes` to allow configuring attributes when using an AMQPExchange ([#1724](https://togithub.com/Seldaek/monolog/issues/1724))
- Fixed serialization/unserialization of handlers to make sure private properties are included ([#1727](https://togithub.com/Seldaek/monolog/issues/1727))
- Fixed allowInlineLineBreaks in LineFormatter causing issues with windows paths containing `\n` or `\r` sequences ([#1720](https://togithub.com/Seldaek/monolog/issues/1720))
- Fixed max normalization depth not being taken into account when formatting exceptions with a deep chain of previous exceptions ([#1726](https://togithub.com/Seldaek/monolog/issues/1726))
- Fixed PHP 8.2 deprecation warnings ([#1722](https://togithub.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 ([#1678](https://togithub.com/Seldaek/monolog/issues/1678))
### [`v3.1.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#310-2022-06-09)
[Compare Source](https://togithub.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 ([#1682](https://togithub.com/Seldaek/monolog/issues/1682))
- Added `Logger::useLoggingLoopDetection` to allow disabling cyclic logging detection in concurrent frameworks ([#1681](https://togithub.com/Seldaek/monolog/issues/1681))
- Fixed handling of fatal errors if callPrevious is disabled in ErrorHandler ([#1670](https://togithub.com/Seldaek/monolog/issues/1670))
- Fixed interop issue by removing the need for a return type in ProcessorInterface ([#1680](https://togithub.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 ([#1677](https://togithub.com/Seldaek/monolog/issues/1677))
- Fixed RotatingFileHandler issue when the date format contained slashes ([#1671](https://togithub.com/Seldaek/monolog/issues/1671))
Configuration
š Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
ā» Rebasing: Whenever PR is behind base branch, 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 Mend Renovate. View repository job log here.
This PR contains the following updates:
^2.9\|3.0
->3.7.0
Release Notes
Seldaek/monolog (monolog/monolog)
### [`v3.7.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#370-2024-06-28) [Compare Source](https://togithub.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://togithub.com/Seldaek/monolog/commit/47e301d3e)) - Fixed JsonFormatter handling of incomplete classes ([#1834](https://togithub.com/Seldaek/monolog/issues/1834)) - Fixed private error handlers causing problems with custom StreamHandler implementations ([#1866](https://togithub.com/Seldaek/monolog/issues/1866)) ### [`v3.6.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#360-2024-04-12) [Compare Source](https://togithub.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 ([#1873](https://togithub.com/Seldaek/monolog/issues/1873)) - Added `$includeExtra` option in `PsrHandler` to also use extra data to replace placeholder values in the message ([#1852](https://togithub.com/Seldaek/monolog/issues/1852)) - Added ability to customize what is a duplicated message by extending the `DeduplicationHandler` ([#1879](https://togithub.com/Seldaek/monolog/issues/1879)) - Added handling for using `GelfMessageFormatter` together with the `AmqpHandler` ([#1869](https://togithub.com/Seldaek/monolog/issues/1869)) - Added ability to extend `GoogleCloudLoggingFormatter` ([#1859](https://togithub.com/Seldaek/monolog/issues/1859)) - Fixed `__toString` failures in context data crashing the normalization process ([#1868](https://togithub.com/Seldaek/monolog/issues/1868)) - Fixed PHP 8.4 deprecation warnings ([#1874](https://togithub.com/Seldaek/monolog/issues/1874)) ### [`v3.5.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#350-2023-10-27) [Compare Source](https://togithub.com/Seldaek/monolog/compare/3.4.0...3.5.0) - Added ability to indent stack traces in LineFormatter via e.g. `indentStacktraces(' ')` ([#1835](https://togithub.com/Seldaek/monolog/issues/1835)) - Added ability to configure a max level name length in LineFormatter via e.g. `setMaxLevelNameLength(3)` ([#1850](https://togithub.com/Seldaek/monolog/issues/1850)) - Added support for indexed arrays (i.e. `[]` and not `{}` arrays once json serialized) containing inline linebreaks in LineFormatter ([#1818](https://togithub.com/Seldaek/monolog/issues/1818)) - Added `WithMonologChannel` attribute for integrators to use to configure autowiring ([#1847](https://togithub.com/Seldaek/monolog/issues/1847)) - Fixed log record `extra` data leaking between handlers that have handler-specific processors set ([#1819](https://togithub.com/Seldaek/monolog/issues/1819)) - Fixed LogglyHandler issue with record level filtering ([#1841](https://togithub.com/Seldaek/monolog/issues/1841)) - Fixed display_errors parsing in ErrorHandler which did not support string values ([#1804](https://togithub.com/Seldaek/monolog/issues/1804)) - Fixed bug where the previous error handler would not be restored in some cases where StreamHandler fails ([#1815](https://togithub.com/Seldaek/monolog/issues/1815)) - Fixed normalization error when normalizing incomplete classes ([#1833](https://togithub.com/Seldaek/monolog/issues/1833)) ### [`v3.4.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#340-2023-06-21) [Compare Source](https://togithub.com/Seldaek/monolog/compare/3.3.1...3.4.0) - Added `LoadAverageProcessor` to track one of the 1, 5 or 15min load averages ([#1803](https://togithub.com/Seldaek/monolog/issues/1803)) - Added support for priority to the `AsMonologProcessor` attribute ([#1797](https://togithub.com/Seldaek/monolog/issues/1797)) - Added `TelegramBotHandler` `topic`/`message_thread_id` support ([#1802](https://togithub.com/Seldaek/monolog/issues/1802)) - Fixed `FingersCrossedHandler` passthruLevel checking ([#1801](https://togithub.com/Seldaek/monolog/issues/1801)) - Fixed support of yearly and monthly rotation log file to rotate only once a month/year ([#1805](https://togithub.com/Seldaek/monolog/issues/1805)) - Fixed `TestHandler` method docs ([#1794](https://togithub.com/Seldaek/monolog/issues/1794)) - Fixed handling of falsey `display_errors` string values ([#1804](https://togithub.com/Seldaek/monolog/issues/1804)) ### [`v3.3.1`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#331-2023-02-06) [Compare Source](https://togithub.com/Seldaek/monolog/compare/3.3.0...3.3.1) - Fixed Logger not being serializable anymore ([#1792](https://togithub.com/Seldaek/monolog/issues/1792)) ### [`v3.3.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#330-2023-02-06) [Compare Source](https://togithub.com/Seldaek/monolog/compare/3.2.0...3.3.0) - Deprecated FlowdockHandler & Formatter as the flowdock service was shutdown ([#1748](https://togithub.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 ([#1745](https://togithub.com/Seldaek/monolog/issues/1745)) - Added an ElasticsearchHandler option to set the `op_type` to `create` instead of the default `index` ([#1766](https://togithub.com/Seldaek/monolog/issues/1766)) - Added support for enum context values in PsrLogMessageProcessor ([#1773](https://togithub.com/Seldaek/monolog/issues/1773)) - Added graylog2/gelf-php 2.x support ([#1747](https://togithub.com/Seldaek/monolog/issues/1747)) - Improved `BrowserConsoleHandler` logging to use more appropriate methods than just console.log in the browser ([#1739](https://togithub.com/Seldaek/monolog/issues/1739)) - Fixed GitProcessor not filtering correctly based on Level ([#1749](https://togithub.com/Seldaek/monolog/issues/1749)) - Fixed `WhatFailureGroupHandler` not catching errors happening inside `close()` ([#1791](https://togithub.com/Seldaek/monolog/issues/1791)) - Fixed datetime field in `GoogleCloudLoggingFormatter` ([#1758](https://togithub.com/Seldaek/monolog/issues/1758)) - Fixed infinite loop detection within Fibers ([#1753](https://togithub.com/Seldaek/monolog/issues/1753)) - Fixed `AmqpHandler->setExtraAttributes` not working with buffering handler wrappers ([#1781](https://togithub.com/Seldaek/monolog/issues/1781)) ### [`v3.2.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#320-2022-07-24) [Compare Source](https://togithub.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 ([#1734](https://togithub.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 ([#1723](https://togithub.com/Seldaek/monolog/issues/1723)) - Added `SyslogFormatter` to output syslog-like files which can be consumed by tools like [lnav](https://lnav.org/) ([#1689](https://togithub.com/Seldaek/monolog/issues/1689)) - Added support for `__toString` for objects which are not json serializable in `JsonFormatter` ([#1733](https://togithub.com/Seldaek/monolog/issues/1733)) - Added `GoogleCloudLoggingFormatter` ([#1719](https://togithub.com/Seldaek/monolog/issues/1719)) - Added support for Predis 2.x ([#1732](https://togithub.com/Seldaek/monolog/issues/1732)) - Added `AmqpHandler->setExtraAttributes` to allow configuring attributes when using an AMQPExchange ([#1724](https://togithub.com/Seldaek/monolog/issues/1724)) - Fixed serialization/unserialization of handlers to make sure private properties are included ([#1727](https://togithub.com/Seldaek/monolog/issues/1727)) - Fixed allowInlineLineBreaks in LineFormatter causing issues with windows paths containing `\n` or `\r` sequences ([#1720](https://togithub.com/Seldaek/monolog/issues/1720)) - Fixed max normalization depth not being taken into account when formatting exceptions with a deep chain of previous exceptions ([#1726](https://togithub.com/Seldaek/monolog/issues/1726)) - Fixed PHP 8.2 deprecation warnings ([#1722](https://togithub.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 ([#1678](https://togithub.com/Seldaek/monolog/issues/1678)) ### [`v3.1.0`](https://togithub.com/Seldaek/monolog/blob/HEAD/CHANGELOG.md#310-2022-06-09) [Compare Source](https://togithub.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 ([#1682](https://togithub.com/Seldaek/monolog/issues/1682)) - Added `Logger::useLoggingLoopDetection` to allow disabling cyclic logging detection in concurrent frameworks ([#1681](https://togithub.com/Seldaek/monolog/issues/1681)) - Fixed handling of fatal errors if callPrevious is disabled in ErrorHandler ([#1670](https://togithub.com/Seldaek/monolog/issues/1670)) - Fixed interop issue by removing the need for a return type in ProcessorInterface ([#1680](https://togithub.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 ([#1677](https://togithub.com/Seldaek/monolog/issues/1677)) - Fixed RotatingFileHandler issue when the date format contained slashes ([#1671](https://togithub.com/Seldaek/monolog/issues/1671))Configuration
š Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
ā» Rebasing: Whenever PR is behind base branch, 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.