title | issue |
---|---|
Update symfony to 6.1 |
NEXT-23917 |
- Changed the minimum required PHP version to 8.1.
- Changed the used symfony version to 6.1, and symfony contracts v3.1.
- Changed the used ElasticSearch DSL library to
shyim/opensearch-php-dsl
, instead ofongr/elasticsearch-dsl
.
Shopware 6 now requires at least PHP 8.1.0. Please update your PHP version to at least 8.1.0. Refer to the upgrade guide to v8.0 and v8.1 for more information.
Shopware now uses symfony components in version 6.1, please make sure your plugins are compatible. Refer to the upgrade guides to v6.0 and v6.1.
We changed the used Elasticsearch DSL library to shyim/opensearch-php-dsl
, instead of ongr/elasticsearch-dsl
.
It is a fork of the ONGR library and migrating should be straight forward. You need to change the namespace of the used classes from ONGR\ElasticsearchDSL
to OpenSearchDSL
.
Before:
use ONGR\ElasticsearchDSL\Aggregation\AbstractAggregation;
After:
use OpenSearchDSL\Aggregation\AbstractAggregation;