Skip to content

Update dependency @elastic/elasticsearch to v9.0.3 (main)#226188

Merged
afharo merged 3 commits intomainfrom
renovate/main-@elasticelasticsearch
Jul 7, 2025
Merged

Update dependency @elastic/elasticsearch to v9.0.3 (main)#226188
afharo merged 3 commits intomainfrom
renovate/main-@elasticelasticsearch

Conversation

@elastic-renovate-prod
Copy link
Copy Markdown
Contributor

@elastic-renovate-prod elastic-renovate-prod bot commented Jul 2, 2025

This PR contains the following updates:

Package Type Update Change
@elastic/elasticsearch (source) dependencies patch 9.0.2 -> 9.0.3

Release Notes

elastic/elasticsearch-js (@​elastic/elasticsearch)

v9.0.3

Compare Source

Changelog

Breaking/Noticeable changes

  • Error reason has changed from string | undefined to string | null | undefined.
  • shard is now an integer instead of string.

Code has been adapted to address them.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod bot added backport:prev-minor release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// Team:Operations Kibana-Operations Team labels Jul 2, 2025
@elastic-renovate-prod elastic-renovate-prod bot requested review from a team July 2, 2025 12:44
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-core (Team:Core)

@afharo
Copy link
Copy Markdown
Member

afharo commented Jul 2, 2025

/ci

@afharo afharo self-assigned this Jul 2, 2025
@afharo afharo enabled auto-merge (squash) July 2, 2025 13:16
@afharo afharo requested review from a team as code owners July 2, 2025 15:17
@afharo afharo requested a review from denar50 July 2, 2025 15:17
@afharo
Copy link
Copy Markdown
Member

afharo commented Jul 2, 2025

/ci

@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Jul 2, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

@afharo afharo mentioned this pull request Jul 2, 2025
@afharo afharo linked an issue Jul 2, 2025 that may be closed by this pull request
@elastic-renovate-prod
Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
aiops 508.8KB 508.8KB +8.0B
dataVisualizer 681.2KB 681.3KB +8.0B
ml 5.4MB 5.4MB +86.0B
transform 621.8KB 621.8KB +8.0B
uptime 491.1KB 491.1KB +8.0B
total +118.0B

History

cc @afharo

@afharo afharo added the Team:Detection Engine Security Solution Detection Engine Area label Jul 2, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-detection-engine (Team:Detection Engine)

@afharo afharo added the :ml label Jul 2, 2025
@afharo afharo added Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// Team:ML Team label for ML (also use :ml) t// labels Jul 2, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

Copy link
Copy Markdown
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

ML changes LGTM

@afharo afharo disabled auto-merge July 3, 2025 16:16
@afharo afharo requested review from JoshMock and pquentin July 3, 2025 16:17
Copy link
Copy Markdown
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM.

Copy link
Copy Markdown
Contributor

@denar50 denar50 left a comment

Choose a reason for hiding this comment

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

Giving code owner's review for @elastic/security-detection-engine. LGTM!

@afharo
Copy link
Copy Markdown
Member

afharo commented Jul 7, 2025

/ci

@afharo afharo merged commit a12482a into main Jul 7, 2025
12 checks passed
@afharo afharo deleted the renovate/main-@elasticelasticsearch branch July 7, 2025 12:08
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 9.1

