Skip to content

Latest commit

 

History

History
77 lines (51 loc) · 2.38 KB

UPGRADE-7.2.md

File metadata and controls

77 lines (51 loc) · 2.38 KB

UPGRADE FROM 7.1 to 7.2

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.

Cache

  • igbinary_serialize() is not used by default when the igbinary extension is installed
  • Deprecate making cache.app adapter taggable, use the cache.app.taggable adapter instead

DependencyInjection

  • Deprecate !tagged tag, use !tagged_iterator instead

Form

  • Deprecate the VersionAwareTest trait, use feature detection instead

FrameworkBundle

  • [BC BREAK] The secrets:decrypt-to-local command terminates with a non-zero exit code when a secret could not be read

Ldap

  • Add methods for saslBind() and whoami() to ConnectionInterface and LdapInterface

Messenger

  • Add getRetryDelay() method to RecoverableExceptionInterface

Security

  • Add $token argument to UserCheckerInterface::checkPostAuth()
  • Deprecate argument $secret of RememberMeToken and RememberMeAuthenticator
  • Deprecate passing an empty string as $userIdentifier argument to UserBadge constructor
  • Deprecate returning an empty string in UserInterface::getUserIdentifier()

Serializer

  • Deprecate the csv_escape_char context option of CsvEncoder and the CsvEncoder::ESCAPE_CHAR_KEY constant
  • Deprecate CsvEncoderContextBuilder::withEscapeChar() method

String

  • truncate method now also accept TruncateMode enum instead of a boolean:
    • TruncateMode::Char is equivalent to true value ;
    • TruncateMode::WordAfter is equivalent to false value ;
    • TruncateMode::WordBefore is a new mode that will cut the sentence on the last word before the limit is reached.

Translation

  • Deprecate passing an escape character to CsvFileLoader::setCsvControl()

TwigBridge

  • Deprecate passing a tag to the constructor of FormThemeNode

Yaml

  • Deprecate parsing duplicate mapping keys whose value is null