All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
title_show
FieldDescription::Name
and property_path
in AdminType
title_show
label => false
to ShowMapper::add()
sonata/exporter
constraint has been bumped to ^1.7
ChoiceFieldMaskType
standard_layout
xEditableType
label
and translation_domain
fallback for batch actionsJMSDiExtraBundle
attributes
parameter for url
field typesonata_type_model
CoreController
classJMSDiExtraBundle
default configurationDashboard
VIEW
instead of SHOW
HelperController
hasAccess
instead of isGranted
doctrine_orm_model_autocomplete
action
in base_list_field.html.twig
ActiveVoter
and ChildrenVoter
to only work with menu items having the SonataAdminBundle
extra set.AbstractAdmin
CollectionType
the related fields are now disabled to avoid preventing submission of the form when one of those inputs is required.isGranted()
by hasAccess()
or checkAccess()
sonata-project/exporter
instead.JMSDiExtraBundle
annotations is now discouraged in favor of doing it manually--services
default-value to null in Sonata\AdminBundle\Command\GenerateAdminCommand
ModelToArrayTransformer::$choiceList
propertyModelToArrayTransformer::$choiceList::__construct()
three-argument-signature is deprecatedrequest
parameter is passed to custom batch actions.roles
configuration field to configuration of menu item routes.trigger_error
calls - E_USER_DEPRECATED
was concatenated to the sentence, not passed as argumentbase_show_macro.html.twig
CRUDController::trans
methodAdminInterface::trans
methodAbstractAdmin::$translator
propertyAbstractAdmin::trans
methodAbstractAdmin::transChoice
methodAbstractAdmin::getTranslator
methodAbstractAdmin::setTranslator
methodtranslationDomain
BaseBlockService
usageAdmin\AbstractAdmin
to configuration optionsALL
role needs to be checked separately, otherwise the AuthorizationChecker
return false
all the time.var
keyword to explicitly define the "showMaskChoiceEl" variable_ALL
role check to RolesecurityHandler
aria-hidden="true"
choices_as_values
to true
on choice type based to be compatible with Symfony 3Form Type
to be compatible with Symfony 2.8+Sonata\CoreBundle\Exporter\Exporter
from classes to compile to cache to avoid deprecation warningtranslator
service before translating.FormBuilderInterface
to FormMapper
Filter
to be compatible with Symfony 2.8+Filter Operator
to be compatible with Symfony 2.8+AdminBundle\Menu\Matcher\Voter\ChildrenVoter
AbstractAdmin::configureDatagridFilters
ShowMapper::removeGroup
methodmargin-left: -20px
of checkbox.$container
to $adminPool
in Twig/GlobalVariables
RuntimeException
instead of non existing RunTimeException
AbstractAdmin::setSubject
in order to check that given $subject
matches registered admin class entity.AbstractAdmin::configureActionButtons
AbstractAdmin::configureActionButtons
AbstractWidgetTestCase
$container
property in Twig/GlobalVariables
read_only
option on Twig with Symfony 3sonata_top_nav_menu
contentsAclMatrixType
AclMatrixType
standard_layout.html.twig
select2.full.js
file is needed)Sonata\AdminBundle\Form\Type\ModelTypeList
is deprecated for ModelListType
translation_domain
in tab menuModelAutocompleteType::getParent
overrideread_only
option definition from ModelAutocompleteType
Select
button is always visible and has a primary check style in sonata_type_model_list
popups$context
argument of AdminInterface::createQuery
was deprecatedAbstractAdmin::getSearchResultLink
email
on the listAbstractAdmin::configureBatchActions
methodAbstractAdmin
to a separate classAbstractAdmin::getSearchResultLink
methodAbstractAdmin::showMosaicButton
methodshow_mosaic_button
option to configurationAbstractAdmin::configureBatchActions
is now deprecatedAbstractAdmin::getBreadcrumbs
is deprecated in favor of BreadcrumbsBuilder::getBreadcrumbs
AbstractAdmin::buildBreadcrumbs
is deprecatedAbstractAdmin::$breadcrumbs
is deprecatedAbstractAdmin::getSubject
list__select.html.twig
list__select.html.twig
Pool::getAdminsByGroup()
for the new admin groups valuesAbstractAdmin
class, replacing Admin
oneBaseMapper::keys
methodRouteCollection::clearExcept
can now have a single string argumentBaseFieldDescription::camelize
AdminHelper::camelize
Admin
classAdminExtension
classAdminHelper:getElementAccessPath
methodsingle_text
widget for date and timeRouteCollection:add
methodhasRoute
method to the AdminInterfacestandard_layout.html.twig
is overriden. The KNPMenu is available in sonata_menu.html.twig
template.getFieldOption
, setFieldOption
methods to the FilterInterfacegetFilterFieldDescription
method to the AdminInterfacegetMaxPageLinks
, setMaxPageLinks
methods to the PagerInterfacesonata_wrapper
block on standard_layout.html.twig
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.Admin::toString
method is escaped for html output before adding in flash message to prevent possible XSS vulnerability.btn-outline
from doctrine-orm-admin form actions buttons