This week, Symfony 4.0 was released. This is not just a new major Symfony version, it's an entirely re-imagined and simplified developer experience. In addition, Symfony 3.4 was released, which is a long term support version (bugs fixed until November 2020). Lastly, the Symfony diversity initiative got a boost with the appointment of Lukas Kahwe Smith as the leader of this important initiative.

Symfony development highlights

2.7 changelog:

  • e2c608a: [HttpFoundation] AutoExpireFlashBag should not clear new flashes
  • 5a6e2d7: [Validator] ExpressionValidator should use OBJECT_TO_STRING

3.3 changelog:

  • b568e16: [FrameworkBundle] removed YamlEncoder definition if Yaml component isn't installed
  • 020d78a: [Serializer] do not cache attributes if attributes in context
  • 85223d3: [DependencyInjection] fixed infinite loop in InlineServiceDefinitionsPass
  • 0d433cd: [HttpKernel] removed upgrade instructions for kernel.root_dir
  • 8c5eead: [Dotenv] changed preg_match flags from null to 0
  • 26fb4c7: [HttpKernel] arrays with scalar values passed to ESI fragment renderer throw deprecation notice
  • 3366008: [VarDumper] don't use empty() because it chokes on eg GMP objects

3.4 changelog:

  • 4cfd2d9: [HttpKernel] Don't override existing verbosity env var
  • a19d1e5: [DependencyInjection] prevent a ReflectionException during cache:clear when the parent class doesn't exist
  • 34b0eca: [HttpKernel] better handling of legacy cache
  • 1f14f4d: [HttpKernel] keep legacy container files for concurrent requests
  • 85223d3: [DependencyInjection] fixed infinite loop in InlineServiceDefinitionsPass
  • 5cb6c93: [HttpKernel] fixed race condition when clearing old containers
  • ad3ddeb: [DependencyInjection] clear service reference graph
  • d90a3b5: [DependencyInjection] fixed circular reference when using setters
  • ae37c7a: [HttpKernel] added a better error messages when passing a private or non-tagged controller
  • 679eebb: [HttpFoundation] added Session::isEmpty() and fix MockFileSessionStorage to behave like the native one
  • dccc5cc: [DependencyInjection] fixed false-positive circular exception
  • 9401afd: [DependencyInjection] added missing deprecation when fetching private services from ContainerBuilder
  • 9f1acc1: [DependencyInjection] trigger deprecation when setting a to-be-private synthetic service

Master changelog:

  • 2edb7fa: [WebProfilerBundle] expose dotenv variables in the profiler
  • a603ba0: [Routing] allow to set name prefixes from the configuration

Newest issues and pull requests

They talked about us

Published in #A week of symfony