8000 [Form] Added more information to UPGRADE and CHANGELOG · symfony/symfony@d0d1fe6 · GitHub
[go: up one dir, main page]

Skip to content

Commit d0d1fe6

Browse files
committed
[Form] Added more information to UPGRADE and CHANGELOG
1 parent 0c09a0e commit d0d1fe6

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

UPGRADE-2.1.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,28 @@
517517
If address is an object in this case, the code given in "Before"
518518
works without changes.
519519
520+
* The following methods in `Form` are deprecated and will be removed in
521+
Symfony 2.3:
522+
523+
* `getTypes`
524+
* `getErrorBubbling`
525+
* `getNormTransformers`
526+
* `getClientTransformers`
527+
528+
You can access these methods on the `FormConfigInterface` object instead.
529+
530+
Before:
531+
532+
```
533+
$form->getErrorBubbling()
534+
```
535+
536+
After:
537+
538+
```
539+
$form->getConfig()->getErrorBubbling();
540+
```
541+
520542
### Validator
521543
522544
* The methods `setMessage()`, `getMessageTemplate()` and

src/Symfony/Component/Form/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,10 @@ CHANGELOG
7373
* added option "mapped" which should be used instead of setting "property_path" to false
7474
* "data_class" now *must* be set if a form maps to an object and should be left empty otherwise
7575
* improved error mapping on forms
76+
* changed Form constructor to accept a single `FormConfigInterface` object
77+
* changed argument order in the FormBuilder constructor
78+
* deprecated Form methods
79+
* `getTypes`
80+
* `getErrorBubbling`
81+
* `getNormTransformers`
82+
* `getClientTransformers`

0 commit comments

Comments
 (0)
0