5.0 compatibility

This commit is contained in:
Honza Král
2016-03-22 21:04:07 +01:00
parent b10ae7c891
commit 6e94bf76ad
14 changed files with 187 additions and 155 deletions
+7 -1
View File
@@ -28,6 +28,9 @@ Compatibility
The library is compatible with all Elasticsearch versions since ``0.90.x`` but you
**have to use a matching major version**:
For **Elasticsearch 5.0** and later, use the major version 5 (``5.x.y``) of the
library.
For **Elasticsearch 2.0** and later, use the major version 2 (``2.x.y``) of the
library.
@@ -40,6 +43,9 @@ library.
The recommended way to set your requirements in your `setup.py` or
`requirements.txt` is::
# Elasticsearch 5.x
elasticsearch>=5.0.0,<6.0.0
# Elasticsearch 2.x
elasticsearch>=2.0.0,<3.0.0
@@ -49,7 +55,7 @@ The recommended way to set your requirements in your `setup.py` or
# Elasticsearch 0.90.x
elasticsearch<1.0.0
The development is happening on ``master`` and ``1.x`` branches, respectively.
The development is happening on ``master`` and ``2.x`` branches respectively.
Installation
------------