From 23e4c157a0b2be34b0747105c416e6a8747518ff Mon Sep 17 00:00:00 2001 From: Dmitry Menshikov Date: Wed, 20 Jul 2022 15:49:36 +0300 Subject: [PATCH] Fatal error usually doesn't contain "file" and "line" fields in a stacktrace. This causes Monolog\Formatter\NormalizerFormatter to return normalized error without "trace" field at all. But code expects it. Fix of this behavior. Check monolog related issue - https://github.com/Seldaek/monolog/issues/1736 --- CHANGELOG.md | 6 ++++++ php.dev.Dockerfile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe2ef0b..9e8b2a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +### 2.0.1 + +- Fatal error usually doesn't contain "file" and "line" fields in a stacktrace. This causes +Monolog\Formatter\NormalizerFormatter to return normalized error without "trace" field at all. But code expects it. +In this version this behavior was fixed. Check monolog related issue - https://github.com/Seldaek/monolog/issues/1736 + ### 2.0.0 - Namespace was changed. Beter\Yii2BeterLogging -> Beter\Yii2\Logging. diff --git a/php.dev.Dockerfile b/php.dev.Dockerfile index bd0687f..7686e27 100644 --- a/php.dev.Dockerfile +++ b/php.dev.Dockerfile @@ -28,7 +28,7 @@ COPY ./deploy/data/php/root/ / RUN set -eux; \ export \ - PACKAGE_VERSION="1.2.2" \ + PACKAGE_VERSION="2.0.1" \ PACKAGE_ARCH_NAME="yii2-beter-logging" \ ; \ export \