|
1 | 1 | UPGRADE FROM 6.3 to 6.4
|
2 | 2 | =======================
|
3 | 3 |
|
| 4 | +Symfony 6.4 and Symfony 7.0 are released simultaneously at the end of November 2023. According to the Symfony |
| 5 | +release process, both versions have the same features, but Symfony 6.4 doesn't include any significant backwards |
| 6 | +compatibility changes. |
| 7 | +Minor backwards compatibility breaks are prefixed in this document with `[BC BREAK]`, make sure your code is compatible |
| 8 | +with these entries before upgrading. Read more about this in the [Symfony documentation](https://symfony.com/doc/6.4/setup/upgrade_minor.html). |
| 9 | + |
| 10 | +Furthermore, Symfony 6.4 comes with a set of deprecation notices to help you prepare your code for Symfony 7.0. For the |
| 11 | +full set of deprecations, see the `UPGRADE-7.0.md` file on the [7.0 branch](https://github.com/symfony/symfony/blob/7.0/UPGRADE-7.0.md). |
| 12 | + |
| 13 | +Table of Contents |
| 14 | +----------------- |
| 15 | + |
| 16 | +Bundles |
| 17 | +* [FrameworkBundle](#FrameworkBundle) |
| 18 | +* [SecurityBundle](#SecurityBundle) |
| 19 | + |
| 20 | +Bridges |
| 21 | +* [DoctrineBridge](#DoctrineBridge) |
| 22 | +* [MonologBridge](#MonologBridge) |
| 23 | +* [PsrHttpMessageBridge](#PsrHttpMessageBridge) |
| 24 | + |
| 25 | +Components |
| 26 | +* [BrowserKit](#BrowserKit) |
| 27 | +* [Cache](#Cache) |
| 28 | +* [DependencyInjection](#DependencyInjection) |
| 29 | +* [DomCrawler](#DomCrawler) |
| 30 | +* [ErrorHandler](#ErrorHandler) |
| 31 | +* [Form](#Form) |
| 32 | +* [HttpFoundation](#HttpFoundation) |
| 33 | +* [HttpKernel](#HttpKernel) |
| 34 | +* [Messenger](#Messenger) |
| 35 | +* [RateLimiter](#RateLimiter) |
| 36 | +* [Routing](#Routing) |
| 37 | +* [Security](#Security) |
| 38 | +* [Serializer](#Serializer) |
| 39 | +* [Templating](#Templating) |
| 40 | +* [Validator](#Validator) |
| 41 | +* [Workflow](#Workflow) |
| 42 | + |
4 | 43 | BrowserKit
|
5 | 44 | ----------
|
6 | 45 |
|
@@ -85,15 +124,19 @@ FrameworkBundle
|
85 | 124 | * [BC break] Add native return type to `Translator` and to `Application::reset()`
|
86 | 125 | * Deprecate the integration of Doctrine annotations, either uninstall the `doctrine/annotations` package or disable
|
87 | 126 | the integration by setting `framework.annotations` to `false`
|
88 |
| - * Deprecate not setting the `framework.handle_all_throwables` config option; it will default to `true` in 7.0 |
89 |
| - * Deprecate not setting the `framework.php_errors.log` config option; it will default to `true` in 7.0 |
90 |
| - * Deprecate not setting the `framework.session.cookie_secure` config option; it will default to `auto` in 7.0 |
91 |
| - * Deprecate not setting the `framework.session.cookie_samesite` config option; it will default to `lax` in 7.0 |
92 |
| - * Deprecate not setting either `framework.session.handler_id` or `save_path` config options; `handler_id` will |
93 |
| - default to null in 7.0 if `save_path` is not set and to `session.handler.native_file` otherwise |
94 |
| - * Deprecate not setting the `framework.uid.default_uuid_version` config option; it will default to `7` in 7.0 |
95 |
| - * Deprecate not setting the `framework.uid.time_based_uuid_version` config option; it will default to `7` in 7.0 |
96 |
| - * Deprecate not setting the `framework.validation.email_validation_mode` config option; it will default to `html5` in 7.0 |
| 127 | + * Deprecate not setting some config options, their defaults will change in Symfony 7.0: |
| 128 | + |
| 129 | + | option | default Symfony <7.0 | default in Symfony 7.0+ | |
| 130 | + | -------------------------------------------- | -------------------------- | --------------------------------------------------------------------------- | |
| 131 | + | `framework.http_method_override` | `true` | `false` | |
| 132 | + | `framework.handle_all_throwables` | `false` | `true` | |
| 133 | + | `framework.php_errors.log` | `'%kernel.debug%'` | `true` | |
| 134 | + | `framework.session.cookie_secure` | `false` | `'auto'` | |
| 135 | + | `framework.session.cookie_samesite` | `null` | `'lax'` | |
| 136 | + | `framework.session.handler_id` | `'session.handler.native'` | `null` if `save_path` is not set, `'session.handler.native_file'` otherwise | |
| 137 | + | `framework.uid.default_uuid_version` | `6` | `7` | |
| 138 | + | `framework.uid.time_based_uuid_version` | `6` | `7` | |
| 139 | + | `framework.validation.email_validation_mode` | `'loose'` | `'html5'` | |
97 | 140 | * Deprecate `framework.validation.enable_annotations`, use `framework.validation.enable_attributes` instead
|
98 | 141 | * Deprecate `framework.serializer.enable_annotations`, use `framework.serializer.enable_attributes` instead
|
99 | 142 |
|
@@ -124,7 +167,7 @@ MonologBridge
|
124 | 167 | PsrHttpMessageBridge
|
125 | 168 | --------------------
|
126 | 169 |
|
127 |
| - * Remove `ArgumentValueResolverInterface` from `PsrServerRequestResolver` |
| 170 | + * [BC break] `PsrServerRequestResolver` no longer implements `ArgumentValueResolverInterface` |
128 | 171 |
|
129 | 172 | RateLimiter
|
130 | 173 | -----------
|
|
0 commit comments