This week, time, logger and Doctrine collectors were tweaked and refactored. Meanwhile, the Form component fixed lots of bugs, specially with the improvements of ChoiceListInterface and its implementations.

Development mailing list

Symfony2 development highlights

Master branch:

  • 3b260d2: refactored the collector to separate the loggers per connection
  • e37783f: [DoctrineBridge] refactored the query sanitization in the collector
  • 2a998e0: [FrameworkBundle] handle disabled csrf protection in the PHP templating form helper
  • 3a1699a: handle disabled csrf protection in the Twig FormExtension
  • 87b16e7: [Form] greatly improved ChoiceListInterface and all of its implementations (EntityChoiceList was adapted, the methods getEntities(), getEntitiesByByKeys(), getIdentifier() and getIdentifierValues() were removed/made private. Instead of the first two you can use getChoices() and getChoicesByValues(), for the latter two no replacement exists. ArrayChoiceList was replaced by SimpleChoiceList. PaddedChoiceList, MonthChoiceList and TimezoneChoiceList were removed. Their functionality was merged into DateType, TimeType and TimezoneType)
  • e1fc5a5: [Form] restricted form names to specific characters to fix generation of HTML IDs and to avoid problems with property paths
  • f533ef0: [Form] added ChoiceView class for passing choice-related data to the view
  • 43e0db5: [DomCrawler] add support for multivalued form fields
  • 399af27: [Form] implemented checks to assert that values and indices generated in choice lists match their requirements
  • ed9c348: [Security] Authentication(Success|Failure)Handler can now return null
  • 2dd4bf1, c3f637b: [Form] support for PATCH method in forms
  • d4300b9, b879397: [WebProfilerBundle] tweak the time view
  • a52c675: [WebProfilerBundle] improved the logger panel

2.0.x branch:

  • 7f96c8a: [HttpKernel] prevent php script execution in cached ESI pages using HttpCache
  • c3f0ec7: [DoctrineBundle] made DoctrineBundle fowards compatible with Doctrine 2.2

Repository summary: 3,830 watchers (#1 in PHP, #27 overall) and 983 forks (#1 in PHP, #11 overall).

Updated plugins

  • dcReloadedFormExtra:
    • added a uniquenes checker widget that checks the uniqueness of a value using an Ajax callback
  • sfSyncContent:
    • created default parameters for sync content to be frontend dev FROM prod@production
  • apostrophe:
    • added an app.yml option to return email links in a different format that allows apostrophe.unobfuscateEmailInline to be called outside of the a_js spool
    • all unlink() and rmdir() calls in the product now invoke aFiles::unlink() and aFiles::rmdir(), providing a capability to override these methods
    • the aFiles class has been refactored into a BaseaFiles? class and an empty aFiles subclass, allowing convenient overrides
    • a_button helper now accepts a single array of options as an alternative to the full list of parameters
    • slideshows are allowed to have the crossfade transition now even if they have no height specified
    • fixed event bug in menutoggle script and added jQuery 1.7 to the plugin
    • annotation of multiple media items works again
  • apostropheBlog:
    • added a 'first' class to the first pager in the blog index

They talked about us

Published in #A week of symfony