A week of symfony #264 (16->22 January 2012)

This week, Form and Validator were the most active components on the Symfony2 master branch. First, the CollectionValidator introduced new Optional and Required constraints. Second, the validation of form children was made configurable, meaning that child forms now aren't validated anymore by default (bc-break change).

Symfony2 development highlights

Master branch:

  • 6641f3e, bf59018, 509c7bf, e6e3da5: [Validator] added constraints Optional and Required for the CollectionValidator
  • 0c70a41, 43293f4: [Form] made validation of form children configurable. Set the option cascade_validation to true if you need it
  • 0c18324: [HttpKernel] added extra information when collecting data from an object if that object implements a __toString()
  • 693d1ec: [Form] do not render default ID attribute on empty form name
  • 15c666b, d2a0c74, 9e55cda: added a recover-timeout option to allow recovering messages that have taken too long to send
  • 0b7e2e0: support for DELETE method in forms
  • 0513eb1: [Form] pass translation domain to the sub-forms when choice list is expanded

2.0.x branch:

  • cacc880: [Locale] fixed incomplete Locale data loading (sublocales returned only incomplete results for getDisplayCountries(), getDisplayLanguages() and getDisplayLocales())
  • 959614b: use reflection to determine the correct path for component validation.xml file
  • a1317c3: [Locale] fixed breaking tests if 'intl' extension is not installed
  • 1f733e1: updated Serbian translation for validators

Repository summary: 3,787 watchers (#1 in PHP, #26 overall) and 973 forks (#1 in PHP, #11 overall).

New plugins

  • asJqueryTreePropelManager: (no description)
  • sfCpGrid: is a javascript based backend for Symfony. It loads the recordset from the db via ajax, can sort it on the fly, it checks periodically if there is something new, it allows filtering and search, and to have custom buttons and related actions.

Updated plugins

  • sfGearman:
    • allow to namespaces function for mutualized gearmand
  • apostrophe:
    • slight change in linkage on aImage placeholders
    • fixed bug with placeholder clicker box that looks for the choose button url in the correct place for both slots in areas and singleton slots
    • smart slideshow passes new 'clickToSelect => false' option to placeholder, which prevents a 404 if you click the placeholder area on a smart slideshow
    • factored out the slideshow slot code that relinks the related media items into a separate method so it can be easily called from overrides
  • apostropheBlog:
    • slot help text doesn't need to get output to logged out visitors
    • changed the check to editor privileges

They talked about us

Help the Symfony project!

As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.

A week of symfony #264 (16->22 January 2012) symfony.com/blog/a-week-of-symfony-264-16-22-january-2012

Tweet this


Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.