Skip to content

Releases: sonata-project/SonataAdminBundle

4.9.0

27 Feb 22:17
Compare
Choose a tag to compare

Added

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 of sonata_admin.options.default_translation_domain (@VincentLanglet)
  • [#7748] label_catalogue attribute on sonata_admin tag in favor of translation_domain (@VincentLanglet)
  • [#7748] catalogue option on fieldDescription in favor of choice_translation_domain for TYPE_CHOICE or value_translation_domain for TYPE_TRANS. (@VincentLanglet)
  • [#7748] label_catalogue on group configuration in favor of translation_domain (@VincentLanglet)
  • [#7748] btn_catalogue option on form type in favor of btn_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 the sonata_admin.dashboard.groups config (@VincentLanglet)
  • [#7743] Passing a route or a label when an admin is passed in an item of the sonata_admin.dashboard.groups config (@VincentLanglet)
  • [#7743] The item_adds key when configuring the sonata_admin.dashboard.groups config (@VincentLanglet)
  • [#7729] tree.html.twig template (@core23)

Fixed

  • [#7748] translation_domain attribute on sonata_admin is used to set the admin translation domain. (Unlike the label_catalogue attribute) (@VincentLanglet)
  • [#7757] Duplicate display of the help option for ModelListType (@VincentLanglet)

4.8.1

31 Jan 19:57
5c5550a
Compare
Choose a tag to compare

Fixed

  • [#7716] Configure the admin with the sonata_admin tag before any custom call provided in the service configuration. (@VincentLanglet)
  • [#7681] Disabling global_search for admin with non-default code. (@VincentLanglet)

4.8.0

25 Jan 20:01
96aec2d
Compare
Choose a tag to compare

Added

  • [#7684] code, model_class and controller attribute to the sonata.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

19 Jan 20:03
68436e8
Compare
Choose a tag to compare

Fixed

  • [#7705] Catch AccessException in AbstractAdmin::appendParentObject() to prevent an error when the property for the parent object is uninitialised. (@7ochem)

4.7.0

06 Jan 00:05
dc55fcb
Compare
Choose a tag to compare

Added

Changed

Deprecated

Fixed

3.107.1

01 Jan 17:46
86bfac0
Compare
Choose a tag to compare

Fixed

  • [#7641] Fixed batch confirmation translations to include mentioning the selected action or object (@7ochem)
  • [#7641] Fixed (other) Dutch translations that were missing a placeholder compared to the English file (@7ochem)

4.6.1

23 Dec 11:14
d4f7922
Compare
Choose a tag to compare

Fixed

4.6.0

23 Dec 10:34
7cef5a1
Compare
Choose a tag to compare

Added

Deprecated

Fixed

4.5.1

16 Dec 13:15
cc8e78c
Compare
Choose a tag to compare

Fixed

  • [#7647] DefaultRouteGenerator Routes generation for nested admins (@Devristo)
  • [#7636] Remove support for translation-contracts until it can be installed without relying on dev dependencies (@jordisala1991)

4.5.0

04 Dec 12:27
79fdf79
Compare
Choose a tag to compare

Added

Fixed

  • [#7622] Fixed PHP 8.1 deprecation notice for nl2br usage in base_show_field.html.twig. (@javer)