Symfony News

A week of symfony #420 (12-18 January 2015)

This week, Symfony improved the escaping of Yaml boolean variables and the logging of messages with parameters. In addition, Twig support for Symfony applications was improved with fragment renderer lazy-loading, the use of the new autoescaping strategy and the move of global variables and debug:twig command to the Twig Bridge.

Symfony2 development highlights

2.3 changelog:

  • fc51d54: [HttpFoundation] made use of isEmpty() method
  • cb34789: [Debug] fixed loading order for legacy classes
  • 8fa056b, 689cf99, 7fdb07b: [Yaml] inlined private "is quoting required" methods in Escaper and improved YAML boolean escaping
  • 0a50b63: [EventDispatcher] added missing checks to RegisterListenersPass
  • afa1e20: [Console] fixed ArgvInput argument getter with empty tokens
  • 4145836: [Form] improved exception message if the data class is not found

2.5 changelog:

  • 05a4602: [Twig Bridge] exit from LintCommand when Twig environment is not set
  • b0c29a0: [FrameworkBundle] fix routing descriptor for options

2.6 changelog:

  • c6695d1: [VarDumper] fix very special vars handling

2.7 changelog:

  • e620cbf: lazy-load fragment renderers
  • 2be8b6e: [TwigBundle] optimized the hinclude fragement renderer when only Twig is used
  • bd01a29: moved the logic from debug:twig to the Twig bridge
  • 293765a: moved AppVariable to the Twig bridge
  • bc1c5c8: [Routing] applied deprecation triggers and fix tests
  • 969c5d9: [HttpKernel] fixed missing use cases
  • 55c4b41: [TwigBundle] use the new Twig autoescaping strategy
  • ec6793c: [TwigBundle] added some missing deprecation notices

Master changelog:

  • ee42544: [Form] removed notices for some constants as it does not work well
  • c8f1f19: [HttpKernel] added request uri to Logger context
  • ea80c9b: improved logging messages with parameters
  • fbcc574: [FrameworkBundle] removed usage of deprecated Definition::setFactoryClass(), Definition::setFactoryService() and Definition::setFactoryMethod() methods
  • 31aad0f: [FrameworkBundle] added deprecated in debug command
  • 505e474: [FrameworkBundle] added support for container parameters in Route#condition

Newest issues and pull requests

Twig development highlights

Master changelog:

  • 4481bf5, 01ab6f3: added an escaping strategy based on the template filename extension

Silex development highlights

Master changelog:

  • 753b09c: removed the port number from the default db options of DoctrineServiceProvider
  • 979e792: improved code coverage of SecurityTrait

They talked about us

Be trained by Symfony experts - 2015-01-26 Berlin - 2015-01-26 Berlin - 2015-01-26 Clichy

About us

What a Symfony developer should know about the framework: News, Jobs, Tweets, Events, Videos,...

Find us on Twitter

Find us on Facebook