Skip to content

Releases: sonata-project/SonataAdminBundle

3.3.1

17 Jun 15:58
3.3.1
15b350f
Compare
Choose a tag to compare

Fixed

  • Fixes broken extractor service
  • Make CRUDController::editAction respect optional parameter
  • Not aligned checkbox and radio on horizontal form

3.3.0

13 Jun 13:28
3.3.0
a8f34c0
Compare
Choose a tag to compare

Changed

  • The Select button is always visible and has a primary check style in sonata_type_model_list popups

Deprecated

  • The $context argument of AdminInterface::createQuery was deprecated

Fixed

  • Fix wrong view role check on AbstractAdmin::getSearchResultLink
  • Eternal deprecation warning because of old class on compilation

3.2.0

04 Jun 15:32
3.2.0
685f48a
Compare
Choose a tag to compare

Added

  • Added new field type email on the list
  • Added AbstractAdmin::configureBatchActions method
  • Extract the breadcrumbs building part of the AbstractAdmin to a separate class
  • Added AbstractAdmin::getSearchResultLink method
  • Add the AbstractAdmin::showMosaicButton method
  • Add the show_mosaic_button option to configuration

Deprecated

  • Overriding AbstractAdmin::configureBatchActions is now deprecated
  • AbstractAdmin::getBreadcrumbs is deprecated in favor of BreadcrumbsBuilder::getBreadcrumbs
  • AbstractAdmin::buildBreadcrumbs is deprecated
  • AbstractAdmin::$breadcrumbs is deprecated

Fixed

  • Fix support for composite primary key in AbstractAdmin::getSubject
  • Fixed wrong route in list__select.html.twig
  • Fixed wrong method call in list__select.html.twig
  • Fixed Pool::getAdminsByGroup() for the new admin groups values

3.1.0

23 May 13:13
3.1.0
53850de
Compare
Choose a tag to compare

Added

  • Added AbstractAdmin class, replacing Admin one
  • Added BaseMapper::keys method

Changed

  • Updated AdminLTE theme to version 2.3.3
  • RouteCollection::clearExcept can now have a single string argument

Deprecated

  • Deprecated BaseFieldDescription::camelize
  • Deprecated AdminHelper::camelize
  • Deprecated Admin class
  • Deprecated AdminExtension class
  • Deprecated default template loading on exception mechanism

Fixed

  • Fix detection of path when using nested properties with underscores in AdminHelper:getElementAccessPath method
  • Fixed bad rendering on datetime field with single_text widget for date and time
  • Fixed rendering of empty form groups

3.0.0

23 May 13:14
3.0.0
Compare
Choose a tag to compare

Added

  • Add missing Route constructor parameters to RouteCollection:add method
  • Add the hasRoute method to the AdminInterface
  • Integration of KNPMenu for the admin menu. This integration is reset when the standard layout
    standard_layout.html.twig is overriden. The KNPMenu is available in sonata_menu.html.twig template.
  • Add getFieldOption, setFieldOption methods to the FilterInterface
  • Add the getFilterFieldDescription method to the AdminInterface
  • Add the getMaxPageLinks, setMaxPageLinks methods to the PagerInterface

Changed

  • Admin LTE 2.0 used. Assets files changed.
  • Move sonata_wrapper block on standard_layout.html.twig
  • CSS class sonata-autocomplete-dropdown-item is not automatically added to dropdown
    autocomplete item in sonata_type_model_autocomplete, use option dropdown_item_css_class
    to set the CSS class of dropdown item.
  • Text from Admin::toString method is escaped for html output before adding in flash message to prevent possible XSS vulnerability.

Removed

  • Remove btn-outline from doctrine-orm-admin form actions buttons

2.3.3

10 Apr 16:28
@dbu dbu
Compare
Choose a tag to compare
Merge pull request #2840 from sonata-project/bundle-name-backport-2.3

backport fix for bundle without vendor name to 2.3