github sonata-project/SonataAdminBundle 3.89.0

latest releases: 4.31.0, 4.30.2, 4.30.1...
3 years ago

Added

  • [#6821] Pool::getAdminByFieldDescription() (@VincentLanglet)
  • [#6821] AdminClassNotFoundException (@VincentLanglet)
  • [#6821] AdminCodeNotFoundException (@VincentLanglet)
  • [#6821] TooManyAdminClassException (@VincentLanglet)
  • [#6821] A tag attribute default: true for the tag sonata.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 the base_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 = []) to DatagridMapper::add($name, $type, $filterOptions = [], $fieldDescriptionOptions = []) (@VincentLanglet)
  • [#6827] ProxyQueryInterface::execute(array $params = [], ?int $hydrationMode = null) signature to ProxyQueryInterface::execute() (@VincentLanglet)

Deprecated

Fixed

  • [#6856] Handling of JSON responses at Admin.setup_xeditable(). (@phansys)
  • [#6783] Fixed phpdoc for Sonata\AdminBundle\Form\DataTransformer\ModelToIdPropertyTransformer::$property which can be string[] 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)

Don't miss a new SonataAdminBundle release

NewReleases is sending notifications on new releases.