Commit graph

3252 commits

Author SHA1 Message Date
Kibana Machine
046f404d53
[8.13] [chore] bump chromedriver to 124 (#183595) (#183620)
# Backport

This will backport the following commits from `main` to `8.13`:
- [[chore] bump chromedriver to 124
(#183595)](https://github.com/elastic/kibana/pull/183595)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Walter
Rafelsberger","email":"walter.rafelsberger@elastic.co"},"sourceCommit":{"committedDate":"2024-05-16T10:49:51Z","message":"[chore]
bump chromedriver to 124 (#183595)\n\n## Summary\r\n\r\nFollow up to
#181002.\r\n\r\nUpdating chromedriver to support running tests on Chrome
v125","sha":"c010d98c58b34aeb0bdc196cf8af679a9be4c59c","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","FTR","v8.14.0","v8.15.0","v7.17.22","v8.13.5"],"title":"[chore]
bump chromedriver to
124","number":183595,"url":"https://github.com/elastic/kibana/pull/183595","mergeCommit":{"message":"[chore]
bump chromedriver to 124 (#183595)\n\n## Summary\r\n\r\nFollow up to
#181002.\r\n\r\nUpdating chromedriver to support running tests on Chrome
v125","sha":"c010d98c58b34aeb0bdc196cf8af679a9be4c59c"}},"sourceBranch":"main","suggestedTargetBranches":["8.14","7.17","8.13"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/183595","number":183595,"mergeCommit":{"message":"[chore]
bump chromedriver to 124 (#183595)\n\n## Summary\r\n\r\nFollow up to
#181002.\r\n\r\nUpdating chromedriver to support running tests on Chrome
v125","sha":"c010d98c58b34aeb0bdc196cf8af679a9be4c59c"}},{"branch":"7.17","label":"v7.17.22","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.13","label":"v8.13.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Walter Rafelsberger <walter.rafelsberger@elastic.co>
2024-05-16 13:01:18 +01:00
Tiago Costa
a3480f5245
chore(NA): bump version to 8.13.5 (#183048)
Usually bump from 8.13.3 to 8.13.4

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-05-11 01:31:10 +01:00
Tiago Costa
a3beac0516
chore(NA): bump version to 8.13.4 (#182413)
Usually bump from 8.13.3 to 8.13.4
2024-05-03 19:59:15 +01:00
Dzmitry Lemechko
339855133c
[8.13] [chore] bump chromedriver to 123 (#181002) (#181010)
# Backport

This will backport the following commits from `main` to `8.13`:
- [[chore] bump chromedriver to 123
(#181002)](https://github.com/elastic/kibana/pull/181002)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2024-04-17T09:28:37Z","message":"[chore]
bump chromedriver to 123 (#181002)\n\n## Summary\r\n\r\nUpdating
chromedriver to support running tests on Chrome
v124","sha":"5942fb9fefcc9efd6e9cf2ba902d17cb47ef04de","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","FTR","v8.14.0","v7.17.21","v8.13.3"],"number":181002,"url":"https://github.com/elastic/kibana/pull/181002","mergeCommit":{"message":"[chore]
bump chromedriver to 123 (#181002)\n\n## Summary\r\n\r\nUpdating
chromedriver to support running tests on Chrome
v124","sha":"5942fb9fefcc9efd6e9cf2ba902d17cb47ef04de"}},"sourceBranch":"main","suggestedTargetBranches":["7.17","8.13"],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/181002","number":181002,"mergeCommit":{"message":"[chore]
bump chromedriver to 123 (#181002)\n\n## Summary\r\n\r\nUpdating
chromedriver to support running tests on Chrome
v124","sha":"5942fb9fefcc9efd6e9cf2ba902d17cb47ef04de"}},{"branch":"7.17","label":"v7.17.21","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.13","label":"v8.13.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-04-17 12:59:32 +02:00
Kibana Machine
58f9c08661
[8.13] Upgrade Node.js to v20.12.2 (#180522) (#180601)
# Backport

This will backport the following commits from `main` to `8.13`:
- [Upgrade Node.js to v20.12.2
(#180522)](https://github.com/elastic/kibana/pull/180522)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2024-04-11T13:56:38Z","message":"Upgrade
Node.js to v20.12.2 (#180522)\n\nDraft
pending\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/138","sha":"af0ab74d049f87ab6e174e3bc819b661f0b01d21","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.14.0"],"title":"Upgrade
Node.js to
v20.12.2","number":180522,"url":"https://github.com/elastic/kibana/pull/180522","mergeCommit":{"message":"Upgrade
Node.js to v20.12.2 (#180522)\n\nDraft
pending\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/138","sha":"af0ab74d049f87ab6e174e3bc819b661f0b01d21"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/180522","number":180522,"mergeCommit":{"message":"Upgrade
Node.js to v20.12.2 (#180522)\n\nDraft
pending\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/138","sha":"af0ab74d049f87ab6e174e3bc819b661f0b01d21"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2024-04-11 08:11:34 -07:00
Tiago Costa
c0f968160e
chore(NA): bump version to 8.13.3 (#180300)
Usually bump from 8.13.2 to 8.13.3
2024-04-08 23:53:59 +01:00
Kibana Machine
c155277f03
[8.13] Upgrade Node.js to 20.12.1 (#180073) (#180081)
# Backport

This will backport the following commits from `main` to `8.13`:
- [Upgrade Node.js to 20.12.1
(#180073)](https://github.com/elastic/kibana/pull/180073)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2024-04-04T18:50:43Z","message":"Upgrade
Node.js to 20.12.1
(#180073)\n\nhttps://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.12.1","sha":"aea8060ba69eb4370233957687805f0b5eed713a","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.14.0"],"title":"Upgrade
Node.js to
20.12.1","number":180073,"url":"https://github.com/elastic/kibana/pull/180073","mergeCommit":{"message":"Upgrade
Node.js to 20.12.1
(#180073)\n\nhttps://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.12.1","sha":"aea8060ba69eb4370233957687805f0b5eed713a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/180073","number":180073,"mergeCommit":{"message":"Upgrade
Node.js to 20.12.1
(#180073)\n\nhttps://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.12.1","sha":"aea8060ba69eb4370233957687805f0b5eed713a"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2024-04-04 13:25:33 -07:00
Cauê Marcondes
aa62595c52
[8.13][UX/Maps] Fixing APM data view id (#179816)
related to: https://github.com/elastic/kibana/pull/179257

Backport failed, so I'm manually applying the changes on 8.13

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-04-04 10:31:04 +01:00
Tiago Costa
31cba204fc
chore(NA): bump version to 8.13.2 (#179856)
Usually bump from 8.13.1 to 8.13.2

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-04-02 17:54:32 +01:00
Jeramy Soucy
2c0d4c95e1
[8.13] Upgrade tar@6.1.15→6.2.1 (#179462) (#179621)
# Backport

This will backport the following commits from `main` to `8.13`:
- [Upgrade tar@6.1.15→6.2.1
(#179462)](https://github.com/elastic/kibana/pull/179462)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2024-03-27T13:14:10Z","message":"Upgrade
tar@6.1.15→6.2.1 (#179462)\n\n## Summary\r\n\r\nUpgrades `tar` from
v6.1.15 to v6.2.1, and @types/tar from from v6.1.5\r\nto
v6.1.11.","sha":"7391431ae7caa123a3e05452080dff1e97309f87","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:all-open","v8.14.0"],"number":179462,"url":"https://github.com/elastic/kibana/pull/179462","mergeCommit":{"message":"Upgrade
tar@6.1.15→6.2.1 (#179462)\n\n## Summary\r\n\r\nUpgrades `tar` from
v6.1.15 to v6.2.1, and @types/tar from from v6.1.5\r\nto
v6.1.11.","sha":"7391431ae7caa123a3e05452080dff1e97309f87"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/179462","number":179462,"mergeCommit":{"message":"Upgrade
tar@6.1.15→6.2.1 (#179462)\n\n## Summary\r\n\r\nUpgrades `tar` from
v6.1.15 to v6.2.1, and @types/tar from from v6.1.5\r\nto
v6.1.11.","sha":"7391431ae7caa123a3e05452080dff1e97309f87"}}]}]
BACKPORT-->
2024-03-29 08:05:45 -04:00
Tiago Costa
88dfe7b40d
chore(NA): bump version to 8.13.1 (#179465)
Usually bump from 8.13.0 to 8.13.1
2024-03-27 00:29:39 +00:00
Sid
87a0a19fdf
[8.13] Upgrade nodemailer dependency 6.6.2 -> 6.9.9 (#176487) (#179226)
# Backport

This will backport the following commits from `main` to `8.13`:
- [Upgrade nodemailer dependency 6.6.2 -> 6.9.9
(#176487)](https://github.com/elastic/kibana/pull/176487)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT
[{"author":{"name":"Sid","email":"siddharthmantri1@gmail.com"},"sourceCommit":{"committedDate":"2024-03-19T16:00:55Z","message":"Upgrade
nodemailer dependency 6.6.2 -> 6.9.9 (#176487)\n\nUpdate nodemailer
production dependency (6.6.2 -> 6.9.9)\r\n\r\nNodemailer changelog:
\r\n- Fixing
GHSA:\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#699-2024-02-01\r\n-
Update hotmail/outlook well known
service\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#673-2022-03-21\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bccb0cd4bac837b1cc89c730a66ed2f340ad1361","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","auto-backport","backport:all-open","ci:cloud-deploy","v8.14.0"],"number":176487,"url":"https://github.com/elastic/kibana/pull/176487","mergeCommit":{"message":"Upgrade
nodemailer dependency 6.6.2 -> 6.9.9 (#176487)\n\nUpdate nodemailer
production dependency (6.6.2 -> 6.9.9)\r\n\r\nNodemailer changelog:
\r\n- Fixing
GHSA:\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#699-2024-02-01\r\n-
Update hotmail/outlook well known
service\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#673-2022-03-21\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bccb0cd4bac837b1cc89c730a66ed2f340ad1361"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176487","number":176487,"mergeCommit":{"message":"Upgrade
nodemailer dependency 6.6.2 -> 6.9.9 (#176487)\n\nUpdate nodemailer
production dependency (6.6.2 -> 6.9.9)\r\n\r\nNodemailer changelog:
\r\n- Fixing
GHSA:\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#699-2024-02-01\r\n-
Update hotmail/outlook well known
service\r\nhttps://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#673-2022-03-21\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bccb0cd4bac837b1cc89c730a66ed2f340ad1361"}}]}]
BACKPORT-->
2024-03-22 03:52:52 -07:00
Kibana Machine
e7589cb9fd
[8.13] Remove @cypress/snapshot (#178723) (#178734)
# Backport

This will backport the following commits from `main` to `8.13`:
- [Remove @cypress/snapshot
(#178723)](https://github.com/elastic/kibana/pull/178723)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Larry
Gregory","email":"larry.gregory@elastic.co"},"sourceCommit":{"committedDate":"2024-03-14T14:28:26Z","message":"Remove
@cypress/snapshot (#178723)\n\n## Summary\r\n\r\nRemoves the unused
`@cypress/snapshot`
dependency.","sha":"c3f685c08fd139dbf09c9a31dff59a58ece69650","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Security","release_note:skip","backport:all-open","v8.14.0"],"title":"Remove
@cypress/snapshot","number":178723,"url":"https://github.com/elastic/kibana/pull/178723","mergeCommit":{"message":"Remove
@cypress/snapshot (#178723)\n\n## Summary\r\n\r\nRemoves the unused
`@cypress/snapshot`
dependency.","sha":"c3f685c08fd139dbf09c9a31dff59a58ece69650"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/178723","number":178723,"mergeCommit":{"message":"Remove
@cypress/snapshot (#178723)\n\n## Summary\r\n\r\nRemoves the unused
`@cypress/snapshot`
dependency.","sha":"c3f685c08fd139dbf09c9a31dff59a58ece69650"}}]}]
BACKPORT-->

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2024-03-14 09:10:06 -07:00
Jon
208fcad649
[8.13] Update babel (main) (#178573) (#178671)
#178573

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 14:58:41 -05:00
Jon
24863ee653
[8.13] Update ftr (main) (#178572) (#178634)
#178572

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 12:59:50 -05:00
Kibana Machine
2a2011d2b9
[8.13] Update dependency sass-embedded to ^1.71.1 (main) (#178574) (#178619)
# Backport

This will backport the following commits from `main` to `8.13`:
- [Update dependency sass-embedded to ^1.71.1 (main)
(#178574)](https://github.com/elastic/kibana/pull/178574)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"renovate[bot]","email":"29139614+renovate[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-03-13T11:44:12Z","message":"Update
dependency sass-embedded to ^1.71.1 (main)
(#178574)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis
PR contains the following updates:\r\n\r\n| Package | Change | Age |
Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|
[sass-embedded](https://togithub.com/sass/embedded-host-node)
|\r\n[`^1.70.0`
->\r\n`^1.71.1`](https://renovatebot.com/diffs/npm/sass-embedded/1.70.0/1.71.1)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/sass-embedded/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass-embedded/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass-embedded/1.70.0/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass-embedded/1.70.0/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>sass/embedded-host-node
(sass-embedded)</summary>\r\n\r\n###\r\n[`v1.71.1`](https://togithub.com/sass/embedded-host-node/blob/HEAD/CHANGELOG.md#1711)\r\n\r\n[Compare\r\nSource](https://togithub.com/sass/embedded-host-node/compare/1.71.0...1.71.1)\r\n\r\n#####
Command-Line Interface\r\n\r\n- Ship the musl Linux release with the
proper Dart executable.\r\n\r\n##### JavaScript API\r\n\r\n- Export the
`NodePackageImporter` class in ESM mode.\r\n\r\n- Allow
`NodePackageImporter` to locate a default directory even when\r\nthe\r\n
entrypoint is an ESM module.\r\n\r\n##### Dart API\r\n\r\n- Make passing
a null argument to `NodePackageImporter()` a static error\r\nrather\r\n
than just a runtime error.\r\n\r\n##### Embedded Sass\r\n\r\n- In the JS
Embedded Host, properly install the musl Linux embedded\r\ncompiler\r\n
when running on musl
Linux.\r\n\r\n###\r\n[`v1.71.0`](https://togithub.com/sass/embedded-host-node/blob/HEAD/CHANGELOG.md#1710)\r\n\r\n[Compare\r\nSource](https://togithub.com/sass/embedded-host-node/compare/1.70.0...1.71.0)\r\n\r\nFor
more information about `pkg:` importers, see
[the\r\nannouncement][pkg-importers] on the Sass
blog.\r\n\r\n[pkg-importers]:
https://sass-lang.com/blog/announcing-pkg-importers\r\n\r\n#####
Command-Line Interface\r\n\r\n- Add a `--pkg-importer` flag to enable
built-in `pkg:` importers.\r\nCurrently\r\n this only supports the
Node.js package resolution algorithm, via\r\n `--pkg-importer=node`. For
example, `@use \"pkg:bootstrap\"` will load\r\n
`node_modules/bootstrap/scss/bootstrap.scss`.\r\n\r\n##### JavaScript
API\r\n\r\n- Add a `NodePackageImporter` importer that can be passed to
the\r\n`importers`\r\noption. This loads files using the `pkg:` URL
scheme according to the\r\nNode.js\r\npackage resolution algorithm. For
example, `@use \"pkg:bootstrap\"`
will\r\nload\r\n`node_modules/bootstrap/scss/bootstrap.scss`. The
constructor takes a\r\nsingle\r\noptional argument, which indicates the
base directory to use when\r\nlocating\r\n `node_modules` directories.
It defaults to\r\n `path.dirname(require.main.filename)`.\r\n\r\n#####
Dart API\r\n\r\n- Add a `NodePackageImporter` importer that can be
passed to the\r\n`importers`\r\noption. This loads files using the
`pkg:` URL scheme according to the\r\nNode.js\r\npackage resolution
algorithm. For example, `@use \"pkg:bootstrap\"`
will\r\nload\r\n`node_modules/bootstrap/scss/bootstrap.scss`. The
constructor takes a\r\nsingle\r\n argument, which indicates the base
directory to use when locating\r\n `node_modules`
directories.\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/).
View\r\nrepository job
log\r\n[here](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->\r\n\r\nCo-authored-by:
renovate[bot]
<29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by: Jon
<jon@elastic.co>","sha":"2550d40166dbd431ecddd357b6bf8168434a3b19","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.14.0"],"title":"Update
dependency sass-embedded to ^1.71.1
(main)","number":178574,"url":"https://github.com/elastic/kibana/pull/178574","mergeCommit":{"message":"Update
dependency sass-embedded to ^1.71.1 (main)
(#178574)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis
PR contains the following updates:\r\n\r\n| Package | Change | Age |
Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|
[sass-embedded](https://togithub.com/sass/embedded-host-node)
|\r\n[`^1.70.0`
->\r\n`^1.71.1`](https://renovatebot.com/diffs/npm/sass-embedded/1.70.0/1.71.1)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/sass-embedded/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass-embedded/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass-embedded/1.70.0/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass-embedded/1.70.0/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>sass/embedded-host-node
(sass-embedded)</summary>\r\n\r\n###\r\n[`v1.71.1`](https://togithub.com/sass/embedded-host-node/blob/HEAD/CHANGELOG.md#1711)\r\n\r\n[Compare\r\nSource](https://togithub.com/sass/embedded-host-node/compare/1.71.0...1.71.1)\r\n\r\n#####
Command-Line Interface\r\n\r\n- Ship the musl Linux release with the
proper Dart executable.\r\n\r\n##### JavaScript API\r\n\r\n- Export the
`NodePackageImporter` class in ESM mode.\r\n\r\n- Allow
`NodePackageImporter` to locate a default directory even when\r\nthe\r\n
entrypoint is an ESM module.\r\n\r\n##### Dart API\r\n\r\n- Make passing
a null argument to `NodePackageImporter()` a static error\r\nrather\r\n
than just a runtime error.\r\n\r\n##### Embedded Sass\r\n\r\n- In the JS
Embedded Host, properly install the musl Linux embedded\r\ncompiler\r\n
when running on musl
Linux.\r\n\r\n###\r\n[`v1.71.0`](https://togithub.com/sass/embedded-host-node/blob/HEAD/CHANGELOG.md#1710)\r\n\r\n[Compare\r\nSource](https://togithub.com/sass/embedded-host-node/compare/1.70.0...1.71.0)\r\n\r\nFor
more information about `pkg:` importers, see
[the\r\nannouncement][pkg-importers] on the Sass
blog.\r\n\r\n[pkg-importers]:
https://sass-lang.com/blog/announcing-pkg-importers\r\n\r\n#####
Command-Line Interface\r\n\r\n- Add a `--pkg-importer` flag to enable
built-in `pkg:` importers.\r\nCurrently\r\n this only supports the
Node.js package resolution algorithm, via\r\n `--pkg-importer=node`. For
example, `@use \"pkg:bootstrap\"` will load\r\n
`node_modules/bootstrap/scss/bootstrap.scss`.\r\n\r\n##### JavaScript
API\r\n\r\n- Add a `NodePackageImporter` importer that can be passed to
the\r\n`importers`\r\noption. This loads files using the `pkg:` URL
scheme according to the\r\nNode.js\r\npackage resolution algorithm. For
example, `@use \"pkg:bootstrap\"`
will\r\nload\r\n`node_modules/bootstrap/scss/bootstrap.scss`. The
constructor takes a\r\nsingle\r\noptional argument, which indicates the
base directory to use when\r\nlocating\r\n `node_modules` directories.
It defaults to\r\n `path.dirname(require.main.filename)`.\r\n\r\n#####
Dart API\r\n\r\n- Add a `NodePackageImporter` importer that can be
passed to the\r\n`importers`\r\noption. This loads files using the
`pkg:` URL scheme according to the\r\nNode.js\r\npackage resolution
algorithm. For example, `@use \"pkg:bootstrap\"`
will\r\nload\r\n`node_modules/bootstrap/scss/bootstrap.scss`. The
constructor takes a\r\nsingle\r\n argument, which indicates the base
directory to use when locating\r\n `node_modules`
directories.\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/).
View\r\nrepository job
log\r\n[here](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->\r\n\r\nCo-authored-by:
renovate[bot]
<29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by: Jon
<jon@elastic.co>","sha":"2550d40166dbd431ecddd357b6bf8168434a3b19"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/178574","number":178574,"mergeCommit":{"message":"Update
dependency sass-embedded to ^1.71.1 (main)
(#178574)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis
PR contains the following updates:\r\n\r\n| Package | Change | Age |
Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|
[sass-embedded](https://togithub.com/sass/embedded-host-node)
|\r\n[`^1.70.0`
->\r\n`^1.71.1`](https://renovatebot.com/diffs/npm/sass-embedded/1.70.0/1.71.1)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/sass-embedded/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass-embedded/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass-embedded/1.70.0/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass-embedded/1.70.0/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>sass/embedded-host-node
(sass-embedded)</summary>\r\n\r\n###\r\n[`v1.71.1`](https://togithub.com/sass/embedded-host-node/blob/HEAD/CHANGELOG.md#1711)\r\n\r\n[Compare\r\nSource](https://togithub.com/sass/embedded-host-node/compare/1.71.0...1.71.1)\r\n\r\n#####
Command-Line Interface\r\n\r\n- Ship the musl Linux release with the
proper Dart executable.\r\n\r\n##### JavaScript API\r\n\r\n- Export the
`NodePackageImporter` class in ESM mode.\r\n\r\n- Allow
`NodePackageImporter` to locate a default directory even when\r\nthe\r\n
entrypoint is an ESM module.\r\n\r\n##### Dart API\r\n\r\n- Make passing
a null argument to `NodePackageImporter()` a static error\r\nrather\r\n
than just a runtime error.\r\n\r\n##### Embedded Sass\r\n\r\n- In the JS
Embedded Host, properly install the musl Linux embedded\r\ncompiler\r\n
when running on musl
Linux.\r\n\r\n###\r\n[`v1.71.0`](https://togithub.com/sass/embedded-host-node/blob/HEAD/CHANGELOG.md#1710)\r\n\r\n[Compare\r\nSource](https://togithub.com/sass/embedded-host-node/compare/1.70.0...1.71.0)\r\n\r\nFor
more information about `pkg:` importers, see
[the\r\nannouncement][pkg-importers] on the Sass
blog.\r\n\r\n[pkg-importers]:
https://sass-lang.com/blog/announcing-pkg-importers\r\n\r\n#####
Command-Line Interface\r\n\r\n- Add a `--pkg-importer` flag to enable
built-in `pkg:` importers.\r\nCurrently\r\n this only supports the
Node.js package resolution algorithm, via\r\n `--pkg-importer=node`. For
example, `@use \"pkg:bootstrap\"` will load\r\n
`node_modules/bootstrap/scss/bootstrap.scss`.\r\n\r\n##### JavaScript
API\r\n\r\n- Add a `NodePackageImporter` importer that can be passed to
the\r\n`importers`\r\noption. This loads files using the `pkg:` URL
scheme according to the\r\nNode.js\r\npackage resolution algorithm. For
example, `@use \"pkg:bootstrap\"`
will\r\nload\r\n`node_modules/bootstrap/scss/bootstrap.scss`. The
constructor takes a\r\nsingle\r\noptional argument, which indicates the
base directory to use when\r\nlocating\r\n `node_modules` directories.
It defaults to\r\n `path.dirname(require.main.filename)`.\r\n\r\n#####
Dart API\r\n\r\n- Add a `NodePackageImporter` importer that can be
passed to the\r\n`importers`\r\noption. This loads files using the
`pkg:` URL scheme according to the\r\nNode.js\r\npackage resolution
algorithm. For example, `@use \"pkg:bootstrap\"`
will\r\nload\r\n`node_modules/bootstrap/scss/bootstrap.scss`. The
constructor takes a\r\nsingle\r\n argument, which indicates the base
directory to use when locating\r\n `node_modules`
directories.\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/).
View\r\nrepository job
log\r\n[here](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->\r\n\r\nCo-authored-by:
renovate[bot]
<29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by: Jon
<jon@elastic.co>","sha":"2550d40166dbd431ecddd357b6bf8168434a3b19"}}]}]
BACKPORT-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 05:54:16 -07:00
Nick Partridge
fc823116c7
[8.13] Update dependency @elastic/charts to v64 (main) (#176872) (#177526)
# Backport

This will backport the following commits from `main` to `8.13`:
- [Update dependency @elastic/charts to v64 (main)
(#176872)](https://github.com/elastic/kibana/pull/176872)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 09:28:21 +02:00
Kibana Machine
028e226dfa
[8.13] [chore] update selenium-webdriver to 4.18.1 (#177276) (#177405)
# Backport

This will backport the following commits from `main` to `8.13`:
- [[chore] update selenium-webdriver to 4.18.1
(#177276)](https://github.com/elastic/kibana/pull/177276)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2024-02-21T09:15:58Z","message":"[chore]
update selenium-webdriver to 4.18.1 (#177276)\n\n##
Summary\r\n\r\nBumping WebDriver package up to 4.18.1 with the hope it
might
resolve\r\nhttps://github.com/elastic/kibana/issues/177180\r\nhttps://github.com/elastic/kibana/issues/177181","sha":"4473ca2da8c530fb78c8f82c6b6274ec292af520","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","FTR","v8.13.0","v8.14.0"],"title":"[chore]
update selenium-webdriver to
4.18.1","number":177276,"url":"https://github.com/elastic/kibana/pull/177276","mergeCommit":{"message":"[chore]
update selenium-webdriver to 4.18.1 (#177276)\n\n##
Summary\r\n\r\nBumping WebDriver package up to 4.18.1 with the hope it
might
resolve\r\nhttps://github.com/elastic/kibana/issues/177180\r\nhttps://github.com/elastic/kibana/issues/177181","sha":"4473ca2da8c530fb78c8f82c6b6274ec292af520"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177276","number":177276,"mergeCommit":{"message":"[chore]
update selenium-webdriver to 4.18.1 (#177276)\n\n##
Summary\r\n\r\nBumping WebDriver package up to 4.18.1 with the hope it
might
resolve\r\nhttps://github.com/elastic/kibana/issues/177180\r\nhttps://github.com/elastic/kibana/issues/177181","sha":"4473ca2da8c530fb78c8f82c6b6274ec292af520"}}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2024-02-21 03:37:08 -07:00
Kibana Machine
ca864ccdf1
[8.13] Upgrade Node.js to 20.11.1 (#177042) (#177371)
# Backport

This will backport the following commits from `main` to `8.13`:
- [Upgrade Node.js to 20.11.1
(#177042)](https://github.com/elastic/kibana/pull/177042)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2024-02-20T20:01:23Z","message":"Upgrade
Node.js to 20.11.1
(#177042)","sha":"37ae67a0a09878e9fa6c0a46f1455173d3a3401c","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-minor","v8.14.0"],"title":"Upgrade
Node.js to
20.11.1","number":177042,"url":"https://github.com/elastic/kibana/pull/177042","mergeCommit":{"message":"Upgrade
Node.js to 20.11.1
(#177042)","sha":"37ae67a0a09878e9fa6c0a46f1455173d3a3401c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177042","number":177042,"mergeCommit":{"message":"Upgrade
Node.js to 20.11.1
(#177042)","sha":"37ae67a0a09878e9fa6c0a46f1455173d3a3401c"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2024-02-20 14:25:40 -07:00
Tiago Costa
6740ab39de
chore(NA): prepare 8.13 branch 2024-02-14 19:47:31 +00:00
Luke G
b5e1ef0740
replace kbn/ecs with official npm package holding ecs schema (#176128)
## Summary

This PR replaces kbn/ecs package with the official ecs typescript defs
available on npm https://www.npmjs.com/package/@elastic/ecs

The idea here is to be able to update and maintain ecs type defs
independently, and in a transparent way.

ECS version used in kibana currently is 8.10.0, and after this PR is
merged I will generate current version typings & file another PR to
update the kibana dependency,

The `alpha` suffix will be removed once this new flow of ecs management
stabilizes.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-02-13 22:03:30 +01:00
mohamedhamed-ahmed
98536eba48
[Dataset quality] Implement Summary Panel (#175994)
closes https://github.com/elastic/kibana/issues/170247

## 📝  Summary

This PR introduces a new state machine for controlling the new Dataset
Quality Summary Panel.
As part of this work, we had to introduce a new endpoint to fetch and
calculate the Estimated Data in last 24h.

## 💡For Reviewers

### State Machine

The new state machine introduces 3 parallel states to fetch the values
displayed in the summary panel.
In case of failures in any of them, a retry mechanism is introduced to
try the fetch 1 more time after 5 seconds interval.
If the fetch fails again, we display an error toast notification.

![Screenshot 2024-02-08 at 09 01
34](f1db05f7-fd68-41f5-a950-533fd73aec27)

### New Endpoint

A new endpoint `GET
/internal/dataset_quality/data_streams/estimated_data` has been
introduced to calculate the Estimated Data in last 24h.
The endpoint first retrieves the doc count and total size in bytes for
`logs-*` and uses them to calculate the average size per doc which is
then multiplied by the number of total doc in the last 24h to get an
estimate of data in last 24h.


##   Testing

1) Navigate to /app/observability-logs-explorer/dataset-quality
2) The summary panel is displayed at the top of the table
3) Filterations shouldn't affect the data displayed as the panel is
completely isolated

## 🎥 Demos

- Normal Scenario


c88c3e73-973e-4dd2-babe-63e2c6ae2dda


- Retry On Failures


b952963a-5d67-472a-bd69-9cd9e49b0ed1


- Failing Again After Max Retries


31cb2e4c-cb90-4490-8bcc-ccb11994f9fa

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-02-13 14:41:32 +02:00
renovate[bot]
e81568ca91
Update dependency @elastic/charts to v63.1.0 (main) (#176527)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@elastic/charts](https://togithub.com/elastic/elastic-charts) |
[`63.0.0` ->
`63.1.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/63.0.0/63.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@elastic%2fcharts/63.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@elastic%2fcharts/63.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@elastic%2fcharts/63.0.0/63.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@elastic%2fcharts/63.0.0/63.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v63.1.0`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#6310-2024-01-29)

[Compare
Source](https://togithub.com/elastic/elastic-charts/compare/v63.0.0...v63.1.0)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;elastic/eui](https://togithub.com/elastic/eui) to ^92.1.1
([#&#8203;2315](https://togithub.com/elastic/elastic-charts/issues/2315))
([f4e4fae](f4e4fae42e))
- **deps:** update dependency
[@&#8203;playwright/test](https://togithub.com/playwright/test) to
^1.41.1
([#&#8203;2316](https://togithub.com/elastic/elastic-charts/issues/2316))
([e2ab527](e2ab52791b))
- **styles:** isolated point style overrides
([#&#8203;2278](https://togithub.com/elastic/elastic-charts/issues/2278))
([3fb1df2](3fb1df21d0))

##### Features

- **metric:** custom slot to render contents in gap
([#&#8203;2303](https://togithub.com/elastic/elastic-charts/issues/2303))
([3256c8c](3256c8ca14))

##### Performance Improvements

- **tooltip:** improve placement logic
([#&#8203;2310](https://togithub.com/elastic/elastic-charts/issues/2310))
([cac5f49](cac5f4908a))

</details>

---

### 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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 13:28:55 -07:00
Đỗ Trọng Hải
8fb4bf2432
chore(NA): replace deprecated cuid with @paralleldrive/cuid2 (#174787)
## Summary

`cuid` has been deprecated due to security concerns. This PR replaces
`cuid` with the successor `@paralleldrive/cuid2` while keeping the usage
intact.

### Checklist
N/A

### Risk Matrix
N/A



### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-02-12 15:22:14 +00:00
Jeramy Soucy
2627f48d95
Harden console functions (#171367)
## Summary

This PR overrides console functions only in production, in order to
sanitize input parameters for any potential calls made to the global
console from Kibana's dependencies.

This initial implementation overrides the `debug`, `error`, `info`,
`log`, `trace`, and `warn` functions, and only sanitizes string inputs.
Future updates may expand this to handle other types, or strings nested
in objects.

The unmodified console methods are now exposed internally in Kibana as
`unsafeConsole`. Where needed for formatting (log appenders, core
logger), calls to the global console have been replaced by
`unsafeConsole`. This PR also adds a new es linting rule to disallow
calls to `unsafeConsole` unless `eslint-disable-next-line
@kbn/eslint/no_unsafe_console` is used.

### Testing
Not sure how we could test this. The overrides are only enabled when
running in a true production environment (e.g. docker) by checking
`process.env.NODE_ENV`.

I was able to manually test by adding additional console output denoting
when the console functions were being overriden or not.

Closes https://github.com/elastic/kibana-team/issues/664
Closes #176340

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-02-09 09:13:52 -05:00
Dario Gieselaar
44df1f4caa
[Obs AI Assistant] Bedrock/Claude support (#176191)
~This PR still needs work (tests, mainly), so keeping it in draft for
now, but feel free to take it for a spin.~

Implements Bedrock support, specifically for the Claude models. 

Architecturally, this introduces LLM adapters: one for OpenAI (which is
what we already have), and one for Bedrock/Claude. The Bedrock/Claude
adapter does the following things:

- parses data from a SerDe (an AWS concept IIUC) stream using
`@smithy/eventstream-serde-node`.
- Converts function requests and results into XML and back (to some
extent)
- some slight changes to existing functionality to achieve _some_ kind
of baseline performance with Bedrock + Claude.

Generally, GPT seems better at implicit tasks. Claude needs explicit
tasks, otherwise it will take things too literally. For instance, I had
to use a function for generating a title because Claude was too eager to
add explanations. For the `classify_esql` function, I had to add extra
instructions to stop it from requesting information that is not there.
It is prone to generating invalid XML.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-02-09 01:17:20 -07:00
Cee Chen
cb5cf0ebc9
Upgrade EUI to v93.0.0 (#176246)
`v92.2.1`  `v93.0.0`

---

## [`v93.0.0`](https://github.com/elastic/eui/releases/v93.0.0)

**Bug fixes**

- Fixed `EuiTextTruncate` component to clean up timer from side effect
on unmount ([#7495](https://github.com/elastic/eui/pull/7495))

**Breaking changes**

- Removed deprecated `anchorClassName` prop from `EuiPopover`. Use
`className` instead ([#7488](https://github.com/elastic/eui/pull/7488))
- Removed deprecated `buttonRef` prop from `EuiPopover`. Use
`popoverRef` instead ([#7488](https://github.com/elastic/eui/pull/7488))
- Removed deprecated `toolTipTitle` and `toolTipPosition` props from
`EuiContextMenuItem`. Use `toolTipProps.title` and
`toolTipProps.position` instead
([#7489](https://github.com/elastic/eui/pull/7489))
- Removed deprecated internal `setSelection` ref method from
`EuiInMemoryTable` and `EuiBasicTable`. Use the new controlled
`selection.selected` prop API instead.
([#7491](https://github.com/elastic/eui/pull/7491))
- `EuiTourStep`'s `className` and `style` props now apply to the
anchoring element instead of to the popover panel, to match `EuiPopover`
behavior. ([#7497](https://github.com/elastic/eui/pull/7497))
- Convert your existing usages to `panelClassName` and `panelStyle`
respectively instead.

**Performance**

- Improved the amount of recomputed styles being generated by `EuiCode`
and `EuiCodeBlock` ([#7486](https://github.com/elastic/eui/pull/7486))

**CSS-in-JS conversions**

- Converted `EuiSearchBar` to Emotion
([#7490](https://github.com/elastic/eui/pull/7490))
- Converted `EuiEmptyPrompt` to Emotion
([#7494](https://github.com/elastic/eui/pull/7494))
- Added `euiBorderColor` and `useEuiBorderColorCSS` style utilities
([#7494](https://github.com/elastic/eui/pull/7494))

---------

Co-authored-by: Jon <jon@elastic.co>
2024-02-08 15:58:01 -06:00
renovate[bot]
086c4690a5
Update dependency @elastic/charts to v63 (main) (#175316)
## Note about `@elastic/charts` BREAKING CHANGE

In version 62.0.0 we introduced a breaking change in time-series charts:
the default "extra" legend value now represents the last data point in
the passed data array. It doesn't try to reconcile anymore the data
computed domain with a passed domain in `Settings.xDomain` but instead
it renders directly the last element of the passed array.
The reasons for this change can be found at
https://github.com/elastic/elastic-charts/pull/2115 or can be asked
directly to our `#charts` slack channel

There are a couple of implementations in Kibana that use both the
`showLegendExtra` in the chart configuration. I've commented them out so
that the owner teams can help me fix this breaking change if necessary.

In general, the fix requires that the data passed to the chart contains
all the buckets, even empty buckets with null/zeros should be passed. To
achieve this, your ES query you should provide the `extended_bounds`
settings in the [data histogram
agg](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-histogram-aggregation.html#search-aggregations-bucket-histogram-aggregation-extended-bounds)
and use a `min_doc_count:0`. If that doesn't work, please ping me and we
can find an alternative solution.

This should not limit the query performance, generating empty date
buckets on the server side has a similar or even less performance impact
than what we were doing on the client side to calculate every missing
bucket, to fillup the chart in particular situations.

Please double-check your queries/data fetches and push a commit to this
PR or ping me with the updated data fetch strategy.
 

fix https://github.com/elastic/kibana/issues/153079


This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@elastic/charts](https://togithub.com/elastic/elastic-charts) |
[`61.2.0` ->
`63.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/61.2.0/63.0.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@elastic%2fcharts/63.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@elastic%2fcharts/63.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@elastic%2fcharts/61.2.0/63.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@elastic%2fcharts/61.2.0/63.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v63.0.0`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#6300-2024-01-24)

[Compare
Source](https://togithub.com/elastic/elastic-charts/compare/v62.0.0...v63.0.0)

##### Features

- **legend:** expose extra raw values
([#&#8203;2308](https://togithub.com/elastic/elastic-charts/issues/2308))
([85bfe06](85bfe0668d))

##### BREAKING CHANGES

- **legend:** The `CustomLegend.item` now exposes both the `raw` and the
`formatted` version of the extra value.

###
[`v62.0.0`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#6200-2024-01-23)

[Compare
Source](https://togithub.com/elastic/elastic-charts/compare/v61.2.0...v62.0.0)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;elastic/eui](https://togithub.com/elastic/eui) to ^91.3.1
([#&#8203;2286](https://togithub.com/elastic/elastic-charts/issues/2286))
([d4d7b5d](d4d7b5db66))
- **deps:** update dependency
[@&#8203;elastic/eui](https://togithub.com/elastic/eui) to v92
([#&#8203;2290](https://togithub.com/elastic/elastic-charts/issues/2290))
([cc537fa](cc537faf43))
- **legend:** improve last value handling
([#&#8203;2115](https://togithub.com/elastic/elastic-charts/issues/2115))
([9f99447](9f9944734c))

##### BREAKING CHANGES

- **legend:** In cartesian charts, the default legend value now
represents the data points that coincide with the latest datum in the X
domain. Please consider passing every data point, even the empty ones
(like empty buckets/bins/etc) if your x data domain doesn't fully cover
a custom x domain passed to the chart configuration.

</details>

---

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Elena Stoeva <elenastoeva99@gmail.com>
2024-02-08 16:13:34 +00:00
Matthew Kime
6f340bccc1
[data views / ES|QL] Set type on esql related data views (#172622)
## Summary

Identify ES|QL data views as such by setting type attribute. Also
creates `data-view-utils` package so dependency annoyances can be
avoided by consumers.

Part of https://github.com/elastic/kibana/issues/168131

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2024-02-07 11:27:25 -06:00
Anton Dosov
86e8bc197b
[CodeEditor/UrlDrilldown] Add fitToContent support, autoresize the url template editor (#175561)
## Summary

This PR fixes the paper cut where the URL template editor in URL
drilldown is unusably small. It now can expand as you type longer URLs
fix https://github.com/elastic/kibana/issues/132513

The input box now expands from 5 to 15 lines.
2024-02-06 15:38:50 +01:00
Mike Côté
9f1f142986
Detect rule param changes for rolling upgrades and rollback assessment (#173936)
In this PR, I'm adding a test in the alerting framework to detect
changes in a rule type's params schema that will require a snapshot to
be updated. This snapshot will provide a centralized place to view
history on alerting rule params in case we need to asses risk for
rolling upgrades or rollbacks of a release (serverless). The only rule
types affected are those running in serverless in any of the three
project types.

When a rule type is used in serverless, it must provide one of the
following configuration to their rule type on top of everything else:

```
// Zod schema
schemas: {
  params: {
    type: 'zod',
    schema: UnifiedQueryRuleParams
  },
},

// config-schema
schemas: {
  params: {
    type: 'config-schema',
    schema: EsQueryRuleParamsSchema,
  },
},
```

We are working on documenting guidelines so engineers and response ops
can ensure a change to rule parameters will work properly in rolling
upgrade and rollback scenarios and be part of the PR review process.

NOTE to rule type owners: I pass the same schema used to validate to the
`schemas.params` attribute in the rule type. It will be important to
keep them in sync. Down the road, we plan to make `validate.params`
optional and use the schema as a starting point so it's easier to have a
single variable passed in.

## To verify
1. Make changes to the params schema of the ES query rule type.
```
diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.ts b/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.ts
index 73e8eae32cf..09ec74104ec 100644
--- a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.ts
+++ b/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.ts
@@ -39,6 +39,7 @@ export type EsQueryRuleParamsExtractedParams = Omit<EsQueryRuleParams, 'searchCo
 };

 const EsQueryRuleParamsSchemaProperties = {
+  foo: schema.boolean(),
   size: schema.number({ min: 0, max: ES_QUERY_MAX_HITS_PER_EXECUTION }),
   timeWindowSize: schema.number({ min: 1 }),
   excludeHitsFromPreviousRun: schema.boolean({ defaultValue: true }),
```
2. Run the jest integration test to update the snapshot file
```
node scripts/jest_integration.js x-pack/plugins/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts -u
```
3. Notice the
`x-pack/plugins/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap`
file got updated
```
    "foo": Object {
      "flags": Object {
        "error": [Function],
      },
      "type": "boolean",
    },
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-02-05 14:08:23 -07:00
Dzmitry Lemechko
ff3c1af8ee
[chore] update chromedriver to 121 (#176190)
Bumping chromedriver to the latest version
2024-02-05 10:26:31 +01:00
Luke G
81ccdc2ac5
[Security Solution] Remove kbn-url-state package (#176122)
## Summary

This PR removes unused kbn url state package. It was only used in the
flyout and is now replaced with a shared utility, used by several other
modules.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-02-02 15:44:32 -06:00
renovate[bot]
8d2feeabbc
Update cypress (main) (#173228)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@cypress/code-coverage](https://togithub.com/cypress-io/code-coverage)
| [`^3.10.0` ->
`^3.12.18`](https://renovatebot.com/diffs/npm/@cypress%2fcode-coverage/3.10.0/3.12.18)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@cypress%2fcode-coverage/3.12.18?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@cypress%2fcode-coverage/3.12.18?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@cypress%2fcode-coverage/3.10.0/3.12.18?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@cypress%2fcode-coverage/3.10.0/3.12.18?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@cypress/grep](https://togithub.com/cypress-io/cypress/tree/develop/npm/grep#readme)
([source](https://togithub.com/cypress-io/cypress)) | [`^3.1.5` ->
`^4.0.1`](https://renovatebot.com/diffs/npm/@cypress%2fgrep/3.1.5/4.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@cypress%2fgrep/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@cypress%2fgrep/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@cypress%2fgrep/3.1.5/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@cypress%2fgrep/3.1.5/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@cypress/webpack-preprocessor](https://togithub.com/cypress-io/cypress/tree/develop/npm/webpack-preprocessor#readme)
([source](https://togithub.com/cypress-io/cypress)) | [`^5.12.2` ->
`^6.0.1`](https://renovatebot.com/diffs/npm/@cypress%2fwebpack-preprocessor/5.12.2/6.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@cypress%2fwebpack-preprocessor/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@cypress%2fwebpack-preprocessor/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@cypress%2fwebpack-preprocessor/5.12.2/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@cypress%2fwebpack-preprocessor/5.12.2/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [cypress](https://cypress.io)
([source](https://togithub.com/cypress-io/cypress)) | [`^13.3.0` ->
`^13.6.3`](https://renovatebot.com/diffs/npm/cypress/13.3.0/13.6.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/13.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/13.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/13.3.0/13.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/13.3.0/13.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[cypress-data-session](https://togithub.com/bahmutov/cypress-data-session)
| [`^2.7.0` ->
`^2.8.0`](https://renovatebot.com/diffs/npm/cypress-data-session/2.7.0/2.8.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress-data-session/2.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress-data-session/2.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress-data-session/2.7.0/2.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress-data-session/2.7.0/2.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[cypress-multi-reporters](https://togithub.com/you54f/cypress-multi-reporters)
| [`^1.6.3` ->
`^1.6.4`](https://renovatebot.com/diffs/npm/cypress-multi-reporters/1.6.3/1.6.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress-multi-reporters/1.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress-multi-reporters/1.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress-multi-reporters/1.6.3/1.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress-multi-reporters/1.6.3/1.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[cypress-real-events](https://togithub.com/dmtrKovalenko/cypress-real-events)
| [`^1.10.3` ->
`^1.11.0`](https://renovatebot.com/diffs/npm/cypress-real-events/1.10.3/1.11.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress-real-events/1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress-real-events/1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress-real-events/1.10.3/1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress-real-events/1.10.3/1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[eslint-plugin-cypress](https://togithub.com/cypress-io/eslint-plugin-cypress)
| [`^2.14.0` ->
`^2.15.1`](https://renovatebot.com/diffs/npm/eslint-plugin-cypress/2.14.0/2.15.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-cypress/2.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-cypress/2.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-cypress/2.14.0/2.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-cypress/2.14.0/2.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [find-cypress-specs](https://togithub.com/bahmutov/find-cypress-specs)
| [`^1.35.1` ->
`^1.41.4`](https://renovatebot.com/diffs/npm/find-cypress-specs/1.35.1/1.41.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/find-cypress-specs/1.41.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/find-cypress-specs/1.41.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/find-cypress-specs/1.35.1/1.41.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/find-cypress-specs/1.35.1/1.41.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>cypress-io/code-coverage
(@&#8203;cypress/code-coverage)</summary>

###
[`v3.12.18`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.18)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.17...v3.12.18)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/react](https://togithub.com/types/react) to v18.2.47
([#&#8203;762](https://togithub.com/cypress-io/code-coverage/issues/762))
([4ab9fb1](4ab9fb1ca9))

###
[`v3.12.17`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.17)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.16...v3.12.17)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20.10.6
([#&#8203;759](https://togithub.com/cypress-io/code-coverage/issues/759))
([085ab72](085ab724dc))
- **deps:** update dependency
[@&#8203;types/react](https://togithub.com/types/react) to v18.2.46
([#&#8203;760](https://togithub.com/cypress-io/code-coverage/issues/760))
([e124ca5](e124ca5eac))

###
[`v3.12.16`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.16)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.15...v3.12.16)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20.10.5
([#&#8203;750](https://togithub.com/cypress-io/code-coverage/issues/750))
([566e077](566e0772c5))

###
[`v3.12.15`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.15)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.14...v3.12.15)

##### Bug Fixes

- **deps:** update react monorepo
([#&#8203;755](https://togithub.com/cypress-io/code-coverage/issues/755))
([447f52e](447f52e8b7))

###
[`v3.12.14`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.14)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.13...v3.12.14)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/jest](https://togithub.com/types/jest) to v29
([#&#8203;736](https://togithub.com/cypress-io/code-coverage/issues/736))
([8985490](898549081c))

###
[`v3.12.13`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.13)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.12...v3.12.13)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/react](https://togithub.com/types/react) to v18.2.41
([#&#8203;751](https://togithub.com/cypress-io/code-coverage/issues/751))
([d066085](d066085eee))

###
[`v3.12.12`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.12)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.11...v3.12.12)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20.10.0
([#&#8203;744](https://togithub.com/cypress-io/code-coverage/issues/744))
([8bc4251](8bc425131b))
- **deps:** update react monorepo
([#&#8203;741](https://togithub.com/cypress-io/code-coverage/issues/741))
([d8578bf](d8578bf92e))

###
[`v3.12.11`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.11)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.10...v3.12.11)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20
([#&#8203;737](https://togithub.com/cypress-io/code-coverage/issues/737))
([136fafc](136fafce3b))

###
[`v3.12.10`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.10)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.9...v3.12.10)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v16.18.61
([#&#8203;719](https://togithub.com/cypress-io/code-coverage/issues/719))
([eda6460](eda646097b))
- **deps:** update dependency globby to v11.1.0
([#&#8203;666](https://togithub.com/cypress-io/code-coverage/issues/666))
([03a3c19](03a3c199f8))
- **deps:** update react monorepo
([#&#8203;724](https://togithub.com/cypress-io/code-coverage/issues/724))
([3424c37](3424c3740d))

###
[`v3.12.9`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.9)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.8...v3.12.9)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/react](https://togithub.com/types/react) to v18.2.35
([#&#8203;720](https://togithub.com/cypress-io/code-coverage/issues/720))
([ade25b3](ade25b34fc))

###
[`v3.12.8`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.8)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.7...v3.12.8)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v16.18.59
([#&#8203;713](https://togithub.com/cypress-io/code-coverage/issues/713))
([6bc51e7](6bc51e7430))

###
[`v3.12.7`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.7)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.6...v3.12.7)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/react](https://togithub.com/types/react) to v18.2.33
([#&#8203;717](https://togithub.com/cypress-io/code-coverage/issues/717))
([cd82267](cd8226780d))

###
[`v3.12.6`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.6)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.5...v3.12.6)

##### Bug Fixes

- code coverage incomplete on redirect
([#&#8203;660](https://togithub.com/cypress-io/code-coverage/issues/660))
([443029b](443029bd5e))

###
[`v3.12.5`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.5)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.4...v3.12.5)

##### Bug Fixes

- **deps:** update react monorepo
([#&#8203;714](https://togithub.com/cypress-io/code-coverage/issues/714))
([3fc4872](3fc4872f41))

###
[`v3.12.4`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.4)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.3...v3.12.4)

##### Bug Fixes

- **deps:** update dependency dayjs to v1.11.10
([#&#8203;706](https://togithub.com/cypress-io/code-coverage/issues/706))
([5d0a33c](5d0a33cef3))
- **deps:** update react monorepo
([#&#8203;707](https://togithub.com/cypress-io/code-coverage/issues/707))
([ecfb164](ecfb1642f2))

###
[`v3.12.3`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.3)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.2...v3.12.3)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v16.18.58
([#&#8203;697](https://togithub.com/cypress-io/code-coverage/issues/697))
([1fc30b2](1fc30b218b))

###
[`v3.12.2`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.2)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.1...v3.12.2)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;cypress/webpack-preprocessor](https://togithub.com/cypress/webpack-preprocessor)
to v6
([#&#8203;699](https://togithub.com/cypress-io/code-coverage/issues/699))
([66ec177](66ec1772fd))

###
[`v3.12.1`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.1)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.0...v3.12.1)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v16.18.50
([#&#8203;692](https://togithub.com/cypress-io/code-coverage/issues/692))
([d9faaa2](d9faaa219d))

###
[`v3.12.0`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.0)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.11.0...v3.12.0)

##### Features

- use cypress >= 10 examples only and remove cypress 9 examples
([#&#8203;690](https://togithub.com/cypress-io/code-coverage/issues/690))
([796d2bf](796d2bfc04))

###
[`v3.11.0`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.11.0)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.10.9...v3.11.0)

##### Features

- support CJS configs in ES packages
([#&#8203;553](https://togithub.com/cypress-io/code-coverage/issues/553))
([8015401](8015401a87))

###
[`v3.10.9`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.10.9)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.10.8...v3.10.9)

##### Bug Fixes

- **deps:** update dependency dayjs to v1.11.9
([#&#8203;670](https://togithub.com/cypress-io/code-coverage/issues/670))
([8ad0628](8ad0628d64))

###
[`v3.10.8`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.10.8)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.10.7...v3.10.8)

##### Bug Fixes

- **deps:** update dependency dayjs to v1.11.8
([#&#8203;665](https://togithub.com/cypress-io/code-coverage/issues/665))
([c379e19](c379e191ff))

###
[`v3.10.7`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.10.7)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.10.6...v3.10.7)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v16.18.34
([#&#8203;661](https://togithub.com/cypress-io/code-coverage/issues/661))
([2aa4832](2aa4832278))

###
[`v3.10.6`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.10.6)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.10.5...v3.10.6)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v16.18.32
([#&#8203;659](https://togithub.com/cypress-io/code-coverage/issues/659))
([e904e56](e904e56173))

###
[`v3.10.5`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.10.5)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.10.4...v3.10.5)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;testing-library/react](https://togithub.com/testing-library/react)
to v13.4.0
([#&#8203;654](https://togithub.com/cypress-io/code-coverage/issues/654))
([0cdd0bc](0cdd0bce2d))

###
[`v3.10.4`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.10.4)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.10.3...v3.10.4)

##### Bug Fixes

- test-apps/new-cypress-config/package.json &
test-apps/new-cypress-config/package-lock.json to reduce vulnerabilities
([e11b813](e11b8136c3))

###
[`v3.10.3`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.10.3)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.10.2...v3.10.3)

##### Bug Fixes

- **deps:** update react monorepo
([da454ac](da454ac1df))

###
[`v3.10.2`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.10.2)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.10.1...v3.10.2)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;testing-library/jest-dom](https://togithub.com/testing-library/jest-dom)
to v5.16.5
([11328fb](11328fb5bc))

###
[`v3.10.1`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.10.1)

[Compare
Source](https://togithub.com/cypress-io/code-coverage/compare/v3.10.0...v3.10.1)

##### Bug Fixes

- **deps:** update dependency js-yaml to v4
([16dbf26](16dbf2622a))

</details>

<details>
<summary>cypress-io/cypress (@&#8203;cypress/grep)</summary>

###
[`v4.0.1`](https://togithub.com/cypress-io/cypress/releases/tag/v4.0.1):
4.0.1

[Compare
Source](https://togithub.com/cypress-io/cypress/compare/@cypress/grep-v4.0.0...@cypress/grep-v4.0.1)

*Released 2/7/2020*

**Bugfixes:**

- Fixed a bug where Chromium could not be detected on macOS. Addresses
[#&#8203;6358](https://togithub.com/cypress-io/cypress/issues/6358).
- Fixed bugs where Edge and Firefox Nightly could not be detected on
macOS. Addresses
[#&#8203;6354](https://togithub.com/cypress-io/cypress/issues/6354) and
[#&#8203;6345](https://togithub.com/cypress-io/cypress/issues/6345).
- Fixed a bug where 64-bit editions of Firefox could not be detected on
Windows. Addresses
[#&#8203;6355](https://togithub.com/cypress-io/cypress/issues/6355).
- Fixed a bug where video recordings of Firefox would omit all frames
from before the last cross-domain navigation of the test. Addresses
[#&#8203;6369](https://togithub.com/cypress-io/cypress/issues/6369).
- Fixed a bug where Cypress could crash with the message "cannot read
property 'on' of undefined" while running Firefox. Addresses
[#&#8203;6356](https://togithub.com/cypress-io/cypress/issues/6356).
- Corrected a link to the screenshot API documentation in the type
definitions. Addresses
[#&#8203;6359](https://togithub.com/cypress-io/cypress/issues/6359).

**Misc:**

- Updated the default preferences set on Firefox to hide update
notifications and otherwise improve the Firefox experience. Addresses
[#&#8203;6346](https://togithub.com/cypress-io/cypress/issues/6346).

###
[`v4.0.0`](https://togithub.com/cypress-io/cypress/releases/tag/v4.0.0):
4.0.0

[Compare
Source](https://togithub.com/cypress-io/cypress/compare/@cypress/grep-v3.1.5...@cypress/grep-v4.0.0)

*Released 2/6/2020*

**Summary:**

Cypress 4.0.0 includes support for [Mozilla
Firefox](https://www.mozilla.org/firefox/) browsers (beta support) and
[Microsoft Edge](https://www.microsoft.com/edge) (Chromium based)
browsers which is a big step forward for [Cross Browser
Testing](https://on.cypress.io/cross-browser-testing) in Cypress. We've
also updated many of the [underlying
tools](https://on.cypress.io/bundled-tools) behind Cypress that bring
new powerful features.

**Breaking Changes:**

**⚠️ Please read our [Migration
Guide](https://on.cypress.io/migration-guide) which explains the changes
in more detail and how to change your code to migrate to Cypress 4.0.**

- Mocha, Chai, and Sinon.JS has been upgraded which includes a number of
breaking changes and new features. Addresses
[#&#8203;2528](https://togithub.com/cypress-io/cypress/issues/2528),
[#&#8203;2529](https://togithub.com/cypress-io/cypress/issues/2529),
[#&#8203;2866](https://togithub.com/cypress-io/cypress/issues/2866).
- During `before:browser:launch`, we no longer yield the second argument
as an array of browser arguments and instead yield an `options` object
with an `args` property in order to support more advanced browser launch
options. Addresses
[#&#8203;6306](https://togithub.com/cypress-io/cypress/issues/6306).
- We updated the [Cypress browser
objects](https://on.cypress.io/browser-launch-api) of all Chromium-based
browsers, including Electron, to have `chromium` set as their `family`
field. Addresses
[#&#8203;6243](https://togithub.com/cypress-io/cypress/issues/6243).
- The [`--browser`
flag](https://on.cypress.io/command-line#cypress-run-browser-lt-browser-name-or-path-gt)
no longer accepts `canary` as its sole argument to run Chrome Canary.
You now have to specify `chrome:canary` to use the Chrome Canary
browser. Addresses
[#&#8203;6243](https://togithub.com/cypress-io/cypress/issues/6243).
- [`cy.writeFile()`](https://on.cypress.io/writefile) now yields `null`
instead of the contents written to the file in order to more align with
the behavior of `fs`. Addresses
[#&#8203;2466](https://togithub.com/cypress-io/cypress/issues/2466).
- Installing Cypress on your system now requires Node.js 8+. Addresses
[#&#8203;5632](https://togithub.com/cypress-io/cypress/issues/5632).
- Cypress no longer support CJSX. Addresses
[#&#8203;3469](https://togithub.com/cypress-io/cypress/issues/3469).

**Features:**

- [Mozilla Firefox](https://www.mozilla.org/firefox/) browsers now have
beta support. Addresses
[#&#8203;1096](https://togithub.com/cypress-io/cypress/issues/1096).
- [Microsoft Edge](https://www.microsoft.com/edge) (Chromium based)
browsers are now supported. Addresses
[#&#8203;5433](https://togithub.com/cypress-io/cypress/issues/5433).
- There is a new
[`Cypress.isBrowser()`](https://on.cypress.io/isbrowser) utility
function. Addresses
[#&#8203;2023](https://togithub.com/cypress-io/cypress/issues/2023).
- We updated the [`Cypress.browser`](https://on.cypress.io/browser)
object with a new `channel` property which contains the release channel
of the detected browser. Addresses
[#&#8203;6243](https://togithub.com/cypress-io/cypress/issues/6243).
- Appending `.only` to multiple tests or suites will now run all tests
with the `.only` property. Addresses
[#&#8203;2828](https://togithub.com/cypress-io/cypress/issues/2828).
- The [`isFinite` assertion](https://on.cypress.io/assertions) is now
supported. Addresses
[#&#8203;5669](https://togithub.com/cypress-io/cypress/issues/5669).
- The `empty` assertion is now supported when used against Map objects.
Addresses
[#&#8203;6072](https://togithub.com/cypress-io/cypress/issues/6072).
- The `nested` assertion chainer property is now supported. Addresses
[#&#8203;3080](https://togithub.com/cypress-io/cypress/issues/3080) and
[#&#8203;5004](https://togithub.com/cypress-io/cypress/issues/5004).

**Bugfixes:**

- A test or suite appended with an `.only` when multiple tests or suites
contained the same title now run correctly. Fixes
[#&#8203;5345](https://togithub.com/cypress-io/cypress/issues/5345).
- The [`.its()`](https://on.cypress.io/its) command now properly
supports 0 as a value for indexes or object keys. Fixes
[#&#8203;6216](https://togithub.com/cypress-io/cypress/issues/6216).

**Documentation Changes:**

- Added [Cross Browser Testing
Guide](https://on.cypress.io/cross-browser-testing) with helpful CI
strategies to consider when running tests across multiple browsers.
-   Added [`Cypress.isBrowser()`](https://on.cypress.io/isbrowser) doc.

**Misc:**

- We now pass through errors caused when attempting to read arguments
passed through [`config`](https://on.cypress.io/configuration-api).
Addresses
[#&#8203;6279](https://togithub.com/cypress-io/cypress/issues/6279).
- We fixed a broken 'Learn more' link within the Node.js Version panel
of the Test Runner Settings. Addresses
[#&#8203;6237](https://togithub.com/cypress-io/cypress/issues/6237).
- The browser icons in the Test Runner now display as images with the
proper branding. Addresses
[#&#8203;6188](https://togithub.com/cypress-io/cypress/issues/6188).
- We updated the styling of browser dropdown in the Test Runner to look
more like a button. Addresses
[#&#8203;6298](https://togithub.com/cypress-io/cypress/issues/6298).
- The timer in the Test Runner now always displays at a consistent
length. Addresses
[#&#8203;6168](https://togithub.com/cypress-io/cypress/issues/6168).
- You can print debug information about the memory & CPU usage of
Cypress, which can be accessed by enabling the
[`cypress:server:util:process_profiler` debug
stream](https://on.cypress.io/debugging#Log-memory-and-CPU-usage).
Addresses
[#&#8203;6169](https://togithub.com/cypress-io/cypress/issues/6169).
- We added types for plugin events. Addresses
[#&#8203;6322](https://togithub.com/cypress-io/cypress/issues/6322).

**Dependency Updates**

- Added `@benmalka/foxdriver`. Addressed in
[#&#8203;1359](https://togithub.com/cypress-io/cypress/pull/1359).
- Upgraded `@cypress/browserify-preprocessor` from `1.1.2` to `2.1.1`.
Addressed in
[#&#8203;4308](https://togithub.com/cypress-io/cypress/pull/4308) and
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `bluebird` from `3.5.0` to `3.7.2`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `cachedir` from `1.3.0` to `2.3.0`. Addressed in
[#&#8203;4208](https://togithub.com/cypress-io/cypress/pull/4208) and
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `chai` from `3.5.0` to `4.2.0`. Addressed in
[#&#8203;2862](https://togithub.com/cypress-io/cypress/pull/2862) and
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `chai-as-promised` from `6.0.0` to `7.1.1`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `chalk` from `2.4.0` to `3.0.0`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `commander` from `2.15.1` to `4.0.1`. Addressed in
[#&#8203;4208](https://togithub.com/cypress-io/cypress/pull/4208) and
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `debug` from `2.15.1` to `4.0.1`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `execa` from `0.10.0` to `3.3.0`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Added `firefox-profiler`. Addressed in
[#&#8203;1359](https://togithub.com/cypress-io/cypress/pull/1359).
- Added `foxdriver`. Addressed in
[#&#8203;1359](https://togithub.com/cypress-io/cypress/pull/1359).
- Upgraded `fs-extra` from `5.0.0` to `8.1.0`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `getos` from `3.1.1` to `3.1.4`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `is-ci` from `1.2.1` to `2.0.0`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `mocha` from `2.5.3` to `7.0.1`. Addressed in
[#&#8203;2703](https://togithub.com/cypress-io/cypress/pull/2703) and
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `listr` from `0.12.0` to `0.14.3`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `log-symbols` from `2.2.0` to `3.0.0`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Added `marionette-client`. Addressed in
[#&#8203;1359](https://togithub.com/cypress-io/cypress/pull/1359).
- Upgraded `ramda` from `0.24.1` to `0.26.1`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `sinon` from `3.2.0` to `8.1.1`. Addressed in
[#&#8203;2881](https://togithub.com/cypress-io/cypress/pull/2881) and
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `strip-ansi` from `3.0.1` to `6.0.0`. Addressed in
[#&#8203;1359](https://togithub.com/cypress-io/cypress/pull/1359).
- Added `systeminformation`. Addressed in
[#&#8203;1359](https://togithub.com/cypress-io/cypress/pull/1359).
- Upgraded `support-colors` from `5.5.0` to `7.1.0`. Addressed in
[#&#8203;4208](https://togithub.com/cypress-io/cypress/pull/4208) and
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).
- Upgraded `untildify` from `3.0.3` to `4.0.0`. Addressed in
[#&#8203;4226](https://togithub.com/cypress-io/cypress/pull/4226).

</details>

<details>
<summary>bahmutov/cypress-data-session (cypress-data-session)</summary>

###
[`v2.8.0`](https://togithub.com/bahmutov/cypress-data-session/releases/tag/v2.8.0)

[Compare
Source](https://togithub.com/bahmutov/cypress-data-session/compare/v2.7.0...v2.8.0)

##### Features

- add recomputeOnRetry option
([#&#8203;176](https://togithub.com/bahmutov/cypress-data-session/issues/176))
([d147205](d1472053ad))

</details>

<details>
<summary>you54f/cypress-multi-reporters
(cypress-multi-reporters)</summary>

###
[`v1.6.4`](8c559869f3...0f8457ae73)

[Compare
Source](8c559869f3...0f8457ae73)

</details>

<details>
<summary>dmtrKovalenko/cypress-real-events
(cypress-real-events)</summary>

###
[`v1.11.0`](https://togithub.com/dmtrKovalenko/cypress-real-events/releases/tag/v1.11.0)

[Compare
Source](https://togithub.com/dmtrKovalenko/cypress-real-events/compare/v1.10.3...v1.11.0)

##### Bug Fixes

- **click:** default force to .5 on mousePressed events
([#&#8203;582](https://togithub.com/dmtrKovalenko/cypress-real-events/issues/582))
([ef93985](ef93985b4a)),
closes
[#&#8203;576](https://togithub.com/dmtrKovalenko/cypress-real-events/issues/576)
- **realType:** add an escape sequence for a left brace
([#&#8203;547](https://togithub.com/dmtrKovalenko/cypress-real-events/issues/547))
([7084781](708478132c))
- Remove prettier dependency
([#&#8203;532](https://togithub.com/dmtrKovalenko/cypress-real-events/issues/532))
([672df4f](672df4f111))

##### Features

- Support alt/control/meta modifiers for keyboard events
([#&#8203;569](https://togithub.com/dmtrKovalenko/cypress-real-events/issues/569))
([021ca12](021ca12696))

</details>

<details>
<summary>cypress-io/eslint-plugin-cypress
(eslint-plugin-cypress)</summary>

###
[`v2.15.1`](https://togithub.com/cypress-io/eslint-plugin-cypress/releases/tag/v2.15.1)

[Compare
Source](https://togithub.com/cypress-io/eslint-plugin-cypress/compare/v2.14.0...v2.15.1)

##### Bug Fixes

- unsafe-to-chain-command: Fix the false positive of 'focus' regex
matching 'focused'
([#&#8203;144](https://togithub.com/cypress-io/eslint-plugin-cypress/issues/144))
([0c5f68b](0c5f68b))

</details>

<details>
<summary>bahmutov/find-cypress-specs (find-cypress-specs)</summary>

###
[`v1.41.4`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.41.4)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.41.3...v1.41.4)

##### Bug Fixes

- message if no specs were changed
([2a0e81e](2a0e81e070))

###
[`v1.41.3`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.41.3)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.41.2...v1.41.3)

##### Bug Fixes

- console log job summary if no summary variable
([7cdc681](7cdc6816fa))

###
[`v1.41.2`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.41.2)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.41.1...v1.41.2)

##### Bug Fixes

- call the summary write function
([0ae9341](0ae9341631))

###
[`v1.41.1`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.41.1)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.41.0...v1.41.1)

##### Bug Fixes

- use the latest spec-change
([e77be1e](e77be1e396))

###
[`v1.41.0`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.41.0)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.40.0...v1.41.0)

##### Features

- add --gha-summary parameter
([3b410d6](3b410d6fbb))

###
[`v1.40.0`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.40.0)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.39.0...v1.40.0)

##### Features

- trace jsx and tsx files
([#&#8203;225](https://togithub.com/bahmutov/find-cypress-specs/issues/225))
([7c3607c](7c3607cc44))

###
[`v1.39.0`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.39.0)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.38.6...v1.39.0)

##### Features

- handle ts modules better
([#&#8203;223](https://togithub.com/bahmutov/find-cypress-specs/issues/223))
([2b6eb52](2b6eb520c5))

###
[`v1.38.6`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.38.6)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.38.5...v1.38.6)

##### Bug Fixes

- **deps:** update dependency spec-change to v1.8.0
([782d394](782d394a53))

###
[`v1.38.5`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.38.5)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.38.4...v1.38.5)

##### Bug Fixes

- **deps:** update dependency find-test-names to v1.28.18
([7f4382e](7f4382eef8))

###
[`v1.38.4`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.38.4)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.38.3...v1.38.4)

##### Bug Fixes

- **deps:** update dependency find-test-names to v1.28.17
([9466e27](9466e27e3a))

###
[`v1.38.3`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.38.3)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.38.2...v1.38.3)

##### Bug Fixes

- consider all tags from the parent suite
([#&#8203;216](https://togithub.com/bahmutov/find-cypress-specs/issues/216))
([ae3058c](ae3058c510))

###
[`v1.38.2`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.38.2)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.38.1...v1.38.2)

##### Bug Fixes

- include the required tags from the parent suites
([#&#8203;215](https://togithub.com/bahmutov/find-cypress-specs/issues/215))
([3f6ce8a](3f6ce8a8d3))

###
[`v1.38.1`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.38.1)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.38.0...v1.38.1)

##### Bug Fixes

- add the numbers to markdown title
([#&#8203;208](https://togithub.com/bahmutov/find-cypress-specs/issues/208))
([f592baa](f592baa557))

###
[`v1.38.0`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.38.0)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.37.1...v1.38.0)

##### Features

- add markdown table output
([#&#8203;207](https://togithub.com/bahmutov/find-cypress-specs/issues/207))
([25b5a04](25b5a0491f))

###
[`v1.37.1`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.37.1)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.37.0...v1.37.1)

##### Bug Fixes

- Empty tagged specs for empty tagged string
([#&#8203;203](https://togithub.com/bahmutov/find-cypress-specs/issues/203))
([5ddcd85](5ddcd85cd1))

###
[`v1.37.0`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.37.0)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.36.4...v1.37.0)

##### Features

- set tagged specs as GHA output
([#&#8203;193](https://togithub.com/bahmutov/find-cypress-specs/issues/193))
([0f6cc4e](0f6cc4e793))

###
[`v1.36.4`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.36.4)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.36.3...v1.36.4)

##### Bug Fixes

- pass returnAbsolute flag to find specs in v9
([#&#8203;190](https://togithub.com/bahmutov/find-cypress-specs/issues/190))
([960809a](960809aa0e))

###
[`v1.36.3`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.36.3)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.36.2...v1.36.3)

##### Bug Fixes

- bump dependencies
([93a0eb4](93a0eb42c1))

###
[`v1.36.2`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.36.2)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.36.1...v1.36.2)

##### Bug Fixes

- pass the project root from resolved config
([a7744f4](a7744f4a34))

###
[`v1.36.1`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.36.1)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.36.0...v1.36.1)

##### Bug Fixes

- use config project root if available
([29a6d61](29a6d61633))

###
[`v1.36.0`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.36.0)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.35.2...v1.36.0)

##### Features

- allow returning absolute spec filenames
([#&#8203;186](https://togithub.com/bahmutov/find-cypress-specs/issues/186))
([2367ff7](2367ff7071))

###
[`v1.35.2`](https://togithub.com/bahmutov/find-cypress-specs/releases/tag/v1.35.2)

[Compare
Source](https://togithub.com/bahmutov/find-cypress-specs/compare/v1.35.1...v1.35.2)

##### Bug Fixes

- test list of specs in specPattern
([#&#8203;185](https://togithub.com/bahmutov/find-cypress-specs/issues/185))
([23e0747](23e074730f))

</details>

---

### 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/elastic/kibana).

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

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-02-01 12:23:24 +01:00
Quynh Nguyen (Quinn)
53c3907529
[ML] Add support for ES|QL in Data visualizer (#174188)
## Summary

This PR adds support for ES|QL queries in Data visualizer.

<img width="1695" alt="Screenshot 2024-01-26 at 17 07 59"
src="8a54b859-60d6-4c47-b3dd-e5f3ed43b6b0">

<img width="1695" alt="Screenshot 2024-01-26 at 17 12 39"
src="32fd08e4-7f3b-43e6-81a7-7ec4e777bac0">


a3f540e9-461d-4ebc-bd69-de4ffa2bc554



### Changes:

- Add a new card from the Data visualizer main page

- Add a link from the ML navigation

<img width="1717" alt="Screenshot 2024-01-08 at 18 03 50"
src="832f7890-4ce6-44c1-ab87-cde01f4bf1c0">

- Added a new button to Use ES|QL

<img width="1714" alt="Screenshot 2024-01-09 at 11 23 09"
src="a38a9360-6691-4f3b-a824-8481ab543250">


- Support for **keyword**, **text**, **numeric**, **boolean**, **date**,
and **ip** fields

<img width="1714" alt="Screenshot 2024-01-09 at 11 24 38"
src="b122ee5c-1500-4e2b-9434-e64b0b6ea3be">

<img width="1441" alt="Screenshot 2024-01-09 at 11 25 25"
src="eb35ee78-8a34-467e-84da-2026b01fcda1">

<img width="969" alt="Screenshot 2024-01-09 at 11 44 02"
src="d0f9947d-2b2c-4c14-89ba-9fc5d0a2bf64">

<img width="981" alt="Screenshot 2024-01-10 at 12 01 42"
src="aa5a8d44-7447-41fc-a544-d1b626bf8bce">

- Default to user's fieldFormats for fields that are dynamic generated
by ES|QL, else use Data view's format

- Default to Data view's setting (e.g. type `bytes` in this case for
field `bytes_normal_counter`)
<img width="1037" alt="Screenshot 2024-01-10 at 12 10 38"
src="9fb7e31c-f397-4209-a463-e1a43fe27ffd">

- Default to user's fieldFormats formatting for dynamically generated
fields (e.g. type `number` in this case for field `avg_price`)
<img width="1283" alt="Screenshot 2024-01-10 at 12 01 03"
src="acc25358-50bb-4237-9476-86067ef0badf">

- Add a new UI control to allow users to limit analysis to 5,000 -
10,000 - 100,000 - 1,000,000, rows. This speeds up fetching of the stats
for big data sets and avoid potential circuit breaking exceptions.
- Break overall stats request into smaller parallel requests (which
prevent time out or payload too big due by too many fields), at 10
requests at a time
- Break field stats for individual fields into more efficient batches
(which prevent time out or payload too big due by too many fields), at
10 requests at at ime
- Improve error handling by propagating up the error AND the ES|QL
request in both the UI and the developer's console (for better
debugging)
- Improve error handling in field stats rows: If one field, or a group
of fields, say 'keyword' fields fail to fetch for some reasons, it will
show error for that field but not affect all other fields.


<img width="1690" alt="Screenshot 2024-01-26 at 16 04 28"
src="6e240e12-76b4-42d6-b3be-c05342d76df9">

- Add deep linking in the top search bar

<img width="1185" alt="Screenshot 2024-01-26 at 16 56 49"
src="4f24df68-edc5-41c5-b2ed-d6150ba1e20b">

- More robust support for keyword fields with geo data

<img width="1438" alt="Screenshot 2024-01-26 at 16 55 01"
src="3b97925b-ca28-4952-8082-8d3242e3cb3f">




### Todos:
- [x] Add earliest/latest for date time fields -> Current blocker:
escape special characters in esql variable names
- [x] Fix formatting of numbers for dynamic query, where we don't know
the formatting based on the data view
- [x] Fix date time 'Update' not updating until Refresh is clicked
- [x] Better optimization to not fetch distribution & expanded row
content for pages that are not visible


### Good to have:
- [ ] Investigate bringing back the +/- filter buttons (either by
modifying the ES|QL query directly or by adding separate DSL filters?)

------------

### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-01-31 12:52:31 -06:00
Stratoula Kalafateli
4a92a8832f
[ES|QL] Use same adhoc dataviews for queries with the same index pattern (#174736) 2024-01-31 19:56:24 +02:00
Jan Monschke
ca23dd5060
[SecuritySolution] Remove remaining usage of redux-observable (#175678)
## Summary

In this PR, we're removing all usages of `redux-observable` in favor of
simple middlewares. This work is part of [this tech debt
ticket](https://github.com/elastic/kibana/issues/175427) which outlines
the motivation of this move.

A couple shortcuts had to be taken and I added comments further down to
explain the motivation.

### Oddities
Weirdly, the CI reports an increase in async chunks, instead of an
expected decrease due to removing a library.

| id |
[before](9629e66134)
|
[after](477348a714)
| diff |
| --- | --- | --- | --- |
| `securitySolution` | 11.2MB | 11.4MB | +157.1KB |

I'm not sure, why this is, so if anyone has any insights on how to
examine the async chunks, that would be helpful.

_edit:_ After hours of analyzing Kibana build stats at various stages of
this PR, I found that the changes that are responsible for this increase
in async chunk sum size is this commit:
cde023d340
. It only consists of deleted files and deleted imports. Therefore it's
up to webpack to figure out the best way to chunk up the app. In other
words: I can't change it :(

### Tests

You might notice, that I didn't add tests to the middlewares. That is
because the epics didn't have tests either and their functionality is
tested in acceptance tests. As a follow-up of this PR, I will add tests
to all newly-introduced middlewares. My goal here is to keep the changes
as small as possible.

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-01-31 01:22:23 -07:00
Eyo O. Eyo
0e22f756b7
[Reporting] Puppeteer v21.9.0 upgrade (#175835)
## Summary

Upgrades Puppeteer to version 21.9.0

<!--
### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
-->
2024-01-30 18:55:17 +01:00
Cee Chen
447cd44bf2
Upgrade EUI to v92.2.1 (#175849)
`v92.1.1``v92.2.1`

---

## [`v92.2.1`](https://github.com/elastic/eui/releases/v92.2.1)

**Bug fixes**

- Removed unintentional i18n tokens in prior release that should not
have been exported

## [`v92.2.0`](https://github.com/elastic/eui/releases/v92.2.0)

- Updated `EuiFlyoutResizable` with new optional `onResize` callback
([#7464](https://github.com/elastic/eui/pull/7464))

**Bug fixes**

- Fixed an issue in `EuiResizableContainer` where `onResizeEnd` could
become a stale closure when renders occured between resize start and
end, resulting in an outdated version of a consumer's `onResizeEnd`
callback being called
([#7468](https://github.com/elastic/eui/pull/7468))
- Fixed `EuiTextArea` to correctly fire `onChange` callbacks on clear
button click ([#7473](https://github.com/elastic/eui/pull/7473))
- Fixed `EuiContextMenu`'s panel titles & items to not show underlines
on hover for non-interactive elements
([#7474](https://github.com/elastic/eui/pull/7474))

**Deprecations**

- Remove unused public `EuiHue` and `EuiSaturation` subcomponent
exports. Use the parent `EuiColorPicker` component instead
([#7460](https://github.com/elastic/eui/pull/7460))
- Remove unused public `EuiCommentTimeline` subcomponent export. Use the
parent `EuiComment` or `EuiCommentList` components instead.
([#7467](https://github.com/elastic/eui/pull/7467))
2024-01-30 08:54:10 -08:00
Jon
92052864a8
Upgrade selenium-webdriver to 4.17.0 (#175746)
Will be testing as a fix for
https://github.com/elastic/kibana/pull/175740
2024-01-29 11:56:22 -07:00
Jon
6a78467a09
Partially revert yarn upgrade (#175805)
We upgraded bazel and the corepack version to 1.22.21. We're seeing some
issues upgrading the global version, and there isn't a strict need yet.
This sets engines.yarn back to ^1.22.19 to unblock areas having issues.
2024-01-29 08:50:23 -06:00
Tiago Costa
85013e943b
chore(NA): add sharp resolution for v0.32.6 (#175720)
Closes https://github.com/elastic/kibana/issues/175544

I think what we were seeing around the sharp issue was the same problem
of other native modules which is the install step not running and
installing the correct native binaries because of corrupted caches when
changing branches.

Currently moving to v0.33+ will be problematic because we are using yarn
v1 so this PR is making a resolution pin which will help on not making
the upgrade for the moment as well as to a correct dep installation when
resetting the environment.
2024-01-26 21:29:00 +00:00
Jacob Lee
3ad54f64f3
Lock package manager version (#175495)
## Summary

I believe the intention was to restrict the `yarn` version to `1.22.19`,
but the current `package.json` setup does not enforce it. This config
change should do it.


### Checklist

None.

### Risk Matrix

None.

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Jon <jon@budzenski.me>
Co-authored-by: Jon <jon@elastic.co>
2024-01-26 11:27:25 -07:00
renovate[bot]
5257607869
Update dependency sass-embedded to ^1.70.0 (main) (#173230)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sass-embedded](https://togithub.com/sass/embedded-host-node) |
[`^1.69.5` ->
`^1.70.0`](https://renovatebot.com/diffs/npm/sass-embedded/1.69.5/1.70.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass-embedded/1.70.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass-embedded/1.70.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass-embedded/1.69.5/1.70.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass-embedded/1.69.5/1.70.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>sass/embedded-host-node (sass-embedded)</summary>

###
[`v1.70.0`](https://togithub.com/sass/embedded-host-node/blob/HEAD/CHANGELOG.md#1700)

[Compare
Source](https://togithub.com/sass/embedded-host-node/compare/1.69.7...1.70.0)

##### JavaScript API

- Add a `sass.initCompiler()` function that returns a `sass.Compiler`
object
which supports `compile()` and `compileString()` methods with the same
API as
the global Sass object. On the Node.js embedded host, each
`sass.Compiler`
object uses a single long-lived subprocess, making compiling multiple
    stylesheets much more efficient.

- Add a `sass.initAsyncCompiler()` function that returns a
`sass.AsyncCompiler`
object which supports `compileAsync()` and `compileStringAsync()`
methods with
the same API as the global Sass object. On the Node.js embedded host,
each
`sass.AsynCompiler` object uses a single long-lived subprocess, making
    compiling multiple stylesheets much more efficient.

##### Embedded Sass

- Support the `CompileRequest.silent` field. This allows compilations
with no
    logging to avoid unnecessary request/response cycles.

- The Dart Sass embedded compiler now reports its name as "dart-sass"
rather
    than "Dart Sass", to match the JS API's `info` field.

###
[`v1.69.7`](https://togithub.com/sass/embedded-host-node/blob/HEAD/CHANGELOG.md#1697)

[Compare
Source](https://togithub.com/sass/embedded-host-node/compare/1.69.6...1.69.7)

##### Embedded Sass

- In the JS Embedded Host, properly install the x64 Dart Sass executable
on
    ARM64 Windows.

###
[`v1.69.6`](https://togithub.com/sass/embedded-host-node/blob/HEAD/CHANGELOG.md#1696)

[Compare
Source](https://togithub.com/sass/embedded-host-node/compare/1.69.5...1.69.6)

- Produce better output for numbers with complex units in
`meta.inspect()` and
    debugging messages.

-   Escape U+007F DELETE when serializing strings.

- When generating CSS error messages to display in-browser, escape all
code
points that aren't in the US-ASCII region. Previously only code points
U+0100
    LATIN CAPITAL LETTER A WITH MACRON were escaped.

-   Provide official releases for musl LibC and for Android.

-   Don't crash when running `meta.apply()` in asynchronous mode.

##### JS API

- Fix a bug where certain exceptions could produce `SourceSpan`s that
didn't
    follow the documented `SourceSpan` API.

</details>

---

### 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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/elastic/kibana).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2024-01-26 10:39:42 -06:00
Giorgos Bamparopoulos
35e7325753
Rename log_explorer and observability_log_explorer plugins (#175510)
- Rename `log_explorer` to `logs_explorer` and move it to an
`observability_solution` subfolder
- Rename `observability_log_explorer` to `observability_logs_explorer`
and move it to an `observability_solution` subfolder
- Use `renameFromRoot` to rename old configs 

Related to https://github.com/elastic/kibana/issues/171991 and
https://github.com/elastic/kibana/pull/170759

This PR is mostly focused on renaming the plugins, follow ups will be
created to change mentions of `log explorer`, `logExplorer` etc.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani01@gmail.com>
2024-01-26 16:10:27 +00:00
Marco Vettorello
dade4f1d54
Add ResizeObserver polyfill globally in Jest tests (#173772)
## Summary

This PR adds the ResizeObserver polyfill in Jest Tests reusing a
polyfill already used in Kibana.
The PR also removes all the mocks for the ResizeObserver used in tests.
The polyfill is no longer needed in code running on a browser as the
[ResizeObserver API is already
available](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver#browser_compatibility)
in every Kibana-supported browser.


There is still one last polyfill to remove `@juggle/resize-observer` but
this is used internally by the `use-resize-observer` hook. A following
PR could probably replace that hook with a different hook that doesn't
require that polyfill to cleanup a bit our dependencies
2024-01-26 08:58:04 -07:00
Jeramy Soucy
b0a0eee9ce
Revert upgrade to axios@1.6.5 and follow-redirects@1.15.4 (#175496)
## Summary

Due to a [known issue](https://github.com/axios/axios/issues/6179) with
axios > 1.6.3 and follow-redirects > 1.15.3, this PR reverts a recent
upgrade to both libraries by adding resolutions in the package file, and
removing the caret range for axios. This is meant to be a temporary
measure - once the known issue is resolved, these changes must be
reverted.
2024-01-25 10:13:12 -05:00
Eyo O. Eyo
b25407edba
Update Kibana code editor dependencies (#171720)
## Summary

This PR started out as an attempt to resolve
https://github.com/elastic/kibana/issues/166559; which it does, the
appropriate colours for the message prompt displayed when an edit
attempt on read only content is made in the code editor for both dark
and light mode are now set;

 ### Light mode
<img width="412" alt="Screenshot 2023-11-22 at 11 30 17"
src="8675dd9f-b413-4098-a903-7ac63dc367fb">

### Dark mode
<img width="843" alt="Screenshot 2023-11-22 at 11 29 31"
src="64fd39e0-d5dd-4556-b6ca-75ba8fc55c94">

#### Noteworthy**

- See https://code.visualstudio.com/api/references/theme-color for more
clarification on the style definitions added to this PR
- There's also been accommodation made for consumers of the code editor
to provide their own custom message through the prop `readOnlyMessage`.
- That been said it's worth pointing out that this PR updates
react-monaco-editor and monaco-editor packages to their latest version,
primarily because the functionality that provides support to provide
customization for the providing a color scheme that would support in our
use case for setting colors for dark mode and light mode appropriately,
shipped in version 0.40.0 of monaco editor, also for react-monaco-editor
prior to it's current latest the pinned version of monaco editor was
0.38.0.
- Monaco-yaml is also updated in the PR, matching the change in
expectation of the underlying monaco-editor api.
~- Updates to the packages referenced above, in turn caused the
installed version of prettier to be updated to the latest minor version
2.8.8. This change caused some lint changes to the project files where
parentheses were added to types with Index Access on another type
created using the typeof operator (more context
[here](https://github.com/prettier/prettier/issues/14990)), for this
reason I've opted to lockdown prettier version, so that this PR only
contains the changes required for updating the code editor. A subsequent
PR will be created to revert the package lockdown so that PR contains
only the lint changes that will occur.~

### Checklist
<!--
Delete any items that are not applicable to this PR. -->

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
<!-- - [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios -->
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
<!-- - [ ] Any UI touched in this PR does not create any new axe
failures (run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
-->

---------

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-01-25 10:30:02 +01:00
Cee Chen
2f8825d68a
Upgrade EUI to v92.1.1 (#174955)
`v92.0.0-backport.0` `v92.1.1`

---

## [`v92.1.1`](https://github.com/elastic/eui/releases/v92.1.1)

**Bug fixes**

- Minor `EuiDataGrid` cell performance fixes
([#7465](https://github.com/elastic/eui/pull/7465))

## [`v92.1.0`](https://github.com/elastic/eui/releases/v92.1.0)

- Updated `EuiResizableButton` to allow customizing the `indicator`
style with either `handle` (default) or `border`
([#7455](https://github.com/elastic/eui/pull/7455))
- Enhanced `EuiResizableContainer` to preserve the drag/resize event
when the user's mouse leaves the parent container and re-enters
([#7456](https://github.com/elastic/eui/pull/7456))

**Bug fixes**

- Fixed an `EuiTreeView` JSX Typescript error
([#7452](https://github.com/elastic/eui/pull/7452))
- Fixed a color console warning being generated by disabled `EuiStep`s
([#7454](https://github.com/elastic/eui/pull/7454))

**Accessibility**

- `EuiDataGrid`'s keyboard/screenreader experience has been tweaked to
be more consistent for varying complex data:
([#7448](https://github.com/elastic/eui/pull/7448))
- Headers are now always navigable by arrow key, regardless of whether
the header cells contain interactive content
- Non-expandable cells containing any amount of interactive content now
must be entered via Enter or F2 keypress
  - Expandable cells continue to be toggled via Enter or F2 keypress
- `EuiDataGrid` now provides a direct screen reader hint for Enter key
behavior for expandable & interactive cells
([#7448](https://github.com/elastic/eui/pull/7448))
2024-01-24 14:29:43 -07:00
Đỗ Trọng Hải
cd907739f3
fix(x-pack/reporting): use FIPS-compliant ID generator uuidv4 in Reporting plugin (#174809)
## Summary
Closes #174798 


### Checklist

Delete any items that are not applicable to this PR.



### Risk Matrix

Delete this section if it is not applicable to this PR.


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-01-24 10:38:47 -07:00