diff --git a/docs/release-notes/index.md b/docs/release-notes/index.md index a55005e1b..6a5928a15 100644 --- a/docs/release-notes/index.md +++ b/docs/release-notes/index.md @@ -18,6 +18,30 @@ To check for security updates, go to [Security announcements for the Elastic sta % * % ### Fixes [elasticsearch-python-client-next-fixes] + +## 9.1.1 (2025-09-11) + +### Enhancements + +* ES|QL query builder integration with the DSL module ([#3058](https://github.com/elastic/elasticsearch-py/pull/3058)) +* ES|QL query builder robustness fixes ([#3017](https://github.com/elastic/elasticsearch-py/pull/3017)) +* Fix ES|QL `multi_match()` signature ([#3052](https://github.com/elastic/elasticsearch-py/pull/3052)) + +### API + +* Add support for ES|QL query builder objects to ES|QL Query and Async Query APIs +* Add Transform Set Upgrade Mode API +* Fix type of `fields` parameter of Term Vectors API to array of strings +* Fix type of `params` parameter of SQL Query API to array + +### DSL + +* Preserve the `skip_empty` setting in `to_dict()` recursive serializations ([#3041](https://github.com/elastic/elasticsearch-py/pull/3041)) +* Add `separator_group` and `separators` attributes to `ChunkingSettings` type +* Add `primary` attribute to `ShardFailure` type +* Fix type of `key` attribute of `ArrayPercentilesItem` to float + + ## 9.1.0 (2025-07-30) ### Enhancements @@ -68,6 +92,27 @@ Other changes * Drop support for Python 3.8 ([#3001](https://github.com/elastic/elasticsearch-py/pull/3001)) +## 9.0.4 (2025-09-11) + +### Enhancements + +* ES|QL query builder integration with the DSL module ([#3058](https://github.com/elastic/elasticsearch-py/pull/3058)) +* ES|QL query builder robustness fixes ([#3017](https://github.com/elastic/elasticsearch-py/pull/3017)) +* Fix ES|QL `multi_match()` signature ([#3052](https://github.com/elastic/elasticsearch-py/pull/3052)) + +### API + +* Add support for ES|QL query builder objects to ES|QL Query and Async Query APIs +* Add Transform Set Upgrade Mode API +* Fix type of `fields` parameter of Term Vectors API to array of strings +* Fix type of `params` parameter of SQL Query API to array + +### DSL + +* Preserve the `skip_empty` setting in `to_dict()` recursive serializations ([#3041](https://github.com/elastic/elasticsearch-py/pull/3041)) +* Add `primary` attribute to `ShardFailure` type +* Fix type of `key` attribute of `ArrayPercentilesItem` to float + ## 9.0.3 (2025-07-30) ### Enhancements diff --git a/elasticsearch/_version.py b/elasticsearch/_version.py index 7b6c8994d..8e8baef62 100644 --- a/elasticsearch/_version.py +++ b/elasticsearch/_version.py @@ -15,4 +15,4 @@ # specific language governing permissions and limitations # under the License. -__versionstr__ = "9.1.0" +__versionstr__ = "9.1.1" diff --git a/elasticsearch/dsl/response/aggs.py b/elasticsearch/dsl/response/aggs.py index 8994fa761..51360f3f6 100644 --- a/elasticsearch/dsl/response/aggs.py +++ b/elasticsearch/dsl/response/aggs.py @@ -63,7 +63,7 @@ def _wrap_bucket(self, data: Dict[str, Any]) -> Bucket[_R]: ) def __iter__(self) -> Iterator["Agg"]: # type: ignore[override] - return iter(self.buckets) # type: ignore[arg-type] + return iter(self.buckets) def __len__(self) -> int: return len(self.buckets) diff --git a/utils/build-dists.py b/utils/build-dists.py index d67d6053a..fd1b477e0 100644 --- a/utils/build-dists.py +++ b/utils/build-dists.py @@ -121,6 +121,7 @@ def test_dist(dist): "--install-types", "--non-interactive", "--ignore-missing-imports", + "--implicit-reexport", os.path.join(base_dir, "test_elasticsearch/test_types/async_types.py"), ) @@ -145,6 +146,7 @@ def test_dist(dist): "--install-types", "--non-interactive", "--ignore-missing-imports", + "--implicit-reexport", os.path.join(base_dir, "test_elasticsearch/test_types/sync_types.py"), ) else: @@ -156,6 +158,7 @@ def test_dist(dist): "--install-types", "--non-interactive", "--ignore-missing-imports", + "--implicit-reexport", os.path.join( base_dir, "test_elasticsearch/test_types/aliased_types.py" ),