All Versions
69
Latest Version
Avg Release Cycle
63 days
Latest Release
319 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v1.25.0 Changes
September 06, 2019- Deprecated SlackbotHandler, use SlackWebhookHandler or SlackHandler instead
- Deprecated RavenHandler, use sentry/sentry 2.x and their Sentry\Monolog\Handler instead
- Deprecated HipChatHandler, migrate to Slack and use SlackWebhookHandler or SlackHandler instead
- Added forward-compatible interfaces and traits FormattableHandlerInterface, FormattableHandlerTrait, ProcessableHandlerInterface, ProcessableHandlerTrait. If you use modern PHP and want to make code compatible with Monolog 1 and 2 this can help. You will have to require at least Monolog 1.25 though.
- Added support for RFC3164 (outdated BSD syslog protocol) to SyslogUdpHandler
- Fixed issue in GroupHandler and WhatFailureGroupHandler where setting multiple processors would duplicate records
- Fixed issue in SignalHandler restarting syscalls functionality
- Fixed normalizers handling of exception backtraces to avoid serializing arguments in some cases
- Fixed ZendMonitorHandler to work with the latest Zend Server versions
- Fixed ChromePHPHandler to avoid sending more data than latest Chrome versions allow in headers (4KB down from 256KB).
-
v1.24.0 Changes
November 05, 2018- ๐ BC Notice: If you are extending any of the Monolog's Formatters'
normalize
method, make sure you add the new$depth = 0
argument to your function signature to avoid strict PHP warnings. See #808 for more details. - โ Added a
ResettableInterface
in order to reset/reset/clear/flush handlers and processors - โ Added a
ProcessorInterface
as an optional way to label a class as being a processor (mostly useful for autowiring dependency containers) - โ Added a way to log signals being received using Monolog\SignalHandler
- โ Added ability to customize error handling at the Logger level using Logger::setExceptionHandler
- โ Added InsightOpsHandler to migrate users of the LogEntriesHandler
- โ Added protection to NormalizerFormatter against circular and very deep structures, it now stops normalizing at a depth of 9
- โ Added capture of stack traces to ErrorHandler when logging PHP errors
- โ Added RavenHandler support for a
contexts
context or extra key to forward that to Sentry's contexts - โ Added forwarding of context info to FluentdFormatter
- โ Added SocketHandler::setChunkSize to override the default chunk size in case you must send large log lines to rsyslog for example
- โ Added ability to extend/override BrowserConsoleHandler
- โ Added SlackWebhookHandler::getWebhookUrl and SlackHandler::getToken to enable class extensibility
- โ Added SwiftMailerHandler::getSubjectFormatter to enable class extensibility
- โฌ๏ธ Dropped official support for HHVM in test builds
- ๐ Fixed normalization of exception traces when call_user_func is used to avoid serializing objects and the data they contain
- ๐ Fixed naming of fields in Slack handler, all field names are now capitalized in all cases
- ๐ Fixed HipChatHandler bug where slack dropped messages randomly
- ๐ Fixed normalization of objects in Slack handlers
- ๐ Fixed support for PHP7's Throwable in NewRelicHandler
- ๐ Fixed race bug when StreamHandler sometimes incorrectly reported it failed to create a directory
- ๐ Fixed table row styling issues in HtmlFormatter
- ๐ Fixed RavenHandler dropping the message when logging exception
- ๐ Fixed WhatFailureGroupHandler skipping processors when using handleBatch
and implement it where possible - ๐ Fixed display of anonymous class names
- ๐ BC Notice: If you are extending any of the Monolog's Formatters'
-
v1.23.0 Changes
June 19, 2017- Improved SyslogUdpHandler's support for RFC5424 and added optional
$ident
argument - Fixed GelfHandler truncation to be per field and not per message
- Fixed compatibility issue with PHP <5.3.6
- Fixed support for headless Chrome in ChromePHPHandler
- Fixed support for latest Aws SDK in DynamoDbHandler
- Fixed support for SwiftMailer 6.0+ in SwiftMailerHandler
- Improved SyslogUdpHandler's support for RFC5424 and added optional
-
v1.22.1 Changes
June 19, 2017- Fixed lots of minor issues in the new Slack integrations
- Fixed support for allowInlineLineBreaks in LineFormatter when formatting exception backtraces
-
v1.22.0 Changes
November 26, 2016- Added SlackbotHandler and SlackWebhookHandler to set up Slack integration more easily
- Added MercurialProcessor to add mercurial revision and branch names to log records
- Added support for AWS SDK v3 in DynamoDbHandler
- Fixed fatal errors occurring when normalizing generators that have been fully consumed
- Fixed RollbarHandler to include a level (rollbar level), monolog_level (original name), channel and datetime (unix)
- Fixed RollbarHandler not flushing records automatically, calling close() explicitly is not necessary anymore
- Fixed SyslogUdpHandler to avoid sending empty frames
- Fixed a few PHP 7.0 and 7.1 compatibility issues
-
v1.21.0 Changes
August 01, 2016- Break: Reverted the addition of $context when the ErrorHandler handles regular php errors from 1.20.0 as it was causing issues
- Added support for more formats in RotatingFileHandler::setFilenameFormat as long as they have Y, m and d in order
- Added ability to format the main line of text the SlackHandler sends by explicitly setting a formatter on the handler
- Added information about SoapFault instances in NormalizerFormatter
- Added $handleOnlyReportedErrors option on ErrorHandler::registerErrorHandler (default true) to allow logging of all errors no matter the error_reporting level
-
v1.20.0 Changes
July 02, 2016- Added FingersCrossedHandler::activate() to manually trigger the handler regardless of the activation policy
- Added StreamHandler::getUrl to retrieve the stream's URL
- Added ability to override addRow/addTitle in HtmlFormatter
- Added the $context to context information when the ErrorHandler handles a regular php error
- Deprecated RotatingFileHandler::setFilenameFormat to only support 3 formats: Y, Y-m and Y-m-d
- Fixed WhatFailureGroupHandler to work with PHP7 throwables
- Fixed a few minor bugs
-
v1.19.0 Changes
April 12, 2016- Break: StreamHandler will not close streams automatically that it does not own. If you pass in a stream (not a path/url), then it will not close it for you. You can retrieve those using getStream() if needed
- Added DeduplicationHandler to remove duplicate records from notifications across multiple requests, useful for email or other notifications on errors
- Added ability to use
%message%
and other LineFormatter replacements in the subject line of emails sent with NativeMailHandler and SwiftMailerHandler - Fixed HipChatHandler handling of long messages
-
v1.18.2 Changes
April 12, 2016- Fixed ElasticaFormatter to use more precise dates
- Fixed GelfMessageFormatter sending too long messages
-
v1.18.1 Changes
March 13, 2016- Fixed SlackHandler bug where slack dropped messages randomly
- Fixed RedisHandler issue when using with the PHPRedis extension
- Fixed AmqpHandler content-type being incorrectly set when using with the AMQP extension
- Fixed BrowserConsoleHandler regression