[Form] Added more information to UPGRADE and CHANGELOG
This commit is contained in:
parent
0c09a0e07e
commit
d0d1fe6182
@ -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
|
||||||
|
@ -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`
|
||||||
|
Reference in New Issue
Block a user