Releases: sonata-project/SonataAdminBundle
Releases · sonata-project/SonataAdminBundle
3.107.3
4.11.0
Changed
- [#7792] In preparation for SonataBlockBundle 5.0 we are not rendering block responses as private anymore (@dmaicher)
Fixed
- [#7785] Correctly pass the class to the ModelHiddentType when using child admin without parentAssociationMapping. (@VincentLanglet)
4.10.1
Fixed
- [#7781] Correctly set the parent object in AdminType with CollectionType passed by reference (@VincentLanglet)
- [#7779] ProxyQueryInterface::setSortBy phpdoc (@VincentLanglet)
- [#7776] Fixed display of list items when there are no results and using an entity with inheritance (@jordisala1991)
4.10.0
Changed
- [#7761] CrudController::handleModelManagerThrowable can now return a custom error message to display in the flashbag instead of the generic one from Sonata. (@VincentLanglet)
- [#7766] Reduced number of ModelManager::find calls (@VincentLanglet)
Fixed
- [#7769] Improve detection of Symfony ACL bundle installation (@Buratinas)
4.9.0
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)
4.8.1
Fixed
- [#7716] Configure the admin with the
sonata_admin
tag before any customcall
provided in the service configuration. (@VincentLanglet) - [#7681] Disabling
global_search
for admin with non-default code. (@VincentLanglet)
4.8.0
Added
- [#7684]
code
,model_class
andcontroller
attribute to thesonata.admin
service tag (@VincentLanglet) - [#7708] Added support to display backed enums in lists and show templates (@franmomu)
Deprecated
- [#7684] Passing the code, the model class and the controller name as first, second and third argument of the Admin constructor. Use the
sonata.admin
attributes instead. (@VincentLanglet)
3.107.2
4.7.0
Added
- [#7685] Support for
symfony/translation-contracts
3.x (@jordisala1991) - [#7653] "export_format_xlsx" translations (@willemverspyck)
- [#7658]
AdminInterface::showInDashboard()
method (@VincentLanglet)
Changed
- [#7662] Twig extensions are now lazy (@VincentLanglet)
Deprecated
- [#7658]
AdminInterface::showIn()
method (@VincentLanglet)
Fixed
- [#7674] Multiple choice field with predefined default values (@VincentLanglet)
- [#7673] Order of provided IDs at
ModelsToArrayTransformer::reverseTransform()
(@VincentLanglet)