IndexDocumentInterface
implementations should now extend\Valantic\ElasticaBridgeBundle\Document\AbstractDocument
.getType()
should now return one of\Valantic\ElasticaBridgeBundle\Enum\DocumentType
Valantic\ElasticaBridgeBundle\DocumentType\Index\ListingTrait
was removed, remove any references to it #30- Update references to renamed classes and interfaces (see next section)
- see also the example in
docs/example/
- PHP 8.1+ #26
\Valantic\ElasticaBridgeBundle\EventListener\Pimcore\AbstractListener
was renamed to\Valantic\ElasticaBridgeBundle\EventListener\Pimcore\ChangeListener
Valantic\ElasticaBridgeBundle\DocumentType\Index\IndexDocumentInterface
was renamed to\Valantic\ElasticaBridgeBundle\Document\DocumentInterface
#36\Valantic\ElasticaBridgeBundle\DocumentType\AbstractDocument
andValantic\ElasticaBridgeBundle\DocumentType\DocumentInterface
were dropped in favor of\Valantic\ElasticaBridgeBundle\Document\AbstractDocument
andValantic\ElasticaBridgeBundle\Document\DocumentInterface
#36\Valantic\ElasticaBridgeBundle\Document\DocumentInterface::getType
now returns an enum of type\Valantic\ElasticaBridgeBundle\Enum\DocumentType
#28Valantic\ElasticaBridgeBundle\Index\IndexInterface::getDocumentFromElement
was removed, use$index->getElasticaIndex()->getDocument(AbstractDocument::getElasticsearchId($element))
instead #35Valantic\ElasticaBridgeBundle\Index\IndexInterface::searchForElements
was removed, use$index->getElasticaIndex()->search($query)->getDocuments()
instead #35Valantic\ElasticaBridgeBundle\Index\IndexInterface::documentResultToElements
was removed #35Valantic\ElasticaBridgeBundle\Index\IndexInterface::getGlobalFilters
,Valantic\ElasticaBridgeBundle\Index\IndexInterface::disableGlobalFilters
,Valantic\ElasticaBridgeBundle\Index\IndexInterface::enableGlobalFilters
were removedValantic\ElasticaBridgeBundle\Index\TenantAwareTrait
has been replaced byValantic\ElasticaBridgeBundle\Index\AbstractTenantAwareIndex
Valantic\ElasticaBridgeBundle\Document\TenantAwareTrait
has been replaced byValantic\ElasticaBridgeBundle\Document\AbstractTenantAwareDocument
- PHPStan generics annotations for
\Valantic\ElasticaBridgeBundle\Document\DocumentInterface
and related helper traits #32 - Added
\Valantic\ElasticaBridgeBundle\Service\PropagateChanges::handle
to programmatically update an element in all indices #33 - Added support for assets #34
- Allow
\Valantic\ElasticaBridgeBundle\Document\DocumentInterface::getSubType
to returnnull
for generic, element-level indices #42
:cleanup
now defaults to only cleaning up bundle indices #27- Removed
--check
from:index
#41 Valantic\ElasticaBridgeBundle\Index\TenantAwareInterface
now extendsValantic\ElasticaBridgeBundle\Index\IndexInterface
Valantic\ElasticaBridgeBundle\Document\TenantAwareInterface
now extendsValantic\ElasticaBridgeBundle\Document\DocumentInterface