Archives


Master Symfony2 fundamentals

Be trained by SensioLabs experts (2 to 6 day sessions -- French or English).
trainings.sensiolabs.com

Symfony hosting done right

ServerGrove, outstanding support at the right price for your Symfony hosting needs.
servergrove.com

L'audit Qualité par SensioLabs

200 points de contrôle de votre applicatif web.
audit.sensiolabs.com

gravatar
symfony 1.1.2 released
by Nicolas Perriault – September 18, 2008 – 7 comments

I'm pleased to announce the immediate availability of symfony 1.1.2. A lot of bugs have been fixed in this new release, especially in the forms framework and in command-line tasks. You can of course see the whole revision log for this release, but here's a short summary of what has been done since the last one (important fixes are in bold):

Tasks

  • The symfony 1.1.1 broken cache-clear task has been fixed, and updated to work as expected in a multi-application project
  • The command line interface was broken on Microsoft® Windowsâ„¢ when using arguments. This has been fixed
  • A bug with autoloading and nested tasks has been fixed
  • The propel:data-load task behaved incorrectly with composite primary key: now it does (more info)
  • The three events available in sfBaseTask (command.filter_options, command.pre_command, and command.post_command) are now usable in your own tasks

Forms

  • The sfValidatorChoice and sfValidatorChoiceMany validators now correctly handle a value if it's part of the available choices
  • The sfForm::mergeForm() method now also merges widget schema labels (more info)
  • In sfWidgetFormInputCheckbox, it's now possible to set the value attribute of a checkbox using the new value_attribute_value option available
  • The sfValidatorPropelChoice and sfValidatorPropelChoiceMany are now able to use the same Criteria definition to restrict choices without them being altered in certain circumstances
  • The sfApplicationConfiguration class now automatically set the charset used by every widget to the one defined in the settings.yml configuration file
  • Now the sfValidatorTime validators accepts the 00:00:00 time value
  • The sfWidgetFormSelectRadio is now able to deal with names already ending with an empty square brackets set ([])
  • The sfValidatorNumber float precision handling has been increased
  • The sfWidgetFormDate can now validate pre-1970 dates (more info)
  • The sfValidatorSchemaFilter now throws an error bound to the filtered field

Browser

  • sfBrowser::setField() can now deal with an array of fields containing a 0 index (more info)
  • sfDomCssSelector is now able to target attribute names containing one or more "-" (dash) characters
  • sfBrowser::restart() now resets the session correctly
  • sfBrowser now sends checked checkboxes with their value attributes as expected

YAML

  • sfYaml now handles long numeric values correctly (more info)
  • Exceptions thrown by sfYaml now reference the correct line number

Other

  • The default propel.ini file of the sandbox has been fixed. The sandbox is now fully working again without any tweak
  • The mysqli Creole driver is now handling the 0000-00-00 date correctly
  • The autoloading of model classes now correctly handles ordering
  • Propel tasks are no more broken when Phing is installed as an independent PEAR package

You're strongly invited to upgrade your symfony 1.1 based projects to this new version.

If you're using a PEAR based installation, just run in a command prompt:

$ pear upgrade symfony/symfony-1.1.2

If you're using SVN, update your externals to the RELEASE_1_1_2 tag.

The symfony 1.1 sandbox has also been upgraded to use this new version.

Add a Comment

You must be connected to post a comment.

Comments RSS

  • gravatar
    #1 halfer said on the 2008/09/18 at 16:00
    Excellent, glad to see that the old sqlite reference in the sandbox has been fixed. I will remove the note from My First Tutorial 1.1 in due course.

    Thanks Nicolas.
  • gravatar
    #2 Ronny said on the 2008/09/18 at 16:30
    Nice Job!
  • gravatar
    #3 Olmo said on the 2008/09/18 at 18:40
    Great release. This takes cares a lot of the issues I've been having. :)
  • gravatar
    #4 ZipoKing said on the 2008/09/20 at 19:00
    Nice job guys!
  • gravatar
    #5 Christian said on the 2008/09/22 at 10:06
    Just want to say thank you and hats up for your constant improvements! In the last weeks I dipped into the new symfony form, and I must say I'm amazed. It took me some time to understand how everything works, but now I got it and I'm very happy with the power of the new symfony forms! Keep up the good work!
  • gravatar
    #6 DrF@lkeN said on the 2008/09/22 at 19:09
    Great Job! Forms are working better...
  • gravatar
    #7 ruFog said on the 2008/09/24 at 02:14
    i18n don`t working before update from 1.1.1 to 1.1.2 (namely $this->widgetSchema->getFormFormatter()->setTranslationCatalogue)