From e3bb362c8a43a8735159c6d019b3b3490cff8dbf Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Fri, 21 Mar 2025 17:09:35 +0400 Subject: [PATCH 1/3] Release 8.18.0 --- README.md | 13 ++++++++++++- docs/guide/release-notes/8-18-0.asciidoc | 20 ++++++++++++++++++++ docs/guide/release-notes/index.asciidoc | 2 ++ elastic_enterprise_search/__init__.py | 12 ++++++++++++ elastic_enterprise_search/_version.py | 2 +- 5 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 docs/guide/release-notes/8-18-0.asciidoc diff --git a/README.md b/README.md index e795010..da5551c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ +# :warning: App Search and Workplace Search will be discontinued in 9.0 + +Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. +They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. +Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our [EOL policy](https://www.elastic.co/support/eol). +We recommend transitioning to our actively developed [Elastic Stack](https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients. + +Here are some useful links with more information: + +- [Enterprise Search FAQ](https://www.elastic.co/resources/enterprise-search/enterprise-search-faq) +- [One stop shop for Upgrading to Elastic Search 9](https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html) +

Elastic Enterprise Search @@ -7,7 +19,6 @@ PyPI Version Supported Python Versions Downloads -GitHub Actions Status Buildkite Status

diff --git a/docs/guide/release-notes/8-18-0.asciidoc b/docs/guide/release-notes/8-18-0.asciidoc new file mode 100644 index 0000000..c248866 --- /dev/null +++ b/docs/guide/release-notes/8-18-0.asciidoc @@ -0,0 +1,20 @@ +[[release-notes-8-18-0]] +=== 8.18.0 Release Notes + +Client is compatible with Elastic Enterprise Search 8.18.0 + +[discrete] +[WARNING] +==== +*App Search and Workplace Search will be discontinued in 9.0* + +Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. +They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. +Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our https://www.elastic.co/support/eol[EOL policy]. +We recommend transitioning to our actively developed https://www.elastic.co/elastic-stack[Elastic Stack] tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients. + +Here are some useful links with more information: + +* https://www.elastic.co/resources/enterprise-search/enterprise-search-faq[Enterprise Search FAQ] +* https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html[One stop shop for Upgrading to Elastic Search 9] +==== \ No newline at end of file diff --git a/docs/guide/release-notes/index.asciidoc b/docs/guide/release-notes/index.asciidoc index 2b29119..0c83350 100644 --- a/docs/guide/release-notes/index.asciidoc +++ b/docs/guide/release-notes/index.asciidoc @@ -1,12 +1,14 @@ [[release_notes]] == Release Notes +* <> * <> * <> * <> * <> * <> +include::8-18-0.asciidoc[] include::8-11-0.asciidoc[] include::8-10-0.asciidoc[] include::8-4-0.asciidoc[] diff --git a/elastic_enterprise_search/__init__.py b/elastic_enterprise_search/__init__.py index c007c61..899bc62 100644 --- a/elastic_enterprise_search/__init__.py +++ b/elastic_enterprise_search/__init__.py @@ -18,6 +18,7 @@ """Python Elastic Enterprise Search Client""" import re +import warnings from elastic_transport import ConnectionError as ConnectionError from elastic_transport import ConnectionTimeout as ConnectionTimeout @@ -47,6 +48,17 @@ UnauthorizedError, ) +warnings.warn( + "Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. " + "They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. " + "Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy (https://www.elastic.co/support/eol)." + "\n" + "We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. " + "However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.", + category=DeprecationWarning, + stacklevel=2, +) + # Ensure that a compatible version of elastic-transport is installed. _version_groups = tuple(int(x) for x in re.search(r"^(\d+)\.(\d+)\.(\d+)", _elastic_transport_version).groups()) # type: ignore if _version_groups < (8, 4, 0) or _version_groups > (9, 0, 0): diff --git a/elastic_enterprise_search/_version.py b/elastic_enterprise_search/_version.py index 2dcda7c..c7ae87b 100644 --- a/elastic_enterprise_search/_version.py +++ b/elastic_enterprise_search/_version.py @@ -15,4 +15,4 @@ # specific language governing permissions and limitations # under the License. -__version__ = "8.11.0" +__version__ = "8.18.0" From f54a22020a512535c8d8b81c1a465880c31b3efb Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Fri, 21 Mar 2025 17:16:02 +0400 Subject: [PATCH 2/3] Bump STACK_VERSION --- .github/workflows/unified-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unified-release.yml b/.github/workflows/unified-release.yml index c817abc..7ceeeb4 100644 --- a/.github/workflows/unified-release.yml +++ b/.github/workflows/unified-release.yml @@ -18,7 +18,7 @@ jobs: name: Assemble runs-on: ubuntu-latest env: - STACK_VERSION: "8.11-SNAPSHOT" + STACK_VERSION: "8.18-SNAPSHOT" steps: - name: Checkout uses: actions/checkout@v2 From 9f2b25bc80740e4aaa0f3fe410867126204b2410 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Fri, 21 Mar 2025 17:24:19 +0400 Subject: [PATCH 3/3] Bump Buildkite's STACK_VERSION --- .buildkite/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index a8a2ed9..0cb4547 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -13,7 +13,7 @@ steps: - "3.11" - "3.12" stack_version: - - "8.11.0-SNAPSHOT" + - "8.18.0-SNAPSHOT" env: PYTHON_VERSION: "{{ matrix.python }}" STACK_VERSION: "{{ matrix.stack_version }}"