Skip to content
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
45 changes: 45 additions & 0 deletions docs/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/_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__ = "9.1.0"
__versionstr__ = "9.1.1"
2 changes: 1 addition & 1 deletion elasticsearch/dsl/response/aggs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions utils/build-dists.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
)

Expand All @@ -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:
Expand All @@ -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"
),
Expand Down