eZecosystem / Mirror / Symfony Blog / Symfony 4.2.0-BETA2 released

Symfony 4.2.0-BETA2 released

Symfony 4.2.0-BETA2 has just been released. Here is a list of the most important changes:

  • bug #29190 [Debug][HttpKernel] remove frames added by DebugClassLoader in stack traces (@nicolas-grekas)
  • bug #29233 [FrameworkBundle] metadat _updat _threshold default value must be an int (@dunglas)
  • bug #29226 [Messenger] Improved message when handler class does not exist (@neeckeloo)
  • bug #29223 [Validator] Added the missing constraints instance checks (@thomasbisignani)
  • bug #28966 [PropertyAccessor] Fix unable to write to singular property using setter while plural adder/remover exist (@karser)
  • bug #29182 [Form] Fixed empty data for compound date types (@HeahDude)
  • bug #29224 [SecurityBundle] Fix remember-me cookie framework inheritance when session is disabled (@fbourigault)
  • bug #29220 [Translation] make intl+icu format seamless by handling it in MessageCatalogue (@nicolas-grekas)
  • feature #29166 [Messenger] Add handled & sent stamps (@ogizanagi)
  • bug #29209 [VarExporter] fix handling of sleep() (@nicolas-grekas)
  • bug #29196 [Messenger] Fix collecting messages (@ro0NL)
  • bug #29205 [Dotenv] skip loading "local" env twice (@nicolas-grekas)
  • bug #29204 [FrameworkBundle][WebServerBundle] Revert deprecation of --env and --no-debug console options (@chalasr)
  • bug #29191 [Routing] generate(null) should throw an exception (@nicolas-grekas)
  • bug #29199 [FrameworkBundle] conflict with Dotenv <4.2 to simplify recipes (@nicolas-grekas)
  • bug #29197 Revert "bug #29154 [FrameworkBundle] Define AP _ENV/AP _DEBUG from argv via Application::bootstrapEnv() (@nicolas-grekas)
  • bug #29185 [Form] Fixed keeping hash of equal DateTimeInterface on submit (@HeahDude)
  • bug #29183 [HttpKernel] Fix collecting uploaded files (@ro0NL)
  • bug #29141 [Workflow] Fixed bug of buildTransitionBlockerList when many transition are enabled (@Tetragramat, @lyrixx)
  • bug #29137 [Workflow][FrameworkBundle] fixed guard event names for transitions (@destillat, @lyrixx)
  • bug #29184 [WebProfilerBundle] Fix theme settings (@ro0NL)
  • feature #29159 [Messenger] collect all stamps added on Envelope as collections (@nicolas-grekas)
  • bug #29171 [Dotenv] load .env.dist when it exists and .env is not found (@nicolas-grekas)
  • bug #28731 [Form] invalidate forms on transformation failures (@xabbuh)
  • bug #29152 [Config] Unset key during normalization (@ro0NL)
  • bug #29165 [DI] align IniFileLoader to PHP bugfix #76965 (@nicolas-grekas)
  • bug #29154 [FrameworkBundle] Define AP _ENV/AP _DEBUG from argv via Application::bootstrapEnv() (@chalasr)
  • bug #29129 [Dotenv] add loadEnv(), a smoother alternative to loadForEnv() (@nicolas-grekas)
  • bug #29113 [Routing] fix dumping conditions that use the request (@nicolas-grekas)
  • bug #29115 Change butto _widget class to btn-primary (@neFAST)
  • bug #29131 [Dotenv] dont use getenv() to read SYMFON _DOTEN _VARS (@nicolas-grekas)
  • bug #29057 [HttpFoundation] replace any preexisting Content-Type headers (@nicolas-grekas)
  • bug #29076 [Serializer] Allow null values when denormalizing with constructor missing data (@danut007ro)
  • bug #29128 [FrameworkBundle] Cleaning translation commands and fix a bug for --all option (@yceruto)
  • bug #29104 [DI] fix dumping inlined services (@nicolas-grekas)
  • bug #29054 [VarDumper] fix dump of closures created from callables (@nicolas-grekas)
  • bug #29102 [DI] fix GraphvizDumper ignoring inline definitions (@nicolas-grekas)
  • bug #29090 LoggingTranslator should implement SymfonyContractsTranslationTranslatorInterface (@desmax)
  • bug #29095 [TwigBridge] require the needed symfony/contracts package (@xabbuh)
  • bug #29107 [DI] dont track classes/interfaces used to compute autowiring error messages (@nicolas-grekas)
  • bug #29094 Add samesite attribute to session cookie after session migration (@rpkamp)
  • bug #29080 [FrameworkBundle] fix deps (@ro0NL)

Want to upgrade to this new release? Fortunately, because Symfony protects backwards-compatibility very closely, this should be quite easy. Read our upgrade documentation to learn more.

Want to be notified whenever a new Symfony release is published? Or when a version is not maintained anymore? Or only when a security issue is fixed? Consider subscribing to the Symfony Roadmap Notifications.

Be trained by Symfony experts - 2018-11-26 Clichy - 2018-11-26 Clichy - 2018-11-26 Clichy