Deprecate calling FormErrorIterator::children() if the current element is not iterable.
Allow to pass TranslatableMessage objects to the help option
Add the EnumType
5.3
Changed $forms parameter type of the DataMapperInterface::mapDataToForms() method from iterable to \Traversable.
Changed $forms parameter type of the DataMapperInterface::mapFormsToData() method from iterable to \Traversable.
Deprecated passing an array as the second argument of the DataMapper::mapDataToForms() method, pass \Traversable instead.
Deprecated passing an array as the first argument of the DataMapper::mapFormsToData() method, pass \Traversable instead.
Deprecated passing an array as the second argument of the CheckboxListMapper::mapDataToForms() method, pass \Traversable instead.
Deprecated passing an array as the first argument of the CheckboxListMapper::mapFormsToData() method, pass \Traversable instead.
Deprecated passing an array as the second argument of the RadioListMapper::mapDataToForms() method, pass \Traversable instead.
Deprecated passing an array as the first argument of the RadioListMapper::mapFormsToData() method, pass \Traversable instead.
Added a choice_translation_parameters option to ChoiceType
Add UuidType and UlidType
Dependency on symfony/intl was removed. Install symfony/intl if you are using LocaleType, CountryType, CurrencyType, LanguageType or TimezoneType.
Add priority option to BaseType and sorting view fields
5.2.0
Added support for using the {{ label }} placeholder in constraint messages, which is replaced in the ViolationMapper by the corresponding field form label.
Added DataMapper, ChainAccessor, PropertyPathAccessor and CallbackAccessor with new callable getter and setter options for each form type
Deprecated PropertyPathMapper in favor of DataMapper and PropertyPathAccessor
Added an html5 option to MoneyType and PercentType, to use <input type="number" />
5.1.0
Deprecated not configuring the rounding_mode option of the PercentType. It will default to \NumberFormatter::ROUND_HALFUP in Symfony 6.
Deprecated not passing a rounding mode to the constructor of PercentToLocalizedStringTransformer. It will default to \NumberFormatter::ROUND_HALFUP in Symfony 6.
Added collection_entry block prefix to CollectionType entries
Added a choice_filter option to ChoiceType
Added argument callable|null $filter to ChoiceListFactoryInterface::createListFromChoices() and createListFromLoader() - not defining them is deprecated.
Added a ChoiceList facade to leverage explicit choice list caching based on options
Added an AbstractChoiceLoader to simplify implementations and handle global optimizations
The view_timezone option defaults to the model_timezone if no reference_date is configured.
Implementing the FormConfigInterface without implementing the getIsEmptyCallback() method
is deprecated. The method will be added to the interface in 6.0.
Implementing the FormConfigBuilderInterface without implementing the setIsEmptyCallback() method
is deprecated. The method will be added to the interface in 6.0.
Added a rounding_mode option for the PercentType and correctly round the value when submitted
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps symfony/form from 5.3.4 to 5.4.8.
Release notes
Sourced from symfony/form's releases.
... (truncated)
Changelog
Sourced from symfony/form's changelog.
... (truncated)
Commits
7d1bd91
Merge branch '4.4' into 5.4d874bd4
Modify processing of uploaded files to be compatible with PHP 8.1b451e68
Merge branch '4.4' into 5.4af4164f
improve an assertion0c04b64
do not use mocks in tests when not necessaryed05c1c
fix mergeaba2b58
Merge branch '4.4' into 5.455aa080
do not use mocks in tests when not necessary000f3e1
Add missing license header43a510b
Merge branch '4.4' into 5.4Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)