https://github.com/elastic/kibana/actions/runs/16116498630

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 7, 2025
…6188)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@elastic/elasticsearch](http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html)
([source](https://github.com/elastic/elasticsearch-js)) |
dependencies | patch | [`9.0.2` ->
`9.0.3`](https://renovatebot.com/diffs/npm/@elastic%2felasticsearch/9.0.2/9.0.3)
|

---

### Release Notes

<details>
<summary>elastic/elasticsearch-js
(@&elastic#8203;elastic/elasticsearch)</summary>

###
[`v9.0.3`](https://github.com/elastic/elasticsearch-js/releases/tag/v9.0.3)

[Compare
Source](https://github.com/elastic/elasticsearch-js/compare/v9.0.2...v9.0.3)

[Changelog](https://www.elastic.co/docs/release-notes/elasticsearch/clients/javascript#9.0.3)

</details>

#### Breaking/Noticeable changes

* Error `reason` has changed from `string | undefined` to `string | null
| undefined`.
* `shard` is now an `integer` instead of `string`.

Code has been adapted to address them.

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDpwcmV2LW1pbm9yIiwicmVsZWFzZV9ub3RlOnNraXAiXX0=-->

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
(cherry picked from commit a12482a)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 7, 2025
) (#226795)

# Backport

This will backport the following commits from `main` to `9.1`:
- [Update dependency @elastic/elasticsearch to v9.0.3 (main)
(#226188)](#226188)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-07T12:08:17Z","message":"Update
dependency @elastic/elasticsearch to v9.0.3 (main) (#226188)\n\nThis PR
contains the following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|\n[@elastic/elasticsearch](http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html)\n([source](https://github.com/elastic/elasticsearch-js))
|\ndependencies | patch | [`9.0.2`
->\n`9.0.3`](https://renovatebot.com/diffs/npm/@elastic%2felasticsearch/9.0.2/9.0.3)\n|\n\n---\n\n###
Release
Notes\n\n<details>\n<summary>elastic/elasticsearch-js\n(@&#8203;elastic/elasticsearch)</summary>\n\n###\n[`v9.0.3`](https://github.com/elastic/elasticsearch-js/releases/tag/v9.0.3)\n\n[Compare\nSource](https://github.com/elastic/elasticsearch-js/compare/v9.0.2...v9.0.3)\n\n\n[Changelog](https://www.elastic.co/docs/release-notes/elasticsearch/clients/javascript#9.0.3)\n\n</details>\n\n####
Breaking/Noticeable changes\n\n* Error `reason` has changed from `string
| undefined` to `string | null\n| undefined`.\n* `shard` is now an
`integer` instead of `string`.\n\nCode has been adapted to address
them.\n\n---\n\n### Configuration\n\n📅 **Schedule**: Branch creation -
At any time (no schedule defined),\nAutomerge - At any time (no schedule
defined).\n\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes
conflicted, or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**:
Close this PR and you won't be reminded about this
update\nagain.\n\n---\n\n- [ ] If you want to rebase/retry this PR,
check\nthis box\n\n---\n\nThis PR has been generated by
[Renovate\nBot](https://github.com/renovatebot/renovate).\n\n\n\n---------\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by:
Alejandro Fernández Haro
<alejandro.haro@elastic.co>","sha":"a12482aecbf3d89cf49baf76b65281c49562a1cb","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Operations",":ml","release_note:skip","Team:ResponseOps","Team:Fleet","Team:ML","backport:prev-minor","Team:Detection
Engine","v9.2.0"],"title":"Update dependency @elastic/elasticsearch to
v9.0.3
(main)","number":226188,"url":"https://github.com/elastic/kibana/pull/226188","mergeCommit":{"message":"Update
dependency @elastic/elasticsearch to v9.0.3 (main) (#226188)\n\nThis PR
contains the following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|\n[@elastic/elasticsearch](http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html)\n([source](https://github.com/elastic/elasticsearch-js))
|\ndependencies | patch | [`9.0.2`
->\n`9.0.3`](https://renovatebot.com/diffs/npm/@elastic%2felasticsearch/9.0.2/9.0.3)\n|\n\n---\n\n###
Release
Notes\n\n<details>\n<summary>elastic/elasticsearch-js\n(@&#8203;elastic/elasticsearch)</summary>\n\n###\n[`v9.0.3`](https://github.com/elastic/elasticsearch-js/releases/tag/v9.0.3)\n\n[Compare\nSource](https://github.com/elastic/elasticsearch-js/compare/v9.0.2...v9.0.3)\n\n\n[Changelog](https://www.elastic.co/docs/release-notes/elasticsearch/clients/javascript#9.0.3)\n\n</details>\n\n####
Breaking/Noticeable changes\n\n* Error `reason` has changed from `string
| undefined` to `string | null\n| undefined`.\n* `shard` is now an
`integer` instead of `string`.\n\nCode has been adapted to address
them.\n\n---\n\n### Configuration\n\n📅 **Schedule**: Branch creation -
At any time (no schedule defined),\nAutomerge - At any time (no schedule
defined).\n\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes
conflicted, or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**:
Close this PR and you won't be reminded about this
update\nagain.\n\n---\n\n- [ ] If you want to rebase/retry this PR,
check\nthis box\n\n---\n\nThis PR has been generated by
[Renovate\nBot](https://github.com/renovatebot/renovate).\n\n\n\n---------\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by:
Alejandro Fernández Haro
<alejandro.haro@elastic.co>","sha":"a12482aecbf3d89cf49baf76b65281c49562a1cb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226188","number":226188,"mergeCommit":{"message":"Update
dependency @elastic/elasticsearch to v9.0.3 (main) (#226188)\n\nThis PR
contains the following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|\n[@elastic/elasticsearch](http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html)\n([source](https://github.com/elastic/elasticsearch-js))
|\ndependencies | patch | [`9.0.2`
->\n`9.0.3`](https://renovatebot.com/diffs/npm/@elastic%2felasticsearch/9.0.2/9.0.3)\n|\n\n---\n\n###
Release
Notes\n\n<details>\n<summary>elastic/elasticsearch-js\n(@&#8203;elastic/elasticsearch)</summary>\n\n###\n[`v9.0.3`](https://github.com/elastic/elasticsearch-js/releases/tag/v9.0.3)\n\n[Compare\nSource](https://github.com/elastic/elasticsearch-js/compare/v9.0.2...v9.0.3)\n\n\n[Changelog](https://www.elastic.co/docs/release-notes/elasticsearch/clients/javascript#9.0.3)\n\n</details>\n\n####
Breaking/Noticeable changes\n\n* Error `reason` has changed from `string
| undefined` to `string | null\n| undefined`.\n* `shard` is now an
`integer` instead of `string`.\n\nCode has been adapted to address
them.\n\n---\n\n### Configuration\n\n📅 **Schedule**: Branch creation -
At any time (no schedule defined),\nAutomerge - At any time (no schedule
defined).\n\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes
conflicted, or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**:
Close this PR and you won't be reminded about this
update\nagain.\n\n---\n\n- [ ] If you want to rebase/retry this PR,
check\nthis box\n\n---\n\nThis PR has been generated by
[Renovate\nBot](https://github.com/renovatebot/renovate).\n\n\n\n---------\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by:
Alejandro Fernández Haro
<alejandro.haro@elastic.co>","sha":"a12482aecbf3d89cf49baf76b65281c49562a1cb"}}]}]
BACKPORT-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
gsoldevila added a commit that referenced this pull request Jul 18, 2025
## Summary

Starting on elasticsearch-js `9.0.3`, the `error.reason` field can now
be also `null`.
This PR updates our decorator to account for that case as well. 

Related to #226188
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 18, 2025
## Summary

Starting on elasticsearch-js `9.0.3`, the `error.reason` field can now
be also `null`.
This PR updates our decorator to account for that case as well.

Related to elastic#226188

(cherry picked from commit b1132c1)
Bluefinger pushed a commit to Bluefinger/kibana that referenced this pull request Jul 22, 2025
## Summary

Starting on elasticsearch-js `9.0.3`, the `error.reason` field can now
be also `null`.
This PR updates our decorator to account for that case as well. 

Related to elastic#226188
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
…6188)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@elastic/elasticsearch](http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html)
([source](https://github.com/elastic/elasticsearch-js)) |
dependencies | patch | [`9.0.2` ->
`9.0.3`](https://renovatebot.com/diffs/npm/@elastic%2felasticsearch/9.0.2/9.0.3)
|

---

### Release Notes

<details>
<summary>elastic/elasticsearch-js
(@&elastic#8203;elastic/elasticsearch)</summary>

###
[`v9.0.3`](https://github.com/elastic/elasticsearch-js/releases/tag/v9.0.3)

[Compare
Source](https://github.com/elastic/elasticsearch-js/compare/v9.0.2...v9.0.3)


[Changelog](https://www.elastic.co/docs/release-notes/elasticsearch/clients/javascript#9.0.3)

</details>

#### Breaking/Noticeable changes

* Error `reason` has changed from `string | undefined` to `string | null
| undefined`.
* `shard` is now an `integer` instead of `string`.

Code has been adapted to address them.

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDpwcmV2LW1pbm9yIiwicmVsZWFzZV9ub3RlOnNraXAiXX0=-->

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
## Summary

Starting on elasticsearch-js `9.0.3`, the `error.reason` field can now
be also `null`.
This PR updates our decorator to account for that case as well. 

Related to elastic#226188
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:ml release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// Team:Detection Engine Security Solution Detection Engine Area Team:Fleet Team label for Observability Data Collection Fleet team Team:ML Team label for ML (also use :ml) t// Team:Operations Kibana-Operations Team Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ES Client upgrade

9 participants