From dfb9de48d99cc6d2286c7abb767f4a72a078f762 Mon Sep 17 00:00:00 2001 From: Thomas Calvet Date: Tue, 7 Dec 2021 17:35:17 +0100 Subject: [PATCH] Fix UPGRADE files for framework.messenger.reset_on_message option --- UPGRADE-5.4.md | 4 ++-- UPGRADE-6.0.md | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/UPGRADE-5.4.md b/UPGRADE-5.4.md index 2f5ca06682..d7492d23f3 100644 --- a/UPGRADE-5.4.md +++ b/UPGRADE-5.4.md @@ -38,6 +38,7 @@ FrameworkBundle * Deprecate `get()`, `has()`, `getDoctrine()`, and `dispatchMessage()` in `AbstractController`, use method/constructor injection instead * Deprecate the `cache.adapter.doctrine` service: The Doctrine Cache library is deprecated. Either switch to Symfony Cache or use the PSR-6 adapters provided by Doctrine Cache. * In `framework.cache` configuration, using `cache.adapter.pdo` adapter with a Doctrine DBAL connection is deprecated, use `cache.adapter.doctrine_dbal` instead. + * Deprecate not setting the `framework.messenger.reset_on_message` config option, its default value will change to `true` in 6.0 HttpKernel ---------- @@ -62,13 +63,12 @@ Messenger * Deprecate not setting the `delete_after_ack` config option (or DSN parameter) using the Redis transport, its default value will change to `true` in 6.0 - * Deprecate not setting the `reset_on_message` config option, its default value will change to `true` in 6.0 Monolog ------- * Deprecate `ResetLoggersWorkerSubscriber` to reset buffered logs in messenger - workers, use "reset_on_message" option in messenger configuration instead. + workers, use `framework.messenger.reset_on_message` option in FrameworkBundle messenger configuration instead. SecurityBundle -------------- diff --git a/UPGRADE-6.0.md b/UPGRADE-6.0.md index 18c46c0b55..347263738c 100644 --- a/UPGRADE-6.0.md +++ b/UPGRADE-6.0.md @@ -172,7 +172,6 @@ Messenger * Removed the `prefetch_count` parameter in the AMQP bridge. * Removed the use of TLS option for Redis Bridge, use `rediss://127.0.0.1` instead of `redis://127.0.0.1?tls=1` * The `delete_after_ack` config option of the Redis transport now defaults to `true` - * The `reset_on_message` config option now defaults to `true` Mime ----