4.9.0
版本发布时间: 2022-02-28 06:17:38
sonata-project/SonataAdminBundle最新发布版本:4.31.0(2024-07-16 02:57:16)
Added
- [#7730]
TemplateType
to display custom data in the edit/create view. (@VincentLanglet)
Changed
- [#7749] Improve
make:sonata:admin
command, now it's passing modelClass and Controller in services tag. (@eerison) - [#7725] The default list mode is now the first one of the
getListModes
method. (@VincentLanglet) - [#7744] Some typehint from SourceIteratorInterface to \Iterator to allow using this library without deprecation (@VincentLanglet)
- [#7729] Use dynamic action variable to template (@core23)
- [#7714] Change if targetClass is instance of other className (@willemverspyck)
Deprecated
- [#7748]
sonata_admin.options.default_label_catalogue
in favor ofsonata_admin.options.default_translation_domain
(@VincentLanglet) - [#7748]
label_catalogue
attribute onsonata_admin
tag in favor oftranslation_domain
(@VincentLanglet) - [#7748]
catalogue
option on fieldDescription in favor ofchoice_translation_domain
for TYPE_CHOICE orvalue_translation_domain
for TYPE_TRANS. (@VincentLanglet) - [#7748]
label_catalogue
on group configuration in favor oftranslation_domain
(@VincentLanglet) - [#7748]
btn_catalogue
option on form type in favor ofbtn_translation_domain
(@VincentLanglet) - [#7725] Defining a list mode with a "class" setting, use the "icon" setting instead. (@VincentLanglet)
- [#7743] Passing '' for the
admin
key in an item of thesonata_admin.dashboard.groups
config (@VincentLanglet) - [#7743] Passing a
route
or alabel
when anadmin
is passed in an item of thesonata_admin.dashboard.groups
config (@VincentLanglet) - [#7743] The
item_adds
key when configuring thesonata_admin.dashboard.groups
config (@VincentLanglet) - [#7729]
tree.html.twig
template (@core23)
Fixed
- [#7748]
translation_domain
attribute onsonata_admin
is used to set the admin translation domain. (Unlike thelabel_catalogue
attribute) (@VincentLanglet) - [#7757] Duplicate display of the help option for ModelListType (@VincentLanglet)