Skip to content

Releases: Seldaek/monolog

1.18.1

13 Mar 16:10
Compare
Choose a tag to compare
  • 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

1.18.0

01 Mar 18:03
Compare
Choose a tag to compare
  • Added optional reduction of timestamp precision via Logger->useMicrosecondTimestamps(false), disabling it gets you a bit of performance boost but reduces the precision to the second instead of microsecond
  • Added possibility to skip some extra stack frames in IntrospectionProcessor if you have some library wrapping Monolog that is always adding frames
  • Added Logger->withName to clone a logger (keeping all handlers) with a new name
  • Added FluentdFormatter for the Fluentd unix socket protocol
  • Added HandlerWrapper base class to ease the creation of handler wrappers, just extend it and override as needed
  • Added support for replacing context sub-keys using %context.*% in LineFormatter
  • Added support for payload context value in RollbarHandler
  • Added setRelease to RavenHandler to describe the application version, sent with every log
  • Added support for fingerprint context value in RavenHandler
  • Fixed JSON encoding errors that would gobble up the whole log record, we now handle those more gracefully by dropping chars as needed
  • Fixed write timeouts in SocketHandler and derivatives, set to 10sec by default, lower it with setWritingTimeout()
  • Fixed PHP7 compatibility with regard to Exception/Throwable handling in a few places

1.17.2

01 Mar 18:03
Compare
Choose a tag to compare
  • Fixed ErrorHandler compatibility with non-Monolog PSR-3 loggers
  • Fixed SlackHandler handling to use slack functionalities better
  • Fixed SwiftMailerHandler bug when sending multiple emails they all had the same id
  • Fixed 5.3 compatibility regression

1.17.1

20 Sep 13:17
Compare
Choose a tag to compare
  • Fixed RollbarHandler triggering PHP notices

1.17.0

30 Aug 11:41
Compare
Choose a tag to compare
  • Added support for checksum and release context/extra values in RavenHandler
  • Added better support for exceptions in RollbarHandler
  • Added UidProcessor::getUid
  • Added support for showing the resource type in NormalizedFormatter
  • Fixed IntrospectionProcessor triggering PHP notices

1.16.0

09 Aug 17:44
Compare
Choose a tag to compare
  • Added IFTTTHandler to notify ifttt.com triggers
  • Added Logger::setHandlers() to allow setting/replacing all handlers
  • Added $capSize in RedisHandler to cap the log size
  • Fixed StreamHandler creation of directory to only trigger when the first log write happens
  • Fixed bug in the handling of curl failures
  • Fixed duplicate logging of fatal errors when both error and fatal error handlers are registered in monolog's ErrorHandler
  • Fixed missing fatal errors records with handlers that need to be closed to flush log records
  • Fixed TagProcessor::addTags support for associative arrays

1.15.0

20 Jul 17:02
Compare
Choose a tag to compare
  • Added addTags and setTags methods to change a TagProcessor
  • Added automatic creation of directories if they are missing for a StreamHandler to open a log file
  • Added retry functionality to Loggly, Cube and Mandrill handlers so they retry up to 5 times in case of network failure
  • Fixed process exit code being incorrectly reset to 0 if ErrorHandler::registerExceptionHandler was used
  • Fixed HTML/JS escaping in BrowserConsoleHandler
  • Fixed JSON encoding errors being silently suppressed (PHP 5.5+ only)

1.14.0

19 Jun 14:09
Compare
Choose a tag to compare
  • Added PHPConsoleHandler to send record to Chrome's PHP Console extension and library
  • Added support for objects implementing __toString in the NormalizerFormatter
  • Added support for HipChat's v2 API in HipChatHandler
  • Added Logger::setTimezone() to initialize the timezone monolog should use in case date.timezone isn't correct for your app
  • Added an option to send formatted message instead of the raw record on PushoverHandler via ->useFormattedMessage(true)
  • Fixed curl errors being silently suppressed

1.13.1

12 Mar 03:11
Compare
Choose a tag to compare
  • Fixed regression in HipChat requiring a new token to be created

1.13.0

05 Mar 01:13
Compare
Choose a tag to compare
  • Added Registry::hasLogger to check for the presence of a logger instance
  • Added context.user support to RavenHandler
  • Added HipChat API v2 support in the HipChatHandler
  • Added NativeMailerHandler::addParameter to pass params to the mail() process
  • Added context data to SlackHandler when $includeContextAndExtra is true
  • Added ability to customize the Swift_Message per-email in SwiftMailerHandler
  • Fixed SwiftMailerHandler to lazily create message instances if a callback is provided
  • Fixed serialization of INF and NaN values in Normalizer and LineFormatter