Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

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