diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 00000000..46e6e8de --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,3 @@ +I am using Monolog version 1|2 + +... the problem/suggestion/question here ... diff --git a/.php_cs b/.php_cs index 8d8b2b5d..6fc3ca2e 100644 --- a/.php_cs +++ b/.php_cs @@ -13,12 +13,6 @@ $finder = PhpCsFixer\Finder::create() ->files() ->name('*.php') ->exclude('Fixtures') - // The next 4 files are here for forward compatibility, and are not used by - // Monolog itself - ->exclude(__DIR__.'src/Monolog/Handler/FormattableHandlerInterface.php') - ->exclude(__DIR__.'src/Monolog/Handler/FormattableHandlerTrait.php') - ->exclude(__DIR__.'src/Monolog/Handler/ProcessableHandlerInterface.php') - ->exclude(__DIR__.'src/Monolog/Handler/ProcessableHandlerTrait.php') ->in(__DIR__.'/src') ->in(__DIR__.'/tests') ; diff --git a/CHANGELOG.md b/CHANGELOG.md index 3005e384..557f7b41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +### 2.0.1 (xx) + + * Fixed ChromePHPHandler to avoid sending more data than latest Chrome versions allow in headers (4KB down from 256KB). + * Fixed type error in BrowserConsoleHandler when the context array of log records was not associative. + ### 2.0.0 (2019-08-30) * BC Break: This is a major release, see [UPGRADE.md](UPGRADE.md) for details if you are coming from a 1.x release @@ -47,16 +52,18 @@ * Added support for the PHP 7.x `mongodb` extension in the MongoDBHandler * Fixed many minor issues in various handlers, and probably added a few regressions too -### 1.25.0 (xx) +### 1.25.0 (2019-09-06) * 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). ### 1.24.0 (2018-11-05) diff --git a/composer.json b/composer.json index 2f87c391..21d80648 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,7 @@ }, "scripts": { "test": [ - "parallel-lint . --exclude vendor --exclude src/Monolog/Handler/FormattableHandlerInterface.php --exclude src/Monolog/Handler/FormattableHandlerTrait.php --exclude src/Monolog/Handler/ProcessableHandlerInterface.php --exclude src/Monolog/Handler/ProcessableHandlerTrait.php", + "parallel-lint . --exclude vendor", "phpunit" ] },