This week, Symfony Serializer component added support for handling circular references and DependencyInjection fixed some problems with aliases and circular references. Meanwhile, some interesting proposals were made for future Symfony versions, such as decoupling type validation from constraint validators and removing Blank/NotBlank constraints.

Symfony2 development highlights

2.3 changelog:

  • 264c37a: [FrameworkBundle] improved server:run feedback
  • 91fde69: [Form] no need to add the url listener when it does not do anything
  • 5f8047d: [security] changed priority of switchuser
  • acbde50: [DependencyInjection] break infinite loop while resolving aliases
  • 51312d3: introduced a new code standard to unalign some code elements

2.4 changelog:

  • 957fbb2: [Tests] PHPUnit Optimizations
  • 6020c43, 974bf01, 00c1b75: fixed some volatile tests
  • b63926b: [Finder] escape location for regex searches
  • 902efb8: [HttpKernel] made sure HttpCache is a trusted proxy
  • fab61ef: [Translation] clear libxml errors after parsing XML file
  • 5fbb278: [Finder] avoid question mark and asterisk in folder names to prevent windows filesystem issues
  • 42ec76e: [HttpFoundation] Response::isNotModified returns true when If-Modified-Since is later than Last-Modified
  • 4780210: [Form] added a form error if postmaxsize has been reached
  • 759ae1a: [Form] moved POSTMAXSIZE validation from FormValidator to request handler
  • e85cb7f: added the possibility to return null from SimplePreAuthenticationListener
  • 9333395: [Security] fixed createToken() doesn't return TokenInterface object in SimplePreAuthenticationListener
  • 24c5ba4: [TwigBundle] use request format from request in twig ExceptionController
  • fd77b09: [Form] fixed ValidatorTypeGuesser to guess properties without constraints not to be required

2.5 changelog:

  • 5839832: [Form] fixed usage of "name" variable in form_start block
  • b712ac1: [PropertyAccess] simplified code

Master changelog:

  • a05379e: [Serializer] handle circular references
  • bef48b3: [VarDumper] add meta-data on hover
  • 642c119: [OptionsResolver] merged Options class into OptionsResolver
  • 5af0f89: [EventDispatcher] performance optimization
  • ac8efd9: [HttpKernel] fixed DebugHandlersListener
  • 2a19cd8: ensure that Twig form themes are always a list, not a hashmap
  • 4bd8661: don't translate error messages twice

Newest issues and pull requests

Twig development highlights

Master changelog:

  • 8f617dc: fixed guessing a template info for the TwigErrorLoader exception
  • 5ba4e9c: fixed using of unary operators with default parameters
  • 8dfeda0: fixed "in" operator for resources and strings
  • 435534e: first argument of TwigLoaderArray must be an array

They talked about us

Published in #A week of symfony