Code development platform for open source projects from the European Union institutions

Skip to content

Update monolog/monolog requirement from ^1.0 to ^1.0 || ^2.0

Created by: dependabot[bot]

Updates the requirements on monolog/monolog to permit the latest version.

Release notes

Sourced from monolog/monolog's releases.

2.1.1

  • 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
Changelog

Sourced from monolog/monolog's changelog.

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

2.0.2 (2019-12-20)

  • Fixed ElasticsearchHandler swallowing exceptions details when failing to index log records
  • Fixed normalization of SoapFault objects containing non-strings as "detail" in LineFormatter
  • Fixed formatting of resources in JsonFormatter
  • Fixed RedisHandler failing to use MULTI properly when passed a proxied Redis instance (e.g. in Symfony with lazy services)
  • Fixed FilterHandler triggering a notice when handleBatch was filtering all records passed to it
  • Fixed Turkish locale messing up the conversion of level names to their constant values

2.0.1 (2019-11-13)

  • Fixed normalization of Traversables to avoid traversing them as not all of them are rewindable
  • Fixed setFormatter/getFormatter to forward to the nested handler in FilterHandler, FingersCrossedHandler, BufferHandler, OverflowHandler and SamplingHandler
  • Fixed BrowserConsoleHandler formatting when using multiple styles
  • Fixed normalization of exception codes to be always integers even for PDOException which have them as numeric strings
  • Fixed normalization of SoapFault objects containing non-strings as "detail"
  • Fixed json encoding across all handlers to always attempt recovery of non-UTF-8 strings instead of failing the whole encoding
  • Fixed ChromePHPHandler to avoid sending more data than latest Chrome versions allow in headers (4KB down from 256KB).
  • Fixed type error in BrowserConsoleHandler when the context array of log records was not associative.

2.0.0 (2019-08-30)

  • BC Break: This is a major release, see https://github.com/Seldaek/monolog/blob/master/UPGRADE.md for details if you are coming from a 1.x release
  • BC Break: Logger methods log/debug/info/notice/warning/error/critical/alert/emergency now have explicit void return types
  • Added FallbackGroupHandler which works like the WhatFailureGroupHandler but stops dispatching log records as soon as one handler accepted it
  • Fixed support for UTF-8 when cutting strings to avoid cutting a multibyte-character in half
  • Fixed normalizers handling of exception backtraces to avoid serializing arguments in some cases
  • Fixed date timezone handling in SyslogUdpHandler

2.0.0-beta2 (2019-07-06)

Commits

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)

Merge request reports