Added
- [#6821]
Pool::getAdminByFieldDescription()
(@VincentLanglet) - [#6821]
AdminClassNotFoundException
(@VincentLanglet) - [#6821]
AdminCodeNotFoundException
(@VincentLanglet) - [#6821]
TooManyAdminClassException
(@VincentLanglet) - [#6821] A tag attribute
default: true
for the tagsonata.admin
to define a default admin for a specific class (@VincentLanglet) - [#6776] Added
RouteCollection::getRouteName
(@VincentLanglet) - [#6776] Added
RouteCollectionInterface::getRouteName
(@VincentLanglet) - [#6814] Added some
Sonata\AdminBundle\Admin\AbstractAdmin::configureFormOptions()
to do great stuff. (@rgrassian) - [#6817] A block
table
to override the whole datagrid table in thebase_list.html.twig
(@VincentLanglet) - [#6789] A callback with a possibility to modify each individual item in the response. (@keshancs)
- [#6789] A way to customize any autocomplete select2 properties in js via adding sonata_type_model_autocomplete_select2_options_js block before initializing select2 element because select2 doesn't allow modification of several options after it has been initialized, you can only destroy it and initialize again from scratch. (@keshancs)
- [#6789] Set error bubbling to false - prevent passing error to parent form elements, which occurs by default for compound form types. (@keshancs)
- [#6837]
FieldDescription
accessor
option (@VincentLanglet) - [#6850] Added
AbstractAdmin::alterNewInstance()
(@VincentLanglet)
Changed
- [#6789] The autocomplete item list is now independent of filters set in the corresponding list via removing its filters. Before these changes, it returned only items that matched the selected filter. (@keshancs)
- [#6844] From
DatagridMapper::add($name, $type, $filterOptions = [], $fieldType = null, $fieldOptions = null, $fieldDescriptionOptions = [])
toDatagridMapper::add($name, $type, $filterOptions = [], $fieldDescriptionOptions = [])
(@VincentLanglet) - [#6827]
ProxyQueryInterface::execute(array $params = [], ?int $hydrationMode = null)
signature toProxyQueryInterface::execute()
(@VincentLanglet)
Deprecated
- [#6821]
Pool::hasSingleAdminByClass()
(@VincentLanglet) - [#6798] FieldDescription
parameters
option. (@VincentLanglet) - [#6814] Deprecated
Sonata\AdminBundle\Admin\AbstractAdmin::formOptions
property. (@rgrassian) - [#6837]
FieldDescription
code
option (@VincentLanglet) - [#6850] Overriding
AbstractAdmin::getNewInstance()
(@VincentLanglet) - [#6794] Deprecated
Pool::setTemplateRegistry()
method. (@franmomu)
Fixed
- [#6856] Handling of JSON responses at
Admin.setup_xeditable()
. (@phansys) - [#6783] Fixed phpdoc for
Sonata\AdminBundle\Form\DataTransformer\ModelToIdPropertyTransformer::$property
which can bestring[]
as well (@dmaicher) - [#6818] Stop displaying the filter dropdown with no usable filters (@VincentLanglet)
- [#6824] Do not add a '-' between the export button and the pager results if there is no pager results. (@VincentLanglet)
- [#6778] How
AdminHelper::appendFormFieldElement
renders nested forms. (@vladyslavstartsev) - [#6784] Default "show" template for type "float" from SonataIntlBundle. (@phansys)