Skip to content

Releases: sonata-project/SonataAdminBundle

3.38.1

17 Aug 05:39
3.38.1
34a17fe
Compare
Choose a tag to compare

Added

  • Added exception message if no field is defined with the configureFormFields() method

Fixed

  • Fixed tab id when the Admin Id contains backslashes

3.38.0

15 Aug 12:21
3.38.0
d49b839
Compare
Choose a tag to compare

Added

  • Added delete button in form action buttons when the request is ajax

Fixed

  • Added missing french translation
  • Missing translation for link_edit in Dutch translation file.

Changed

  • Admin uniqids are now more consistent
  • allow using overwritten constant for the mosaic html classes inside of admin class
  • An exception message was improved to include hints about the correct configuration value

Deprecated

  • SonataAdminBundle\Controller\HelperController is now deprecated in favor of actions

3.37.0

26 Jul 21:09
3.37.0
3f4ae42
Compare
Choose a tag to compare

Fixed

  • fixed bug with complex properties in ModelAutocompleteType

Changed

  • Enable TimeZone for datetime and time templating
  • Changing the way of checking the permissions when displaying links in templates

3.36.0

17 Jul 06:35
20b1810
Compare
Choose a tag to compare

Added

  • Added title to sidebar toggle
  • Added missing polish translation for Toggle Navigation
  • Added new JS function in Admin.js, which handle the control of a tabs and change address in URL query string when you change tab.
  • Added a condition in the getFieldGetterKey in order remove the new warning produced by PHP7.2.

Changed

  • Escaped admin code in autocomplete
  • Controller\CoreController is now deprecated in favor of Action\{Search,Dasbhoard}Action
  • Added table-hover class to the table
  • Changed ID's and added class name to tabs elements in edit view and show view, so we can control the address.
  • Default load order of assets.javascripts at Configuration::getConfigTreeBuilder()

Fixed

  • Warning "Parameter must be an array or an object that implements Countable" for count(null) in php 7.2
  • Fixed issue with appendFormFieldElementAction and retrieveFormFieldElementAction using ModelManager instead getObject admin class method
  • Menu item security was expected to be checked affirmatively rather than unanimously
  • Fixed choice field mask initial display when field value is empty
  • Added missing russian translation for Toggle Navigation
  • ECMAScript error jquery.js:250 Uncaught Error: cannot call methods on button prior to initialization; while trying to use $.fn.button() (ref: twbs/bootstrap#6094)

3.35.2

05 May 17:04
3.35.2
dfd5110
Compare
Choose a tag to compare

Fixed

  • Fixed route generation with parameter for on_top menu items
  • Fixed custom group permission for menu items

3.35.1

20 Apr 09:48
3.35.1
7e3203d
Compare
Choose a tag to compare

Fixed

  • Edit on list is fixed for choices not related to an entity

3.35.0

16 Apr 08:31
3.35.0
3a5f85e
Compare
Choose a tag to compare

Added

  • Admin can now have multiple parents

Changed

  • AbstractAdmin::addChild now accepts 2nd parameter with parent name

3.34.2

11 Apr 14:25
3.34.2
2c3e5c6
Compare
Choose a tag to compare

Deprecated

  • Editing child admin that does not belong to a given parent

Fixed

  • Regression for child form type rendering
  • Fixed a BC break where an overwritten getTemplate() method in an Admin was no longer called by Sonata.
  • Not working persist_filter option for legacy admin property.

3.34.1

09 Apr 12:30
3.34.1
ed39037
Compare
Choose a tag to compare

Fixed

  • Fix regression on #5051: It is possible again to know which button triggered the submit of the form.

3.34.0

09 Apr 12:27
3.34.0
26ae869
Compare
Choose a tag to compare

Added

  • Added some Sonata\AdminBundle\Filter\Persister\FilterPersisterInterface to externalise filter persistence to a dedicated class
  • Added some Sonata\AdminBundle\Filter\Persister\SessionFilterPersister to store filters to session (as done now)
  • Added TemplateRegistry, TemplateRegistryInterface and MutableTemplateRegistryInterface to handle all template registration related functionality from both AbstractAdmin and Pool.
  • Added required option to editable list choice
  • Added search option to enable/disable the search form in the sidebar

Changed

  • Changed Sonata\AdminBundle\Admin\AbstractAdmin::getFilterParameters to use the configured filter persister component
  • Reordered bootstrap.js javascript dependency fixes problems with jQuery UI dialogs
  • side_bar_after_nav_content block is now empty by default

Deprecated

  • Deprecated AbstractAdmin methods getTemplate and getTemplates.
  • Deprecated AbstractAdmin attribute $templates.
  • Deprecated Pool methods getTemplate, setTemplates and getTemplates.
  • Deprecated Pool attribute $templates.
  • Deprecated Twig function get_pool_template.

Fixed

  • if object is empty, don't try to create an edit route
  • Fix edit choice with a relation field on admin list
  • Added missing french translation for Toggle Navigation
  • Explain command compatible with sf4
  • Fixed deprecation notice when Pool is injected in service through autowiring
  • ChoiceFieldMaskType now works on inline table collections
  • Navbar positioning on mobile is no longer altered like in desktop
  • Increase consistency on default page sizes (replaced 192 by 256)
  • Disable form submit buttons when the form gets submitted
  • form types FQCN are now used in filter. Improves compatibility with SF3/4
  • Not working sidebar menu tree with AdminLTE v2.4