diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f812ed0..19d02fe 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,41 @@ Changelog ========= +7.14.0b1 (2021-08-09) +--------------------- + +Added +^^^^^ + +* Added support for Pandas 1.3.x (`#362`_, contributed by `@V1NAY8`_) +* Added support for LightGBM 3.x (`#362`_, contributed by `@V1NAY8`_) +* Added ``DataFrame.idxmax()`` and ``DataFrame.idxmin()`` methods (`#353`_, contributed by `@V1NAY8`_) +* Added type hints to ``eland.ndframe`` and ``eland.operations`` (`#366`_, contributed by `@V1NAY8`_) + +Removed +^^^^^^^ + +* Removed support for Pandas <1.2 (`#364`_) +* Removed support for Python 3.6 to match Pandas (`#364`_) + +Changed +^^^^^^^ + +* Changed paginated search function to use `Point-in-Time`_ and `Search After`_ features + instead of Scroll when connected to Elasticsearch 7.12+ (`#370`_ and `#376`_, contributed by `@V1NAY8`_) +* Optimized the ``FieldMappings.aggregate_field_name()`` method (`#373`_, contributed by `@V1NAY8`_) + + .. _Point-in-Time: https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html + .. _Search After: https://www.elastic.co/guide/en/elasticsearch/reference/7.14/paginate-search-results.html#search-after + .. _#353: https://github.com/elastic/eland/pull/353 + .. _#362: https://github.com/elastic/eland/pull/362 + .. _#364: https://github.com/elastic/eland/pull/364 + .. _#366: https://github.com/elastic/eland/pull/366 + .. _#370: https://github.com/elastic/eland/pull/370 + .. _#373: https://github.com/elastic/eland/pull/373 + .. _#376: https://github.com/elastic/eland/pull/376 + + 7.13.0b1 (2021-06-22) --------------------- diff --git a/README.md b/README.md index f63f9d8..e93b4ad 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ src="https://clients-ci.elastic.co/buildStatus/icon?job=elastic%2Beland%2Bmaster" alt="Build Status"> License - Documentation Status + Documentation Status ## About @@ -47,10 +47,10 @@ Eland can also be installed from [Conda Forge](https://anaconda.org/conda-forge/ $ conda install -c conda-forge eland ``` -### Supported Versions +### Compatibility - Supports Python 3.7+ and Pandas 1.3 -- Supports Elasticsearch clusters that are 7.x+, recommended 7.14 or later for all features to work. +- Supports Elasticsearch clusters that are 7.11+, recommended 7.14 or later for all features to work. ### Connecting to Elasticsearch diff --git a/docs/guide/overview.asciidoc b/docs/guide/overview.asciidoc index 2bcfa62..d569cab 100644 --- a/docs/guide/overview.asciidoc +++ b/docs/guide/overview.asciidoc @@ -8,8 +8,8 @@ Source code is available on https://github.com/elastic/eland[GitHub]. [discrete] === Compatibility -The library is compatible with Python 3.7 and later and all -{es} versions since 7.14 but you **should use a matching major version**: +- Supports Python 3.7+ and Pandas 1.3 +- Supports {es} clusters that are 7.11+, recommended 7.14 or later for all features to work. The recommended way to set your requirements in your `setup.py` or `requirements.txt` is:: diff --git a/docs/sphinx/reference/supported_apis.rst b/docs/sphinx/reference/supported_apis.rst index 43a8625..54f5ee6 100644 --- a/docs/sphinx/reference/supported_apis.rst +++ b/docs/sphinx/reference/supported_apis.rst @@ -182,9 +182,9 @@ script instead of being modified manually. +---------------------------------------+------------+ | ``ed.DataFrame.iat`` | No | +---------------------------------------+------------+ -| ``ed.DataFrame.idxmax()`` | No | +| ``ed.DataFrame.idxmax()`` | **Yes** | +---------------------------------------+------------+ -| ``ed.DataFrame.idxmin()`` | No | +| ``ed.DataFrame.idxmin()`` | **Yes** | +---------------------------------------+------------+ | ``ed.DataFrame.iloc`` | No | +---------------------------------------+------------+ @@ -424,6 +424,8 @@ script instead of being modified manually. +---------------------------------------+------------+ | ``ed.DataFrame.to_xarray()`` | No | +---------------------------------------+------------+ +| ``ed.DataFrame.to_xml()`` | No | ++---------------------------------------+------------+ | ``ed.DataFrame.transform()`` | No | +---------------------------------------+------------+ | ``ed.DataFrame.transpose()`` | No | @@ -508,7 +510,7 @@ script instead of being modified manually. +---------------------------------------+------------+ | ``ed.DataFrame.__gt__()`` | **Yes** | +---------------------------------------+------------+ -| ``ed.DataFrame.__hash__()`` | **Yes** | +| ``ed.DataFrame.__hash__`` | **Yes** | +---------------------------------------+------------+ | ``ed.DataFrame.__iadd__()`` | No | +---------------------------------------+------------+ @@ -1090,7 +1092,7 @@ script instead of being modified manually. +---------------------------------------+------------+ | ``ed.Series.__gt__()`` | **Yes** | +---------------------------------------+------------+ -| ``ed.Series.__hash__()`` | **Yes** | +| ``ed.Series.__hash__`` | **Yes** | +---------------------------------------+------------+ | ``ed.Series.__iadd__()`` | No | +---------------------------------------+------------+ diff --git a/setup.py b/setup.py index a7bdcb1..279b973 100644 --- a/setup.py +++ b/setup.py @@ -71,7 +71,7 @@ setup( keywords="elastic eland pandas python", packages=find_packages(include=["eland", "eland.*"]), install_requires=[ - "elasticsearch>=7.14,<8", + "elasticsearch>=7.11,<8", "pandas>=1.2,<1.4", "matplotlib", "numpy",