Releases: sonata-project/SonataAdminBundle
Releases · sonata-project/SonataAdminBundle
3.38.1
3.38.0
Added
- Added delete button in form action buttons when the request is ajax
Fixed
- Added missing french translation
- Missing translation for
link_edit
in Dutch translation file.
Changed
- Admin uniqids are now more consistent
- allow using overwritten constant for the mosaic html classes inside of admin class
- An exception message was improved to include hints about the correct configuration value
Deprecated
SonataAdminBundle\Controller\HelperController
is now deprecated in favor of actions
3.37.0
3.36.0
Added
- Added
title
to sidebar toggle - Added missing polish translation for
Toggle Navigation
- Added new JS function in Admin.js, which handle the control of a tabs and change address in URL query string when you change tab.
- Added a condition in the
getFieldGetterKey
in order remove the new warning produced by PHP7.2.
Changed
- Escaped admin code in autocomplete
Controller\CoreController
is now deprecated in favor ofAction\{Search,Dasbhoard}Action
- Added table-hover class to the table
- Changed ID's and added class name to tabs elements in edit view and show view, so we can control the address.
- Default load order of
assets.javascripts
atConfiguration::getConfigTreeBuilder()
Fixed
- Warning "Parameter must be an array or an object that implements Countable" for count(null) in php 7.2
- Fixed issue with
appendFormFieldElementAction
andretrieveFormFieldElementAction
using ModelManager insteadgetObject
admin class method - Menu item security was expected to be checked affirmatively rather than unanimously
- Fixed choice field mask initial display when field value is empty
- Added missing russian translation for
Toggle Navigation
- ECMAScript error
jquery.js:250 Uncaught Error: cannot call methods on button prior to initialization;
while trying to use$.fn.button()
(ref: twbs/bootstrap#6094)
3.35.2
Fixed
- Fixed route generation with parameter for on_top menu items
- Fixed custom group permission for menu items
3.35.1
Fixed
- Edit on list is fixed for choices not related to an entity
3.35.0
Added
- Admin can now have multiple parents
Changed
AbstractAdmin::addChild
now accepts 2nd parameter with parent name
3.34.2
Deprecated
- Editing child admin that does not belong to a given parent
Fixed
- Regression for child form type rendering
- Fixed a BC break where an overwritten
getTemplate()
method in anAdmin
was no longer called by Sonata. - Not working persist_filter option for legacy admin property.
3.34.1
3.34.0
Added
- Added some
Sonata\AdminBundle\Filter\Persister\FilterPersisterInterface
to externalise filter persistence to a dedicated class - Added some
Sonata\AdminBundle\Filter\Persister\SessionFilterPersister
to store filters to session (as done now) - Added
TemplateRegistry
,TemplateRegistryInterface
andMutableTemplateRegistryInterface
to handle all template registration related functionality from bothAbstractAdmin
andPool
. - Added
required
option to editable listchoice
- Added
search
option to enable/disable the search form in the sidebar
Changed
- Changed
Sonata\AdminBundle\Admin\AbstractAdmin::getFilterParameters
to use the configured filter persister component - Reordered bootstrap.js javascript dependency fixes problems with jQuery UI dialogs
side_bar_after_nav_content
block is now empty by default
Deprecated
- Deprecated
AbstractAdmin
methodsgetTemplate
andgetTemplates
. - Deprecated
AbstractAdmin
attribute$templates
. - Deprecated
Pool
methodsgetTemplate
,setTemplates
andgetTemplates
. - Deprecated
Pool
attribute$templates
. - Deprecated Twig function
get_pool_template
.
Fixed
- if object is empty, don't try to create an edit route
- Fix edit choice with a relation field on admin list
- Added missing french translation for
Toggle Navigation
- Explain command compatible with sf4
- Fixed deprecation notice when Pool is injected in service through autowiring
ChoiceFieldMaskType
now works on inline table collections- Navbar positioning on mobile is no longer altered like in desktop
- Increase consistency on default page sizes (replaced 192 by 256)
- Disable form submit buttons when the form gets submitted
- form types FQCN are now used in filter. Improves compatibility with SF3/4
- Not working sidebar menu tree with AdminLTE v2.4