This week Symfony worked on adding new features to the upcoming 4.1 version, such as priority for Twig extensions, a CSV processor for environment variables, and support for invokable event listeners. In addition, we introduced a surprisingly simple performance optimization for the container compilation.

Symfony development highlights

2.7 changelog:

  • 06ef68f: [HttpFoundation] fixed Request::__toString ignoring cookies
  • 6c16252: [Security] fixed fatal error on non string username
  • 01de7ad: [Router] skip anonymous classes when loading annotated routes
  • e6e235b: [Form] disallow transform dates beyond the year 9999
  • 132cec4: [Config] enableable ArrayNodeDefinition is disabled for empty configuration
  • 3a8f905: [TwigBundle] fixed a bug where the dump() function depended on bundle ordering
  • 78a8a63: [Debug] always decorate existing exception handlers to deal with fatal errors
  • 8e8ee09: [SecurityBundle] don't register in memory users as services

3.3 changelog:

  • 663f3f0: [Routing] don't build routes more than once
  • 65b48b5: [Serializer] DateTimeNormalizer handling of null and empty values (returning it instead of new object)
  • 6d08d7f: [Cache] fixed handling of apcu_fetch() edgy behavior
  • bccab35: [DependencyInjection] optimized the performance of container compilation

3.4 changelog:

  • 069236e: [Console] add placeholder for line number in console exception fixtures
  • f3ac9f5: [FrameworkBundle] auto-enable CSRF if the component and the session are loaded
  • de95a37: [TwigBridge] pass the form-check-inline in parent
  • 372bc1a: [Form] avoid button label translation when it's set to false
  • 6df7d83: [OptionsResolver] fixed options resolver with array allowed types

Master changelog:

  • 26e21d1: [Form] allow to define custom false values to BooleanToString transformer
  • 49f8b73: [TwigBundle] added priority to twig extensions
  • d94fbce: [DependencyInjection] add a simple CSV env var processor
  • d6c05cc: [DependencyInjection] added support for invokable event listeners
  • 0a56a37: [WebProfilerBundle] display orphaned events in profiler
  • 2aa54b8: [Serializer] added default_constructor_arguments context option for denormalization

Newest issues and pull requests

They talked about us

Published in #A week of symfony