Skip to content

Releases: sonata-project/SonataAdminBundle

3.24.0

22 Oct 22:19
3.24.0
9bb9156
Compare
Choose a tag to compare

Added

  • Add support for unlimited nested child admins.
  • Sonata\AdminBundle\Admin\AdminInterface was split into smaller interfaces.

Deprecated

  • AdminInterface::$baseCodeRoute and AdminInterface::setBaseCodeRoute(...).

Fixed

  • Fixed missing space when form class is defined in label_attr
  • Fix duplicate DB queries on empty results.
  • Fixed sticky navbar when top navbar height changes
  • Fix missing flash message translations
  • naming conflict with UrlGeneratorInterface
  • Print of sonata_help for form subfields
  • Error class for sonata_type_immutable_array form group
  • Fixed the BaseFieldDescription class to also support 'has' prefixed getter methods for boolean properties on entities (besides the 'is' prefixed getters)
  • Always apply "global_search.empty_boxes" setting to never searched admins
  • Fixed a typo in CSS classes in block_search_result.html.twig
  • Fixed autocomplete for cases when admin code uses service id and service id is equal to FQCN ('AppBundle\Admin\CompanyAdmin')
  • Bad result when Pool::getAdminByAdminCode() was called with an invalid child path.

Removed

  • Support for old versions of PHP and Symfony.

3.23.0

20 Sep 13:28
3.23.0
edbc6b7
Compare
Choose a tag to compare

Added

  • Reference %sonata.admin.configuration.templates% when possible
  • Added a priority option in sonata_admin extensions config

Changed

  • Passing object id in edit form from CRUD controller instead of getting it in twig

Fixed

  • Fixed the setting of the translation_domain twig variable. The value must change depending if the item has on_top set to true or false.
  • Escaping of list headers.
  • setting the column title
  • Fixed deprecation when using checkbox in admin form type
  • Fix knp menu extra configuration for domain translations in Group Menu
  • Not declared variable trowing errors on some browsers

Removed

  • Useless IE8 compatibility code

3.22.0

19 Aug 14:19
3.22.0
77a5c25
Compare
Choose a tag to compare

Added

  • Added option to inverse background for boolean fields in list and show actions

Changed

  • Run the Select2 code for autocomplete form type at onload event

Fixed

  • Fixed AbstractAdmin::getSubject on admins with parentFieldDescription
  • Fixed deprecation when using hidden form type in model autocomplete
  • Fixed the extra option being retrieved. The translation catalogue to be used is inside the label_catalogue option, not translation_domain.
  • setting the column title
  • Html tags do not appear in the meta title

3.21.0

14 Aug 08:43
3.21.0
f9efb1a
Compare
Choose a tag to compare

Added

  • Allow label icon on CRUD list table headers.
  • Allow to disable label on CRUD list table heades.
  • multidimensional arrays support in show array
  • inline option in list array
  • Added checkbox range selection with shift + click
  • Added the persistence independent association templates
  • Added Latvian translation of the bundle

Changed

  • Check for ChildDefinition instance when possible instead of DefinitionDecorator which got deprecated on Symfony 3.3

Deprecated

  • ModelChoiceList in favor of ModelChoiceLoader

Fixed

  • Fixes potentially wrong scheme in the sidebar urls by using relative urls
  • Fixed choice field mask type javascript in the twig templates to works with immutable array form types
  • ServiceManipulator now adds public: true to service declaration by default
  • Fixed deprecation for Sf 3. support
  • Sidebar menu elements are active when the current route is a child admin.
  • Take admin annotation id into account

3.20.1

28 Jun 05:44
3.20.1
10c27f6
Compare
Choose a tag to compare

Fixed

  • Fixed undefined view_group variable in show template
  • Fixed compatibility with Symfony's IdentityTranslator when translator is disabled

3.20.0

22 Jun 08:29
3.20.0
76f7aff
Compare
Choose a tag to compare

Added

  • Group and tabs translations

Fixed

  • Deprecation notices related to addClassesToCompile

3.19.0

12 Jun 13:26
3.19.0
300b915
Compare
Choose a tag to compare

Changed

  • compatibility with immutable entities was improved

Fixed

  • Show icon for nav items when using on_top option
  • use generated route instead of plain route in nav items
  • it is no longer possible to get core bundle versions incompatible with sf3
  • Missing admin-lte image file
  • forms with a required autocomplete ajax field can be submitted again

3.18.2

15 May 14:51
3.18.2
448bec9
Compare
Choose a tag to compare

Fixed

  • Selected values issue with Select2 v4 on model autocomplete type

3.18.1

12 May 12:44
3.18.1
922819c
Compare
Choose a tag to compare

Fixed

  • Fixed select2 width calculation when using select2 v4
  • Compatibility with Select2 v4 on model autocomplete type

3.18.0

09 May 15:47
3.18.0
0ba299f
Compare
Choose a tag to compare

Added

  • Added new configuration parameter named empty_boxes with 3 variable: show, hide, fade

Fixed

  • Undefined admin action error on ModelAutocompleteFilter
  • added missing italian translations
  • deprecations when using sonata.admin.form.type.model_list