Releases: sonata-project/SonataAdminBundle
Releases · sonata-project/SonataAdminBundle
4.14.0
Added
- [#7841] Support for a FilterInterface::getFormOptions method. (@VincentLanglet)
Deprecated
- [#7841] FilterInterface::getRenderSettigns (@VincentLanglet)
- [#7841] All the
Sonata\AdminBundle\Form\Type\Filter\*Type
except the FilterDataType. (@VincentLanglet)
Fixed
- [#7868] Batch action ProxyQueryInterface parameter don't have to be named $query anymore. (@mpoiriert)
4.13.1
Fixed
- [#7861] AdminInterface phpdoc (@VincentLanglet)
4.13.0
Added
- [#7819] Added support to batch action via another controller with 'controller' configuration (@mpoiriert)
Deprecated
- [#7819] BatchAction{actionName}IsRelevant will be remove in version 5.0. Move logic to your action. (@mpoiriert)
- [#7835] FormMapper::create() (@VincentLanglet)
Fixed
- [#7851] Model Auto Complete failing in create flow of admin with subclasses (@mpoiriert)
- [#7847] AdminValueResolver does support generic AdminInterface type. (@mpoiriert)
- [#7845] Fix the subclass query parameter conflict in the sonata.admin.action.get_short_object_description controller. (@mpoiriert)
- [#7836] Command deprecations using Symfony 6.1 (@franmomu)
Removed
4.12.0
Added
Changed
- [#7824] Update jQuery to
^3.6
(@jordisala1991) - [#7809] Use datetime picker library from
sonata-project/form-extensions
. (@jordisala1991)
Removed
4.11.1
Fixed
- [#7803] Fix vulnerabilities on several frontend dependencies by upgrading them:
async
,minimist
,ansi-regex
andmoment
, (@jordisala1991)
3.107.3
4.11.0
Changed
- [#7792] In preparation for SonataBlockBundle 5.0 we are not rendering block responses as private anymore (@dmaicher)
Fixed
- [#7785] Correctly pass the class to the ModelHiddentType when using child admin without parentAssociationMapping. (@VincentLanglet)
4.10.1
Fixed
- [#7781] Correctly set the parent object in AdminType with CollectionType passed by reference (@VincentLanglet)
- [#7779] ProxyQueryInterface::setSortBy phpdoc (@VincentLanglet)
- [#7776] Fixed display of list items when there are no results and using an entity with inheritance (@jordisala1991)
4.10.0
Changed
- [#7761] CrudController::handleModelManagerThrowable can now return a custom error message to display in the flashbag instead of the generic one from Sonata. (@VincentLanglet)
- [#7766] Reduced number of ModelManager::find calls (@VincentLanglet)
Fixed
- [#7769] Improve detection of Symfony ACL bundle installation (@Buratinas)
4.9.0
Added
- [#7730]
TemplateType
to display custom data in the edit/create view. (@VincentLanglet)
Changed
- [#7749] Improve
make:sonata:admin
command, now it's passing modelClass and Controller in services tag. (@eerison) - [#7725] The default list mode is now the first one of the
getListModes
method. (@VincentLanglet) - [#7744] Some typehint from SourceIteratorInterface to \Iterator to allow using this library without deprecation (@VincentLanglet)
- [#7729] Use dynamic action variable to template (@core23)
- [#7714] Change if targetClass is instance of other className (@willemverspyck)
Deprecated
- [#7748]
sonata_admin.options.default_label_catalogue
in favor ofsonata_admin.options.default_translation_domain
(@VincentLanglet) - [#7748]
label_catalogue
attribute onsonata_admin
tag in favor oftranslation_domain
(@VincentLanglet) - [#7748]
catalogue
option on fieldDescription in favor ofchoice_translation_domain
for TYPE_CHOICE orvalue_translation_domain
for TYPE_TRANS. (@VincentLanglet) - [#7748]
label_catalogue
on group configuration in favor oftranslation_domain
(@VincentLanglet) - [#7748]
btn_catalogue
option on form type in favor ofbtn_translation_domain
(@VincentLanglet) - [#7725] Defining a list mode with a "class" setting, use the "icon" setting instead. (@VincentLanglet)
- [#7743] Passing '' for the
admin
key in an item of thesonata_admin.dashboard.groups
config (@VincentLanglet) - [#7743] Passing a
route
or alabel
when anadmin
is passed in an item of thesonata_admin.dashboard.groups
config (@VincentLanglet) - [#7743] The
item_adds
key when configuring thesonata_admin.dashboard.groups
config (@VincentLanglet) - [#7729]
tree.html.twig
template (@core23)
Fixed
- [#7748]
translation_domain
attribute onsonata_admin
is used to set the admin translation domain. (Unlike thelabel_catalogue
attribute) (@VincentLanglet) - [#7757] Duplicate display of the help option for ModelListType (@VincentLanglet)