Skip to content

Commit d281593

Browse files
Release 9.0.4 (#3066)
* Release 9.0.4 * release note fixes * mypy fix * run mypy with implicit reexports
1 parent 7d3941f commit d281593

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

docs/release-notes/index.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,24 @@ To check for security updates, go to [Security announcements for the Elastic sta
1818
% *
1919

2020
% ### Fixes [elasticsearch-python-client-next-fixes]
21+
## 9.0.4 (2025-09-11)
22+
23+
* ES|QL query builder integration with the DSL module ([#3058](https://github.com/elastic/elasticsearch-py/pull/3058))
24+
* ES|QL query builder robustness fixes ([#3017](https://github.com/elastic/elasticsearch-py/pull/3017))
25+
* Fix ES|QL `multi_match()` signature ([#3052](https://github.com/elastic/elasticsearch-py/pull/3052))
26+
27+
API
28+
* Add support for ES|QL query builder objects to ES|QL Query and Async Query APIs
29+
* Add Transform Set Upgrade Mode API
30+
* Fix type of `fields` parameter of Term Vectors API to array of strings
31+
* Fix type of `params` parameter of SQL Query API to array
32+
33+
DSL
34+
* Preserve the `skip_empty` setting in `to_dict()` recursive serializations ([#3041](https://github.com/elastic/elasticsearch-py/pull/3041))
35+
* Add `primary` attribute to `ShardFailure` type
36+
* Fix type of `key` attribute of `ArrayPercentilesItem` to float
37+
38+
2139
## 9.0.3 (2025-07-30)
2240

2341
Enhancements

elasticsearch/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
__versionstr__ = "9.0.3"
18+
__versionstr__ = "9.0.4"

elasticsearch/dsl/response/aggs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _wrap_bucket(self, data: Dict[str, Any]) -> Bucket[_R]:
6363
)
6464

6565
def __iter__(self) -> Iterator["Agg"]: # type: ignore[override]
66-
return iter(self.buckets) # type: ignore[arg-type]
66+
return iter(self.buckets)
6767

6868
def __len__(self) -> int:
6969
return len(self.buckets)

utils/build-dists.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def test_dist(dist):
121121
"--install-types",
122122
"--non-interactive",
123123
"--ignore-missing-imports",
124+
"--implicit-reexport",
124125
os.path.join(base_dir, "test_elasticsearch/test_types/async_types.py"),
125126
)
126127

@@ -145,6 +146,7 @@ def test_dist(dist):
145146
"--install-types",
146147
"--non-interactive",
147148
"--ignore-missing-imports",
149+
"--implicit-reexport",
148150
os.path.join(base_dir, "test_elasticsearch/test_types/sync_types.py"),
149151
)
150152
else:
@@ -156,6 +158,7 @@ def test_dist(dist):
156158
"--install-types",
157159
"--non-interactive",
158160
"--ignore-missing-imports",
161+
"--implicit-reexport",
159162
os.path.join(
160163
base_dir, "test_elasticsearch/test_types/aliased_types.py"
161164
),

0 commit comments

Comments
 (0)