From 2bf0814d8f58afe6b06b19f29dc24b35c093881c Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Tue, 28 Oct 2025 15:15:29 +0000 Subject: [PATCH 1/2] Release 9.2.0 --- docs/release-notes/index.md | 51 +++++++++++++++++++++++++++++++++++++ elasticsearch/_version.py | 2 +- 2 files changed, 52 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/index.md b/docs/release-notes/index.md index 6a5928a15..56b216b3d 100644 --- a/docs/release-notes/index.md +++ b/docs/release-notes/index.md @@ -18,6 +18,57 @@ To check for security updates, go to [Security announcements for the Elastic sta % * % ### Fixes [elasticsearch-python-client-next-fixes] +## 9.2.0 (2025-10-28) + +Enhancements +~~~~~~~~~~~~ + +* Support Trio when using the `HTTPX `_ async client ([#3089](https://github.com/elastic/elasticsearch-py/pull/3089)) +* Pydantic integration for the DSL module ([#3086](https://github.com/elastic/elasticsearch-py/pull/3086)) +* Add `flush_after_seconds` option to `streaming_bulk()` ([#3064](https://github.com/elastic/elasticsearch-py/pull/3064)) +* Add `TS`, `FUSE` and `INLINE STATS` commands to the ES|QL query builder ([#3096](https://github.com/elastic/elasticsearch-py/pull/3096)) + +Bug Fixes +~~~~~~~~~ + +* DSL: support passing inner documents as `AttrDict` instances ([#3080](https://github.com/elastic/elasticsearch-py/pull/3080)) +* DSL: add some recently added field classes as top-level exports for the package ([#3078](https://github.com/elastic/elasticsearch-py/pull/3078)) + +Other +~~~~~ + +* Add 3.14 to CI builds ([#3103](https://github.com/elastic/elasticsearch-py/pull/3103)) +* Drop Python 3.9 support ([#3114](https://github.com/elastic/elasticsearch-py/pull/3114)) + +API +~~~ + +- Add `streams` namespace with `streams.logs_disable`, `streams.logs_enable`, `streams.status` APIs +- Add `inference.contextualai` API +- Add `security.get_stats` API +- Add `bytes` and `time` parameters to various APIs in the `cat` namespace. +- Add `include_execution_metadata` parameter to `esql.async_query` and `esql.query` APIs +- Add `index_template` parameter to `indices.simulate_index_template` API +- Add `input_type` parameter to `inference.text_embedding` API +- Add `field_access_pattern` parameter to `ingest.put_pipeline` API +- Removed unsupported `size` parameter from `reindex` API + +Serverless-specific +^^^^^^^^^^^^^^^^^^^ + +- Add `project` namespace with `project.tags` API +- Add `project_routing` parameter to `count`, `field_caps`, `msearch`, `msearch_template`, `open_point_in_time`, `search`, `search_mvt`, `search_template`, `async_search.submit`, `cat.count`, `eql.search`, `indices.resolve_index`, `sql.query` APIs + +DSL +~~~ + +- New `CartesianBounds`, `CartesianCentroid`, `ChangePoint` aggregations +- Add `p_value` parameter to `SignificantTerms` aggregation +- Add `fields` parameter to `SemanticText` field +- Add `visit_percentage` parameter to `Knn` query +- Add `on_disk_rescore` field to `DenseVectorIndexOptions` type +- Add `sparse_vector` field to `SemanticTextIndexOptions` type + ## 9.1.1 (2025-09-11) diff --git a/elasticsearch/_version.py b/elasticsearch/_version.py index 284a52950..d55ac926d 100644 --- a/elasticsearch/_version.py +++ b/elasticsearch/_version.py @@ -15,5 +15,5 @@ # specific language governing permissions and limitations # under the License. -__versionstr__ = "9.1.1" +__versionstr__ = "9.2.0" __es_specification_commit__ = "2f74c26e0a1d66c42232ce2830652c01e8717f00" From 00b93cb90d7708d0c1ac4bee8723e284a2b0237f Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Tue, 28 Oct 2025 15:20:21 +0000 Subject: [PATCH 2/2] update release notes --- docs/release-notes/index.md | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/docs/release-notes/index.md b/docs/release-notes/index.md index 56b216b3d..52124ee90 100644 --- a/docs/release-notes/index.md +++ b/docs/release-notes/index.md @@ -20,28 +20,19 @@ To check for security updates, go to [Security announcements for the Elastic sta % ### Fixes [elasticsearch-python-client-next-fixes] ## 9.2.0 (2025-10-28) -Enhancements -~~~~~~~~~~~~ +### Enhancements * Support Trio when using the `HTTPX `_ async client ([#3089](https://github.com/elastic/elasticsearch-py/pull/3089)) * Pydantic integration for the DSL module ([#3086](https://github.com/elastic/elasticsearch-py/pull/3086)) * Add `flush_after_seconds` option to `streaming_bulk()` ([#3064](https://github.com/elastic/elasticsearch-py/pull/3064)) * Add `TS`, `FUSE` and `INLINE STATS` commands to the ES|QL query builder ([#3096](https://github.com/elastic/elasticsearch-py/pull/3096)) -Bug Fixes -~~~~~~~~~ +### Bug Fixes * DSL: support passing inner documents as `AttrDict` instances ([#3080](https://github.com/elastic/elasticsearch-py/pull/3080)) * DSL: add some recently added field classes as top-level exports for the package ([#3078](https://github.com/elastic/elasticsearch-py/pull/3078)) -Other -~~~~~ - -* Add 3.14 to CI builds ([#3103](https://github.com/elastic/elasticsearch-py/pull/3103)) -* Drop Python 3.9 support ([#3114](https://github.com/elastic/elasticsearch-py/pull/3114)) - -API -~~~ +### API - Add `streams` namespace with `streams.logs_disable`, `streams.logs_enable`, `streams.status` APIs - Add `inference.contextualai` API @@ -53,14 +44,12 @@ API - Add `field_access_pattern` parameter to `ingest.put_pipeline` API - Removed unsupported `size` parameter from `reindex` API -Serverless-specific -^^^^^^^^^^^^^^^^^^^ +#### Serverless-specific - Add `project` namespace with `project.tags` API - Add `project_routing` parameter to `count`, `field_caps`, `msearch`, `msearch_template`, `open_point_in_time`, `search`, `search_mvt`, `search_template`, `async_search.submit`, `cat.count`, `eql.search`, `indices.resolve_index`, `sql.query` APIs -DSL -~~~ +### DSL - New `CartesianBounds`, `CartesianCentroid`, `ChangePoint` aggregations - Add `p_value` parameter to `SignificantTerms` aggregation @@ -69,6 +58,11 @@ DSL - Add `on_disk_rescore` field to `DenseVectorIndexOptions` type - Add `sparse_vector` field to `SemanticTextIndexOptions` type +### Other + +* Add 3.14 to CI builds ([#3103](https://github.com/elastic/elasticsearch-py/pull/3103)) +* Drop Python 3.9 support ([#3114](https://github.com/elastic/elasticsearch-py/pull/3114)) + ## 9.1.1 (2025-09-11)