This week, the upcoming Symfony 4.3 version added a new isFormValid() shortcut for controllers, introduced a new theme option for dump() contents and simplified form theming with a new block_prefix form field option.

Symfony development highlights

This week, 58 pull requests were merged (40 in code and 18 in docs) and 30 issues were closed (25 in code and 5 in docs). Excluding merges, 36 authors made 1,550 additions and 1,294 deletions. See details for code and docs.

3.4 changelog:

  • 5c71d7b: [Console] added specific replacement for help text in single command applications
  • c573cfb: [Intl] handle null date and time types
  • 44bb346: [Form] do not ignore the choice groups for caching
  • b645c07: [Console] ensure final input of CommandTester works with default
  • 482f49a: [HttpKernel] correctly Render Signed URIs Containing Fragments
  • e38b5d2: [HttpFoundation] fixed request uri when it starts with double slashes
  • 0a3d3d4: [DependencyInjection] fixed wrong factory method in exception

4.2 changelog:

  • 4f31408: [SecurityBundle] fixed traceable voters
  • 1fafdaf: [Lock] fixed lock test random failure
  • 113ba10: [VarExporter] fixed exporting array indexes
  • 42ac8af: [HttpFoundation] fixed erasing cookies issue
  • 816f06a: replaced slave and master by replica and primary

Master changelog:

  • c4d6d15: [PHPUnit bridge] bump PHP version of PHPUnit-bridge
  • 23cdc73: [Serializer] CsvEncoder no header option
  • c7d6bda: [Validator] improved choices constraint
  • 2ce6a34: [HttpKernel] increased priority of AddRequestFormatsListener
  • 556a920: [HttpKernel] set the default locale early
  • 10b3d00: [FrameworkBundle] added ControllerTrait::isFormValid
  • 9634a8f: [DebugBundle] added 'theme' option to change the color of dump() when rendered inside templates
  • 743b52f: [Validator] improved BIC + IBAN validator for some special cases
  • b948d5a: [Form] added new block_prefix option for an easy form theming
  • 2fcb367: [Profiler] still show locale and fallback locale even if no trans used
  • 5053bfe: [Validator] added tests in regex validator for objects with __toString method
  • 5c2cee5: [Debug] detect virtual methods using @method

Newest issues and pull requests

They talked about us

Upcoming Symfony Events

Call to Action

Published in #A week of symfony