Skip to content

Releases: Seldaek/monolog

2.3.5

01 Oct 21:08
fd4380d
Compare
Choose a tag to compare
  • Fixed regression in StreamHandler since 2.3.3 on systems with the memory_limit set to >=20GB (#1592)

2.3.4

15 Sep 11:30
437e7a1
Compare
Choose a tag to compare
  • Fixed support for psr/log 3.x (#1589)

2.3.3

14 Sep 18:41
3962ebf
Compare
Choose a tag to compare
  • Fixed memory usage when using StreamHandler and calling stream_get_contents on the resource you passed to it (#1578, #1577)
  • Fixed support for psr/log 2.x (#1587)
  • Fixed some type annotations

2.3.2

23 Jul 07:43
7131256
Compare
Choose a tag to compare
  • Fixed compatibility with PHP 7.2 - 7.4 when experiencing PCRE errors (#1568)

2.3.1

14 Jul 11:56
9738e49
Compare
Choose a tag to compare
  • 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

05 Jul 11:35
df991fd
Compare
Choose a tag to compare
  • 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)

1.26.1

28 May 08:39
c6b00f0
Compare
Choose a tag to compare
  • Fixed PHP 8.1 deprecation warning

2.2.0

14 Dec 13:26
1cb1cde
Compare
Choose a tag to compare
  • 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

1.26.0

14 Dec 13:26
2209ddd
Compare
Choose a tag to compare
  • Added $dateFormat and $removeUsedContextFields arguments to PsrLogMessageProcessor (backport from 2.x)

2.1.1

23 Jul 08:43
f9eee5c
Compare
Choose a tag to compare
  • 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