Fixed compatibility with PHP 7.2 - 7.4 when experiencing PCRE errors (#1568)
2.3.1 (2021-07-14)
Fixed Utils::getClass handling of anonymous classes not being fully compatible with PHP 8 (#1563)
Fixed some @inheritDoc annotations having the wrong case
2.3.0 (2021-07-05)
Added a ton of PHPStan type annotations as well as type aliases on Monolog\Logger for Record, Level and LevelName that you can import (#1557)
Added ability to customize date format when using JsonFormatter (#1561)
Fixed FilterHandler not calling reset on its internal handler when reset() is called on it (#1531)
Fixed SyslogUdpHandler not setting the timezone correctly on DateTimeImmutable instances (#1540)
Fixed StreamHandler thread safety - chunk size set to 2GB now to avoid interlacing when doing concurrent writes (#1553)
2.2.0 (2020-12-14)
Added JSON_PARTIAL_OUTPUT_ON_ERROR to default json encoding flags, to avoid dropping entire context data or even records due to an invalid subset of it somewhere
Added setDateFormat to NormalizerFormatter (and Line/Json formatters by extension) to allow changing this after object creation
Added RedisPubSubHandler to log records to a Redis channel using PUBLISH
Added support for Elastica 7, and deprecated the $type argument of ElasticaFormatter which is not in use anymore as of Elastica 7
Added support for millisecond write timeouts in SocketHandler, you can now pass floats to setWritingTimeout, e.g. 0.2 is 200ms
Added support for unix sockets in SyslogUdpHandler (set $port to 0 to make the $host a unix socket)
Added handleBatch support for TelegramBotHandler
Added RFC5424e extended date format including milliseconds to SyslogUdpHandler
Added support for configuring handlers with numeric level values in strings (coming from e.g. env vars)
Fixed Wildfire/FirePHP/ChromePHP handling of unicode characters
Fixed PHP 8 issues in SyslogUdpHandler
Fixed internal type error when mbstring is missing
2.1.1 (2020-07-23)
Fixed removing of json encoding options
Fixed type hint of $level not accepting strings in SendGridHandler and OverflowHandler
Fixed SwiftMailerHandler not accepting email templates with an empty subject
Fixed array access on null in RavenHandler
Fixed unique_id in WebProcessor not being disableable
2.1.0 (2020-05-22)
Added 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
Added $ignoreEmptyContextAndExtra option to JsonFormatter to skip empty context/extra entirely from the output
Added $parseMode, $disableWebPagePreview and $disableNotification options to TelegramBotHandler
Added tentative support for PHP 8
NormalizerFormatter::addJsonEncodeOption and removeJsonEncodeOption are now public to allow modifying default json flags
Fixed GitProcessor type error when there is no git repo present
Fixed normalization of SoapFault objects containing deeply nested objects as "detail"
Fixed support for relative paths in RotatingFileHandler
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on monolog/monolog to permit the latest version.
Release notes
Sourced from monolog/monolog's releases.
Changelog
Sourced from monolog/monolog's changelog.
... (truncated)
Commits
7131256
Update changelog82ab6a5
Fixes php8 non-backward compatible changes (#1568)d08c09d
Fix phpstan error9738e49
Update changelog for 2.3.163e1950
Fix Utils::getClass() with PHP8 (#1563)42384f2
Ignore config file19542ed
Normalize@inheritDoc
tags, refs #1557df991fd
Update changeloga6eef72
Last phpstan fixes172287b
Merge pull request #1561 from thomasphansen/th_jsonformatter_use_formatdateDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)