Symfony News

A week of symfony #472 (11-17 January 2016)

This week Symfony released four maintenance versions: 2.3.37, 2.6.13, 2.7.9 and 2.8.2. Besides the usual bug fixes, the main change introduced by these versions is the removal of our custom random number generator. Symfony now uses PHP's built-in random_bytes() and random_int() functions and the appropriate polyfill for those applications still using PHP 5.x.

Symfony development highlights

2.3 changelog:

  • 6ebd179: [Doctrine Bridge] added support \IteratorAggregate for UniqueEntityValidator
  • a02bd4b: [FrameworkBundle] fixed error while clearing cache with file paths that include % (for example URL encoded paths)
  • 81f8181: Static Code Analysis for Components
  • 85d5ed2: [Serializer] removed normalizer cache in Serializer class
  • 4491c97: removed empty statements
  • 61e810e: [Console] display console application name even when no version set
  • fcd3160, b91441c: [Security] removed the custom random number generator
  • 6852a46: [Doctrine Bridge] normalized params only when used by the DBAL logger
  • d1f72d8, e555aad: [FrameworkBundle] fixed performance and memory issues when using token_get_all() in PHP 7
  • f1f9754: [HttpFoundation] allow to set cookie lifetime with a DateTimeImmutable instance
  • 51e3652: [Serializer] use is_subclass_of instead of Reflection when possible

2.7 changelog:

  • b16b5b9: [Serializer] allowed to use proxies in object_to_populate
  • ff18b68: [Serializer] unset object_to_populate after using it
  • 5d2463b: [Console] fixed max width for multibyte keys in choice question
  • dc8f780: [TwigBridge] use label_format option for checkbox and radio labels

2.8 changelog:

  • 5f4e968: [Debug] fixed erroneous deprecation notice for extended Interfaces
  • 8560c13: [Serializer] use $context['cache_key'] to enhance caching
  • 5926ff2: [FrameworkBundle] don't log twice with the error handler

3.0 changelog:

  • 37fb4e2, d7e3254: [Validator] removed calls to non-existing buildViolation() method
  • 1ccc15d: [HttpFoundation] fixed Request HTTP_USER_AGENT on 3.X versions

Master changelog:

  • 4618c9f: [HttpFoundation] allow to get all the mime types associated to a format in the Request
  • a35ceb0: [VarDumper] add flags to allow fine tuning dumps representation
  • c806a6d: added placeholders into log messages
  • caae21c: [DependencyInjection] Deprecate unsupported attributes/elements for alias

Newest issues and pull requests

Twig development highlights

Master changelog:

  • 4474392: made file cache tolerant for trailing (back)slashes on directory configuration
  • 07ebdfe: fixed Parser context push on stack

They talked about us


Be trained by Symfony experts - 2016-01-18 Clichy - 2016-01-25 Clichy - 2016-01-25 Clichy


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