This week, Symfony 2.3.33 and Symfony 2.7.5 maintenance versions were released. In addition, two new Symfony components were created: Guard and PropertyInfo. Lastly, a lot of features were deprecated in preparation for the imminent "feature freeze" period.

Symfony2 development highlights

2.3 changelog:

  • d5abe0b: [CssSelector] optimized regexs matching simple selectors
  • b2f7753: [EventDispatcher] fixed memory leak in getListeners
  • 6a217dc: [Security] used random_bytes function if it is available for random number generation
  • 9165191: [Security] allowed user providers to be defined in many files
  • 3ba1460: [FrameworkBundle] advanced search templates of bundles
  • c269d6f: [Form] added exception when setAutoInitialize is called when locked

2.6 changelog:

  • 6585fe4: [Security] fixed check for empty usernames
  • 534d9fc: [Console] fixed console output with closed stdout
  • adc6b30: [Yaml] throw a ParseException on invalid data type

2.7 changelog:

  • d135d82: [Config] fixed enum default value in Yaml dumper
  • 6a6e7f3: [VarDumper] fixed dump comparison on large arrays
  • 121eade: normalized the way we check versions
  • 9a188c5: [OptionsResolver] fixed catched exception along the dependency tree mistakenly detects cyclic dependencies
  • f8d53ea: [Twig Bridge] fixed with_minutes option in time widget

2.8 changelog:

  • 05af97c: [Security] Added the new Guard component
  • 9b877cf: [Translation] allowed to get file content without writing in file
  • fbf7351: [VarDumper] added EnumStub for dumping virtual collections with casters
  • ea43304: [Finder] deprecated adapters and related classes
  • 07d08c4: [Httpfoundation] updated the list of HTTP status codes
  • 4b6fab0: [DependencyInjection] added a deprecated status to definitions
  • 8f6c21c: [DependencyInjection] supported the deprecated tag in service loaders
  • 2f37cb1: [DependencyInjection] supported the deprecated tag in container dumpers
  • 0b3d0a0: [DependencyInjection] allowed to change the deprecation message in Definition
  • 20d3722, 87c0c7d: implemented a service-based Resource (cache) validation
  • dd17dc0: [Console] added domain exceptions to replace generic exceptions
  • 6588708: [Security] deprecated supportsAttribute and supportsClass methods
  • 7653d95: [TwigBridge] integrated a Foundation 5 form theme
  • d6471b3: [Validator] added BIC (SWIFT-BIC) validation constraint
  • 1c17928: deprecated the Shell Console class

Master changelog:

  • e0e19f6: added better error message when controller action is not callable
  • 948ccec: [Security] updated AbstractVoter so that the method receives the TokenInterface
  • f1eb185: added a new PropertyInfo component
  • b475607: [BrowserKit] added isFollowingRedirects and getMaxRedirects methods
  • 4cdae98: [Config] removed isFresh() related functionality form Resource
  • c234449: [Console] removed deprecated shell

Newest issues and pull requests

Twig development highlights

Master changelog:

  • 4edf3fd: simplified code because non-existing files are not cached by statcache
  • 1bb7000: fixed race condition in Environment::loadTemplate
  • 76ecd43: changed template cache names to take into account the Twig C extension
  • 53d01ff: use try-finally for macro compilation

They talked about us

Published in #A week of symfony