From 0062fff305231aef82b1189236dec8287b654791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Thu, 2 Apr 2026 18:50:37 +0200 Subject: [PATCH 1/4] Add PHP 8.5 to CI workflow matrix --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f3f9639b..caed5338 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '8.1', '8.2', '8.3', '8.4' ] + php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ] monolog: [ '2.*' ] symfony: [ false ] extensions: [ '' ] @@ -24,10 +24,10 @@ jobs: - php: '8.1' monolog: '3.*' symfony: '6.4.*' - - php: '8.4' + - php: '8.5' deps: highest monolog: '3.*' - - php: '8.4' + - php: '8.5' extensions: mongodb env: From 1c0a809d42667b8c30598412bf34f1bbfbc93d84 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 27 Feb 2026 22:51:36 +0100 Subject: [PATCH 2/4] Add missing target to named autowiring alias --- src/DependencyInjection/Compiler/LoggerChannelPass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DependencyInjection/Compiler/LoggerChannelPass.php b/src/DependencyInjection/Compiler/LoggerChannelPass.php index 518b4046..dbb74333 100644 --- a/src/DependencyInjection/Compiler/LoggerChannelPass.php +++ b/src/DependencyInjection/Compiler/LoggerChannelPass.php @@ -143,7 +143,7 @@ protected function createLogger(string $channel, string $loggerId, ContainerBuil $this->channels[] = $channel; } - $container->registerAliasForArgument($loggerId, LoggerInterface::class, $channel.'.logger'); + $container->registerAliasForArgument($loggerId, LoggerInterface::class, $channel.'.logger', $channel); } /** From 9bceb15b9a82f28489d8b47116a19768b0ecddde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Mon, 8 Dec 2025 20:29:36 +0100 Subject: [PATCH 3/4] Add info to the `monolog.channels` config --- src/DependencyInjection/Configuration.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 36e8d007..90dcb44e 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -416,6 +416,7 @@ public function getConfigTreeBuilder(): TreeBuilder ->children() ->scalarNode('use_microseconds')->defaultTrue()->end() ->arrayNode('channels') + ->info('List of additional channels to create. The "app" channel is already created by default. Channels are also automatically created for services using the "monolog.logger" DI tag with a custom channel attribute.') ->canBeUnset() ->prototype('scalar')->end() ->end() From d87468010570b2ec766152184918ee8d267c7411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Thu, 2 Apr 2026 20:23:01 +0200 Subject: [PATCH 4/4] Update changelog for 3.11.2 --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18c0dda3..0f453ece 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Unreleased +## 3.11.2 (2026-04-02) + +* Add missing target to named autowiring alias + ## 3.11.1 (2025-12-09) * Fix `rollbar` handler to use `RollbarLogger` with Monolog 2+