8000 minor #52067 Proofread UPGRADE guide (wouterj) · symfony/symfony@569573a · GitHub
[go: up one dir, main page]

Skip to content

Commit 569573a

Browse files
committed
minor #52067 Proofread UPGRADE guide (wouterj)
This PR was merged into the 6.4 branch. Discussion ---------- Proofread UPGRADE guide | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT Backports some UPGRADE improvements from #52066 to the 6.4 guide Commits ------- 77c2390 Proofread UPGRADE guide
2 parents f13a4b1 + 77c2390 commit 569573a

File tree

2 files changed

+55
-12
lines changed

2 files changed

+55
-12
lines changed

UPGRADE-6.4.md

Lines changed: 53 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,45 @@
11
UPGRADE FROM 6.3 to 6.4
22
=======================
33

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+
443
BrowserKit
544
----------
645

@@ -85,15 +124,19 @@ FrameworkBundle
85124
* [BC break] Add native return type to `Translator` and to `Application::reset()`
86125
* Deprecate the integration of Doctrine annotations, either uninstall the `doctrine/annotations` package or disable
87126
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'` |
97140
* Deprecate `framework.validation.enable_annotations`, use `framework.validation.enable_attributes` instead
98141
* Deprecate `framework.serializer.enable_annotations`, use `framework.serializer.enable_attributes` instead
99142

@@ -124,7 +167,7 @@ MonologBridge
124167
PsrHttpMessageBridge
125168
--------------------
126169

127-
* Remove `ArgumentValueResolverInterface` from `PsrServerRequestResolver`
170+
* [BC break] `PsrServerRequestResolver` no longer implements `ArgumentValueResolverInterface`
128171

129172
RateLimiter
130173
-----------

UPGRADE-7.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
UPGRADE FROM 6.4 to 7.0
22
=======================
33

4-
Symfony 6.4 and Symfony 7.0 will be released simultaneously at the end of November 2023. According to the Symfony
5-
release process, both versions will have the same features, but Symfony 7.0 won't include any deprecated features.
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 7.0 doesn't include any deprecated features.
66
To upgrade, make sure to resolve all deprecation notices.
77

88
This file will be updated on the [7.0 branch](https://github.com/symfony/symfony/blob/7.0/UPGRADE-7.0.md) for each

0 commit comments

Comments
 (0)
0