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
16
46
Console
17
47
-------
@@ -23,7 +53,27 @@ Console
23
53
DependencyInjection
24
54
-------------------
25
55
26
-
* Deprecate `!tagged` tag, use `!tagged_iterator` instead
56
+
* Deprecate `!tagged` Yaml tag, use `!tagged_iterator` instead
57
+
58
+
*Before*
59
+
```yaml
60
+
services:
61
+
App\Handler:
62
+
tags: ['app.handler']
63
+
64
+
App\HandlerCollection:
65
+
arguments: [!tagged app.handler]
66
+
```
67
+
68
+
*After*
69
+
```yaml
70
+
services:
71
+
App\Handler:
72
+
tags: ['app.handler']
73
+
74
+
App\HandlerCollection:
75
+
arguments: [!tagged_iterator app.handler]
76
+
```
27
77
28
78
Form
29
79
----
@@ -34,7 +84,8 @@ FrameworkBundle
34
84
---------------
35
85
36
86
* [BC BREAK] The `secrets:decrypt-to-local` command terminates with a non-zero exit code when a secret could not be read
37
-
* Deprecate `session.sid_length` and `session.sid_bits_per_character` config options
87
+
* Deprecate making `cache.app` adapter taggable, use the `cache.app.taggable` adapter instead
88
+
* Deprecate `session.sid_length` and `session.sid_bits_per_character` config options, following the deprecation of these options in PHP 8.4.
38
89
39
90
HttpFoundation
40
91
--------------
@@ -44,8 +95,12 @@ HttpFoundation
44
95
Ldap
45
96
----
46
97
47
-
* Add methods for `saslBind()` and `whoami()` to `ConnectionInterface` and `LdapInterface`
48
-
* Deprecate the `sizeLimit` option of `AbstractQuery`
98
+
* Deprecate the `sizeLimit` option of `AbstractQuery`, the option is unused
99
+
100
+
Lock
101
+
----
102
+
103
+
* `RedisStore` uses `EVALSHA` over `EVAL` when evaluating LUA scripts
49
104
50
105
Mailer
51
106
------
@@ -55,11 +110,6 @@ Mailer
55
110
The `testIncompleteDsnException()` test is no longer provided by default. If you make use of it by implementing the `incompleteDsnProvider()` data providers,
56
111
you now need to use the `IncompleteDsnTestTrait`.
57
112
58
-
Messenger
59
-
---------
60
-
61
-
* Add `getRetryDelay()` method to `RecoverableExceptionInterface`
62
-
63
113
Notifier
64
114
--------
65
115
@@ -76,26 +126,17 @@ Routing
76
126
Security
77
127
--------
78
128
79
-
* Add `$token` argument to `UserCheckerInterface::checkPostAuth()`
80
-
* Deprecate argument `$secret` of `RememberMeToken` and `RememberMeAuthenticator`
129
+
* Deprecate argument `$secret` of `RememberMeToken` and `RememberMeAuthenticator`, the argument is unused
81
130
* Deprecate passing an empty string as `$userIdentifier` argument to `UserBadge` constructor
82
131
* Deprecate returning an empty string in `UserInterface::getUserIdentifier()`
83
132
84
133
Serializer
85
134
----------
86
135
87
-
* 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
137
+
and the `CsvEncoderContextBuilder::withEscapeChar()` method, following its deprecation in PHP 8.4
89
138
* Deprecate `AdvancedNameConverterInterface`, use `NameConverterInterface` instead
90
139
91
-
String
92
-
------
93
-
94
-
*`truncate` method now also accept `TruncateMode` enum instead of a boolean:
95
-
*`TruncateMode::Char` is equivalent to `true` value ;
96
-
*`TruncateMode::WordAfter` is equivalent to `false` value ;
97
-
*`TruncateMode::WordBefore` is a new mode that will cut the sentence on the last word before the limit is reached.
98
-
99
140
Translation
100
141
-----------
101
142
@@ -104,7 +145,7 @@ Translation
104
145
The `testIncompleteDsnException()` test is no longer provided by default. If you make use of it by implementing the `incompleteDsnProvider()` data providers,
105
146
you now need to use the `IncompleteDsnTestTrait`.
106
147
107
-
* Deprecate passing an escape character to `CsvFileLoader::setCsvControl()`
148
+
* Deprecate passing an escape character to `CsvFileLoader::setCsvControl()`, following its deprecation in PHP 8.4
108
149
109
150
TwigBridge
110
151
----------
@@ -123,11 +164,9 @@ TypeInfo
123
164
Webhook
124
165
-------
125
166
126
-
*[BC BREAK]`RequestParserInterface::parse()` return type changed from
127
-
`?RemoteEvent` to `RemoteEvent|array<RemoteEvent>|null`. Classes already
128
-
implementing this interface are unaffected but consumers of this method
129
-
will need to be updated to handle the new return type. Projects relying on
130
-
the `WebhookController` of the component are not affected by the BC break
167
+
* [BC BREAK] `RequestParserInterface::parse()` return type changed from `RemoteEvent|null` to `RemoteEvent|array<RemoteEvent>|null`.
168
+
Projects relying on the `WebhookController` of the component are not affected by the BC break. Classes already implementing
169
+
this interface are unaffected. Custom callers of this method will need to be updated to handle the extra array return type.
0 commit comments