From bef0c24a111d1e76a2288075964cbc8741e638fe Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Mon, 1 Jul 2024 18:28:13 +0400 Subject: [PATCH] Release 0.3.0.20231031 --- docs/guide/release-notes.asciidoc | 20 ++++++++++++++++++++ elasticsearch_serverless/_version.py | 2 +- pyproject.toml | 2 +- test_elasticsearch_serverless/utils.py | 2 ++ 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/docs/guide/release-notes.asciidoc b/docs/guide/release-notes.asciidoc index 17d41eb..9df55e7 100644 --- a/docs/guide/release-notes.asciidoc +++ b/docs/guide/release-notes.asciidoc @@ -1,6 +1,26 @@ [[release-notes]] == Release notes +=== 0.3.0.20231031 + +* Removed support for Python 3.7 and 3.8 +* Added support for Python 3.12 +* Added OpenTelemetry support +* Added Query Rules API +* Moved Query Ruleset API to Query Rules API (`client.query_ruleset.put()` becomes `client.query_rules.put_ruleset()`, and the same applies to `get`, `list` and `delete`) +* Added ES|QL API +* Updated docstrings for many APIs +* Added the Update trained model deployment API +* Added `retriever` to the Search API +* Added `dry_run` and `force` to the Delete inference API +* Added `typed_keys` to the Search Application Search API +* Removed `cause` from the Create or update component template API +* Allowed setting multiple model ids, tags and job ids using Python lists in multiple ML APIs +* Fix the put component template, put template and put index template APIs +* Remove mentions of model in the Inference API +* Include missing cluster and index privileges + + === 0.2.0.20231031 * Allowed unrestricted ``body`` parameter (https://github.com/elastic/elasticsearch-serverless-python/pull/34[#34], see https://github.com/elastic/elasticsearch-py/pull/2383[elasticsearch-py#2383]) diff --git a/elasticsearch_serverless/_version.py b/elasticsearch_serverless/_version.py index 3595f61..c0b411f 100644 --- a/elasticsearch_serverless/_version.py +++ b/elasticsearch_serverless/_version.py @@ -15,4 +15,4 @@ # specific language governing permissions and limitations # under the License. -__versionstr__ = "0.2.0.20231031" +__versionstr__ = "0.3.0.20231031" diff --git a/pyproject.toml b/pyproject.toml index 462bbd4..af3eb52 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "elasticsearch-serverless" -version = "0.2.0.20231031" +version = "0.3.0.20231031" description = "Python client for Elasticsearch Serverless" readme = "README.rst" license = "Apache-2.0" diff --git a/test_elasticsearch_serverless/utils.py b/test_elasticsearch_serverless/utils.py index 6d6490d..1764b82 100644 --- a/test_elasticsearch_serverless/utils.py +++ b/test_elasticsearch_serverless/utils.py @@ -133,6 +133,8 @@ def is_xpack_template(name): return True elif name.startswith("elastic-connectors-"): return True + elif name.startswith("entities_v1_"): + return True if name in { "apm-10d@lifecycle", "apm-180d@lifecycle",