Symfony 7.2 is a minor release. According to the Symfony release process, there should be no significant
backward compatibility breaks. Minor backward compatibility breaks are prefixed in this document with
[BC BREAK]
, make sure your code is compatible with these entries before upgrading.
Read more about this in the Symfony documentation.
If you're upgrading from a version below 7.1, follow the 7.1 upgrade guide first.
- Deprecate argument
$secret
ofRememberMeToken
andRememberMeAuthenticator
truncate
method now also acceptTruncateMode
enum instead of a boolean:TruncateMode::Char
is equivalent totrue
value ;TruncateMode::WordAfter
is equivalent tofalse
value ;TruncateMode::Word
is a new mode that will cut the sentence on the last word before the limit is reached.
- Deprecate parsing duplicate mapping keys whose value is
null