diff --git a/.hgignore b/.hgignore index 6fc1ed77..8c1d1af8 100755 --- a/.hgignore +++ b/.hgignore @@ -15,6 +15,7 @@ syntax: regexp ^\.pytest_cache/ node_modules/ yarn-error\.log +^coverage\.xml ^MANIFEST\.in~ ^tmp/ diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5a61c1c4..7bf3469a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,12 @@ are used for versioning (schema follows below): 0.3.4 to 0.4). - All backwards incompatible changes are mentioned in this document. +0.20.1 +------ +2019-08-18 + +- Minor Elasticsearch 7.x compatibility fixes. + 0.20 ---- 2019-08-17 diff --git a/docs/changelog.rst b/docs/changelog.rst index 5a61c1c4..7bf3469a 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -15,6 +15,12 @@ are used for versioning (schema follows below): 0.3.4 to 0.4). - All backwards incompatible changes are mentioned in this document. +0.20.1 +------ +2019-08-18 + +- Minor Elasticsearch 7.x compatibility fixes. + 0.20 ---- 2019-08-17 diff --git a/docs/dependencies.rst b/docs/dependencies.rst index e1e8addc..54648b7d 100644 --- a/docs/dependencies.rst +++ b/docs/dependencies.rst @@ -23,6 +23,22 @@ Current compatibility matrix is: You are advised to use the latest version of `django-elasticsearch-dsl `_. +The following versions have been tested and work well together: + ++---------------+-------------------+--------------------------+ +| elasticsearch | elasticsearch-dsl | django-elasticsearch-dsl | ++---------------+-------------------+--------------------------+ +| 2.4.1 | 2.2.0 | 0.5.1 | ++---------------+-------------------+--------------------------+ +| 5.4.0 | 5.3.0 | 0.5.1 | ++---------------+-------------------+--------------------------+ +| 6.3.0 | 6.1.0 | 0.5.1 | ++---------------+-------------------+--------------------------- +| 6.3.0 | 6.4.0 | 6.4.2 | ++---------------+-------------------+--------------------------- +| 7.0.2 | 7.0.0 | 7.0.0 | ++---------------+-------------------+--------------------------- + As of ``django-elasticsearch-dsl-drf`` 0.19, support for Elasticsearch versions prior 6.x has been dropped. diff --git a/docs/faq.rst b/docs/faq.rst index a4928e6b..3ac3538b 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -67,3 +67,13 @@ How can I sync my database with Elasticsearch indexes. It's documented `here `_. +**Question** + +I keep getting ``[FORBIDDEN/12/index read-only / allow delete (api)]`` error +when saving models despite having ``blocks={'read_only_allow_delete': None}``, +in settings. + +**Answer** + +Once of the possible reasons for the mentioned symptom might be `low disk space +`_. diff --git a/docs_src/dependencies.rst b/docs_src/dependencies.rst index e1e8addc..54648b7d 100644 --- a/docs_src/dependencies.rst +++ b/docs_src/dependencies.rst @@ -23,6 +23,22 @@ Current compatibility matrix is: You are advised to use the latest version of `django-elasticsearch-dsl `_. +The following versions have been tested and work well together: + ++---------------+-------------------+--------------------------+ +| elasticsearch | elasticsearch-dsl | django-elasticsearch-dsl | ++---------------+-------------------+--------------------------+ +| 2.4.1 | 2.2.0 | 0.5.1 | ++---------------+-------------------+--------------------------+ +| 5.4.0 | 5.3.0 | 0.5.1 | ++---------------+-------------------+--------------------------+ +| 6.3.0 | 6.1.0 | 0.5.1 | ++---------------+-------------------+--------------------------- +| 6.3.0 | 6.4.0 | 6.4.2 | ++---------------+-------------------+--------------------------- +| 7.0.2 | 7.0.0 | 7.0.0 | ++---------------+-------------------+--------------------------- + As of ``django-elasticsearch-dsl-drf`` 0.19, support for Elasticsearch versions prior 6.x has been dropped. diff --git a/docs_src/faq.rst b/docs_src/faq.rst index a4928e6b..3ac3538b 100644 --- a/docs_src/faq.rst +++ b/docs_src/faq.rst @@ -67,3 +67,13 @@ How can I sync my database with Elasticsearch indexes. It's documented `here `_. +**Question** + +I keep getting ``[FORBIDDEN/12/index read-only / allow delete (api)]`` error +when saving models despite having ``blocks={'read_only_allow_delete': None}``, +in settings. + +**Answer** + +Once of the possible reasons for the mentioned symptom might be `low disk space +`_. diff --git a/setup.py b/setup.py index 349a1328..d2d8dbef 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup -version = '0.20' +version = '0.20.1' DOCS_TRANSFORMATIONS = ( ( diff --git a/src/django_elasticsearch_dsl_drf/__init__.py b/src/django_elasticsearch_dsl_drf/__init__.py index 51f3485f..da0895f8 100644 --- a/src/django_elasticsearch_dsl_drf/__init__.py +++ b/src/django_elasticsearch_dsl_drf/__init__.py @@ -3,7 +3,7 @@ """ __title__ = 'django-elasticsearch-dsl-drf' -__version__ = '0.20' +__version__ = '0.20.1' __author__ = 'Artur Barseghyan ' __copyright__ = '2017-2019 Artur Barseghyan' __license__ = 'GPL 2.0/LGPL 2.1'