Releases: sonata-project/SonataAdminBundle
Releases · sonata-project/SonataAdminBundle
3.3.1
Fixed
- Fixes broken extractor service
- Make CRUDController::editAction respect optional parameter
- Not aligned checkbox and radio on horizontal form
3.3.0
Changed
- The
Selectbutton is always visible and has a primary check style insonata_type_model_listpopups
Deprecated
- The
$contextargument ofAdminInterface::createQuerywas deprecated
Fixed
- Fix wrong view role check on
AbstractAdmin::getSearchResultLink - Eternal deprecation warning because of old class on compilation
3.2.0
Added
- Added new field type
emailon the list - Added
AbstractAdmin::configureBatchActionsmethod - Extract the breadcrumbs building part of the
AbstractAdminto a separate class - Added
AbstractAdmin::getSearchResultLinkmethod - Add the
AbstractAdmin::showMosaicButtonmethod - Add the
show_mosaic_buttonoption to configuration
Deprecated
- Overriding
AbstractAdmin::configureBatchActionsis now deprecated AbstractAdmin::getBreadcrumbsis deprecated in favor ofBreadcrumbsBuilder::getBreadcrumbsAbstractAdmin::buildBreadcrumbsis deprecatedAbstractAdmin::$breadcrumbsis 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
Added
- Added
AbstractAdminclass, replacingAdminone - Added
BaseMapper::keysmethod
Changed
- Updated AdminLTE theme to version 2.3.3
RouteCollection::clearExceptcan now have a single string argument
Deprecated
- Deprecated
BaseFieldDescription::camelize - Deprecated
AdminHelper::camelize - Deprecated
Adminclass - Deprecated
AdminExtensionclass - Deprecated default template loading on exception mechanism
Fixed
- Fix detection of path when using nested properties with underscores in
AdminHelper:getElementAccessPathmethod - Fixed bad rendering on datetime field with
single_textwidget for date and time - Fixed rendering of empty form groups
3.0.0
Added
- Add missing Route constructor parameters to
RouteCollection:addmethod - Add the
hasRoutemethod to the AdminInterface - Integration of KNPMenu for the admin menu. This integration is reset when the standard layout
standard_layout.html.twigis overriden. The KNPMenu is available insonata_menu.html.twigtemplate. - Add
getFieldOption,setFieldOptionmethods to the FilterInterface - Add the
getFilterFieldDescriptionmethod to the AdminInterface - Add the
getMaxPageLinks,setMaxPageLinksmethods to the PagerInterface
Changed
- Admin LTE 2.0 used. Assets files changed.
- Move
sonata_wrapperblock onstandard_layout.html.twig - CSS class
sonata-autocomplete-dropdown-itemis not automatically added to dropdown
autocomplete item insonata_type_model_autocomplete, use optiondropdown_item_css_class
to set the CSS class of dropdown item. - Text from
Admin::toStringmethod is escaped for html output before adding in flash message to prevent possible XSS vulnerability.
Removed
- Remove
btn-outlinefrom doctrine-orm-admin form actions buttons