Skip to content

Releases: Seldaek/monolog

1.20.0

02 Jul 14:13
Compare
Choose a tag to compare
  • 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

1.19.0

12 Apr 18:57
Compare
Choose a tag to compare
  • 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

1.18.2

12 Apr 18:57
Compare
Choose a tag to compare
  • Fixed ElasticaFormatter to use more precise dates
  • Fixed GelfMessageFormatter sending too long messages

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)