SonataDoctrineMongoDBAdminBundle

Symfony Sonata / Integrate Doctrine MongoDB ODM into the SonataAdminBundle

MIT License

Downloads
696.6K
Stars
66
Committers
76

Bot releases are visible (Hide)

SonataDoctrineMongoDBAdminBundle -

Published by franmomu over 3 years ago

Added

  • [#589] Added IdFilter to be able to filter by id in lists (@franmomu)

Deprecated

  • [#586] Deprecated active_callback option in CallbackFilter (@franmomu)
  • [#586] Deprecated not adding FilterData as type declaration of argument 4 in the callable passed to CallbackFilter (@franmomu)
  • [#584] templates.form and templates.filter config (@dmaicher)

Fixed

  • [#584] Always merge form and filter templates with existing method calls (@dmaicher)
SonataDoctrineMongoDBAdminBundle - 3.8.0

Published by VincentLanglet over 3 years ago

Added

  • [#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)

Deprecated

  • [#558] Deprecated ModelManager::getModelInstance() method (@franmomu)
  • [#558] Deprecated not passing an instance of ProxyQueryInterface to ModelManager::addIdentifiersToQuery() method (@franmomu)
  • [#558] Deprecated not passing an instance of ProxyQueryInterface to ModelManager::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 implementing ProxyQueryInterface (@franmomu)

Fixed

  • [#549] Missing argument 2 in calls to trigger_error() (@franmomu)
SonataDoctrineMongoDBAdminBundle - 3.7.0

Published by VincentLanglet over 3 years ago

3.7.0 - 2021-01-27

Added

  • [#509] Added implementation of Pager::getCurrentPageResults() method. (@franmomu)
  • [#501] Implemented Sonata\AdminBundle\Datagrid\PagerInterface::countResults() (@dmaicher)

Deprecated

  • [#509] Deprecated Pager::getResults() method in favor of Pager::getCurrentPageResults(). (@franmomu)
  • [#501] Sonata\DoctrineMongoDBAdminBundle\Datagrid\Pager::computeNbResult() (@dmaicher)
  • [#501] Sonata\DoctrineMongoDBAdminBundle\Datagrid\Pager::getNbResults() (@dmaicher)
  • [#501] Sonata\DoctrineMongoDBAdminBundle\Datagrid\Pager::setNbResults() (@dmaicher)

Fixed

SonataDoctrineMongoDBAdminBundle - 3.6.0

Published by VincentLanglet almost 4 years ago

Added

  • [#486] Added DataSource to provide a DataSourceInterface implementation. (@franmomu)

Deprecated

  • [#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 for ModelManager::find(); (@franmomu)
  • [#451] Deprecated passing null as argument 1 for ModelManager::getNormalizedIdentifier(); (@franmomu)
  • [#451] Deprecated passing other type than object as argument 1 for ModelManager::getUrlSafeIdentifier(); (@franmomu)

Fixed

  • [#497] Fixed calling to deprecated Pager::setCountColumn() method. (@franmomu)
  • [#479] Fixed calling to AdminInterface::id without an object. (@franmomu)
  • [#463] FormContractor::getDefaultOptions() passes collection_by_reference option instead of by_reference to AdminType 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 return null or TypeGuess. (@franmomu)
  • [#459] Fixed deprecation constructing FieldDescription without arguments. (@franmomu)
SonataDoctrineMongoDBAdminBundle - 3.5.0

Published by VincentLanglet about 4 years ago

Added

  • [#438] FormContractor::getDefaultOptions() pass by_reference from CollectionType to AdminType (@VincentLanglet)
  • [#430] Added ModelManager::supportsQuery() (@franmomu)

Changed

Deprecated

  • [#430] Deprecated ProxyQuery::getUniqueParameterId() and ProxyQuery::entityJoin() (@franmomu)
  • [#430] Deprecated calling ModelManager::executeQuery() with anything but an instance of Doctrine\ODM\MongoDB\Query\Builder or Sonata\DoctrineMongoDBAdminBundle\Datagrid\ProxyQuery (@franmomu)
SonataDoctrineMongoDBAdminBundle - 3.4.0

Published by phansys about 4 years ago

Added

  • [#353] Allow _sort_by filter to not be initially defined (@VincentLanglet)
  • [#420] Added returning the own instance in ProxyQuery based on PHPDoc of ProxyQueryInterface (@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)

Changed

  • [#380] Changed DatagridBuilder constructor's first parameter typehint from Symfony\Component\Form\FormFactory to Symfony\Component\Form\FormFactoryInterface (@franmomu)
  • [#373] Use deprecated tag instead of sonata_template_deprecate to not throw unwanted deprecation notices (@franmomu)
  • [#373] Bump Twig to 2.6 (@franmomu)
  • [#374] Bump Symfony to 4.4 (@franmomu)

Deprecated

  • [#414] Deprecate creating ObjectAclManipulator without passing a ManagerRegistry 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 toProxyQuery::execute() (@franmomu)
  • [#368] Deprecated AbstractDateFilter::typeRequiresValue (@franmomu)
  • [#368] Deprecated ModelManager::camelize (@franmomu)
  • [#368] Deprecated constructing ModelManager without passing an instance of PropertyAccessorInterface as second argument (@franmomu)
  • [#379] Deprecated FieldDescription::getTargetEntity() in favor of FieldDescription::getTargetModel() (@franmomu)

Fixed

  • [#385] Fixed exception captured when creating ObjectId (@franmomu)
  • [#377] Replace deprecated operator constants (@franmomu)
  • [#372] Fixed passing null to Doctrine\ODM\MongoDB\Query\Builder::skip and Doctrine\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 return void; (@phansys)
  • [#359] Fixed weak check at ModelManager::getNormalizedIdentifier() (@phansys)

Removed

SonataDoctrineMongoDBAdminBundle -

Published by greg0ire almost 5 years ago

Fixed

  • Fixed filtering by a field of an embedded object
  • Fixed _action item in ListMapper when type is null
  • Fixed support for doctrine/mongodb-odm 2.x

Removed

  • Support for Symfony < 3.4
  • Support for Symfony >= 4, < 4.2
SonataDoctrineMongoDBAdminBundle -

Published by greg0ire about 5 years ago

Added

  • support for doctrine/mongodb-odm 2.x and doctrine/mongodb-odm-bundle 4.x
SonataDoctrineMongoDBAdminBundle -

Published by greg0ire over 5 years ago

Fixed

  • Use proper namespace for Sonata\Exporter\Source\DoctrineODMQuerySourceIterator
SonataDoctrineMongoDBAdminBundle -

Published by greg0ire over 5 years ago

Fixed

  • using the new collection type namespace
  • deprecation for symfony/config 4.2+
  • missing association admin class in datagrid filters.
  • isLastPage() always returning false

Removed

  • support for php 5 and php 7.0
SonataDoctrineMongoDBAdminBundle -

Published by soullivaneuh over 6 years ago

Changed

  • All templates references are updated to twig namespaced syntax

Fixed

  • Compatibility with autocomplete form type
  • FQCN for form types (Symfony 3 compatibility)
  • Association field popup
SonataDoctrineMongoDBAdminBundle -

Published by soullivaneuh almost 7 years ago

Added

  • Added php 7.0 support
  • Added twig dependency

Changed

  • Changed internal folder structure to src, tests and docs
  • Add support for FQCNs form types
  • Switched to templates from SonataAdminBundle
  • Replace twig paths with new naming conventions

Deprecated

  • Association templates

Fixed

  • 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 proper actions 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

Removed

  • internal test classes are now excluded from the autoloader
  • Support for old versions of Symfony.
SonataDoctrineMongoDBAdminBundle -

Published by soullivaneuh over 8 years ago

This release is part of the new Sonata versions management.

Changelog will be added on next releases.

SonataDoctrineMongoDBAdminBundle - bump version 2.3.0

Published by dunglas about 10 years ago