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
Copy file name to clipboardExpand all lines: UPGRADE-7.2.md
+67-28Lines changed: 67 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,40 @@ Read more about this in the [Symfony documentation](https://symfony.com/doc/7.2/
8
8
9
9
If you're upgrading from a version below 7.1, follow the [7.1 upgrade guide](UPGRADE-7.1.md) first.
10
10
11
+
Table of Contents
12
+
-----------------
13
+
14
+
Bundles
15
+
16
+
*[FrameworkBundle](#FrameworkBundle)
17
+
18
+
Bridges
19
+
20
+
*[TwigBridge](#TwigBridge)
21
+
22
+
Components
23
+
24
+
*[Cache](#Cache)
25
+
*[Console](#Console)
26
+
*[DependencyInjection](#DependencyInjection)
27
+
*[Form](#Form)
28
+
*[HttpFoundation](#HttpFoundation)
29
+
*[Ldap](#Ldap)
30
+
*[Lock](#Lock)
31
+
*[Mailer](#Mailer)
32
+
*[Notifier](#Notifier)
33
+
*[Routing](#Routing)
34
+
*[Security](#Security)
35
+
*[Serializer](#Serializer)
36
+
*[Translation](#Translation)
37
+
*[Webhook](#Webhook)
38
+
*[Yaml](#Yaml)
39
+
11
40
Cache
12
41
-----
13
42
14
-
*`igbinary_serialize()` is not used by default when the igbinary extension is installed
43
+
*`igbinary_serialize()` is no longer used instead of `serialize()` when the igbinary extension is installed, due to behavior
44
+
incompatibilities between the two (performance might be impacted)
15
45
* Deprecate making `cache.app` adapter taggable, use the `cache.app.taggable` adapter instead
16
46
17
47
Console
@@ -24,7 +54,27 @@ Console
24
54
DependencyInjection
25
55
-------------------
26
56
27
-
* Deprecate `!tagged` tag, use `!tagged_iterator` instead
57
+
* Deprecate `!tagged` Yaml tag, use `!tagged_iterator` instead
58
+
59
+
*Before*
60
+
```yaml
61
+
services:
62
+
App\Handler:
63
+
tags: ['app.handler']
64
+
65
+
App\HandlerCollection:
66
+
arguments: [!tagged app.handler]
67
+
```
68
+
69
+
*After*
70
+
```yaml
71
+
services:
72
+
App\Handler:
73
+
tags: ['app.handler']
74
+
75
+
App\HandlerCollection:
76
+
arguments: [!tagged_iterator app.handler]
77
+
```
28
78
29
79
Form
30
80
----
@@ -35,7 +85,8 @@ FrameworkBundle
35
85
---------------
36
86
37
87
* [BC BREAK] The `secrets:decrypt-to-local` command terminates with a non-zero exit code when a secret could not be read
38
-
* Deprecate `session.sid_length` and `session.sid_bits_per_character` config options
88
+
* Deprecate making `cache.app` adapter taggable, use the `cache.app.taggable` adapter instead
89
+
* Deprecate `session.sid_length` and `session.sid_bits_per_character` config options, following the deprecation of these options in PHP 8.4.
39
90
40
91
HttpFoundation
41
92
--------------
@@ -45,8 +96,12 @@ HttpFoundation
45
96
Ldap
46
97
----
47
98
48
-
* Add methods for `saslBind()` and `whoami()` to `ConnectionInterface` and `LdapInterface`
49
-
* Deprecate the `sizeLimit` option of `AbstractQuery`
99
+
* Deprecate the `sizeLimit` option of `AbstractQuery`, the option is unused
100
+
101
+
Lock
102
+
----
103
+
104
+
* `RedisStore` uses `EVALSHA` over `EVAL` when evaluating LUA scripts
<
A92E
/td>
50
105
51
106
Mailer
52
107
------
@@ -56,11 +111,6 @@ Mailer
56
111
The `testIncompleteDsnException()` test is no longer provided by default. If you make use of it by implementing the `incompleteDsnProvider()` data providers,
57
112
you now need to use the `IncompleteDsnTestTrait`.
58
113
59
-
Messenger
60
-
---------
61
-
62
-
* Add `getRetryDelay()` method to `RecoverableExceptionInterface`
63
-
64
114
Notifier
65
115
--------
66
116
@@ -77,26 +127,17 @@ Routing
77
127
Security
78
128
--------
79
129
80
-
* Add `$token` argument to `UserCheckerInterface::checkPostAuth()`
81
-
* Deprecate argument `$secret` of `RememberMeToken` and `RememberMeAuthenticator`
130
+
* Deprecate argument `$secret` of `RememberMeToken` and `RememberMeAuthenticator`, the argument is unused
82
131
* Deprecate passing an empty string as `$userIdentifier` argument to `UserBadge` constructor
83
132
* Deprecate returning an empty string in `UserInterface::getUserIdentifier()`
84
133
85
134
Serializer
86
135
----------
87
136
88
-
* Deprecate the `csv_escape_char` context option of `CsvEncoder` and the `CsvEncoder::ESCAPE_CHAR_KEY` constant
* Deprecate the `csv_escape_char` context option of `CsvEncoder`, the `CsvEncoder::ESCAPE_CHAR_KEY` constant
138
+
and the `CsvEncoderContextBuilder::withEscapeChar()` method, following its deprecation in PHP 8.4
90
139
* Deprecate `AdvancedNameConverterInterface`, use `NameConverterInterface` instead
91
140
92
-
String
93
-
------
94
-
95
-
*`truncate` method now also accept `TruncateMode` enum instead of a boolean:
96
-
*`TruncateMode::Char` is equivalent to `true` value ;
97
-
*`TruncateMode::WordAfter` is equivalent to `false` value ;
98
-
*`TruncateMode::WordBefore` is a new mode that will cut the sentence on the last word before the limit is reached.
99
-
100
141
Translation
101
142
-----------
102
143
@@ -105,7 +146,7 @@ Translation
105
146
The `testIncompleteDsnException()` test is no longer provided by default. If you make use of it by implementing the `incompleteDsnProvider()` data providers,
106
147
you now need to use the `IncompleteDsnTestTrait`.
107
148
108
-
* Deprecate passing an escape character to `CsvFileLoader::setCsvControl()`
149
+
* Deprecate passing an escape character to `CsvFileLoader::setCsvControl()`, following its deprecation in PHP 8.4
109
150
110
151
TwigBridge
111
152
----------
@@ -124,11 +165,9 @@ TypeInfo
124
165
Webhook
125
166
-------
126
167
127
-
*[BC BREAK]`RequestParserInterface::parse()` return type changed from
128
-
`?RemoteEvent` to `RemoteEvent|array<RemoteEvent>|null`. Classes already
129
-
implementing this interface are unaffected but consumers of this method
130
-
will need to be updated to handle the new return type. Projects relying on
131
-
the `WebhookController` of the component are not affected by the BC break
168
+
* [BC BREAK] `RequestParserInterface::parse()` return type changed from `RemoteEvent|null` to `RemoteEvent|array<RemoteEvent>|null`.
169
+
Projects relying on the `WebhookController` of the component are not affected by the BC break. Classes already implementing
170
+
this interface are unaffected. Custom callers of this method will need to be updated to handle the extra array return type.
0 commit comments