Symfony News

A week of symfony #543 (22-28 May 2017)

This week, Symfony 3.3 continued merging bug fixes and minor tweaks in preparation for its final release next week. Meanwhile, the upcoming Symfony 4 version continued dropping deprecated features and code no longer needed in PHP 7.1. Lastly, Twig announced the introduction of PHP namespaces for their next versions without breaking the existing applications (PSR-0 class names will still be valid).

Symfony development highlights

2.7 changelog:

  • 657f7ec: [Form] removed DateTimeToStringTransformer $parseUsingPipe option
  • 966f387: [DependencyInjection] fixed missing abstract key in XmlDumper
  • 1d1d997: [Console] fixed different behaviour of key and value user inputs in multiple choice question

3.2 changelog:

  • 69583b2: [DependencyInjection] check for private services before shared services
  • c134304: [DependencyInjection] avoid private call to Container::has()
  • ec46891: [Yaml] fixed colon without space deprecation

3.3 changelog:

  • 40b1733: [DependencyInjection] removed dead service_container checks
  • 82ec56b: [Process] fixed escaping arguments on Windows when inheritEnvironmentVariables is set to false
  • 222325f: use getProjectDir() when possible
  • bca7b41: [SecurityBundle] prevent auto-registration of UserPasswordEncoderCommand
  • 2f4dea5: [DependencyInjection] fixed autowire error for inlined services
  • 4a76669: [FrameworkBundle, Validator] deprecated passing validator instances/aliases over using the service locator
  • 047a06e: [Yaml] fixed multiline block handling
  • 879c912: [DependencyInjection] added missing deprecation on Extension::getClassesToCompile
  • 4e95aac: [HttpKernel] don't call getTrustedHeaderName() if possible
  • 1eac150: [Yaml] parse PHP constants in mapping keys
  • fa93ff1: [HttpFoundation] added Request::HEADER_X_FORWARDED_AWS_ELB constant
  • 26afd2c: [HttpKernel] fixed kernel.project_dir extensibility
  • cf60f6d: [FrameworkBundle, Validator] moved the PSR-11 factory to the component
  • c69c539: [FrameworkBundle] only override getProjectDir if it exists in the kernel

Master changelog:

  • c09e897: removed PHP < 7.1.3 code
  • 898516a: [PropertyInfo] removed dead code with PHP 7+
  • 3892a95: [DependencyInjection] removed deprecated dumping an uncompiled container
  • 5370a02: [DependencyInjection] removed deprecated generating a dumped container without populating the method map
  • 88cddb8: [DependencyInjection] removed deprecated autowiring_types feature
  • 5f29144: [DependencyInjection] deprecate Container::initialized() for private services
  • a307880: [Lock] re-added the Lock component
  • 3ae491a: [FrameworkBundle] removed deprecated code
  • 044c00e: [ProxyManagerBridge] removed deprecated features
  • c7edc87: [Yaml] removed deprecated features
  • 314fd0b: [PropertyAccess] made internal constants private
  • 8e0d41a: removed PHP<7 leftovers
  • 43d4e5b: removed some more PHP < 7.1.3 code
  • 683b236: allowed using 4.* deps
  • ad2c9f0: [Routing] removed deprecated features
  • d741908: [Translation] removed deprecated features
  • 7263d77: [Console] removed remaining deprecated features
  • 7a279c6: [Serializer] removed remaining deprecated features

Newest issues and pull requests

Twig development highlights

Master changelog:

  • c6bd2df: drop support for HHVM
  • af7120b: mark Twig_Node_Module as final
  • 11eac8a: fixed deprecations related to classes declared as final
  • 460712d, a887fc9: add namespaced aliases

They talked about us


Be trained by Symfony experts - 2017-05-29 Paris - 2017-05-29 Paris - 2017-05-31 Paris


About us

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

Resources

Find us on Twitter

Find us on Facebook