Skip to content

Latest commit

 

History

History
27 lines (27 loc) · 1.38 KB

2022-11-14-update-symfony-to-6-1.md

File metadata and controls

27 lines (27 loc) · 1.38 KB
title issue
Update symfony to 6.1
NEXT-23917

Core

  • 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 of ongr/elasticsearch-dsl.

Upgrade Information

Update minimum PHP version to 8.1

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.

Update to symfony 6.1

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.

Change Elasticsearch DSL library to shyim/opensearch-php-dsl

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;