• 3.10.0 b321dd6749

    3.10.0 Stable

    kerem released this 2026-01-02 11:56:05 +03:00 | 9 commits to main since this release

    📅 Originally published on GitHub: Fri, 02 Jan 2026 08:56:42 GMT
    🏷️ Git tag created: Fri, 02 Jan 2026 08:56:05 GMT

    • Added automatic directory cleanup in RotatingFileHandler (#2000)
    • Added timezone-aware file rotation to RotatingFileHandler (#1982)
    • Added support for mongodb/mongodb 2.0+ (#1998)
    • Added NoDiscard attribute to TestHandler methods to ensure the result is used (#2013)
    • Fixed JsonFormatter crashing if __toString throws while normalizing data (#1968)
    • Fixed PHP 8.5 deprecation warnings (#1997, #2009)
    • Fixed DeduplicatingHandler collecting duplicate logs if the file cannot be locked (2e97231)
    • Fixed GelfMessageFormatter to use integers instead of bool for gelf 1.1 support (#1973)
    • Fixed empty stack traces being output anyway (#1979)
    • Fixed StreamHandler not reopening the file if the inode changed (#1963)
    • Fixed TelegramBotHandler sending empty messages (#1992)
    • Fixed file paths in stack traces containing backslashes on windows, always using / now to unify logs (#1980)
    • Fixed RotatingFileHandler unlink errors not being suppressed correctly (#1999)

    Full Changelog: https://github.com/Seldaek/monolog/compare/3.9.0...3.10.0

    Downloads
  • 2.11.0 37308608e5

    2.11.0 Stable

    kerem released this 2026-01-01 16:05:00 +03:00 | 213 commits to main since this release

    📅 Originally published on GitHub: Thu, 01 Jan 2026 13:05:49 GMT
    🏷️ Git tag created: Thu, 01 Jan 2026 13:05:00 GMT

    • Added support for mongodb/mongodb 2.0+
    • Fixed deprecation warnings in PHP 8.4/8.5
    • Fixed TelegramBotHandler sending empty messages (#1992)
    • Fixed RotatingFileHandler unlink errors not being suppressed correctly (#1999)

    Full Changelog: https://github.com/Seldaek/monolog/compare/2.10.0...2.11.0

    Downloads
  • 3.9.0 10d8574018

    3.9.0 Stable

    kerem released this 2025-03-24 13:02:05 +03:00 | 42 commits to main since this release

    📅 Originally published on GitHub: Mon, 24 Mar 2025 10:02:43 GMT
    🏷️ Git tag created: Mon, 24 Mar 2025 10:02:05 GMT

    • BC Warning: Fixed SendGridHandler to use the V3 API as V2 is now shut down, but this requires a new API key (#1952)
    • Deprecated Monolog\Test\TestCase in favor of Monolog\Test\MonologTestCase (#1953)
    • Added extension point for NativeMailerHandler::mail (#1948)
    • Added setHandler method to BufferHandler to modify the nested handler at runtime (#1946)
    • Fixed date format in ElasticsearchFormatter to use +00:00 vs +0000 tz identifiers (#1942)
    • Fixed GelfMessageFormatter handling numeric context/extra keys (#1932)

    Full Changelog: https://github.com/Seldaek/monolog/compare/3.8.1...3.9.0

    Downloads
  • 3.8.1 aef6ee73a7

    3.8.1 Stable

    kerem released this 2024-12-05 20:15:07 +03:00 | 57 commits to main since this release

    📅 Originally published on GitHub: Thu, 05 Dec 2024 17:15:28 GMT
    🏷️ Git tag created: Thu, 05 Dec 2024 17:15:07 GMT

    • Deprecated Monolog\DateTimeImmutable in favor of Monolog\JsonSerializableDateTimeImmutable (#1928)
    • Fixed gelf keys not being valid when context/extra data keys have spaces in them (#1927)
    • Fixed empty lines appearing in the stack traces when a custom formatter returned null (#1925)

    Full Changelog: https://github.com/Seldaek/monolog/compare/3.8.0...3.8.1

    Downloads
  • 3.8.0 32e515fdc0

    3.8.0 Stable

    kerem released this 2024-11-12 16:57:08 +03:00 | 62 commits to main since this release

    📅 Originally published on GitHub: Tue, 12 Nov 2024 13:58:21 GMT
    🏷️ Git tag created: Tue, 12 Nov 2024 13:57:08 GMT

    • Added $fileOpenMode param to StreamHandler to define a custom fopen mode to open the log file (#1913)
    • Fixed PHP 8.4 deprecation notices (#1903)
    • Added ability to extend/override IntrospectionProcessor (#1899)
    • Added $timeout param to ProcessHandler to configure the stream_select() timeout to avoid blocking too long (default is 1.0 sec) (#1916)
    • Fixed JsonFormatter batch handling to normalize records individually to make sure they look the same as if they were handled one by one - this leads to JsonFormatter::normalizeRecord now possibly returning stdClass instances instead of [] for empty context/extra data which may cause issues if you extend normalizeRecord, see https://github.com/Seldaek/monolog/pull/1906#issuecomment-2500046724 (#1906)
    • Fixed StreamHandler handling of write failures so that it now closes/reopens the stream and retries the write once before failing (#1882)
    • Fixed StreamHandler error handler causing issues if a stream handler triggers an error (#1866)
    • Fixed StreamHandler::reset not closing the stream, so that it would fail to write in some cases with long running processes (#1862)
    • Fixed RotatingFileHandler issue where rotation does not happen in some long running processes (#1905)
    • Fixed JsonFormatter handling of incomplete classes (#1834)
    • Fixed RotatingFileHandler bug where rotation could sometimes not happen correctly (#1905)

    Full Changelog: https://github.com/Seldaek/monolog/compare/3.7.0...3.8.0

    Downloads