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.
igbinary_serialize()
is not used by default when the igbinary extension is installed- Deprecate making
cache.app
adapter taggable, use thecache.app.taggable
adapter instead
- Deprecate
!tagged
tag, use!tagged_iterator
instead
- Deprecate the
VersionAwareTest
trait, use feature detection instead
- [BC BREAK] The
secrets:decrypt-to-local
command terminates with a non-zero exit code when a secret could not be read
- Add methods for
saslBind()
andwhoami()
toConnectionInterface
andLdapInterface
- Add
getRetryDelay()
method toRecoverableExceptionInterface
- Add
$token
argument toUserCheckerInterface::checkPostAuth()
- Deprecate argument
$secret
ofRememberMeToken
andRememberMeAuthenticator
- Deprecate passing an empty string as
$userIdentifier
argument toUserBadge
constructor - Deprecate returning an empty string in
UserInterface::getUserIdentifier()
- Deprecate the
csv_escape_char
context option ofCsvEncoder
and theCsvEncoder::ESCAPE_CHAR_KEY
constant - Deprecate
CsvEncoderContextBuilder::withEscapeChar()
method
truncate
method now also acceptTruncateMode
enum instead of a boolean:TruncateMode::Char
is equivalent totrue
value ;TruncateMode::WordAfter
is equivalent tofalse
value ;TruncateMode::WordBefore
is a new mode that will cut the sentence on the last word before the limit is reached.
- Deprecate passing an escape character to
CsvFileLoader::setCsvControl()
- Deprecate passing a tag to the constructor of
FormThemeNode
- Deprecate parsing duplicate mapping keys whose value is
null