Skip to content

Releases: sonata-project/SonataAdminBundle

3.25.1

20 Nov 09:41
3.25.1
d649f27
Compare
Choose a tag to compare

Fixed

  • Wrong configuration for DateTimeType and DateType filters

3.25.0

19 Nov 18:44
3.25.0
77923e0
Compare
Choose a tag to compare

Added

  • Ability to configure sonata main admin and super admin roles under the security configuration key
  • Added translation_domain key to AdminStatsBlockService to change or disable translation
  • Add support for add button in sonata_type_model_autocomplete

Changed

  • Changed internal folder structure to src, tests and docs
  • a condition to check if the navbar is to be displayed

Fixed

  • subject assignment in embedded admins
  • fixed choice_translation_domain for expanded choices in admin
  • make false translation_domain working for the label if no translation is needed
  • Removed overridden method CRUDController::addFlash which is final in SF 3.4.
  • Don't translate empty placeholder on form render
  • Register commands as services to prevent deprecation notices on Symfony 3.4
  • AbstractAdmin::hasSubject is now populating AbstractAdmin::$subject property
  • Deprecation about Symfony\Component\DependencyInjection\DefinitionDecorator
  • getRuntime now receives a non deprecated runtime
  • Fix for getRuntime on Symfony older than 3.4
  • displaying a title when there are no specific actions

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