Skip to content

Commit 0f4af3a

Browse files
authored
Merge pull request #10 from ensi-platform/task-105513-v8
#103513 Добавление поддержки Elasticsearch 8
2 parents 99137a4 + 1b68f6c commit 0f4af3a

File tree

6 files changed

+904
-596
lines changed

6 files changed

+904
-596
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,14 @@ class ProductsController
278278
}
279279
```
280280

281+
## Elasticsearch 7 and 8 support.
282+
283+
Due to the incompatibility of clients for Elasticsearch 7 and 8, separate releases will be created for these versions.
284+
Development for each version is carried out in the corresponding branch.
285+
286+
To make changes to version 7, you need to create a task branch based on v7 and make a pull request to it.
287+
For version 8 it is similar, but based on the v8 branch.
288+
281289
## Contributing
282290

283291
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
],
1717
"require": {
1818
"php": "^8.0",
19-
"elasticsearch/elasticsearch": "^7.13",
20-
"ensi/laravel-elastic-query": "^0.3.0",
19+
"elasticsearch/elasticsearch": "^8.0",
20+
"ensi/laravel-elastic-query": "^8.0",
2121
"illuminate/contracts": "^8.37 || ^9.0",
2222
"illuminate/support": "^8.0 || ^9.0",
2323
"spatie/laravel-package-tools": "^1.4.3",
@@ -51,7 +51,8 @@
5151
"sort-packages": true,
5252
"allow-plugins": {
5353
"pestphp/pest-plugin": true,
54-
"composer/package-versions-deprecated": true
54+
"composer/package-versions-deprecated": true,
55+
"php-http/discovery": true
5556
}
5657
},
5758
"extra": {

0 commit comments

Comments
 (0)