Skip to content

Commit

Permalink
Explicitly set elasticsearch/elasticsearch dependency
Browse files Browse the repository at this point in the history
elasticsearch/elasticsearch 6.8.0 was released missing
some class aliases, so currently breaks expected semver
compatibility.

Therefore explicitly require elasticsearch/elasticsearch
~6.5.1 and ~6.7.2.

6.5.x supports ES >= 6.0, < 6.6; 6.5.4 is currently used
in WMF prod.
6.7.x supports ES >= 6.6, < 7.0.

This should be reverted when upstream bugs are fixed.

Upstream tasks:
* ruflin/Elastica#1908
* elastic/elasticsearch-php#1112

Bug: T276320
Bug: T276854
Change-Id: If00e4f871dbfa5572563f1eb5f60ded51f79a06b
  • Loading branch information
toban authored and reedy committed Mar 8, 2021
1 parent 3617e6d commit f86b3eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
],
"require": {
"ruflin/elastica": "6.1.3",
"elasticsearch/elasticsearch": "~6.5.1||~6.7.2",
"ext-curl": "*"
},
"require-dev": {
Expand Down

0 comments on commit f86b3eb

Please sign in to comment.