Skip to content

Bump monolog/monolog from 3.12.1 to 3.13.0 - #138

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/composer/monolog/monolog-3.13.0
Nov 24, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/composer/monolog/monolog-3.13.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor

Bumps monolog/monolog from 3.12.1 to 3.13.0.

Release notes

Sourced from monolog/monolog's releases.

3.13.0

  • Security: Fixed LineFormatter replacing placeholders found inside logged values, so a message or context value containing e.g. %context. could pull other fields into the line or strip everything up to the next %, often the whole context (#2099)
  • Security: Fixed RedactingFormatter not redacting sensitive keys inside objects (public properties or jsonSerialize() output), nor secrets written with unicode/slash JSON escaping or with their line breaks replaced by LineFormatter (#2100)
  • Security: Fixed SyslogFormatter writing line breaks in messages as-is, letting a message start what line-based consumers read as a second record, they are now replaced with spaces unless includeStacktraces() is enabled (#2098)
  • BC Warning: SyslogUdpHandler now writes RFC 3164 timestamps in the record's timezone (the Logger's) instead of UTC, as receivers read them as local time, set the Logger timezone to UTC to keep the previous output (#2101)
  • Added Psalm taint analysis annotations marking the StreamHandler path and the SocketHandler connection string as sinks (#2086)
  • Fixed SocketHandler throwing "Write timed-out" on every write after a single failed one until the process restarted, it now reconnects (#2089)
  • Fixed RotatingFileHandler treating [, * and ? in the log path as glob characters, which kept old files from being pruned and could delete matching files in another directory (#2094)
  • Fixed RotatingFileHandler hourly date formats only rotating at midnight, for FILE_PER_HOUR, for variants like YmdH, and after switching formats with setFilenameFormat() (#2076, #2096)
  • Fixed JsonFormatter dropping the trailing newline of every following record once formatting a batch had failed, which glued log lines together in long-running processes (#2083)
  • Fixed JsonFormatter encoding INF and NaN as 0 (#2078)
  • Fixed HtmlFormatter dropping the message, context keys or values that are not valid UTF-8, e.g. in the emails of mail handlers (#2095)
  • Fixed FilterHandler not applying its own processors to records passed in a batch, e.g. when a BufferHandler or FingersCrossedHandler flushes into it (#2079)
  • Fixed ChromePHPHandler::handleBatch() ignoring the handler level and sending every record (#2077)
  • Fixed PsrLogMessageProcessor ignoring the given date format for dates that have __toString(), such as Monolog's own and Carbon dates (#2097)
  • Fixed SyslogUdpHandler zero-padding the day in RFC 3164 timestamps (Aug 07 instead of Aug 7) (#2084)

Full Changelog: Seldaek/monolog@3.12.1...3.13.0

Changelog

Sourced from monolog/monolog's changelog.

3.13.0 (2026-11-16)

  • Security: Fixed LineFormatter replacing placeholders found inside logged values, so a message or context value containing e.g. %context. could pull other fields into the line or strip everything up to the next %, often the whole context (#2099)
  • Security: Fixed RedactingFormatter not redacting sensitive keys inside objects (public properties or jsonSerialize() output), nor secrets written with unicode/slash JSON escaping or with their line breaks replaced by LineFormatter (#2100)
  • Security: Fixed SyslogFormatter writing line breaks in messages as-is, letting a message start what line-based consumers read as a second record, they are now replaced with spaces unless includeStacktraces() is enabled (#2098)
  • BC Warning: SyslogUdpHandler now writes RFC 3164 timestamps in the record's timezone (the Logger's) instead of UTC, as receivers read them as local time, set the Logger timezone to UTC to keep the previous output (#2101)
  • Added Psalm taint analysis annotations marking the StreamHandler path and the SocketHandler connection string as sinks (#2086)
  • Fixed SocketHandler throwing "Write timed-out" on every write after a single failed one until the process restarted, it now reconnects (#2089)
  • Fixed RotatingFileHandler treating [, * and ? in the log path as glob characters, which kept old files from being pruned and could delete matching files in another directory (#2094)
  • Fixed RotatingFileHandler hourly date formats only rotating at midnight, for FILE_PER_HOUR, for variants like YmdH, and after switching formats with setFilenameFormat() (#2076, #2096)
  • Fixed JsonFormatter dropping the trailing newline of every following record once formatting a batch had failed, which glued log lines together in long-running processes (#2083)
  • Fixed HtmlFormatter dropping the message, context keys or values that are not valid UTF-8, e.g. in the emails of mail handlers (#2095)
  • Fixed JsonFormatter encoding INF and NaN as 0 (#2078)
  • Fixed FilterHandler not applying its own processors to records passed in a batch, e.g. when a BufferHandler or FingersCrossedHandler flushes into it (#2079)
  • Fixed ChromePHPHandler::handleBatch() ignoring the handler level and sending every record (#2077)
  • Fixed PsrLogMessageProcessor ignoring the given date format for dates that have __toString(), such as Monolog's own and Carbon dates (#2097)
  • Fixed SyslogUdpHandler zero-padding the day in RFC 3164 timestamps (Aug 07 instead of Aug 7) (#2084)
Commits
  • 1f5f55b Update changelog
  • 18faa29 Add Psalm taint analysis annotations (#2086)
  • b032d5b Write RFC 3164 timestamps in the record's timezone instead of UTC (#2101)
  • 666dcdb Fix SyslogUdpHandler zero-padding the day in RFC 3164 timestamps (#2084)
  • e9a192b Apply processors in FilterHandler::handleBatch (#2079)
  • d60bc8a Fix PsrLogMessageProcessor ignoring the date format for dates that have __toS...
  • 06110d4 Fix RotatingFileHandler treating brackets in the path as a glob (#2094)
  • befe34f Fix RotatingFileHandler hourly formats without dashes only rotating at midnig...
  • 6583ea3 Restore JsonFormatter's trailing newline when formatting a batch fails (#2083)
  • 9eb323d Fix RedactingFormatter missing secrets inside objects and in some escaped spe...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [monolog/monolog](https://github.com/Seldaek/monolog) from 3.12.1 to 3.13.0.
- [Release notes](https://github.com/Seldaek/monolog/releases)
- [Changelog](https://github.com/Seldaek/monolog/blob/main/CHANGELOG.md)
- [Commits](Seldaek/monolog@3.12.1...3.13.0)

---
updated-dependencies:
- dependency-name: monolog/monolog
  dependency-version: 3.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Nov 24, 2026
@github-actions
github-actions Bot enabled auto-merge November 24, 2026 02:43
@github-actions
github-actions Bot merged commit b78b3bf into main Nov 24, 2026
5 checks passed
@github-actions
github-actions Bot deleted the dependabot/composer/monolog/monolog-3.13.0 branch November 24, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants