All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
4.11.0 - 2024-01-31
- [#843] Support for Symfony 7. (@franmomu)
- [#843] Support for doctrine/mongodb-odm-bundle 5 (@franmomu)
4.10.0 - 2023-05-13
- [#825] Support for
sonata-project/form-extensions
2.0 (@jordisala1991)
4.9.0 - 2023-04-25
- [#816] Support for Symfony 4 (@jordisala1991)
- [#816] Support for Twig 2 (@jordisala1991)
4.8.0 - 2023-04-09
- [#813] Exception message at
ModelManager::batchDelete()
in order to provide more details about the failed batch operation (@phansys)
- [#811] Catch and display error messages when creating, updating or removing objects (@jordisala1991)
4.7.0 - 2023-03-09
4.6.0 - 2022-09-09
- [#776] ModelManager now implements ProxyResolverInterface (@antonymous)
4.5.0 - 2022-08-05
4.4.0 - 2022-08-02
- [#771] Support for sonata-project/exporter ^3 (@VincentLanglet)
4.3.3 - 2022-07-22
- [#766] Display of advanced filter for NumberFilter and StringFilter. (@VincentLanglet)
4.3.2 - 2022-07-21
- [#764] Fix missing 'operator_type' array value returned in
AbstractDateFilter:: getFormOptions()
bug to avoid not rendered advanced filter options in DateFilter or DateTimeFilter. (@VincentLanglet)
4.3.1 - 2022-07-18
- [#762] Solved deprecation with SonataAdminBundle 4.14 (@VincentLanglet)
4.3.0 - 2022-06-28
- [#753] Remove support for PHP 7.3. (@jordisala1991)
4.2.0 - 2022-06-12
4.1.1 - 2022-04-09
- [#734] The lastpage is correctly set to 1 when there is no results. (@VincentLanglet)
4.1.0 - 2021-12-04
- [#699] Added support for Symfony 6 (@jordisala1991)
4.0.1 - 2021-10-01
- [#680] Fixed not forcing to set
field_name
inDatagridMapper
fields with type defined (@franmomu) - [#662] Registered
DateRangeFilter
andDateTimeRangeFilter
in Service Container (@javer) - [#665] Allow open ranges for
DateRangeFilter
andDateTimeRangeFilter
(@javer)
4.0.0 - 2021-09-06
- [#659] Do not set a default route option to
FieldDescription
inFieldDescriptionFactory
(@VincentLanglet) - [#641]
AbstractDateFilter::getDefaultOptions()
is final (@VincentLanglet) - [#641]
AbstractDateFilter::getRenderSettings()
is final (@VincentLanglet)
4.0.0-rc.1 - 2021-08-12
- [#632] Removed support for PHP < 7.3 (@franmomu)
- [#632] Removed support for Symfony 5.2 (@franmomu)
- [#603] Removed class parameters in the container (@franmomu)
4.0.0-alpha.1 - 2021-06-13
- [#593] Added
DateRangeFilter
to be able to filter by dates (@franmomu) - [#593] Added
DateTimeRangeFilter
to be able to filter by dates with time (@franmomu)
- [#564] Changed the guessing type of
FieldDescriptionInterface
with association mapping frommongo_one
toFieldDescriptionInterface::MANY_TO_ONE
and frommongo_many
toFieldDescriptionInterface::MANY_TO_MANY
. (@franmomu) - [#515] Add final modifier to classes (@franmomu)
- [#515] Reduce visibility of methods and properties (@franmomu)
- [#593] Fixed using
DateOperatorType::TYPE_EQUAL
type in aDateFilter
andDateTimeFilter
, now it filters by the exact date instead of a range. (@franmomu)
- [#593] Removed unused
input_type
option inAbstractDateFilter
(@franmomu) - [#593] Removed
AbstractDateFilter:: applyTypeIsLessEqual
(@franmomu) - [#593] Removed
AbstractDateFilter:: applyTypeIsGreaterThan
(@franmomu) - [#593] Removed
AbstractDateFilter:: applyType
(@franmomu) - [#575] Remove support for
doctrine/persistence
1.x (@franmomu) - [#357] The modelManager getDefaultSortValues does not have default
_sort_by
value anymore. (@VincentLanglet) - [#356] Special case for the
all
value in ChoiceFilter (@VincentLanglet)
3.10.0 - 2021-07-20
- [#610]
global_search
option to theStringFilter
(@VincentLanglet)
- [#607] Compatibility with SonataAdminBundle 3.x (@dmaicher)
- [#610] Stop using
ChoiceTypeFilter
for global search (@VincentLanglet)
3.9.0 - 2021-05-19
- [#586] Deprecated
active_callback
option inCallbackFilter
(@franmomu) - [#586] Deprecated not adding
FilterData
as type declaration of argument 4 in the callable passed toCallbackFilter
(@franmomu) - [#584]
templates.form
andtemplates.filter
config (@dmaicher)
3.8.0 - 2021-04-06
- [#553] Added
Sonata\DoctrineMongoDBAdminBundle\FieldDescription\FieldDescription
class (@franmomu) - [#553] Added
Sonata\DoctrineMongoDBAdminBundle\FieldDescription\TypeGuesser
class (@franmomu) - [#553] Added
Sonata\DoctrineMongoDBAdminBundle\FieldDescription\FilterTypeGuesser
class (@franmomu) - [#554] Added support for sorting embbeded fields in lists (@franmomu)
- [#531] Added
FieldDescriptionFactory
class to create FieldDescription instances (@franmomu) - [#548] Added
ModelManager::reverseTransform()
method (@franmomu) - [#528] Added some
ProxyQueryInterface
to use it as a type declaration (@franmomu) - [#526] Support for PHP 8.x (@franmomu)
- [#558] Deprecated
ModelManager::getModelInstance()
method (@franmomu) - [#558] Deprecated not passing an instance of
ProxyQueryInterface
toModelManager::addIdentifiersToQuery()
method (@franmomu) - [#558] Deprecated not passing an instance of
ProxyQueryInterface
toModelManager::batchDelete()
method (@franmomu) - [#553] Deprecated
Sonata\DoctrineMongoDBAdminBundle\Admin\FieldDescription
class (@franmomu) - [#553] Deprecated
Sonata\DoctrineMongoDBAdminBundle\Guesser\TypeGuesser
class (@franmomu) - [#553] Deprecated
Sonata\DoctrineMongoDBAdminBundle\Guesser\FilterTypeGuesser
class (@franmomu) - [#531] Deprecated
ModelManager::getParentMetadataForProperty()
method (@franmomu) - [#531] Deprecated
ModelManager::getNewFieldDescriptionInstance()
method (@franmomu) - [#531] Deprecated
AbstractTypeGuesser
class (@franmomu) - [#531] Deprecated
FilterTypeGuesser::guessType()
method (@franmomu) - [#531] Deprecated
TypeGuesser::guessType()
method (@franmomu) - [#531] Deprecated
ListBuilder::buildActionFieldDescription()
method (@franmomu) - [#548] Deprecated
ModelManager::modelReverseTransform()
method (@franmomu) - [#528] Deprecated calling
Filter::apply()
with an instance not implementingProxyQueryInterface
(@franmomu)
3.7.0 - 2021-01-27
- [#509] Added implementation of
Pager::getCurrentPageResults()
method. (@franmomu) - [#501] Implemented
Sonata\AdminBundle\Datagrid\PagerInterface::countResults()
(@dmaicher)
- [#509] Deprecated
Pager::getResults()
method in favor ofPager::getCurrentPageResults()
. (@franmomu) - [#501]
Sonata\DoctrineMongoDBAdminBundle\Datagrid\Pager::computeNbResult()
(@dmaicher) - [#501]
Sonata\DoctrineMongoDBAdminBundle\Datagrid\Pager::getNbResults()
(@dmaicher) - [#501]
Sonata\DoctrineMongoDBAdminBundle\Datagrid\Pager::setNbResults()
(@dmaicher)
3.6.0 - 2021-01-04
- [#492] Deprecated
ModelManager::getMetadata()
method. (@franmomu) - [#492] Deprecated
ModelManager::hasMetadata()
method. (@franmomu) - [#486] Deprecated
ModelManager::getDataSourceIterator()
. (@franmomu) - [#473] Deprecated
ModelManager::getModelIdentifier()
. (@franmomu) - [#473] Deprecated
ModelManager::getDefaultSortValues()
. (@franmomu) - [#473] Deprecated
ModelManager::getDefaultPerPageOptions()
. (@franmomu) - [#473] Deprecated
ModelManager::modelTransform()
. (@franmomu) - [#451] Deprecated passing
null
as argument 2 forModelManager::find()
; (@franmomu) - [#451] Deprecated passing
null
as argument 1 forModelManager::getNormalizedIdentifier()
; (@franmomu) - [#451] Deprecated passing other type than
object
as argument 1 forModelManager::getUrlSafeIdentifier()
; (@franmomu)
- [#497] Fixed calling to deprecated
Pager::setCountColumn()
method. (@franmomu) - [#479] Fixed calling to
AdminInterface::id
without an object. (@franmomu) - [#463]
FormContractor::getDefaultOptions()
passescollection_by_reference
option instead ofby_reference
toAdminType
in order to respect the new API (@VincentLanglet) - [#470] Fixed returning an array of identifiers in
ModelManager::getIdentifierFieldNames
. (@franmomu) - [#468] Fixed the return type of
TypeGuesser::guessType
, it must returnnull
orTypeGuess
. (@franmomu) - [#459] Fixed deprecation constructing
FieldDescription
without arguments. (@franmomu)
3.5.0 - 2020-10-09
- [#438]
FormContractor::getDefaultOptions()
passby_reference
fromCollectionType
toAdminType
(@VincentLanglet) - [#430] Added
ModelManager::supportsQuery()
(@franmomu)
- [#430] Deprecated
ProxyQuery::getUniqueParameterId()
andProxyQuery::entityJoin()
(@franmomu) - [#430] Deprecated calling
ModelManager::executeQuery()
with anything but an instance ofDoctrine\ODM\MongoDB\Query\Builder
orSonata\DoctrineMongoDBAdminBundle\Datagrid\ProxyQuery
(@franmomu)
3.4.0 - 2020-09-24
- [#353] Allow
_sort_by
filter to not be initially defined (@VincentLanglet) - [#420] Added returning the own instance in
ProxyQuery
based on PHPDoc ofProxyQueryInterface
(@franmomu) - [#408] Added support for symfony/options-resolver:^5.1 (@franmomu)
- [#408] Added support for twig 3 (@franmomu)
- [#409] Added doctrine/persistence as a dependency (@franmomu)
- [#379] Added
ModelManager::getDefaultPerPageOptions()
(@franmomu) - [#379] Added
FieldDescription::getTargetModel()
(@franmomu) - [#378] Added
doctrine/collections
dependency (@franmomu) - [#375] Added
sonata-project/form-extensions
dependency (@franmomu) - [#346] "sonata.admin.manager" tag to "sonata.admin.manager.doctrine_mongodb" service (@phansys)
- [#380] Changed
DatagridBuilder
constructor's first parameter typehint fromSymfony\Component\Form\FormFactory
toSymfony\Component\Form\FormFactoryInterface
(@franmomu) - [#373] Use
deprecated
tag instead ofsonata_template_deprecate
to not throw unwanted deprecation notices (@franmomu) - [#373] Bump Twig to 2.6 (@franmomu)
- [#374] Bump Symfony to 4.4 (@franmomu)
- [#414] Deprecate creating
ObjectAclManipulator
without passing aManagerRegistry
object (@franmomu) - [#415] Deprecate
ModelManager::getModelCollectionInstance()
(@franmomu) - [#415] Deprecate
ModelManager::collectionClear()
(@franmomu) - [#415] Deprecate
ModelManager::collectionHasElement()
(@franmomu) - [#415] Deprecate
ModelManager::collectionAddElement()
(@franmomu) - [#415] Deprecate
ModelManager::collectionRemoveElement()
(@franmomu) - [#415] Deprecate
ModelManager::getPaginationParameters()
(@franmomu) - [#415] Deprecate
ModelManager::getSortParameters()
(@franmomu) - [#384] Deprecate
ModelManager::getParentFieldDescription()
(@franmomu) - [#381] Deprecated passing arguments to
ProxyQuery::execute()
(@franmomu) - [#368] Deprecated
AbstractDateFilter::typeRequiresValue
(@franmomu) - [#368] Deprecated
ModelManager::camelize
(@franmomu) - [#368] Deprecated constructing
ModelManager
without passing an instance ofPropertyAccessorInterface
as second argument (@franmomu) - [#379] Deprecated
FieldDescription::getTargetEntity()
in favor ofFieldDescription::getTargetModel()
(@franmomu)
- [#385] Fixed exception captured when creating
ObjectId
(@franmomu) - [#377] Replace deprecated operator constants (@franmomu)
- [#372] Fixed passing
null
toDoctrine\ODM\MongoDB\Query\Builder::skip
andDoctrine\ODM\MongoDB\Query\Builder::limit
(@franmomu) - [#359] Fixed returning
void
from methods which are intended to return values and returning values from methods which are intended to returnvoid
; (@phansys) - [#359] Fixed weak check at
ModelManager::getNormalizedIdentifier()
(@phansys)
- [#358] Drop support of php 7.1 (@VincentLanglet)
- [#424] Remove support for
doctrine/mongodb-odm
<2.0 (@franmomu) - [#409] Removed deprecations coming from doctrine/common namespace (@franmomu)
- [#378] Removed
twig/extensions
dependency (@franmomu) - [#378] Removed
jmikola/geojson
dependency (@franmomu) - [#375] Removed SonataCoreBundle dependency (@franmomu)
3.3.0 - 2020-01-08
- Fixed filtering by a field of an embedded object
- Fixed
_action
item in ListMapper when type isnull
- Fixed support for doctrine/mongodb-odm 2.x
- Support for Symfony < 3.4
- Support for Symfony >= 4, < 4.2
3.2.2 - 2019-10-16
- support for
doctrine/mongodb-odm
2.x anddoctrine/mongodb-odm-bundle
4.x
3.2.1 - 2019-07-03
- Use proper namespace for
Sonata\Exporter\Source\DoctrineODMQuerySourceIterator
3.2.0 - 2019-04-03
- using the new collection type namespace
- deprecation for symfony/config 4.2+
- missing association admin class in datagrid filters.
isLastPage
() always returningfalse
- support for php 5 and php 7.0
3.1.1 - 2018-02-08
- All templates references are updated to twig namespaced syntax
- Compatibility with autocomplete form type
- FQCN for form types (Symfony 3 compatibility)
- Association field popup
3.1.0 - 2018-01-08
- Added php 7.0 support
- Added twig dependency
- Changed internal folder structure to
src
,tests
anddocs
- Add support for FQCNs form types
- Switched to templates from SonataAdminBundle
- Replace twig paths with new naming conventions
- Association templates
- call of render function now Sf3 compatible
- Fix
FormContractor::getDefaultOptions
not checking against form types FQCNs - Throw an exception if property name is not found in field mappings
- A list field with
actions
type will get all the required field options just like the_action
field. _action
field will get a properactions
type.- Patched collection form handling script to maintain File input state when new items are added to collections
- Typo in javascript in
edit_mongo_one_association_script.html.twig
- Check for filter Value in StringFilter
- Missing explicit Symfony dependencies
- internal test classes are now excluded from the autoloader
- Support for old versions of Symfony.