This week, the development activity of the main Symfony2 branches was very intense. In Symfony 2.2 branch, a new BCrypt password encoder was added and some fixes were made for the Request::create() method and the BinaryFileResponse. Meanwhile, the master branch added support for the X-Forwarded-For header.

Development mailing list

Symfony2 development highlights

2.0 changelog:

  • 74f2fcf: [DependencyInjection] fixed a circular call
  • ddf4678: [HttpFoundation] fixed the creation of sub-requests under some circumstancies
  • a12744e: [HttpFoundation] added a dot character to legal mime subtype regular expression
  • bd0ad92: [DependencyInjection] allowed frozen containers to be dumped to graphviz
  • 87f3db7: [EventDispathcer] fixed removeListener

2.1 changelog:

  • 8ca00c5: [Security] fixed session creation when none is needed
  • e50d333: [HttpKernel] fixed the creation of the Profiler directory
  • 3615e19: [Security] fixed session creation on login
  • 83e9558: [DependencyInjection] fixed undefined index error when entering scope recursively
  • e0637fa: [DependencyInjection] added clone for resources which were introduced in 2.1

2.2 changelog:

  • 35b62ac: [Security] renamed Constraint namespace to Constraints for validator classes in order to be consistent with the whole current validator API
  • 3166e5b: [Finder] fixed regression in the Finder component (it was possible to use it without using exec before)
  • 63f3006: removed underscores from test method names to be consistent with other components
  • 9d089ef: added BCrypt password encoder
  • badb2b9, d5fe378: added "'property_path' => false" deprecation message for forms
  • 0c20a5a: [Security] fixed interface implementation
  • 3053194: [DependencyInjection] enhanced some error messages
  • 5a2caa5: [HttpKernel] fixed the hinclude fragment renderer when the template is empty
  • bc4a0e7: [HttpFoundation] fixed Request::create() method (now the information contained in the URI always take precedence over information coming from the server array)
  • 73aa7d1: replaced usage of the deprecated pattern routing key (replaced with path)
  • 30b0c37: [Router] fixed TraceableUrlMatcher
  • 642c95a: added Universal* classes in the list of deprecated classes for 3.0
  • d9b9145: [HttpFoundation] fixed byte ranges in the BinaryFileResponse
  • 381bd7e: [HttpFoundation] added support for partial ranges in the BinaryFileResponse

Master changelog:

  • bd0709c: use REQUEST_TIME_FLOAT if available (this will give a more correct initialization time when using the DataCollectors without a KernelInterface implementation such as Silex)
  • 6a9c510: fixed the IP address in HttpCache when calling the backend
  • 42d3c4c: added support for the X-Forwarded-For header
  • 8adb0e3: [Form] fixed FormRenderer::humanize() to humanize camel cased label
  • 4cbdbcb: [Validator] added check for existing metadata on property
  • a923849: [HttpFoundation] moved file hash calculation to own method

Repository summary: 6,183 watchers (#1 in PHP, #37 overall) and 2,026 forks (#1 in PHP, #13 overall).

They talked about us