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
Select
button is always visible and has a primary check style insonata_type_model_list
popups
Deprecated
- The
$context
argument ofAdminInterface::createQuery
was 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
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 ofBreadcrumbsBuilder::getBreadcrumbs
AbstractAdmin::buildBreadcrumbs
is deprecatedAbstractAdmin::$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
Added
- Added
AbstractAdmin
class, replacingAdmin
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
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 insonata_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 onstandard_layout.html.twig
- CSS class
sonata-autocomplete-dropdown-item
is 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::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