Skip to content

Releases: sonata-project/SonataAdminBundle

3.107.3

28 Apr 06:26
Compare
Choose a tag to compare

Fixed

4.11.0

27 Apr 09:09
b481e9c
Compare
Choose a tag to compare

Changed

  • [#7792] In preparation for SonataBlockBundle 5.0 we are not rendering block responses as private anymore (@dmaicher)

Fixed

  • [#7785] Correctly pass the class to the ModelHiddentType when using child admin without parentAssociationMapping. (@VincentLanglet)

4.10.1

29 Mar 08:33
Compare
Choose a tag to compare

Fixed

4.10.0

21 Mar 13:46
34a3b16
Compare
Choose a tag to compare

Changed

  • [#7761] CrudController::handleModelManagerThrowable can now return a custom error message to display in the flashbag instead of the generic one from Sonata. (@VincentLanglet)
  • [#7766] Reduced number of ModelManager::find calls (@VincentLanglet)

Fixed

  • [#7769] Improve detection of Symfony ACL bundle installation (@Buratinas)

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)