Releases: sonata-project/SonataAdminBundle
Releases · sonata-project/SonataAdminBundle
3.24.0
Added
- Add support for unlimited nested child admins.
Sonata\AdminBundle\Admin\AdminInterface
was split into smaller interfaces.
Deprecated
AdminInterface::$baseCodeRoute
andAdminInterface::setBaseCodeRoute(...)
.
Fixed
- Fixed missing space when form class is defined in label_attr
- Fix duplicate DB queries on empty results.
- Fixed sticky navbar when top navbar height changes
- Fix missing flash message translations
- naming conflict with
UrlGeneratorInterface
- Print of
sonata_help
for form subfields - Error class for
sonata_type_immutable_array
form group - Fixed the BaseFieldDescription class to also support 'has' prefixed getter methods for boolean properties on entities (besides the 'is' prefixed getters)
- Always apply "global_search.empty_boxes" setting to never searched admins
- Fixed a typo in CSS classes in
block_search_result.html.twig
- Fixed autocomplete for cases when admin code uses service id and service id is equal to FQCN ('AppBundle\Admin\CompanyAdmin')
- Bad result when
Pool::getAdminByAdminCode()
was called with an invalid child path.
Removed
- Support for old versions of PHP and Symfony.
3.23.0
Added
- Reference %sonata.admin.configuration.templates% when possible
- Added a
priority
option insonata_admin
extensions config
Changed
- Passing object id in edit form from CRUD controller instead of getting it in twig
Fixed
- Fixed the setting of the
translation_domain
twig variable. The value must change depending if the item has on_top set to true or false. - Escaping of list headers.
- setting the column title
- Fixed deprecation when using checkbox in admin form type
- Fix knp menu extra configuration for domain translations in Group Menu
- Not declared variable trowing errors on some browsers
Removed
- Useless IE8 compatibility code
3.22.0
Added
- Added option to inverse background for boolean fields in list and show actions
Changed
- Run the Select2 code for autocomplete form type at onload event
Fixed
- Fixed AbstractAdmin::getSubject on admins with parentFieldDescription
- Fixed deprecation when using hidden form type in model autocomplete
- Fixed the extra option being retrieved. The translation catalogue to be used is inside the label_catalogue option, not translation_domain.
- setting the column title
- Html tags do not appear in the meta title
3.21.0
Added
- Allow label icon on CRUD list table headers.
- Allow to disable label on CRUD list table heades.
- multidimensional arrays support in show array
- inline option in list array
- Added checkbox range selection with shift + click
- Added the persistence independent association templates
- Added Latvian translation of the bundle
Changed
- Check for
ChildDefinition
instance when possible instead ofDefinitionDecorator
which got deprecated on Symfony 3.3
Deprecated
ModelChoiceList
in favor ofModelChoiceLoader
Fixed
- Fixes potentially wrong scheme in the sidebar urls by using relative urls
- Fixed choice field mask type javascript in the twig templates to works with immutable array form types
ServiceManipulator
now addspublic: true
to service declaration by default- Fixed deprecation for Sf 3. support
- Sidebar menu elements are active when the current route is a child admin.
- Take admin annotation id into account
3.20.1
Fixed
- Fixed undefined
view_group
variable in show template - Fixed compatibility with Symfony's IdentityTranslator when translator is disabled
3.20.0
Added
- Group and tabs translations
Fixed
- Deprecation notices related to
addClassesToCompile
3.19.0
Changed
- compatibility with immutable entities was improved
Fixed
- Show icon for nav items when using
on_top
option - use generated route instead of plain route in nav items
- it is no longer possible to get core bundle versions incompatible with sf3
- Missing admin-lte image file
- forms with a required autocomplete ajax field can be submitted again
3.18.2
Fixed
- Selected values issue with Select2 v4 on model autocomplete type
3.18.1
Fixed
- Fixed select2 width calculation when using select2 v4
- Compatibility with Select2 v4 on model autocomplete type
3.18.0
Added
- Added new configuration parameter named
empty_boxes
with 3 variable: show, hide, fade
Fixed
- Undefined admin action error on
ModelAutocompleteFilter
- added missing italian translations
- deprecations when using
sonata.admin.form.type.model_list