Releases: sonata-project/SonataDoctrineORMAdminBundle
Releases · sonata-project/SonataDoctrineORMAdminBundle
3.29.0
Deprecated
- [#1292] Extending
ProxyQuery
(@VincentLanglet) - [#1292] Extending
DataSource
(@VincentLanglet)
Fixed
- [#1287] Fixed
CountFilter
(@VincentLanglet)
3.28.0
Added
- [#1280] Added
CountFilter
. (@rgrassian)
Changed
- [#1268] Use Doctrine ORM Paginator to count in Pager. (@VincentLanglet)
Deprecated
- [#1268]
Pager::CONCAT_SEPARATOR
(@VincentLanglet)
Fixed
- [#1265] Do not provide a default
null
field_type
option for Filter (@VincentLanglet) - [#1268] Support of composite key for computeNbResult (@VincentLanglet)
3.27.0
Added
- [#1262] Added Pager::getCurrentPageResults() (@VincentLanglet)
- [#1257] Implemented
Sonata\AdminBundle\Datagrid\PagerInterface::countResults()
(@dmaicher) - [#1234] Added
Sonata\DoctrineORMAdminBundle\Filter\NullFilter
(@pbories) - [#1218] Added
Sonata\DoctrineORMAdminBundle\Datagrid\ProxyQueryInterface
(@VincentLanglet) - [#1212] Added
DataSourceInterface
implementation (@VincentLanglet)
Changed
- [#1259] Code formatting in views and change from
<a>
with empty href to button (@axzx) - [#1255] Changing access checking in views (isGranted to hasAccess) (@axzx)
- [#1241] When using embedded fields or fake field 'foo.bar' (with custom getters in the entity),
FieldDescription::fieldName
is changed frombar
to the correct valuefoo.bar
(@VincentLanglet)
Deprecated
- [#1262] Deprecated Pager::getResults() (@VincentLanglet)
- [#1257]
Sonata\DoctrineORMAdminBundle\Datagrid\Pager::computeNbResult()
(@dmaicher) - [#1257]
Sonata\DoctrineORMAdminBundle\Datagrid\Pager::getNbResults()
(@dmaicher) - [#1257]
Sonata\DoctrineORMAdminBundle\Datagrid\Pager::setNbResults()
(@dmaicher) - [#1234] Deprecated
Sonata\DoctrineORMAdminBundle\Filter\EmptyFilter
(@pbories) - [#1232] Deprecated
ModelManager::getMetadata()
method (@VincentLanglet) - [#1232] Deprecated
ModelManager::hasMetadata()
method (@VincentLanglet) - [#1211] Deprecate
Sonata\DoctrineORMAdminBundle\Model\ModelManager::modelTransform()
with no replacement (@VincentLanglet) - [#1211] Deprecate
Sonata\DoctrineORMAdminBundle\Model\ModelManager::getDefaultPerPageOptions()
with no replacement (@VincentLanglet) - [#1211] Deprecate
Sonata\DoctrineORMAdminBundle\Model\ModelManager::getDefaultSortValues()
with no replacement (@VincentLanglet) - [#1211] Deprecate
Sonata\DoctrineORMAdminBundle\Model\ModelManager::getDataSourceIterator()
with no replacement (@VincentLanglet) - [#1199] Deprecate passing an instance of
ProxyQueryInterface
which is not an instance ofSonata\DoctrineORMAdminBundle\Datagrid::ProxyQuery
as argument 1 to theSonata\DoctrineORMAdminBundle\Filter\Filter::filter()
method (@VincentLanglet)
Fixed
- [#1248] Unavoidable deprecation in Pager (@VincentLanglet)
- [#1254] Fix for checking if delete button is to be displayed (@axzx)
- [#1241] Support for embedded and custom getters by the FieldDescription (@VincentLanglet)
3.26.0
Added
- [#1207] Added an option
inverse
for theEmptyFilter
filter (@VincentLanglet) - [#1120] Allow empty string for filtering (@peter-gribanov)
3.25.0
Added
- [#1202] Added "Not equal" filter for
StringFilter
(@VincentLanglet) - [#1190] Support for
\DateTimeImmutable
atAbstractDateFilter::filter()
(@phansys) - [#1166] Check to guarantee that argument 3 passed to
ModelManager::addIdentifiersToQuery()
is not an empty array (@phansys)
Deprecated
- [#1170] Instantiate a FieldDescription without passing the name as first argument (@VincentLanglet)
- [#1159] Using a callback filter with a callback option which does not return a boolean (@VincentLanglet)
Fixed
- [#1197]
FormContractor::getDefaultOptions()
passescollection_by_reference
option instead ofby_reference
toAdminType
in order to respect the new API (@VincentLanglet) - [#1189] Setting wrong date and time references at
AbstractDateFilter::filter()
(@phansys) - [#1136]
TypeError
thrown byexplode()
when receiving non string values as argument 2 from argument 3 atModelManager::addIdentifiersToQuery()
(@phansys)
3.24.0
Added
- [#1142]
FormContractor::getDefaultOptions()
passby_reference
fromCollectionType
toAdminType
(@VincentLanglet) - [#1127] Add more phpdoc (@core23)
- [#1113]
ModelManager::supportsQuery()
method (@VincentLanglet) - [#1117] Allow
doctrine/persistence
2 (@franmomu)
Deprecated
- [#1113] Calling
executeQuery()
on something else than an instance ofDoctrine\ORM\QueryBuilder
orSonata\DoctrineORMAdminBundle\Datagrid\ProxyQuery
(@VincentLanglet)
Fixed
3.23.0
Deprecated
- [#1109] Deprecate ModelManager collections methods. (@VincentLanglet)
- [#1109] Deprecate ModelManager::getPaginationParameters(). (@VincentLanglet)
- [#1109] Deprecate ModelManager::getSortParameters(). (@VincentLanglet)
3.22.0
Added
- [#1091] Added support for symfony/options-resolver:^5.1 (@phansys)
- [#1091] Added support for symfony/property-access:^5.1 (@phansys)
- [#1100] Add support for Twig 3 (@willemverspyck)
- [#1023] Add support for SonataBlockBundle 4.0 (@wbloszyk)
Changed
- [#1077] Use
deprecated
tag instead ofsonata_template_deprecate
to not throw unwanted deprecation notices (@franmomu)
Deprecated
- [#1082] Deprecate ModelManager::getParentFieldDescription with no replacement (@VincentLanglet)
- [#1078] Deprecate
ModelManager::camelize
(@VincentLanglet)
Removed
3.21.0
Added
Deprecated
- [#1061]
format
option of theStringFilter
. (@VincentLanglet) - [#1067] Passing a string as argument 1 when instantiating Sonata\DoctrineORMAdminBundle\Block\AuditBlockService (@VincentLanglet)