You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 6.4:
[FrameworkBundle] Deprecate not setting both `framework.session.save_path` and `framework.session.handler_id` at the same time
[Translation] add @welcoMattic as codeowner
[FrameworkBundle] Add `AbstractController::renderBlock()` and `renderBlockView()`
[Clock] Add $modifier argument to now() helper
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ CHANGELOG
18
18
6.4
19
19
---
20
20
21
+
* Add `AbstractController::renderBlock()` and `renderBlockView()`
21
22
* Add native return type to `Translator` and to `Application::reset()`
22
23
* Deprecate the integration of Doctrine annotations, either uninstall the `doctrine/annotations` package or disable the integration by setting `framework.annotations` to `false`
23
24
* Enable `json_decode_detailed_errors` context for Serializer by default if `kernel.debug` is true and the `seld/jsonlint` package is installed
@@ -31,6 +32,7 @@ CHANGELOG
31
32
* Deprecate not setting the `framework.session.cookie_secure` config option; it will default to `auto` in 7.0
32
33
* Deprecate not setting the `framework.session.cookie_samesite` config option; it will default to `lax` in 7.0
33
34
* Deprecate not setting the `framework.session.handler_id` config option; it will default to `session.handler.native_file` when `framework.session.save_path` is set or `null` otherwise in 7.0
35
+
* Deprecate not setting the `framework.session.save_path` config option when `framework.session.handler_id` is not set; it will default to `null` in 7.0
34
36
* Deprecate not setting the `framework.uid.default_uuid_version` config option; it will default to `7` in 7.0
35
37
* Deprecate not setting the `framework.uid.time_based_uuid_version` config option; it will default to `7` in 7.0
36
38
* Deprecate not setting the `framework.validation.email_validation_mode` config option; it will default to `html5` in 7.0
thrownew \LogicException('You cannot use the "renderView" method if the Twig Bundle is not available. Try running "composer require symfony/twig-bundle".');
thrownew \LogicException(sprintf('You cannot use the "%s" method if the Twig Bundle is not available. Try running "composer require symfony/twig-bundle".', $method));
Copy file name to clipboardExpand all lines: DependencyInjection/Configuration.php
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -661,11 +661,19 @@ private function addSessionSection(ArrayNodeDefinition $rootNode): void
661
661
}
662
662
663
663
if (!\array_key_exists('handler_id', $v['session'])) {
664
-
trigger_deprecation('symfony/framework-bundle', '6.4', 'Not setting the "framework.session.handler_id" config option is deprecated. It will default to "session.handler.native_file" when "framework.session.save_path" is set or "null" otherwise in 7.0.');
664
+
if (!\array_key_exists('save_path', $v['session'])) {
665
+
trigger_deprecation('symfony/framework-bundle', '6.4', 'Not setting the "framework.session.save_path" config option when the "framework.session.handler_id" config option is not set either is deprecated. Both options will default to "null" in 7.0.');
666
+
} else {
667
+
trigger_deprecation('symfony/framework-bundle', '6.4', 'Not setting the "framework.session.handler_id" config option is deprecated. It will default to "session.handler.native_file" when "framework.session.save_path" is set or "null" otherwise in 7.0.');
0 commit comments