Releases: sonata-project/SonataAdminBundle
Releases · sonata-project/SonataAdminBundle
3.10.1
Fixed
- Fix compatibility with Symfony 3.2 form renderer.
- Fix permissions when setting role for the security handler
- Translation in twig templates uses the twig translation filter
3.10.0
Added
- Added new
rolesconfiguration field to configuration of menu item routes. - Improved class support for filter factory
- Add a length option to truncate columns on list view
Changed
- Update adminLTE dependency to 2.3.6
- Use block instead of macro to render show groups
Fixed
- Fixed missing access check for menu route items.
- Fixed
trigger_errorcalls -E_USER_DEPRECATEDwas concatenated to the sentence, not passed as argument - Deep arrays can now be displayed without error, and recursively
- Fixed bug in revisions compare view
Deprecated
- Deprecated
base_show_macro.html.twig
3.9.0
Added
- Added
CRUDController::transmethod
Changed
- Translation in twig templates uses the twig translation filter
Deprecated
- Deprecated
AdminInterface::transmethod - Deprecated
AbstractAdmin::$translatorproperty - Deprecated
AbstractAdmin::transmethod - Deprecated
AbstractAdmin::transChoicemethod - Deprecated
AbstractAdmin::getTranslatormethod - Deprecated
AbstractAdmin::setTranslatormethod
Fixed
- Fixed missing default
translationDomain - Fixed deprecated
BaseBlockServiceusage
3.8.0
Added
- Added three new sub-blocks to standard_layouts javascript block
Changed
- Moved the raw references of buttons templates from
Admin\AbstractAdminto configuration options
3.7.1
Fixed
- The
ALLrole needs to be checked separately, otherwise theAuthorizationCheckerreturnfalseall the time. - Added
varkeyword to explicitly define the "showMaskChoiceEl" variable
3.7.0
Added
- Added additional
_ALLrole check toRoleSecurityHandler
Changed
- Improve accessibility by adding
aria-hidden="true"
Fixed
- Set
choices_as_valuestotrueon choice type based to be compatible with Symfony 3 - Use class name when referencing
Form Typeto be compatible with Symfony 2.8+ - Remove
Sonata\CoreBundle\Exporter\Exporterfrom classes to compile to cache to avoid deprecation warning
Removed
- The admin no longer checks for the
translatorservice before translating.
3.6.0
Added
- Added new methods to set default values for the list view
Fixed
- Auto-detect type when adding
FormBuilderInterfacetoFormMapper - Type for
Filterto be compatible with Symfony 2.8+ - Type for
Filter Operatorto be compatible with Symfony 2.8+
3.5.0
Added
- Export fields names are now translated
- Added PL translations
- Configuration to change the default route used to generate the link to the parent object inside a breadcrumb, when in a child admin
- Docs for this configuration
- Twig blocks to simplify the template override.
- Added test for
AdminBundle\Menu\Matcher\Voter\ChildrenVoter - Added class name support for
AbstractAdmin::configureDatagridFilters - Added
ShowMapper::removeGroupmethod
Changed
- Changed css
margin-left: -20pxof checkbox. - Updated spanish batch confirmation message translation.
- Changed injection of
$containerto$adminPoolinTwig/GlobalVariables - use
RuntimeExceptioninstead of non existingRunTimeException AbstractAdmin::setSubjectin order to check that given$subjectmatches registered admin class entity.- Added the action name to title_batch_confirmation translation.
- Added the object name to message_delete_confirmation translation.
- Added the action name to title_batch_confirmation translation.
- Move actions buttons display logic from templates to
AbstractAdmin::configureActionButtons - Moved translation of breadcrumbs to twig template
- Moved translation of batch action_label to twig template
- Move actions buttons display logic from templates to
AbstractAdmin::configureActionButtons - Widget tests should extend
AbstractWidgetTestCase
Deprecated
- The
$containerproperty inTwig/GlobalVariables
Fixed
- The "batch" checkbox at the top of the list would not work when iCheck is disabled.
- Not working
read_onlyoption on Twig with Symfony 3 - Fixed PT-BR translations
- XSS Vulnerability in breadcrumbs
- Handle Symfony BC for Datagrid hidden types
- Fixed duplicate translation for list filters
- Fixed visibility of block
sonata_top_nav_menucontents - Fix how metadata information are retrieved when admin information are dumped
- Symfony 3 support in
AclMatrixType - Symfony 3 type support in
AclMatrixType - Fixed translation in browser titles breadcrumb
- Fixed translation of entities in breadcrumb
- Standardize the global form error
Removed
- Internal test classes are now excluded from the autoloader
- Removed unnecessary security checks in
standard_layout.html.twig
3.4.0
Added
- Support for select2 v4 (
select2.full.jsfile is needed)
Deprecated
- The
Sonata\AdminBundle\Form\Type\ModelTypeListis deprecated forModelListType
Fixed
- Ignoring
translation_domainin tab menu
Removed
- Removed useless
ModelAutocompleteType::getParentoverride - Removed useless
read_onlyoption definition fromModelAutocompleteType