This week, Symfony 2.7.4 maintenance version was released. In addition, Silex 1.3.3 was released to add compatibility with Symfony versions from 2.3 to 3.0. Lastly, Twig showed an impressive development activity and introduced features such as inlining the original source code in the compiled templates.

Symfony2 development highlights

2.3 changelog:

  • 7802345: [Console] dispatch console.terminate after console.exception
  • 4b45bb9: [HttpKernel] made kernel version constants integers to actually be comparable numerically
  • 3849cd8, b95b5e2: [DependencyInjection] improved exceptions when parsing malformed files
  • 53cdb1a: [WebProfilerBundle] added tabindex=-1 to not interfer with normal UX
  • 2b36ac5: [Config] fixed that two DirectoryResources with different patterns would be deduplicated

2.7 changelog:

  • 4114a2b: [ExpressionLanguage] fixed expressions cache key generation
  • 36e09da: [FrameworkBundle] fixed the injection of the container in invokable controllers
  • cade651: [Translator] fixed missing cache file generation
  • 92e50a3: [HttpKernel] fixed DumpDataCollector compat with Twig 2.0

2.8 changelog:

  • 17e00b9: [WebProfilerBundle] deprecated import/export commands
  • 4d1d277: [Debug] added ExceptionHandler::getHtml() to expose the full HTML of an exception
  • 4253824: removed some Form deprecation notices
  • 84ba05b: [HttpKernel] moved required RequestStack args as first arguments
  • e42adf7: removed wrong deprecation triggers for forms in the DI extension
  • bfdc354: [Translation] added option flags to JsonFileDumper

Master changelog:

  • 51b6d74: [HttpKernel] fixed RequestStack argument position and deprecated behavior
  • 273b048: [Translator] removed deprecated DiffOperation class

Newest issues and pull requests

Twig development highlights

Master changelog:

  • c9fb373, 7e666cb: inlined original source code in compiled templates
  • 33917e8: removed code that supports obsolete versions of PHP
  • de86850: added $template->getSource()
  • 04cc7e4: implemented one and only filesystem cache
  • cacfb06: added a cache interface for templates
  • f1e963c: fixed the profiler duration for the root node
  • 550a384: added enabled extension names in the generated template class names
  • 0157315: deprecated Twig_Environment::getTemplateClassPrefix
  • c2e75ff: changed the arguments of generateKey

Silex development highlights

Master changelog:

  • 1cc87a3: added symfony/phpunit to catch deprecation notices
  • cb46028: removed deprecated method call in the exception handler
  • 780ab69: fixed some Form deprecations
  • dc97b3a: allowed Symfony 3.0
  • 5aa1796: allowed Twig 2.0
  • 83d9004: decoupled the exception handler from HttpKernelServiceProvider

They talked about us

Published in #A week of symfony