Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix UPGRADE files for framework.messenger.reset_on_message option #44496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions UPGRADE-5.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------
Expand All @@ -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
--------------
Expand Down
1 change: 0 additions & 1 deletion UPGRADE-6.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
----
Expand Down