[Form] Added more information to UPGRADE and CHANGELOG

This commit is contained in:
Bernhard Schussek 2012-05-21 09:27:45 +02:00
parent 0c09a0e07e
commit d0d1fe6182
2 changed files with 29 additions and 0 deletions

View File

@ -517,6 +517,28 @@
If address is an object in this case, the code given in "Before" If address is an object in this case, the code given in "Before"
works without changes. works without changes.
* The following methods in `Form` are deprecated and will be removed in
Symfony 2.3:
* `getTypes`
* `getErrorBubbling`
* `getNormTransformers`
* `getClientTransformers`
You can access these methods on the `FormConfigInterface` object instead.
Before:
```
$form->getErrorBubbling()
```
After:
```
$form->getConfig()->getErrorBubbling();
```
### Validator ### Validator
* The methods `setMessage()`, `getMessageTemplate()` and * The methods `setMessage()`, `getMessageTemplate()` and

View File

@ -73,3 +73,10 @@ CHANGELOG
* added option "mapped" which should be used instead of setting "property_path" to false * added option "mapped" which should be used instead of setting "property_path" to false
* "data_class" now *must* be set if a form maps to an object and should be left empty otherwise * "data_class" now *must* be set if a form maps to an object and should be left empty otherwise
* improved error mapping on forms * improved error mapping on forms
* changed Form constructor to accept a single `FormConfigInterface` object
* changed argument order in the FormBuilder constructor
* deprecated Form methods
* `getTypes`
* `getErrorBubbling`
* `getNormTransformers`
* `getClientTransformers`