@@ -166,43 +166,30 @@ To get the diff between two versions, go to https://github.com/symfony/symfony/c
166
166
* allowed setting different options for RepeatedType fields (like the label)
167
167
* added support for empty form name at root level, this enables rendering forms
168
168
without form name prefix in field names
169
-
170
- * [BC BREAK] made form naming more restrictive. Form and field names must
171
- start with a letter, digit or underscore and only contain letters, digits,
172
- underscores, hyphens and colons
173
-
169
+ * [BC BREAK] form and field names must start with a letter, digit or underscore
170
+ and only contain letters, digits, underscores, hyphens and colons
174
171
* [BC BREAK] changed default name of the prototype in the "collection" type
175
172
from "$$name$$" to "__name__". No dollars are appended/prepended to custom
176
173
names anymore.
177
-
178
- * [BC BREAK] greatly improved `ChoiceListInterface` and all of its
179
- implementations. `EntityChoiceList` was adapted, the methods `getEntities()`,
180
- ` getEntitiesByKeys()` , `getIdentifier()` and `getIdentifierValues()` were
181
- removed/made private. Instead of the first two you can use `getChoices()`
182
- and `getChoicesByValues()`, for the latter two no replacement exists.
183
- ` ArrayChoiceList` was replaced by `SimpleChoiceList`.
184
- ` PaddedChoiceList` , `MonthChoiceList` and `TimezoneChoiceList` were removed.
185
- Their functionality was merged into `DateType`, `TimeType` and `TimezoneType`.
186
-
187
- * [BC BREAK] removed `EntitiesToArrayTransformer` and `EntityToIdTransformer`.
188
- The former has been replaced by `CollectionToArrayTransformer` in combination
189
- with `EntityChoiceList`, the latter is not required in the core anymore.
174
+ * [BC BREAK] improved ChoiceListInterface and all of its implementations
175
+ * [BC BREAK] removed EntitiesToArrayTransformer and EntityToIdTransformer.
176
+ The former has been replaced by CollectionToArrayTransformer in combination
177
+ with EntityChoiceList, the latter is not required in the core anymore.
190
178
191
179
* [BC BREAK] renamed
192
180
193
- * `ArrayToBooleanChoicesTransformer` to `ChoicesToBooleanArrayTransformer`
194
- * `ScalarToBooleanChoicesTransformer` to `ChoiceToBooleanArrayTransformer`
195
- * `ArrayToChoicesTransformer` to `ChoicesToValuesTransformer`
196
- * `ScalarToChoiceTransformer` to `ChoiceToValueTransformer`
197
-
198
- to be consistent with the naming in `ChoiceListInterface`.
181
+ * ArrayToBooleanChoicesTransformer to ChoicesToBooleanArrayTransformer
182
+ * ScalarToBooleanChoicesTransformer to ChoiceToBooleanArrayTransformer
183
+ * ArrayToChoicesTransformer to ChoicesToValuesTransformer
184
+ * ScalarToChoiceTransformer to ChoiceToValueTransformer
199
185
200
- * [BC BREAK] removed `FormUtil::toArrayKey()` and `FormUtil::toArrayKeys()`.
201
- They were merged into `ChoiceList` and have no public equivalent anymore.
186
+ to be consistent with the naming in ChoiceListInterface.
202
187
203
- * added `ComplexChoiceList` and `ObjectChoiceList`. Both let you select amongst
188
+ * [BC BREAK] removed FormUtil::toArrayKey() and FormUtil::toArrayKeys().
189
+ They were merged into ChoiceList and have no public equivalent anymore.
190
+ * added ComplexChoiceList and ObjectChoiceList. Both let you select amongst
204
191
objects in a choice field, but feature different constructors.
205
- * choice fields now throw a ` FormException` if neither the "choices" nor the
192
+ * choice fields now throw a FormException if neither the "choices" nor the
206
193
" choice_list" option is set
207
194
* the radio field is now a child type of the checkbox field
208
195
0 commit comments