Skip to content

Release 0.3.0.20231031 #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/guide/release-notes.asciidoc
Original file line number Diff line number Diff line change
@@ -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])
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch_serverless/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

__versionstr__ = "0.2.0.20231031"
__versionstr__ = "0.3.0.20231031"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions test_elasticsearch_serverless/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines +136 to +137
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a recent addition to Serverless that was breaking tests.

if name in {
"apm-10d@lifecycle",
"apm-180d@lifecycle",
Expand Down
Loading