CHANGELOG.md 3.7 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

3.3.1 - 2016-06-17

Fixed

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

3.3.0 - 2016-06-13

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 - 2016-06-04

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 - 2016-05-17

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 - 2016-05-08

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