This week Symfony continued polishing the new features and fixing bugs in preparation of the Symfony 3.2 release at the end of the next month: PhpUnitBridge dropped the ErrorAssert utility in favor of PHPUnit @expectedDeprecation annotation, the Serializer component added support to specify the date format in DateTimeNormalizer::denormalize and the Validator component allowed validating multiple groups in one GroupSequence step.

Symfony development highlights

2.7 changelog:

  • ef48f59, 122ac67: [Twig] removed deprecations added in Twig 1.27
  • 8dee4be, 17757d8: [DomCrawler] allowed pipe (|) character in link tags when using Xpath expressions
  • 0e8b2a3: [HttpKernel] fixed source links with latests Twig versions
  • 8974d77: [TwigBridge] used non-deprecated Twig_Node::getTemplateLine()
  • d5d84f6: [DependencyInjection] trim constant values in XmlFileLoader

2.8 changelog:

  • a67242f: [PhpUnitBridge] drop ErrorAssert in favor of @expectedDeprecation

3.1 changelog:

  • aa75adf: [HttpKernel] fixed a regression in the RequestDataCollector

Master changelog:

  • 0ea0958: [Serializer] support specifying format for DateTimeNormalizer::denormalize
  • 9fc7306: [ExpressionLanguage] made cache PSR6 compliant
  • 6a1667d: [Validator] allow validating multiple groups in one GroupSequence step
  • 650f6d1: [Form] changed FormTypeGuesserChain to accept Traversable
  • 2a14cf2: [DependencyInjection] fixed FactoryReturnTypePass position in PassConfig
  • 923aaad: [Console] renamed Command::private to Command::hidden

Newest issues and pull requests

Twig development highlights

Master changelog:

  • 1fe5e9b: deprecated Parser::getFilename()
  • e292ab0: deprecated Twig_Error::getTemplateFile() and Twig_Error::setTemplateFile()
  • 1b7b147: added Twig_Source to hold information about the original template
  • 73e2c68: deprecated Twig_Template::getSource() in favor of Twig_Template::getSourceContext()
  • 801902e: renamed Twig_Node::getName to getTemplateName and Twig_Node::getFile to getTemplateLine
  • 39d94df: renamed Twig_Node::getLine() to Twig_Node::getTemplateLine()
  • fbf1391: fixed the filesystem loader with relative paths
  • e98816c: made getSourceContext a requirement for any loader

They talked about us

Published in #A week of symfony