Subversion-Projekte lars-tiefland.laravel_shop

Revision

Zur aktuellen Revision | Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
### 2.8.0 (2022-07-24)
2
 
3
  * Deprecated `CubeHandler` and `PHPConsoleHandler` as both projects are abandoned and those should not be used anymore (#1734)
4
  * Added RFC 5424 level (`7` to `0`) support to `Logger::log` and `Logger::addRecord` to increase interoperability (#1723)
5
  * Added support for `__toString` for objects which are not json serializable in `JsonFormatter` (#1733)
6
  * Added `GoogleCloudLoggingFormatter` (#1719)
7
  * Added support for Predis 2.x (#1732)
8
  * Added `AmqpHandler->setExtraAttributes` to allow configuring attributes when using an AMQPExchange (#1724)
9
  * Fixed serialization/unserialization of handlers to make sure private properties are included (#1727)
10
  * Fixed allowInlineLineBreaks in LineFormatter causing issues with windows paths containing `\n` or `\r` sequences (#1720)
11
  * Fixed max normalization depth not being taken into account when formatting exceptions with a deep chain of previous exceptions (#1726)
12
  * Fixed PHP 8.2 deprecation warnings (#1722)
13
  * Fixed rare race condition or filesystem issue where StreamHandler is unable to create the directory the log should go into yet it exists already (#1678)
14
 
15
### 2.7.0 (2022-06-09)
16
 
17
  * Added `$datetime` parameter to `Logger::addRecord` as low level API to allow logging into the past or future (#1682)
18
  * Added `Logger::useLoggingLoopDetection` to allow disabling cyclic logging detection in concurrent frameworks (#1681)
19
  * Fixed handling of fatal errors if callPrevious is disabled in ErrorHandler (#1670)
20
  * Marked the reusable `Monolog\Test\TestCase` class as `@internal` to make sure PHPStorm does not show it above PHPUnit, you may still use it to test your own handlers/etc though (#1677)
21
  * Fixed RotatingFileHandler issue when the date format contained slashes (#1671)
22
 
23
### 2.6.0 (2022-05-10)
24
 
25
  * Deprecated `SwiftMailerHandler`, use `SymfonyMailerHandler` instead
26
  * Added `SymfonyMailerHandler` (#1663)
27
  * Added ElasticSearch 8.x support to the ElasticsearchHandler (#1662)
28
  * Added a way to filter/modify stack traces in LineFormatter (#1665)
29
  * Fixed UdpSocket not being able to reopen/reconnect after close()
30
  * Fixed infinite loops if a Handler is triggering logging while handling log records
31
 
32
### 2.5.0 (2022-04-08)
33
 
34
  * Added `callType` to IntrospectionProcessor (#1612)
35
  * Fixed AsMonologProcessor syntax to be compatible with PHP 7.2 (#1651)
36
 
37
### 2.4.0 (2022-03-14)
38
 
39
  * Added [`Monolog\LogRecord`](src/Monolog/LogRecord.php) interface that can be used to type-hint records like `array|\Monolog\LogRecord $record` to be forward compatible with the upcoming Monolog 3 changes
40
  * Added `includeStacktraces` constructor params to LineFormatter & JsonFormatter (#1603)
41
  * Added `persistent`, `timeout`, `writingTimeout`, `connectionTimeout`, `chunkSize` constructor params to SocketHandler and derivatives (#1600)
42
  * Added `AsMonologProcessor` PHP attribute which can help autowiring / autoconfiguration of processors if frameworks / integrations decide to make use of it. This is useless when used purely with Monolog (#1637)
43
  * Added support for keeping native BSON types as is in MongoDBFormatter (#1620)
44
  * Added support for a `user_agent` key in WebProcessor, disabled by default but you can use it by configuring the $extraFields you want (#1613)
45
  * Added support for username/userIcon in SlackWebhookHandler (#1617)
46
  * Added extension points to BrowserConsoleHandler (#1593)
47
  * Added record message/context/extra info to exceptions thrown when a StreamHandler cannot open its stream to avoid completely losing the data logged (#1630)
48
  * Fixed error handler signature to accept a null $context which happens with internal PHP errors (#1614)
49
  * Fixed a few setter methods not returning `self` (#1609)
50
  * Fixed handling of records going over the max Telegram message length (#1616)
51
 
52
### 2.3.5 (2021-10-01)
53
 
54
  * Fixed regression in StreamHandler since 2.3.3 on systems with the memory_limit set to >=20GB (#1592)
55
 
56
### 2.3.4 (2021-09-15)
57
 
58
  * Fixed support for psr/log 3.x (#1589)
59
 
60
### 2.3.3 (2021-09-14)
61
 
62
  * Fixed memory usage when using StreamHandler and calling stream_get_contents on the resource you passed to it (#1578, #1577)
63
  * Fixed support for psr/log 2.x (#1587)
64
  * Fixed some type annotations
65
 
66
### 2.3.2 (2021-07-23)
67
 
68
  * Fixed compatibility with PHP 7.2 - 7.4 when experiencing PCRE errors (#1568)
69
 
70
### 2.3.1 (2021-07-14)
71
 
72
  * Fixed Utils::getClass handling of anonymous classes not being fully compatible with PHP 8 (#1563)
73
  * Fixed some `@inheritDoc` annotations having the wrong case
74
 
75
### 2.3.0 (2021-07-05)
76
 
77
  * 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)
78
  * Added ability to customize date format when using JsonFormatter (#1561)
79
  * Fixed FilterHandler not calling reset on its internal handler when reset() is called on it (#1531)
80
  * Fixed SyslogUdpHandler not setting the timezone correctly on DateTimeImmutable instances (#1540)
81
  * Fixed StreamHandler thread safety - chunk size set to 2GB now to avoid interlacing when doing concurrent writes (#1553)
82
 
83
### 2.2.0 (2020-12-14)
84
 
85
  * 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
86
  * Added setDateFormat to NormalizerFormatter (and Line/Json formatters by extension) to allow changing this after object creation
87
  * Added RedisPubSubHandler to log records to a Redis channel using PUBLISH
88
  * Added support for Elastica 7, and deprecated the $type argument of ElasticaFormatter which is not in use anymore as of Elastica 7
89
  * Added support for millisecond write timeouts in SocketHandler, you can now pass floats to setWritingTimeout, e.g. 0.2 is 200ms
90
  * Added support for unix sockets in SyslogUdpHandler (set $port to 0 to make the $host a unix socket)
91
  * Added handleBatch support for TelegramBotHandler
92
  * Added RFC5424e extended date format including milliseconds to SyslogUdpHandler
93
  * Added support for configuring handlers with numeric level values in strings (coming from e.g. env vars)
94
  * Fixed Wildfire/FirePHP/ChromePHP handling of unicode characters
95
  * Fixed PHP 8 issues in SyslogUdpHandler
96
  * Fixed internal type error when mbstring is missing
97
 
98
### 2.1.1 (2020-07-23)
99
 
100
  * Fixed removing of json encoding options
101
  * Fixed type hint of $level not accepting strings in SendGridHandler and OverflowHandler
102
  * Fixed SwiftMailerHandler not accepting email templates with an empty subject
103
  * Fixed array access on null in RavenHandler
104
  * Fixed unique_id in WebProcessor not being disableable
105
 
106
### 2.1.0 (2020-05-22)
107
 
108
  * Added `JSON_INVALID_UTF8_SUBSTITUTE` to default json flags, so that invalid UTF8 characters now get converted to [�](https://en.wikipedia.org/wiki/Specials_(Unicode_block)#Replacement_character) instead of being converted from ISO-8859-15 to UTF8 as it was before, which was hardly a comprehensive solution
109
  * Added `$ignoreEmptyContextAndExtra` option to JsonFormatter to skip empty context/extra entirely from the output
110
  * Added `$parseMode`, `$disableWebPagePreview` and `$disableNotification` options to TelegramBotHandler
111
  * Added tentative support for PHP 8
112
  * NormalizerFormatter::addJsonEncodeOption and removeJsonEncodeOption are now public to allow modifying default json flags
113
  * Fixed GitProcessor type error when there is no git repo present
114
  * Fixed normalization of SoapFault objects containing deeply nested objects as "detail"
115
  * Fixed support for relative paths in RotatingFileHandler
116
 
117
### 2.0.2 (2019-12-20)
118
 
119
  * Fixed ElasticsearchHandler swallowing exceptions details when failing to index log records
120
  * Fixed normalization of SoapFault objects containing non-strings as "detail" in LineFormatter
121
  * Fixed formatting of resources in JsonFormatter
122
  * Fixed RedisHandler failing to use MULTI properly when passed a proxied Redis instance (e.g. in Symfony with lazy services)
123
  * Fixed FilterHandler triggering a notice when handleBatch was filtering all records passed to it
124
  * Fixed Turkish locale messing up the conversion of level names to their constant values
125
 
126
### 2.0.1 (2019-11-13)
127
 
128
  * Fixed normalization of Traversables to avoid traversing them as not all of them are rewindable
129
  * Fixed setFormatter/getFormatter to forward to the nested handler in FilterHandler, FingersCrossedHandler, BufferHandler, OverflowHandler and SamplingHandler
130
  * Fixed BrowserConsoleHandler formatting when using multiple styles
131
  * Fixed normalization of exception codes to be always integers even for PDOException which have them as numeric strings
132
  * Fixed normalization of SoapFault objects containing non-strings as "detail"
133
  * Fixed json encoding across all handlers to always attempt recovery of non-UTF-8 strings instead of failing the whole encoding
134
  * Fixed ChromePHPHandler to avoid sending more data than latest Chrome versions allow in headers (4KB down from 256KB).
135
  * Fixed type error in BrowserConsoleHandler when the context array of log records was not associative.
136
 
137
### 2.0.0 (2019-08-30)
138
 
139
  * BC Break: This is a major release, see [UPGRADE.md](UPGRADE.md) for details if you are coming from a 1.x release
140
  * BC Break: Logger methods log/debug/info/notice/warning/error/critical/alert/emergency now have explicit void return types
141
  * Added FallbackGroupHandler which works like the WhatFailureGroupHandler but stops dispatching log records as soon as one handler accepted it
142
  * Fixed support for UTF-8 when cutting strings to avoid cutting a multibyte-character in half
143
  * Fixed normalizers handling of exception backtraces to avoid serializing arguments in some cases
144
  * Fixed date timezone handling in SyslogUdpHandler
145
 
146
### 2.0.0-beta2 (2019-07-06)
147
 
148
  * BC Break: This is a major release, see [UPGRADE.md](UPGRADE.md) for details if you are coming from a 1.x release
149
  * BC Break: PHP 7.2 is now the minimum required PHP version.
150
  * BC Break: Removed SlackbotHandler, RavenHandler and HipChatHandler, see [UPGRADE.md](UPGRADE.md) for details
151
  * Added OverflowHandler which will only flush log records to its nested handler when reaching a certain amount of logs (i.e. only pass through when things go really bad)
152
  * Added TelegramBotHandler to log records to a [Telegram](https://core.telegram.org/bots/api) bot account
153
  * Added support for JsonSerializable when normalizing exceptions
154
  * Added support for RFC3164 (outdated BSD syslog protocol) to SyslogUdpHandler
155
  * Added SoapFault details to formatted exceptions
156
  * Fixed DeduplicationHandler silently failing to start when file could not be opened
157
  * Fixed issue in GroupHandler and WhatFailureGroupHandler where setting multiple processors would duplicate records
158
  * Fixed GelfFormatter losing some data when one attachment was too long
159
  * Fixed issue in SignalHandler restarting syscalls functionality
160
  * Improved performance of LogglyHandler when sending multiple logs in a single request
161
 
162
### 2.0.0-beta1 (2018-12-08)
163
 
164
  * BC Break: This is a major release, see [UPGRADE.md](UPGRADE.md) for details if you are coming from a 1.x release
165
  * BC Break: PHP 7.1 is now the minimum required PHP version.
166
  * BC Break: Quite a few interface changes, only relevant if you implemented your own handlers/processors/formatters
167
  * BC Break: Removed non-PSR-3 methods to add records, all the `add*` (e.g. `addWarning`) methods as well as `emerg`, `crit`, `err` and `warn`
168
  * BC Break: The record timezone is now set per Logger instance and not statically anymore
169
  * BC Break: There is no more default handler configured on empty Logger instances
170
  * BC Break: ElasticSearchHandler renamed to ElasticaHandler
171
  * BC Break: Various handler-specific breaks, see [UPGRADE.md](UPGRADE.md) for details
172
  * Added scalar type hints and return hints in all the places it was possible. Switched strict_types on for more reliability.
173
  * Added DateTimeImmutable support, all record datetime are now immutable, and will toString/json serialize with the correct date format, including microseconds (unless disabled)
174
  * Added timezone and microseconds to the default date format
175
  * Added SendGridHandler to use the SendGrid API to send emails
176
  * Added LogmaticHandler to use the Logmatic.io API to store log records
177
  * Added SqsHandler to send log records to an AWS SQS queue
178
  * Added ElasticsearchHandler to send records via the official ES library. Elastica users should now use ElasticaHandler instead of ElasticSearchHandler
179
  * Added NoopHandler which is similar to the NullHandle but does not prevent the bubbling of log records to handlers further down the configuration, useful for temporarily disabling a handler in configuration files
180
  * Added ProcessHandler to write log output to the STDIN of a given process
181
  * Added HostnameProcessor that adds the machine's hostname to log records
182
  * Added a `$dateFormat` option to the PsrLogMessageProcessor which lets you format DateTime instances nicely
183
  * Added support for the PHP 7.x `mongodb` extension in the MongoDBHandler
184
  * Fixed many minor issues in various handlers, and probably added a few regressions too
185
 
186
### 1.26.1 (2021-05-28)
187
 
188
  * Fixed PHP 8.1 deprecation warning
189
 
190
### 1.26.0 (2020-12-14)
191
 
192
  * Added $dateFormat and $removeUsedContextFields arguments to PsrLogMessageProcessor (backport from 2.x)
193
 
194
### 1.25.5 (2020-07-23)
195
 
196
  * Fixed array access on null in RavenHandler
197
  * Fixed unique_id in WebProcessor not being disableable
198
 
199
### 1.25.4 (2020-05-22)
200
 
201
  * Fixed GitProcessor type error when there is no git repo present
202
  * Fixed normalization of SoapFault objects containing deeply nested objects as "detail"
203
  * Fixed support for relative paths in RotatingFileHandler
204
 
205
### 1.25.3 (2019-12-20)
206
 
207
  * Fixed formatting of resources in JsonFormatter
208
  * Fixed RedisHandler failing to use MULTI properly when passed a proxied Redis instance (e.g. in Symfony with lazy services)
209
  * Fixed FilterHandler triggering a notice when handleBatch was filtering all records passed to it
210
  * Fixed Turkish locale messing up the conversion of level names to their constant values
211
 
212
### 1.25.2 (2019-11-13)
213
 
214
  * Fixed normalization of Traversables to avoid traversing them as not all of them are rewindable
215
  * Fixed setFormatter/getFormatter to forward to the nested handler in FilterHandler, FingersCrossedHandler, BufferHandler and SamplingHandler
216
  * Fixed BrowserConsoleHandler formatting when using multiple styles
217
  * Fixed normalization of exception codes to be always integers even for PDOException which have them as numeric strings
218
  * Fixed normalization of SoapFault objects containing non-strings as "detail"
219
  * Fixed json encoding across all handlers to always attempt recovery of non-UTF-8 strings instead of failing the whole encoding
220
 
221
### 1.25.1 (2019-09-06)
222
 
223
  * Fixed forward-compatible interfaces to be compatible with Monolog 1.x too.
224
 
225
### 1.25.0 (2019-09-06)
226
 
227
  * Deprecated SlackbotHandler, use SlackWebhookHandler or SlackHandler instead
228
  * Deprecated RavenHandler, use sentry/sentry 2.x and their Sentry\Monolog\Handler instead
229
  * Deprecated HipChatHandler, migrate to Slack and use SlackWebhookHandler or SlackHandler instead
230
  * 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.
231
  * Added support for RFC3164 (outdated BSD syslog protocol) to SyslogUdpHandler
232
  * Fixed issue in GroupHandler and WhatFailureGroupHandler where setting multiple processors would duplicate records
233
  * Fixed issue in SignalHandler restarting syscalls functionality
234
  * Fixed normalizers handling of exception backtraces to avoid serializing arguments in some cases
235
  * Fixed ZendMonitorHandler to work with the latest Zend Server versions
236
  * Fixed ChromePHPHandler to avoid sending more data than latest Chrome versions allow in headers (4KB down from 256KB).
237
 
238
### 1.24.0 (2018-11-05)
239
 
240
  * 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.
241
  * Added a `ResettableInterface` in order to reset/reset/clear/flush handlers and processors
242
  * Added a `ProcessorInterface` as an optional way to label a class as being a processor (mostly useful for autowiring dependency containers)
243
  * Added a way to log signals being received using Monolog\SignalHandler
244
  * Added ability to customize error handling at the Logger level using Logger::setExceptionHandler
245
  * Added InsightOpsHandler to migrate users of the LogEntriesHandler
246
  * Added protection to NormalizerFormatter against circular and very deep structures, it now stops normalizing at a depth of 9
247
  * Added capture of stack traces to ErrorHandler when logging PHP errors
248
  * Added RavenHandler support for a `contexts` context or extra key to forward that to Sentry's contexts
249
  * Added forwarding of context info to FluentdFormatter
250
  * Added SocketHandler::setChunkSize to override the default chunk size in case you must send large log lines to rsyslog for example
251
  * Added ability to extend/override BrowserConsoleHandler
252
  * Added SlackWebhookHandler::getWebhookUrl and SlackHandler::getToken to enable class extensibility
253
  * Added SwiftMailerHandler::getSubjectFormatter to enable class extensibility
254
  * Dropped official support for HHVM in test builds
255
  * Fixed normalization of exception traces when call_user_func is used to avoid serializing objects and the data they contain
256
  * Fixed naming of fields in Slack handler, all field names are now capitalized in all cases
257
  * Fixed HipChatHandler bug where slack dropped messages randomly
258
  * Fixed normalization of objects in Slack handlers
259
  * Fixed support for PHP7's Throwable in NewRelicHandler
260
  * Fixed race bug when StreamHandler sometimes incorrectly reported it failed to create a directory
261
  * Fixed table row styling issues in HtmlFormatter
262
  * Fixed RavenHandler dropping the message when logging exception
263
  * Fixed WhatFailureGroupHandler skipping processors when using handleBatch
264
    and implement it where possible
265
  * Fixed display of anonymous class names
266
 
267
### 1.23.0 (2017-06-19)
268
 
269
  * Improved SyslogUdpHandler's support for RFC5424 and added optional `$ident` argument
270
  * Fixed GelfHandler truncation to be per field and not per message
271
  * Fixed compatibility issue with PHP <5.3.6
272
  * Fixed support for headless Chrome in ChromePHPHandler
273
  * Fixed support for latest Aws SDK in DynamoDbHandler
274
  * Fixed support for SwiftMailer 6.0+ in SwiftMailerHandler
275
 
276
### 1.22.1 (2017-03-13)
277
 
278
  * Fixed lots of minor issues in the new Slack integrations
279
  * Fixed support for allowInlineLineBreaks in LineFormatter when formatting exception backtraces
280
 
281
### 1.22.0 (2016-11-26)
282
 
283
  * Added SlackbotHandler and SlackWebhookHandler to set up Slack integration more easily
284
  * Added MercurialProcessor to add mercurial revision and branch names to log records
285
  * Added support for AWS SDK v3 in DynamoDbHandler
286
  * Fixed fatal errors occurring when normalizing generators that have been fully consumed
287
  * Fixed RollbarHandler to include a level (rollbar level), monolog_level (original name), channel and datetime (unix)
288
  * Fixed RollbarHandler not flushing records automatically, calling close() explicitly is not necessary anymore
289
  * Fixed SyslogUdpHandler to avoid sending empty frames
290
  * Fixed a few PHP 7.0 and 7.1 compatibility issues
291
 
292
### 1.21.0 (2016-07-29)
293
 
294
  * Break: Reverted the addition of $context when the ErrorHandler handles regular php errors from 1.20.0 as it was causing issues
295
  * Added support for more formats in RotatingFileHandler::setFilenameFormat as long as they have Y, m and d in order
296
  * Added ability to format the main line of text the SlackHandler sends by explicitly setting a formatter on the handler
297
  * Added information about SoapFault instances in NormalizerFormatter
298
  * Added $handleOnlyReportedErrors option on ErrorHandler::registerErrorHandler (default true) to allow logging of all errors no matter the error_reporting level
299
 
300
### 1.20.0 (2016-07-02)
301
 
302
  * Added FingersCrossedHandler::activate() to manually trigger the handler regardless of the activation policy
303
  * Added StreamHandler::getUrl to retrieve the stream's URL
304
  * Added ability to override addRow/addTitle in HtmlFormatter
305
  * Added the $context to context information when the ErrorHandler handles a regular php error
306
  * Deprecated RotatingFileHandler::setFilenameFormat to only support 3 formats: Y, Y-m and Y-m-d
307
  * Fixed WhatFailureGroupHandler to work with PHP7 throwables
308
  * Fixed a few minor bugs
309
 
310
### 1.19.0 (2016-04-12)
311
 
312
  * 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
313
  * Added DeduplicationHandler to remove duplicate records from notifications across multiple requests, useful for email or other notifications on errors
314
  * Added ability to use `%message%` and other LineFormatter replacements in the subject line of emails sent with NativeMailHandler and SwiftMailerHandler
315
  * Fixed HipChatHandler handling of long messages
316
 
317
### 1.18.2 (2016-04-02)
318
 
319
  * Fixed ElasticaFormatter to use more precise dates
320
  * Fixed GelfMessageFormatter sending too long messages
321
 
322
### 1.18.1 (2016-03-13)
323
 
324
  * Fixed SlackHandler bug where slack dropped messages randomly
325
  * Fixed RedisHandler issue when using with the PHPRedis extension
326
  * Fixed AmqpHandler content-type being incorrectly set when using with the AMQP extension
327
  * Fixed BrowserConsoleHandler regression
328
 
329
### 1.18.0 (2016-03-01)
330
 
331
  * 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
332
  * Added possibility to skip some extra stack frames in IntrospectionProcessor if you have some library wrapping Monolog that is always adding frames
333
  * Added `Logger->withName` to clone a logger (keeping all handlers) with a new name
334
  * Added FluentdFormatter for the Fluentd unix socket protocol
335
  * Added HandlerWrapper base class to ease the creation of handler wrappers, just extend it and override as needed
336
  * Added support for replacing context sub-keys using `%context.*%` in LineFormatter
337
  * Added support for `payload` context value in RollbarHandler
338
  * Added setRelease to RavenHandler to describe the application version, sent with every log
339
  * Added support for `fingerprint` context value in RavenHandler
340
  * Fixed JSON encoding errors that would gobble up the whole log record, we now handle those more gracefully by dropping chars as needed
341
  * Fixed write timeouts in SocketHandler and derivatives, set to 10sec by default, lower it with `setWritingTimeout()`
342
  * Fixed PHP7 compatibility with regard to Exception/Throwable handling in a few places
343
 
344
### 1.17.2 (2015-10-14)
345
 
346
  * Fixed ErrorHandler compatibility with non-Monolog PSR-3 loggers
347
  * Fixed SlackHandler handling to use slack functionalities better
348
  * Fixed SwiftMailerHandler bug when sending multiple emails they all had the same id
349
  * Fixed 5.3 compatibility regression
350
 
351
### 1.17.1 (2015-08-31)
352
 
353
  * Fixed RollbarHandler triggering PHP notices
354
 
355
### 1.17.0 (2015-08-30)
356
 
357
  * Added support for `checksum` and `release` context/extra values in RavenHandler
358
  * Added better support for exceptions in RollbarHandler
359
  * Added UidProcessor::getUid
360
  * Added support for showing the resource type in NormalizedFormatter
361
  * Fixed IntrospectionProcessor triggering PHP notices
362
 
363
### 1.16.0 (2015-08-09)
364
 
365
  * Added IFTTTHandler to notify ifttt.com triggers
366
  * Added Logger::setHandlers() to allow setting/replacing all handlers
367
  * Added $capSize in RedisHandler to cap the log size
368
  * Fixed StreamHandler creation of directory to only trigger when the first log write happens
369
  * Fixed bug in the handling of curl failures
370
  * Fixed duplicate logging of fatal errors when both error and fatal error handlers are registered in monolog's ErrorHandler
371
  * Fixed missing fatal errors records with handlers that need to be closed to flush log records
372
  * Fixed TagProcessor::addTags support for associative arrays
373
 
374
### 1.15.0 (2015-07-12)
375
 
376
  * Added addTags and setTags methods to change a TagProcessor
377
  * Added automatic creation of directories if they are missing for a StreamHandler to open a log file
378
  * Added retry functionality to Loggly, Cube and Mandrill handlers so they retry up to 5 times in case of network failure
379
  * Fixed process exit code being incorrectly reset to 0 if ErrorHandler::registerExceptionHandler was used
380
  * Fixed HTML/JS escaping in BrowserConsoleHandler
381
  * Fixed JSON encoding errors being silently suppressed (PHP 5.5+ only)
382
 
383
### 1.14.0 (2015-06-19)
384
 
385
  * Added PHPConsoleHandler to send record to Chrome's PHP Console extension and library
386
  * Added support for objects implementing __toString in the NormalizerFormatter
387
  * Added support for HipChat's v2 API in HipChatHandler
388
  * Added Logger::setTimezone() to initialize the timezone monolog should use in case date.timezone isn't correct for your app
389
  * Added an option to send formatted message instead of the raw record on PushoverHandler via ->useFormattedMessage(true)
390
  * Fixed curl errors being silently suppressed
391
 
392
### 1.13.1 (2015-03-09)
393
 
394
  * Fixed regression in HipChat requiring a new token to be created
395
 
396
### 1.13.0 (2015-03-05)
397
 
398
  * Added Registry::hasLogger to check for the presence of a logger instance
399
  * Added context.user support to RavenHandler
400
  * Added HipChat API v2 support in the HipChatHandler
401
  * Added NativeMailerHandler::addParameter to pass params to the mail() process
402
  * Added context data to SlackHandler when $includeContextAndExtra is true
403
  * Added ability to customize the Swift_Message per-email in SwiftMailerHandler
404
  * Fixed SwiftMailerHandler to lazily create message instances if a callback is provided
405
  * Fixed serialization of INF and NaN values in Normalizer and LineFormatter
406
 
407
### 1.12.0 (2014-12-29)
408
 
409
  * Break: HandlerInterface::isHandling now receives a partial record containing only a level key. This was always the intent and does not break any Monolog handler but is strictly speaking a BC break and you should check if you relied on any other field in your own handlers.
410
  * Added PsrHandler to forward records to another PSR-3 logger
411
  * Added SamplingHandler to wrap around a handler and include only every Nth record
412
  * Added MongoDBFormatter to support better storage with MongoDBHandler (it must be enabled manually for now)
413
  * Added exception codes in the output of most formatters
414
  * Added LineFormatter::includeStacktraces to enable exception stack traces in logs (uses more than one line)
415
  * Added $useShortAttachment to SlackHandler to minify attachment size and $includeExtra to append extra data
416
  * Added $host to HipChatHandler for users of private instances
417
  * Added $transactionName to NewRelicHandler and support for a transaction_name context value
418
  * Fixed MandrillHandler to avoid outputting API call responses
419
  * Fixed some non-standard behaviors in SyslogUdpHandler
420
 
421
### 1.11.0 (2014-09-30)
422
 
423
  * Break: The NewRelicHandler extra and context data are now prefixed with extra_ and context_ to avoid clashes. Watch out if you have scripts reading those from the API and rely on names
424
  * Added WhatFailureGroupHandler to suppress any exception coming from the wrapped handlers and avoid chain failures if a logging service fails
425
  * Added MandrillHandler to send emails via the Mandrillapp.com API
426
  * Added SlackHandler to log records to a Slack.com account
427
  * Added FleepHookHandler to log records to a Fleep.io account
428
  * Added LogglyHandler::addTag to allow adding tags to an existing handler
429
  * Added $ignoreEmptyContextAndExtra to LineFormatter to avoid empty [] at the end
430
  * Added $useLocking to StreamHandler and RotatingFileHandler to enable flock() while writing
431
  * Added support for PhpAmqpLib in the AmqpHandler
432
  * Added FingersCrossedHandler::clear and BufferHandler::clear to reset them between batches in long running jobs
433
  * Added support for adding extra fields from $_SERVER in the WebProcessor
434
  * Fixed support for non-string values in PrsLogMessageProcessor
435
  * Fixed SwiftMailer messages being sent with the wrong date in long running scripts
436
  * Fixed minor PHP 5.6 compatibility issues
437
  * Fixed BufferHandler::close being called twice
438
 
439
### 1.10.0 (2014-06-04)
440
 
441
  * Added Logger::getHandlers() and Logger::getProcessors() methods
442
  * Added $passthruLevel argument to FingersCrossedHandler to let it always pass some records through even if the trigger level is not reached
443
  * Added support for extra data in NewRelicHandler
444
  * Added $expandNewlines flag to the ErrorLogHandler to create multiple log entries when a message has multiple lines
445
 
446
### 1.9.1 (2014-04-24)
447
 
448
  * Fixed regression in RotatingFileHandler file permissions
449
  * Fixed initialization of the BufferHandler to make sure it gets flushed after receiving records
450
  * Fixed ChromePHPHandler and FirePHPHandler's activation strategies to be more conservative
451
 
452
### 1.9.0 (2014-04-20)
453
 
454
  * Added LogEntriesHandler to send logs to a LogEntries account
455
  * Added $filePermissions to tweak file mode on StreamHandler and RotatingFileHandler
456
  * Added $useFormatting flag to MemoryProcessor to make it send raw data in bytes
457
  * Added support for table formatting in FirePHPHandler via the table context key
458
  * Added a TagProcessor to add tags to records, and support for tags in RavenHandler
459
  * Added $appendNewline flag to the JsonFormatter to enable using it when logging to files
460
  * Added sound support to the PushoverHandler
461
  * Fixed multi-threading support in StreamHandler
462
  * Fixed empty headers issue when ChromePHPHandler received no records
463
  * Fixed default format of the ErrorLogHandler
464
 
465
### 1.8.0 (2014-03-23)
466
 
467
  * Break: the LineFormatter now strips newlines by default because this was a bug, set $allowInlineLineBreaks to true if you need them
468
  * Added BrowserConsoleHandler to send logs to any browser's console via console.log() injection in the output
469
  * Added FilterHandler to filter records and only allow those of a given list of levels through to the wrapped handler
470
  * Added FlowdockHandler to send logs to a Flowdock account
471
  * Added RollbarHandler to send logs to a Rollbar account
472
  * Added HtmlFormatter to send prettier log emails with colors for each log level
473
  * Added GitProcessor to add the current branch/commit to extra record data
474
  * Added a Monolog\Registry class to allow easier global access to pre-configured loggers
475
  * Added support for the new official graylog2/gelf-php lib for GelfHandler, upgrade if you can by replacing the mlehner/gelf-php requirement
476
  * Added support for HHVM
477
  * Added support for Loggly batch uploads
478
  * Added support for tweaking the content type and encoding in NativeMailerHandler
479
  * Added $skipClassesPartials to tweak the ignored classes in the IntrospectionProcessor
480
  * Fixed batch request support in GelfHandler
481
 
482
### 1.7.0 (2013-11-14)
483
 
484
  * Added ElasticSearchHandler to send logs to an Elastic Search server
485
  * Added DynamoDbHandler and ScalarFormatter to send logs to Amazon's Dynamo DB
486
  * Added SyslogUdpHandler to send logs to a remote syslogd server
487
  * Added LogglyHandler to send logs to a Loggly account
488
  * Added $level to IntrospectionProcessor so it only adds backtraces when needed
489
  * Added $version to LogstashFormatter to allow using the new v1 Logstash format
490
  * Added $appName to NewRelicHandler
491
  * Added configuration of Pushover notification retries/expiry
492
  * Added $maxColumnWidth to NativeMailerHandler to change the 70 chars default
493
  * Added chainability to most setters for all handlers
494
  * Fixed RavenHandler batch processing so it takes the message from the record with highest priority
495
  * Fixed HipChatHandler batch processing so it sends all messages at once
496
  * Fixed issues with eAccelerator
497
  * Fixed and improved many small things
498
 
499
### 1.6.0 (2013-07-29)
500
 
501
  * Added HipChatHandler to send logs to a HipChat chat room
502
  * Added ErrorLogHandler to send logs to PHP's error_log function
503
  * Added NewRelicHandler to send logs to NewRelic's service
504
  * Added Monolog\ErrorHandler helper class to register a Logger as exception/error/fatal handler
505
  * Added ChannelLevelActivationStrategy for the FingersCrossedHandler to customize levels by channel
506
  * Added stack traces output when normalizing exceptions (json output & co)
507
  * Added Monolog\Logger::API constant (currently 1)
508
  * Added support for ChromePHP's v4.0 extension
509
  * Added support for message priorities in PushoverHandler, see $highPriorityLevel and $emergencyLevel
510
  * Added support for sending messages to multiple users at once with the PushoverHandler
511
  * Fixed RavenHandler's support for batch sending of messages (when behind a Buffer or FingersCrossedHandler)
512
  * Fixed normalization of Traversables with very large data sets, only the first 1000 items are shown now
513
  * Fixed issue in RotatingFileHandler when an open_basedir restriction is active
514
  * Fixed minor issues in RavenHandler and bumped the API to Raven 0.5.0
515
  * Fixed SyslogHandler issue when many were used concurrently with different facilities
516
 
517
### 1.5.0 (2013-04-23)
518
 
519
  * Added ProcessIdProcessor to inject the PID in log records
520
  * Added UidProcessor to inject a unique identifier to all log records of one request/run
521
  * Added support for previous exceptions in the LineFormatter exception serialization
522
  * Added Monolog\Logger::getLevels() to get all available levels
523
  * Fixed ChromePHPHandler so it avoids sending headers larger than Chrome can handle
524
 
525
### 1.4.1 (2013-04-01)
526
 
527
  * Fixed exception formatting in the LineFormatter to be more minimalistic
528
  * Fixed RavenHandler's handling of context/extra data, requires Raven client >0.1.0
529
  * Fixed log rotation in RotatingFileHandler to work with long running scripts spanning multiple days
530
  * Fixed WebProcessor array access so it checks for data presence
531
  * Fixed Buffer, Group and FingersCrossed handlers to make use of their processors
532
 
533
### 1.4.0 (2013-02-13)
534
 
535
  * Added RedisHandler to log to Redis via the Predis library or the phpredis extension
536
  * Added ZendMonitorHandler to log to the Zend Server monitor
537
  * Added the possibility to pass arrays of handlers and processors directly in the Logger constructor
538
  * Added `$useSSL` option to the PushoverHandler which is enabled by default
539
  * Fixed ChromePHPHandler and FirePHPHandler issue when multiple instances are used simultaneously
540
  * Fixed header injection capability in the NativeMailHandler
541
 
542
### 1.3.1 (2013-01-11)
543
 
544
  * Fixed LogstashFormatter to be usable with stream handlers
545
  * Fixed GelfMessageFormatter levels on Windows
546
 
547
### 1.3.0 (2013-01-08)
548
 
549
  * Added PSR-3 compliance, the `Monolog\Logger` class is now an instance of `Psr\Log\LoggerInterface`
550
  * Added PsrLogMessageProcessor that you can selectively enable for full PSR-3 compliance
551
  * Added LogstashFormatter (combine with SocketHandler or StreamHandler to send logs to Logstash)
552
  * Added PushoverHandler to send mobile notifications
553
  * Added CouchDBHandler and DoctrineCouchDBHandler
554
  * Added RavenHandler to send data to Sentry servers
555
  * Added support for the new MongoClient class in MongoDBHandler
556
  * Added microsecond precision to log records' timestamps
557
  * Added `$flushOnOverflow` param to BufferHandler to flush by batches instead of losing
558
    the oldest entries
559
  * Fixed normalization of objects with cyclic references
560
 
561
### 1.2.1 (2012-08-29)
562
 
563
  * Added new $logopts arg to SyslogHandler to provide custom openlog options
564
  * Fixed fatal error in SyslogHandler
565
 
566
### 1.2.0 (2012-08-18)
567
 
568
  * Added AmqpHandler (for use with AMQP servers)
569
  * Added CubeHandler
570
  * Added NativeMailerHandler::addHeader() to send custom headers in mails
571
  * Added the possibility to specify more than one recipient in NativeMailerHandler
572
  * Added the possibility to specify float timeouts in SocketHandler
573
  * Added NOTICE and EMERGENCY levels to conform with RFC 5424
574
  * Fixed the log records to use the php default timezone instead of UTC
575
  * Fixed BufferHandler not being flushed properly on PHP fatal errors
576
  * Fixed normalization of exotic resource types
577
  * Fixed the default format of the SyslogHandler to avoid duplicating datetimes in syslog
578
 
579
### 1.1.0 (2012-04-23)
580
 
581
  * Added Monolog\Logger::isHandling() to check if a handler will
582
    handle the given log level
583
  * Added ChromePHPHandler
584
  * Added MongoDBHandler
585
  * Added GelfHandler (for use with Graylog2 servers)
586
  * Added SocketHandler (for use with syslog-ng for example)
587
  * Added NormalizerFormatter
588
  * Added the possibility to change the activation strategy of the FingersCrossedHandler
589
  * Added possibility to show microseconds in logs
590
  * Added `server` and `referer` to WebProcessor output
591
 
592
### 1.0.2 (2011-10-24)
593
 
594
  * Fixed bug in IE with large response headers and FirePHPHandler
595
 
596
### 1.0.1 (2011-08-25)
597
 
598
  * Added MemoryPeakUsageProcessor and MemoryUsageProcessor
599
  * Added Monolog\Logger::getName() to get a logger's channel name
600
 
601
### 1.0.0 (2011-07-06)
602
 
603
  * Added IntrospectionProcessor to get info from where the logger was called
604
  * Fixed WebProcessor in CLI
605
 
606
### 1.0.0-RC1 (2011-07-01)
607
 
608
  * Initial release