Update UPGRADE-4.0.md

This commit is contained in:
Yonel Ceruto 2017-10-19 15:31:27 -04:00
parent d43daa0295
commit c4f64a6260

View File

@ -226,6 +226,10 @@ Finder
Form Form
---- ----
* The values of the `FormEvents::*` constants have been updated to match the
constant names. You should only update your application if you relied on the
constant values instead of their names.
* The `choices_as_values` option of the `ChoiceType` has been removed. * The `choices_as_values` option of the `ChoiceType` has been removed.
* Support for data objects that implements both `Traversable` and * Support for data objects that implements both `Traversable` and
@ -326,6 +330,8 @@ Form
} }
``` ```
* `FormRendererInterface::setTheme` and `FormRendererEngineInterface::setTheme` have a new optional argument `$useDefaultThemes` with a default value set to `true`.
FrameworkBundle FrameworkBundle
--------------- ---------------