Commit graph

3466 commits

Author SHA1 Message Date
renovate[bot]
297511428f
Update dependency selenium-webdriver to ^4.22.0 (main) (#187120)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[selenium-webdriver](https://togithub.com/SeleniumHQ/selenium/tree/trunk/javascript/node/selenium-webdriver#readme)
([source](https://togithub.com/SeleniumHQ/selenium)) | [`^4.21.0` ->
`^4.22.0`](https://renovatebot.com/diffs/npm/selenium-webdriver/4.21.0/4.22.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/selenium-webdriver/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/selenium-webdriver/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/selenium-webdriver/4.21.0/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/selenium-webdriver/4.21.0/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>SeleniumHQ/selenium (selenium-webdriver)</summary>

###
[`v4.22.0`](79ed462ef4...c5f3146703)

[Compare
Source](79ed462ef4...c5f3146703)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-28 07:48:34 -05:00
renovate[bot]
f26dabcdc3
Update APM (main) (#187100) 2024-06-28 09:36:20 +02:00
renovate[bot]
47e0111384
Update dependency launchdarkly-js-client-sdk to ^3.4.0 (main) (#187086) 2024-06-27 12:32:05 -07:00
renovate[bot]
b6bc467ee8
Update ftr (main) (#187039)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/selenium-webdriver](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selenium-webdriver)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver))
| [`^4.1.22` ->
`^4.1.23`](https://renovatebot.com/diffs/npm/@types%2fselenium-webdriver/4.1.22/4.1.23)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fselenium-webdriver/4.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fselenium-webdriver/4.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fselenium-webdriver/4.1.22/4.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fselenium-webdriver/4.1.22/4.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [chromedriver](https://togithub.com/giggio/node-chromedriver) |
[`^125.0.2` ->
`^126.0.2`](https://renovatebot.com/diffs/npm/chromedriver/125.0.2/126.0.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/chromedriver/126.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/chromedriver/126.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/chromedriver/125.0.2/126.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chromedriver/125.0.2/126.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>giggio/node-chromedriver (chromedriver)</summary>

###
[`v126.0.2`](https://togithub.com/giggio/node-chromedriver/compare/126.0.1...126.0.2)

[Compare
Source](https://togithub.com/giggio/node-chromedriver/compare/126.0.1...126.0.2)

###
[`v126.0.1`](https://togithub.com/giggio/node-chromedriver/compare/126.0.0...126.0.1)

[Compare
Source](https://togithub.com/giggio/node-chromedriver/compare/126.0.0...126.0.1)

###
[`v126.0.0`](https://togithub.com/giggio/node-chromedriver/compare/125.0.3...126.0.0)

[Compare
Source](https://togithub.com/giggio/node-chromedriver/compare/125.0.3...126.0.0)

###
[`v125.0.3`](https://togithub.com/giggio/node-chromedriver/compare/125.0.2...125.0.3)

[Compare
Source](https://togithub.com/giggio/node-chromedriver/compare/125.0.2...125.0.3)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2024-06-27 12:26:28 -05:00
renovate[bot]
279ee0f1e8
Update dependency core-js to ^3.37.1 (main) (#187034)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [core-js](https://togithub.com/zloirock/core-js)
([source](https://togithub.com/zloirock/core-js/tree/HEAD/packages/core-js))
| [`^3.36.0` ->
`^3.37.1`](https://renovatebot.com/diffs/npm/core-js/3.36.0/3.37.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/core-js/3.37.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/core-js/3.37.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/core-js/3.36.0/3.37.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/core-js/3.36.0/3.37.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>zloirock/core-js (core-js)</summary>

###
[`v3.37.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3371---20240514)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.37.0...v3.37.1)

- Changes
[v3.37.0...v3.37.1](https://togithub.com/zloirock/core-js/compare/v3.37.0...v3.37.1)
- Fixed [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse)
feature detection for some specific cases
-   Compat data improvements:
- [`Set` methods
proposal](https://togithub.com/tc39/proposal-set-methods) added and
marked as [supported from FF
127](https://bugzilla.mozilla.org/show_bug.cgi?id=1868423)
-
[`Symbol.dispose`](https://togithub.com/tc39/proposal-explicit-resource-management)
added and marked as supported from V8 ~ Chromium 125
- [`Math.f16round` and `DataView.prototype.{ getFloat16, setFloat16
}`](https://togithub.com/tc39/proposal-float16array) added and marked as
[supported from Deno
1.43](https://togithub.com/denoland/deno/pull/23490)
- [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) added and
marked as [supported from Chromium
126](https://chromestatus.com/feature/6301071388704768)
- [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) added and
marked as [supported from NodeJS
22.0](https://togithub.com/nodejs/node/pull/52280)
- [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) added and
marked as [supported from Deno
1.43](https://togithub.com/denoland/deno/pull/23318)
- Added [Rhino
1.7.15](https://togithub.com/mozilla/rhino/releases/tag/Rhino1\_7\_15\_Release)
compat data, many features marked as supported
- Added [NodeJS 22.0](https://nodejs.org/en/blog/release/v22.0.0) compat
data mapping
- Added [Deno
1.43](https://togithub.com/denoland/deno/releases/tag/v1.43.0) compat
data mapping
    -   Added Electron 31 compat data mapping
- Updated [Opera Android
82](https://forums.opera.com/topic/71513/opera-for-android-82) compat
data mapping
    -   Added Samsung Internet 26 compat data mapping
    -   Added Oculus Quest Browser 33 compat data mapping

###
[`v3.37.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3370---20240417)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.36.1...v3.37.0)

- Changes
[v3.36.1...v3.37.0](https://togithub.com/zloirock/core-js/compare/v3.36.1...v3.37.0)
- [New `Set` methods
proposal](https://togithub.com/tc39/proposal-set-methods):
    -   Built-ins:
        -   `Set.prototype.intersection`
        -   `Set.prototype.union`
        -   `Set.prototype.difference`
        -   `Set.prototype.symmetricDifference`
        -   `Set.prototype.isSubsetOf`
        -   `Set.prototype.isSupersetOf`
        -   `Set.prototype.isDisjointFrom`
- Moved to stable ES, [April 2024 TC39
meeting](bda5a6bccb)
- Added `es.` namespace modules, `/es/` and `/stable/` namespaces
entries
- [Explicit Resource Management stage 3
proposal](https://togithub.com/tc39/proposal-explicit-resource-management)
- Some minor updates like
[explicit-resource-management/217](https://togithub.com/tc39/proposal-explicit-resource-management/pull/217)
- Added [`Math.sumPrecise` stage 2.7
proposal](https://togithub.com/tc39/proposal-math-sum/):
    -   Built-ins:
        -   `Math.sumPrecise`
- [`Promise.try`
proposal](https://togithub.com/tc39/proposal-promise-try):
    -   Built-ins:
        -   `Promise.try`
- Added optional arguments support,
[promise-try/16](https://togithub.com/tc39/proposal-promise-try/pull/16)
- Moved to stage 2.7, [April 2024 TC39
meeting](301fc9c7ee)
- [`RegExp.escape` stage 2
proposal](https://togithub.com/tc39/proposal-regex-escaping):
- Moved to hex-escape semantics,
[regex-escaping/67](https://togithub.com/tc39/proposal-regex-escaping/pull/67)
- It's not the final change of the way of escaping, waiting for
[regex-escaping/77](https://togithub.com/tc39/proposal-regex-escaping/pull/77)
soon
- [Pattern matching stage 1
proposal](https://togithub.com/tc39/proposal-pattern-matching):
    -   Built-ins:
        -   `Symbol.customMatcher`
- Once again, [the used well-known symbol was
renamed](https://togithub.com/tc39/proposal-pattern-matching/pull/295)
    -   Added new entries for that
- Added [Extractors stage 1
proposal](https://togithub.com/tc39/proposal-extractors):
    -   Built-ins:
        -   `Symbol.customMatcher`
- Since the `Symbol.customMatcher` well-known symbol from the pattern
matching proposal is also used in the exactors proposal, added an entry
also for this proposal
- Added [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse),
[url/825](https://togithub.com/whatwg/url/pull/825)
-   Engines bugs fixes:
- Added a fix of [Safari `{ Object, Map }.groupBy` bug that does not
support iterable
primitives](https://bugs.webkit.org/show_bug.cgi?id=271524)
- Added a fix of [Safari bug with double call of constructor in
`Array.fromAsync`](https://bugs.webkit.org/show_bug.cgi?id=271703)
-   Compat data improvements:
- [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) added and
marked as supported [from FF
126](https://bugzilla.mozilla.org/show_bug.cgi?id=1887611)
- [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) added and
marked as supported [from Bun
1.1.4](https://togithub.com/oven-sh/bun/pull/10129)
- [`URL.canParse`](https://url.spec.whatwg.org/#dom-url-canparse) fixed
and marked as supported [from Bun
1.1.0](https://togithub.com/oven-sh/bun/pull/9710)
- [New `Set` methods](https://togithub.com/tc39/proposal-set-methods)
fixed in JavaScriptCore and marked as supported from Bun 1.1.1
    -   Added Opera Android 82 compat data mapping

###
[`v3.36.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3361---20240319)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.36.0...v3.36.1)

- Changes
[v3.36.0...v3.36.1](https://togithub.com/zloirock/core-js/compare/v3.36.0...v3.36.1)
- Fixed some validation cases in `Object.setPrototypeOf`,
[#&#8203;1329](https://togithub.com/zloirock/core-js/issues/1329),
thanks [**@&#8203;minseok-choe**](https://togithub.com/minseok-choe)
- Fixed the order of validations in `Array.from`,
[#&#8203;1331](https://togithub.com/zloirock/core-js/pull/1331), thanks
[**@&#8203;minseok-choe**](https://togithub.com/minseok-choe)
- Added a fix of [Bun `queueMicrotask`
arity](https://togithub.com/oven-sh/bun/issues/9249)
- Added a fix of [Bun `URL.canParse`
arity](https://togithub.com/oven-sh/bun/issues/9250)
- Added a fix of Bun `SuppressedError` [extra arguments
support](https://togithub.com/oven-sh/bun/issues/9283) and
[arity](https://togithub.com/oven-sh/bun/issues/9282)
-   Compat data improvements:
- [`value` argument of `URLSearchParams.prototype.{ has, delete
}`](https://url.spec.whatwg.org/#dom-urlsearchparams-delete) marked as
supported [from Bun
1.0.31](https://togithub.com/oven-sh/bun/issues/9263)
- Added React Native 0.74 Hermes compat data, `Array.prototype.{
toSpliced, toReversed, with }` and `atob` marked as supported
    -   Added Deno 1.41.3 compat data mapping
    -   Added Opera Android 81 compat data mapping
    -   Added Samsung Internet 25 compat data mapping
    -   Added Oculus Quest Browser 32 compat data mapping
    -   Updated Electron 30 compat data mapping

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2024-06-27 12:24:33 -05:00
renovate[bot]
d621594730
Update babel (main) (#187028)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/cli](https://babel.dev/docs/en/next/babel-cli)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-cli))
| [`^7.24.1` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fcli/7.24.1/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcli/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcli/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcli/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcli/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/core](https://babel.dev/docs/en/next/babel-core)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-core))
| [`^7.24.4` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.24.4/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.24.4/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.24.4/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/eslint-parser](https://babel.dev/)
([source](https://togithub.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser))
| [`^7.24.1` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2feslint-parser/7.24.1/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2feslint-parser/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2feslint-parser/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2feslint-parser/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2feslint-parser/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/eslint-plugin](https://babel.dev/)
([source](https://togithub.com/babel/babel/tree/HEAD/eslint/babel-eslint-plugin))
| [`^7.23.5` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2feslint-plugin/7.23.5/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2feslint-plugin/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2feslint-plugin/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2feslint-plugin/7.23.5/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2feslint-plugin/7.23.5/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/generator](https://babel.dev/docs/en/next/babel-generator)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-generator))
| [`^7.24.4` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fgenerator/7.24.4/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fgenerator/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fgenerator/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fgenerator/7.24.4/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fgenerator/7.24.4/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/helper-plugin-utils](https://babel.dev/docs/en/next/babel-helper-plugin-utils)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-helper-plugin-utils))
| [`^7.24.0` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fhelper-plugin-utils/7.24.0/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fhelper-plugin-utils/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fhelper-plugin-utils/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fhelper-plugin-utils/7.24.0/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fhelper-plugin-utils/7.24.0/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/parser](https://babel.dev/docs/en/next/babel-parser)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-parser))
| [`^7.24.4` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fparser/7.24.4/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fparser/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fparser/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fparser/7.24.4/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fparser/7.24.4/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/plugin-proposal-decorators](https://babel.dev/docs/en/next/babel-plugin-proposal-decorators)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-decorators))
| [`^7.24.1` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fplugin-proposal-decorators/7.24.1/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fplugin-proposal-decorators/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fplugin-proposal-decorators/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fplugin-proposal-decorators/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fplugin-proposal-decorators/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/plugin-transform-class-properties](https://babel.dev/docs/en/next/babel-plugin-transform-class-properties)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties))
| [`^7.24.1` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fplugin-transform-class-properties/7.24.1/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fplugin-transform-class-properties/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fplugin-transform-class-properties/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fplugin-transform-class-properties/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fplugin-transform-class-properties/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/plugin-transform-numeric-separator](https://babel.dev/docs/en/next/babel-plugin-transform-numeric-separator)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-numeric-separator))
| [`^7.24.1` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fplugin-transform-numeric-separator/7.24.1/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fplugin-transform-numeric-separator/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fplugin-transform-numeric-separator/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fplugin-transform-numeric-separator/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fplugin-transform-numeric-separator/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/plugin-transform-runtime](https://babel.dev/docs/en/next/babel-plugin-transform-runtime)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime))
| [`^7.24.3` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fplugin-transform-runtime/7.24.3/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fplugin-transform-runtime/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fplugin-transform-runtime/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fplugin-transform-runtime/7.24.3/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fplugin-transform-runtime/7.24.3/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/preset-env](https://babel.dev/docs/en/next/babel-preset-env)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-preset-env))
| [`^7.24.4` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fpreset-env/7.24.4/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fpreset-env/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fpreset-env/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fpreset-env/7.24.4/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fpreset-env/7.24.4/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/preset-react](https://babel.dev/docs/en/next/babel-preset-react)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-preset-react))
| [`^7.24.1` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fpreset-react/7.24.1/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fpreset-react/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fpreset-react/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fpreset-react/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fpreset-react/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/preset-typescript](https://babel.dev/docs/en/next/babel-preset-typescript)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-preset-typescript))
| [`^7.24.1` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fpreset-typescript/7.24.1/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fpreset-typescript/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fpreset-typescript/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fpreset-typescript/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fpreset-typescript/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/register](https://babel.dev/docs/en/next/babel-register)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-register))
| [`^7.23.7` ->
`^7.24.6`](https://renovatebot.com/diffs/npm/@babel%2fregister/7.23.7/7.24.6)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fregister/7.24.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fregister/7.24.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fregister/7.23.7/7.24.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fregister/7.23.7/7.24.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/runtime](https://babel.dev/docs/en/next/babel-runtime)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-runtime))
| [`^7.24.4` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2fruntime/7.24.4/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fruntime/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fruntime/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fruntime/7.24.4/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fruntime/7.24.4/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/traverse](https://babel.dev/docs/en/next/babel-traverse)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-traverse))
| [`^7.24.1` ->
`^7.24.7`](https://renovatebot.com/diffs/npm/@babel%2ftraverse/7.24.1/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2ftraverse/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2ftraverse/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2ftraverse/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2ftraverse/7.24.1/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/types](https://babel.dev/docs/en/next/babel-types)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-types))
| [`7.21.2` ->
`7.24.7`](https://renovatebot.com/diffs/npm/@babel%2ftypes/7.21.2/7.24.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2ftypes/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2ftypes/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2ftypes/7.21.2/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2ftypes/7.21.2/7.24.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/cli)</summary>

###
[`v7.24.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7247-2024-06-05)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.6...v7.24.7)

##### 🐛 Bug Fix

-   `babel-node`
- [#&#8203;16554](https://togithub.com/babel/babel/pull/16554) Allow
extra flags in babel-node
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-traverse`
- [#&#8203;16522](https://togithub.com/babel/babel/pull/16522) fix:
incorrect `constantViolations` with destructuring
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-transform-fixture-test-runner`,
`babel-plugin-proposal-explicit-resource-management`
- [#&#8203;16524](https://togithub.com/babel/babel/pull/16524) fix:
Transform `using` in `switch` correctly
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 🏠 Internal

- `babel-helpers`, `babel-runtime-corejs2`, `babel-runtime-corejs3`,
`babel-runtime`
- [#&#8203;16525](https://togithub.com/babel/babel/pull/16525) Delete
unused array helpers
([@&#8203;blakewilson](https://togithub.com/blakewilson))

###
[`v7.24.6`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7246-2024-05-24)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.5...v7.24.6)

##### 🐛 Bug Fix

- `babel-helper-create-class-features-plugin`,
`babel-plugin-transform-class-properties`
- [#&#8203;16514](https://togithub.com/babel/babel/pull/16514) Fix
source maps for private member expressions
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-core`, `babel-generator`,
`babel-plugin-transform-modules-commonjs`
- [#&#8203;16515](https://togithub.com/babel/babel/pull/16515) Fix
source maps for template literals
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`
- [#&#8203;16485](https://togithub.com/babel/babel/pull/16485) Support
undecorated static accessor in anonymous classes
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- [#&#8203;16484](https://togithub.com/babel/babel/pull/16484) Fix
decorator bare yield await
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helpers`, `babel-plugin-proposal-decorators`,
`babel-runtime-corejs3`
- [#&#8203;16483](https://togithub.com/babel/babel/pull/16483) Fix:
throw TypeError if addInitializer is called after finished
([@&#8203;JLHwung](https://togithub.com/JLHwung))
-   `babel-parser`, `babel-plugin-transform-typescript`
- [#&#8203;16476](https://togithub.com/babel/babel/pull/16476) fix:
Correctly parse `cls.fn<C> = x`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 🏠 Internal

- `babel-core`, `babel-helpers`, `babel-plugin-transform-runtime`,
`babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`,
`babel-runtime`
- [#&#8203;16501](https://togithub.com/babel/babel/pull/16501) Generate
helper metadata at build time
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-helpers`
- [#&#8203;16499](https://togithub.com/babel/babel/pull/16499) Add
`tsconfig.json` for `@babel/helpers/src/helpers`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-cli`, `babel-helpers`, `babel-plugin-external-helpers`,
`babel-plugin-proposal-decorators`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-modules-systemjs`,
`babel-plugin-transform-runtime`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;16495](https://togithub.com/babel/babel/pull/16495) Move all
runtime helpers to individual files
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-parser`, `babel-traverse`
- [#&#8203;16482](https://togithub.com/babel/babel/pull/16482)
Statically generate boilerplate for bitfield accessors
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   Other
- [#&#8203;16466](https://togithub.com/babel/babel/pull/16466) Migrate
import assertions syntax
([@&#8203;JLHwung](https://togithub.com/JLHwung))

###
[`v7.24.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7245-2024-04-29)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.1...v7.24.5)

##### 🐛 Bug Fix

-   `babel-plugin-transform-classes`, `babel-traverse`
- [#&#8203;16377](https://togithub.com/babel/babel/pull/16377) fix:
TypeScript annotation affects output
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`,
`babel-runtime-corejs3`
- [#&#8203;16440](https://togithub.com/babel/babel/pull/16440) Fix
suppressed error order ([@&#8203;sossost](https://togithub.com/sossost))
- [#&#8203;16408](https://togithub.com/babel/babel/pull/16408) Await
nullish async disposable
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 💅 Polish

-   `babel-parser`
- [#&#8203;16407](https://togithub.com/babel/babel/pull/16407) Recover
from exported `using` declaration
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 🏠 Internal

-   Other
- [#&#8203;16414](https://togithub.com/babel/babel/pull/16414) Relax
ESLint peerDependency constraint to allow v9
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-parser`
- [#&#8203;16425](https://togithub.com/babel/babel/pull/16425) Improve
`@babel/parser` AST types
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#&#8203;16417](https://togithub.com/babel/babel/pull/16417) Always
pass type argument to `.startNode`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`,
`babel-helper-member-expression-to-functions`,
`babel-helper-module-transforms`,
`babel-helper-split-export-declaration`, `babel-helper-wrap-function`,
`babel-helpers`,
`babel-plugin-bugfix-firefox-class-in-computed-class-key`,
`babel-plugin-proposal-explicit-resource-management`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-destructuring`,
`babel-plugin-transform-object-rest-spread`,
`babel-plugin-transform-optional-chaining`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-private-property-in-object`,
`babel-plugin-transform-react-jsx-self`,
`babel-plugin-transform-typeof-symbol`,
`babel-plugin-transform-typescript`, `babel-traverse`
- [#&#8203;16439](https://togithub.com/babel/babel/pull/16439) Make
`NodePath<T | U>` distributive
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-proposal-partial-application`, `babel-types`
- [#&#8203;16421](https://togithub.com/babel/babel/pull/16421) Remove
`JSXNamespacedName` from valid `CallExpression` args
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-transform-class-properties`, `babel-preset-env`
- [#&#8203;16406](https://togithub.com/babel/babel/pull/16406) Do not
load unnecessary Babel 7 syntax plugins in Babel 8
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏃‍♀️ Performance

-   `babel-helpers`, `babel-preset-env`, `babel-runtime-corejs3`
- [#&#8203;16357](https://togithub.com/babel/babel/pull/16357)
Performance: improve `objectWithoutPropertiesLoose` on V8
([@&#8203;romgrk](https://togithub.com/romgrk))

</details>

<details>
<summary>babel/babel (@&#8203;babel/parser)</summary>

### [`v7.24.7`](https://togithub.com/babel/babel/releases/tag/v7.24.7)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.6...v7.24.7)

#### v7.24.7 (2024-06-05)

##### 🐛 Bug Fix

-   `babel-node`
- [#&#8203;16554](https://togithub.com/babel/babel/pull/16554) Allow
extra flags in babel-node
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-traverse`
- [#&#8203;16522](https://togithub.com/babel/babel/pull/16522) fix:
incorrect `constantViolations` with destructuring
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-transform-fixture-test-runner`,
`babel-plugin-proposal-explicit-resource-management`
- [#&#8203;16524](https://togithub.com/babel/babel/pull/16524) fix:
Transform `using` in `switch` correctly
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 🏠 Internal

- `babel-helpers`, `babel-runtime-corejs2`, `babel-runtime-corejs3`,
`babel-runtime`
- [#&#8203;16525](https://togithub.com/babel/babel/pull/16525) Delete
unused array helpers
([@&#8203;blakewilson](https://togithub.com/blakewilson))

##### Committers: 7

- Amjad Yahia Robeen Hassan
([@&#8203;amjed-98](https://togithub.com/amjed-98))
-   Babel Bot ([@&#8203;babel-bot](https://togithub.com/babel-bot))
- Blake Wilson ([@&#8203;blakewilson](https://togithub.com/blakewilson))
-   Huáng Jùnliàng ([@&#8203;JLHwung](https://togithub.com/JLHwung))
- Nicolò Ribaudo
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   Sukka ([@&#8203;SukkaW](https://togithub.com/SukkaW))
-   [@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu)

### [`v7.24.6`](https://togithub.com/babel/babel/releases/tag/v7.24.6)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.5...v7.24.6)

#### v7.24.6 (2024-05-24)

Thanks [@&#8203;amjed-98](https://togithub.com/amjed-98),
[@&#8203;blakewilson](https://togithub.com/blakewilson),
[@&#8203;coelhucas](https://togithub.com/coelhucas), and
[@&#8203;SukkaW](https://togithub.com/SukkaW) for your first PRs!

##### 🐛 Bug Fix

- `babel-helper-create-class-features-plugin`,
`babel-plugin-transform-class-properties`
- [#&#8203;16514](https://togithub.com/babel/babel/pull/16514) Fix
source maps for private member expressions
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-core`, `babel-generator`,
`babel-plugin-transform-modules-commonjs`
- [#&#8203;16515](https://togithub.com/babel/babel/pull/16515) Fix
source maps for template literals
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`
- [#&#8203;16485](https://togithub.com/babel/babel/pull/16485) Support
undecorated static accessor in anonymous classes
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- [#&#8203;16484](https://togithub.com/babel/babel/pull/16484) Fix
decorator bare yield await
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helpers`, `babel-plugin-proposal-decorators`,
`babel-runtime-corejs3`
- [#&#8203;16483](https://togithub.com/babel/babel/pull/16483) Fix:
throw TypeError if addInitializer is called after finished
([@&#8203;JLHwung](https://togithub.com/JLHwung))
-   `babel-parser`, `babel-plugin-transform-typescript`
- [#&#8203;16476](https://togithub.com/babel/babel/pull/16476) fix:
Correctly parse `cls.fn<C> = x`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 🏠 Internal

- `babel-core`, `babel-helpers`, `babel-plugin-transform-runtime`,
`babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`,
`babel-runtime`
- [#&#8203;16501](https://togithub.com/babel/babel/pull/16501) Generate
helper metadata at build time
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-helpers`
- [#&#8203;16499](https://togithub.com/babel/babel/pull/16499) Add
`tsconfig.json` for `@babel/helpers/src/helpers`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-cli`, `babel-helpers`, `babel-plugin-external-helpers`,
`babel-plugin-proposal-decorators`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-modules-systemjs`,
`babel-plugin-transform-runtime`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;16495](https://togithub.com/babel/babel/pull/16495) Move all
runtime helpers to individual files
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-parser`, `babel-traverse`
- [#&#8203;16482](https://togithub.com/babel/babel/pull/16482)
Statically generate boilerplate for bitfield accessors
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   Other
- [#&#8203;16466](https://togithub.com/babel/babel/pull/16466) Migrate
import assertions syntax
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### Committers: 9

- Amjad Yahia Robeen Hassan
([@&#8203;amjed-98](https://togithub.com/amjed-98))
-   Babel Bot ([@&#8203;babel-bot](https://togithub.com/babel-bot))
- Blake Wilson ([@&#8203;blakewilson](https://togithub.com/blakewilson))
-   Huáng Jùnliàng ([@&#8203;JLHwung](https://togithub.com/JLHwung))
-   Lucas Coelho ([@&#8203;coelhucas](https://togithub.com/coelhucas))
- Nicolò Ribaudo
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   Sukka ([@&#8203;SukkaW](https://togithub.com/SukkaW))
-   Zzzen ([@&#8203;Zzzen](https://togithub.com/Zzzen))
-   [@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu)

### [`v7.24.5`](https://togithub.com/babel/babel/releases/tag/v7.24.5)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.4...v7.24.5)

#### v7.24.5 (2024-04-29)

Thanks [@&#8203;romgrk](https://togithub.com/romgrk) and
[@&#8203;sossost](https://togithub.com/sossost) for your first PRs!

##### 🐛 Bug Fix

-   `babel-plugin-transform-classes`, `babel-traverse`
- [#&#8203;16377](https://togithub.com/babel/babel/pull/16377) fix:
TypeScript annotation affects output
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`,
`babel-runtime-corejs3`
- [#&#8203;16440](https://togithub.com/babel/babel/pull/16440) Fix
suppressed error order ([@&#8203;sossost](https://togithub.com/sossost))
- [#&#8203;16408](https://togithub.com/babel/babel/pull/16408) Await
nullish async disposable
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 💅 Polish

-   `babel-parser`
- [#&#8203;16407](https://togithub.com/babel/babel/pull/16407) Recover
from exported `using` declaration
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 🏠 Internal

-   Other
- [#&#8203;16414](https://togithub.com/babel/babel/pull/16414) Relax
ESLint peerDependency constraint to allow v9
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-parser`
- [#&#8203;16425](https://togithub.com/babel/babel/pull/16425) Improve
`@babel/parser` AST types
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#&#8203;16417](https://togithub.com/babel/babel/pull/16417) Always
pass type argument to `.startNode`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`,
`babel-helper-member-expression-to-functions`,
`babel-helper-module-transforms`,
`babel-helper-split-export-declaration`, `babel-helper-wrap-function`,
`babel-helpers`,
`babel-plugin-bugfix-firefox-class-in-computed-class-key`,
`babel-plugin-proposal-explicit-resource-management`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-destructuring`,
`babel-plugin-transform-object-rest-spread`,
`babel-plugin-transform-optional-chaining`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-private-property-in-object`,
`babel-plugin-transform-react-jsx-self`,
`babel-plugin-transform-typeof-symbol`,
`babel-plugin-transform-typescript`, `babel-traverse`
- [#&#8203;16439](https://togithub.com/babel/babel/pull/16439) Make
`NodePath<T | U>` distributive
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-proposal-partial-application`, `babel-types`
- [#&#8203;16421](https://togithub.com/babel/babel/pull/16421) Remove
`JSXNamespacedName` from valid `CallExpression` args
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-transform-class-properties`, `babel-preset-env`
- [#&#8203;16406](https://togithub.com/babel/babel/pull/16406) Do not
load unnecessary Babel 7 syntax plugins in Babel 8
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏃‍♀️ Performance

-   `babel-helpers`, `babel-preset-env`, `babel-runtime-corejs3`
- [#&#8203;16357](https://togithub.com/babel/babel/pull/16357)
Performance: improve `objectWithoutPropertiesLoose` on V8
([@&#8203;romgrk](https://togithub.com/romgrk))

##### Committers: 6

-   Babel Bot ([@&#8203;babel-bot](https://togithub.com/babel-bot))
-   Huáng Jùnliàng ([@&#8203;JLHwung](https://togithub.com/JLHwung))
- Nicolò Ribaudo
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   Rom Grk ([@&#8203;romgrk](https://togithub.com/romgrk))
-   [@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu)
-   ynnsuis ([@&#8203;sossost](https://togithub.com/sossost))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2024-06-27 10:47:23 -05:00
renovate[bot]
0797e2455c
Update dependency sass-embedded to ^1.77.5 (main) (#187035)
[![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.71.1` ->
`^1.77.5`](https://renovatebot.com/diffs/npm/sass-embedded/1.71.1/1.77.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass-embedded/1.77.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass-embedded/1.77.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass-embedded/1.71.1/1.77.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass-embedded/1.71.1/1.77.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

-   Fully trim redundant selectors generated by `@extend`.

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

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

- Don't emit deprecation warnings for functions and mixins beginning
with `__`.

- Allow user-defined functions whose names begin with `_` and otherwise
look
    like vendor-prefixed functions with special CSS syntax.

##### Command-Line Interface

-   Properly handle the `--silence-deprecation` flag.

- Handle the `--fatal-deprecation` and `--future-deprecation` flags for
    `--interactive` mode.

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

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

-   Fix a crash that could come up with importers in certain contexts.

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

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

-   *Don't* throw errors for at-rules in keyframe blocks.

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

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

-   Throw errors for misplaced statements in keyframe blocks.

- Mixins and functions whose names begin with `--` are now deprecated
for
forwards-compatibility with the in-progress CSS functions and mixins
spec.
    This deprecation is named `css-function-mixin`.

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

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

- Fix a bug in which stylesheet canonicalization could be cached
incorrectly
when custom importers or the Node.js package importer made decisions
based on
    the URL of the containing stylesheet.

##### JS API

- Allow `importer` to be passed without `url` in
`StringOptionsWithImporter`.

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

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

-   No user-visible changes.

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

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

- Support adjacent `/`s without whitespace in between when parsing plain
CSS
    expressions.

- Allow the Node.js `pkg:` importer to load Sass stylesheets for
`package.json`
    `exports` field entries without extensions.

- When printing suggestions for variables, use underscores in variable
names
    when the original usage used underscores.

##### JavaScript API

- Properly resolve `pkg:` imports with the Node.js package importer when
    arguments are passed to the JavaScript process.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jon <jon@elastic.co>
2024-06-27 10:44:36 -05:00
renovate[bot]
33e9757779
Update dependency terser to ^5.31.1 (main) (#187036)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [terser](https://terser.org)
([source](https://togithub.com/terser/terser)) | [`^5.29.1` ->
`^5.31.1`](https://renovatebot.com/diffs/npm/terser/5.30.0/5.31.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/terser/5.31.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/terser/5.31.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/terser/5.30.0/5.31.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/terser/5.30.0/5.31.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>terser/terser (terser)</summary>

###
[`v5.31.1`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5311)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.31.0...v5.31.1)

- Allow drop-unused to drop the whole assignment (not just the assigned
name) in more situations, in order to avoid duplication of long strings.

###
[`v5.31.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5310)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.30.4...v5.31.0)

- Sync up property mangler exceptions with current contents of Firefox
and Chrome environments
- Add more webcomponent properties to property mangler exceptions
([#&#8203;1525](https://togithub.com/terser/terser/issues/1525))
- Drop non-nullish constants in `...spreads` in objects
([#&#8203;1141](https://togithub.com/terser/terser/issues/1141))

###
[`v5.30.4`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5304)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.30.3...v5.30.4)

-   Fix parsing `#private in ...` when next to other operators

###
[`v5.30.3`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5303)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.30.2...v5.30.3)

-   Fix precedence of `#private in ...` operator

###
[`v5.30.2`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5302)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.30.1...v5.30.2)

- Avoid optimizations inside computed keys, because they can cause
js-engine-specific bugs.

###
[`v5.30.1`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5301)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.30.0...v5.30.1)

-   Removed useless `\` escapes for non-ascii characters
- Make modern identifier characters quoted for older environments
([#&#8203;1512](https://togithub.com/terser/terser/issues/1512))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2024-06-27 10:42:19 -05:00
renovate[bot]
bacc276c72
Update dependency @redocly/cli to ^1.16.0 (main) (#187033)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@redocly/cli](https://togithub.com/Redocly/redocly-cli) | [`^1.12.0`
->
`^1.16.0`](https://renovatebot.com/diffs/npm/@redocly%2fcli/1.12.0/1.16.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@redocly%2fcli/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@redocly%2fcli/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@redocly%2fcli/1.12.0/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@redocly%2fcli/1.12.0/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>Redocly/redocly-cli (@&#8203;redocly/cli)</summary>

###
[`v1.16.0`](https://togithub.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%401.16.0)

[Compare
Source](https://togithub.com/Redocly/redocly-cli/compare/@redocly/cli@1.15.0...@redocly/cli@1.16.0)

##### Minor Changes

- Users can run the CLI tool behind a proxy by using `HTTP_PROXY` or
`HTTPS_PROXY` environment variables to configure the proxy settings.

##### Patch Changes

- Updated
[@&#8203;redocly/openapi-core](https://togithub.com/redocly/openapi-core)
to v1.16.0.

###
[`v1.15.0`](https://togithub.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%401.15.0)

[Compare
Source](https://togithub.com/Redocly/redocly-cli/compare/@redocly/cli@1.14.0...@redocly/cli@1.15.0)

##### Minor Changes

- Made `redocly.yaml` validation consistent with the general Redocly
config.

##### Patch Changes

-   Updated Redoc to v2.1.5.
- Fixed `no-invalid-media-type-examples`,
`no-invalid-parameter-examples`, and `no-invalid-schema-examples` rules
which allowed falsy example values to pass for any schema.
- Updated
[@&#8203;redocly/openapi-core](https://togithub.com/redocly/openapi-core)
to v1.15.0.

###
[`v1.14.0`](https://togithub.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%401.14.0)

[Compare
Source](https://togithub.com/Redocly/redocly-cli/compare/@redocly/cli@1.13.0...@redocly/cli@1.14.0)

##### Minor Changes

- Added the ability to exclude some operations or entire paths from the
`security-defined` rule.

##### Patch Changes

-   Improved error messages.
- Updated
[@&#8203;redocly/openapi-core](https://togithub.com/redocly/openapi-core)
to v1.14.0.

###
[`v1.13.0`](https://togithub.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%401.13.0)

[Compare
Source](https://togithub.com/Redocly/redocly-cli/compare/@redocly/cli@1.12.2...@redocly/cli@1.13.0)

##### Minor Changes

-   Added support for the linting command to output markdown format.

##### Patch Changes

- Updated
[@&#8203;redocly/openapi-core](https://togithub.com/redocly/openapi-core)
to v1.13.0.

###
[`v1.12.2`](https://togithub.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%401.12.2)

[Compare
Source](https://togithub.com/Redocly/redocly-cli/compare/@redocly/cli@1.12.1...@redocly/cli@1.12.2)

##### Patch Changes

- Updated
[@&#8203;redocly/openapi-core](https://togithub.com/redocly/openapi-core)
to v1.12.2.

###
[`v1.12.1`](https://togithub.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%401.12.1)

[Compare
Source](https://togithub.com/Redocly/redocly-cli/compare/@redocly/cli@1.12.0...@redocly/cli@1.12.1)

##### Patch Changes

- Updated
[@&#8203;redocly/openapi-core](https://togithub.com/redocly/openapi-core)
to v1.12.1.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 02:12:21 -07:00
renovate[bot]
71b29c9c30
Update dependency @launchdarkly/node-server-sdk to ^9.4.6 (main) (#187002)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2024-06-26 11:40:58 -07:00
Pierre Gayvallet
1dee2872f3
Bump @elastic/elasticsearch to 8.14.0 (reloaded) (#186848)
## Summary

Reopening https://github.com/elastic/kibana/pull/186326 with my account,
non-internal PRs are just terrible to work with

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
2024-06-26 08:29:15 -07:00
renovate[bot]
0ffd02c1d2
Update dependency @elastic/charts to v66.0.4 (main) (#186836)
[![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) |
[`66.0.3` ->
`66.0.4`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/66.0.3/66.0.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@elastic%2fcharts/66.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@elastic%2fcharts/66.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@elastic%2fcharts/66.0.3/66.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@elastic%2fcharts/66.0.3/66.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v66.0.4`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#6604-2024-06-24)

[Compare
Source](https://togithub.com/elastic/elastic-charts/compare/v66.0.3...v66.0.4)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;elastic/eui](https://togithub.com/elastic/eui) to v95
([#&#8203;2462](https://togithub.com/elastic/elastic-charts/issues/2462))
([040c354](040c354d34))
- option to disable the isolated point styles on line and area charts
([#&#8203;2472](https://togithub.com/elastic/elastic-charts/issues/2472))
([ae16815](ae1681516a))
- outside rect annotation placement and group relations
([#&#8203;2471](https://togithub.com/elastic/elastic-charts/issues/2471))
([d46fb41](d46fb410ac))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlZpc3VhbGl6YXRpb25zIiwiYmFja3BvcnQ6c2tpcCIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nickofthyme <nicholas.partridge@elastic.co>
2024-06-26 07:24:14 -07:00
Kevin Lacabane
a493e4075b
[eem] rename asset_manager to entity_manager (#186617)
## Summary

Renames the experimental asset_manager plugin (never
documented/officially released) into entity_manager. I've used `node
scripts/lint_ts_projects --fix` and `node scripts/lint_packages.js
--fix` to help with the procedure and also renamed manually the
asset_manager references left.

The change also removes the deprecated asset_manager code, including the
`assetManager.alphaEnabled` plugin configuration. This means
entityManager plugin will be enabled by default.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-26 14:25:32 +02:00
Sander Philipse
b20732a297
[Search] Use security plugin's API key flyout in Serverless (#186171)
## Summary

This consumes the security solution's API key flyout and token selector
in Serverless search to have a consistent experience across the stack.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-25 12:15:38 +02:00
renovate[bot]
e969602ec5
Update dependency @elastic/charts to v66 (main) (#185906)
[![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) |
[`65.2.0` ->
`66.0.3`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/65.2.0/66.0.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@elastic%2fcharts/66.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@elastic%2fcharts/66.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@elastic%2fcharts/65.2.0/66.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@elastic%2fcharts/65.2.0/66.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v66.0.3`](https://github.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#6603-2024-06-18)

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

##### Bug Fixes

- correct median copy in legend values
([#2467](https://github.com/elastic/elastic-charts/issues/2467))
([0476a64](0476a64459))

###
[`v66.0.2`](https://github.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#6602-2024-06-12)

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

##### Features

- point style accessor for isolated points
([#2464](https://github.com/elastic/elastic-charts/issues/2464))
([ee7f529](ee7f5299ea))

###
[`v66.0.0`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#6600-2024-06-10)

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

##### Features

- **Metric:** style enhancements
([#&#8203;2437](https://togithub.com/elastic/elastic-charts/issues/2437))
([0686596](0686596b44))

##### Performance Improvements

- replace spread with concat where useful
([#&#8203;2446](https://togithub.com/elastic/elastic-charts/issues/2446))
([078b490](078b490513))

##### BREAKING CHANGES

- **Metric:** The `MetricStyle.text.darkColor` and
`MetricStyle.text.lightColor` are now `MetricStyle.textDarkColor` and
`MetricStyle.textLightColor`, respectively. This PR also includes minor
overall style changes to the text breakpoints of the `Metric` chart.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlZpc3VhbGl6YXRpb25zIiwiYmFja3BvcnQ6c2tpcCIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
Co-authored-by: nickofthyme <nicholas.partridge@elastic.co>
2024-06-21 14:09:47 -07:00
Elena Stoeva
66c56629ba
[Rollups] Update Rollup badge for deprecation (#186321)
## Summary

This PR updates the Rollup badge in the indices list and the data views
list so that it provides deprecation information. The tooltip component
is stored in a new package to avoid cyclical dependencies as it is used
in both the Index management plugin and in the Data views management
plugin.

<details><summary>Screenshots</summary>
<img width="1679" alt="Screenshot 2024-06-17 at 18 08 35"
src="1d3daa9d-3f62-49f8-803f-1b3d4605f9a4">

<img width="1679" alt="Screenshot 2024-06-17 at 18 08 53"
src="2e88d119-88e7-4d01-bab9-bc2add82b91c">

<img width="1679" alt="Screenshot 2024-06-17 at 18 09 18"
src="29d3d3f2-de46-45ea-96a1-b83495d122df">
</details>

**How to test:**
1. Start Es and Kibana
2. Add the sample data "Sample web logs"
3. Elasticsearch only allows creating a rollup job if there is an
existing rollup usage in the cluster. To simulate rollup usage, create a
mock rollup index through Console:

```
PUT /mock_rollup_index
{
  "mappings": {
    "_meta": {
      "_rollup": {
        "id": "logs_job"
      }
    }
  }
}
```


4. Create a sample rollup job through Console:

```
PUT _rollup/job/logs_job
{
  "id": "logs_job",
  "index_pattern": "kibana_sample_data_logs",
  "rollup_index": "rollup_logstash",
  "cron": "* * * * * ?",
  "page_size": 1000,
  "groups": {
    "date_histogram": {
      "interval": "60m",
      "delay": "7d",
      "time_zone": "UTC",
      "field": "@timestamp"
    },
    "terms": {
      "fields": [
        "geo.src",
        "machine.os.keyword"
      ]
    },
    "histogram": {
      "interval": "1003",
      "fields": [
        "bytes",
        "memory"
      ]
    }
  }
}
```


5. Delete the mock rollup index since it causes issues for the rollup
API that we use to fetch rollup indices:
`DELETE /mock_rollup_index`
6. Navigate to Index Management and toggle the "Include rollup indices"
switch
7. Verify that the rollup indices have the deprecation badge.
8. Navigate to Data Views and create a rollup data view with index
pattern that matches the created rollup index (`rollup*`).
9. In the list of data views, verify that the rollup data view has the
correct rollup deprecation badge.
10. Click on the rollup data view and verify that the details panel also
has the deprecation badge.

### Checklist

- [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)
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] 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))
- [x] 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))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-21 19:42:25 +01:00
Alejandro Fernández Haro
114b58290d
chore(joi): upgrade package (#186547)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-06-21 18:56:57 +02:00
Cee Chen
04d6c1d3d7
Upgrade EUI to v95.1.0 (#186324)
`v95.0.0-backport.0`  `v95.1.0-backport.0`

This PR primarily concerns converting multiple common/building block
form control components to Emotion (text, number, and search fields).
This means that custom CSS or direct `className` usage of these form
controls **should be manually QA'd** to ensure they still look the same
before visually, with no regressions.

_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_

---

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

- Updated `EuiFormControlLayout` to automatically pass icon padding
affordance down to child `input`s
([#7799](https://github.com/elastic/eui/pull/7799))

**Bug fixes**

- Fixed broken focus/invalid styling on compressed `EuiDatePickerRange`s
([#7770](https://github.com/elastic/eui/pull/7770))

**CSS-in-JS conversions**

- Converted `EuiFieldText` to Emotion
([#7770](https://github.com/elastic/eui/pull/7770))
- Updated the autofill colors of Chrome (and other webkit browsers) to
better match EUI's light and dark mode
([#7776](https://github.com/elastic/eui/pull/7776))
- Converted `EuiFieldNumber` to Emotion
([#7802](https://github.com/elastic/eui/pull/7802))
- Converted `EuiFieldSearch` to Emotion
([#7802](https://github.com/elastic/eui/pull/7802))
- Converted `EuiFieldPassword` to Emotion
([#7802](https://github.com/elastic/eui/pull/7802))
- Converted `EuiTextArea` to Emotion
([#7812](https://github.com/elastic/eui/pull/7812))
- Converted `EuiSelect` to Emotion
([#7812](https://github.com/elastic/eui/pull/7812))
- Converted `EuiSuperSelect` to Emotion
([#7812](https://github.com/elastic/eui/pull/7812))

##
[`v95.1.0-backport.0`](https://github.com/elastic/eui/releases/v95.1.0-backport.0)

**This is a backport release only intended for use by Kibana.**

- Updated `EuiSteps` to support a new `titleSize="xxs"` style, which
outputs the same title font size but smaller unnumbered step indicators
([#7813](https://github.com/elastic/eui/pull/7813))
- Updated `EuiStepsHorizontal` to support a new `size="xs"` style, which
outputs smaller unnumbered step indicators
([#7813](https://github.com/elastic/eui/pull/7813))
- Updated `EuiStepNumber` to support new `titleSize="none"` which omits
rendering step numbers, and will only render icons
([#7813](https://github.com/elastic/eui/pull/7813))
2024-06-21 09:10:58 -07:00
Dima Arnautov
4c3afc5f42
[ML] Update code editors for Transform, Data Frame and Anomaly Detection wizards (#184518)
## Summary

Closes https://github.com/elastic/kibana/issues/66716

Improves code editors in Anomaly detection, Data frame analytics and
Transform wizards with autocomplete, data types validation and inline
documentation from elasticsearch specification.

![Jun-19-2024
15-33-00](c230deae-962e-4295-8146-0bf3579a66bd)


Adds a package with JSON schemas extracted from the [openapi output of
elasticsearch-specification](https://github.com/elastic/elasticsearch-specification/tree/main/output/openapi).

Schema file is generated per editor/endpoint, keeping only relevant
components.

To test the script locally, execute 
```
yarn run jsonSchema
```
from `/x-pack/packages/ml/json_schemas`.

By default it assumes that your `elasticsearch-specification` folder is
located next to the `kibana` repo, but you can also provide a path to
`openapi` file as a parameter, e.g. `yarn run jsonSchema
/Users/my_user/dev/elasticsearch-specification/output/openapi/elasticsearch-serverless-openapi.json`

#### How JSON files are served 

JSON files are asynchronously imported at the React component level and
passed to the `CodeEditor` instances on mount.

Initially I tried different approaches to take advantage of CDN, but
unfortunately it didn't work out:

#####  Using static assets
 
I made an attempt to retrieve a URL to the JSON schema file as a static
asset using Kibana service
```typescript
const schemaJsonAsset = http?.staticAssets.getPluginAssetHref('my_schema.json') ?? '';
```
and passing it as part of the schema definition, but the browser was
blocking a request 🤔


![image](accf47b1-2a89-4408-9c5a-36bb269e8889)

![image](aa64ae66-8749-4d4d-b645-6cd11b221c68)

##### Using raw loader

Approach with a raw loader also didn't succeed.

```typescript
import mySchema from '!!raw-loader!./my_schema.json';
```

<details>
  <summary>See error </summary>
 
  ```
ERROR in
./public/app/sections/create_transform/components/advanced_pivot_editor/my_schema.json
(/Users/dimaarnautov/Repos/kibana/node_modules/raw-loader/dist/cjs.js!./public/app/sections/create_transform/components/advanced_pivot_editor/my_schema.json)
│ Module parse failed: Unexpected token 'e', "export def"... is not
valid JSON while parsing 'export default "{\n \"type\": \"object\'
       │          File was processed with these loaders:
       │           * ../../../node_modules/raw-loader/dist/cjs.js
│ You may need an additional loader to handle the result of these
loaders.
│ SyntaxError: Unexpected token 'e', "export def"... is not valid JSON
while parsing 'export default "{\n \"type\": \"object\'
       │              at JSON.parse (<anonymous>)
│ at parseJson
(/Users/dimaarnautov/Repos/kibana/node_modules/json-parse-better-errors/index.js:7:17)
│ at JsonParser.parse
(/Users/dimaarnautov/Repos/kibana/node_modules/webpack/lib/JsonParser.js:16:16)
│ at
/Users/dimaarnautov/Repos/kibana/node_modules/webpack/lib/NormalModule.js:482:32
│ at
/Users/dimaarnautov/Repos/kibana/node_modules/webpack/lib/NormalModule.js:358:12
│ at
/Users/dimaarnautov/Repos/kibana/node_modules/loader-runner/lib/LoaderRunner.js:373:3
│ at iterateNormalLoaders
(/Users/dimaarnautov/Repos/kibana/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
│ at iterateNormalLoaders
(/Users/dimaarnautov/Repos/kibana/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
│ at
/Users/dimaarnautov/Repos/kibana/node_modules/loader-runner/lib/LoaderRunner.js:236:3
│ at runSyncOrAsync
(/Users/dimaarnautov/Repos/kibana/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
│ at iterateNormalLoaders
(/Users/dimaarnautov/Repos/kibana/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
│ at
/Users/dimaarnautov/Repos/kibana/node_modules/loader-runner/lib/LoaderRunner.js:205:4
│ at
/Users/dimaarnautov/Repos/kibana/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:85:15
│ at processTicksAndRejections (node:internal/process/task_queues:77:11)
  ```
</details>



### Checklist

- [ ] [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
2024-06-21 16:43:20 +02:00
Jean-Louis Leysens
c16c036ac1
[OAS] Bump joi-to-json for meta copy fix (#186592)
## Summary

Bumps `joi-to-json` for new meta copy behaviour. See
https://github.com/kenspirit/joi-to-json/pull/52.
2024-06-21 15:20:00 +02:00
Konrad Szwarc
8f01b66ef2
[EDR Workflows] Additional usage reporting task test (#185888)
**Unit:**

This PR introduces an additional unit test to validate the behavior of
"paginated" ES.search() when using a default batch size of 1000. It
ensures that the data is appropriately passed down to the API through
three subsequent requests. The underlying logic can be summarized as
follows:

1. Fetch all documents with a timestamp greater than or equal to 15
minutes in batches of 1000.
2. Perform internal transformations.
3. Transmit transformed documents to an external API.

Since this process occurs server-side within a managed task running at
regular intervals, it is not feasible to conduct integration testing
using FTR or Cypress, as these requests cannot be intercepted in a
browser environment. However, I believe that the Jest test included in
this PR adequately addresses our responsibility. In this test, I mock
esClient.search() responses in a loop to ensure that all fetched items
are correctly sent to the API.

**Cypress:**

The Cypress integration test added with this PR is based on an actual
task run. Steps taken:
1. Create an environment with the task interval set to 1 minute and a
local API URL for usage reporting.
2. Load 2001 documents into ES, ensuring they have all the required
heartbeat fields.
3. Start transparent API proxy on a local API URL
4. Wait for the task to run.
5. Intercept the task API call to the usage reporting API.
6. Verify that the API request contains a payload of all 2001 documents
stored in ES.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-20 15:14:28 -07:00
Rodney Norris
74c4d3a85e
[Search] Homepage Plugin setup (#186224)
## Summary

Introducing the `search_homepage` plugin along with integration into
`enterprise_search` and `serverless_search` behind a feature flag. This
will allow implementing the feature gated behind the feature flag.

To test these changes you can enable the feature flag with the Kibana
Dev Console using the following command:
```
POST kbn:/internal/kibana/settings/searchHomepage:homepageEnabled
{"value": true}
```

You can then disable the feature flag with the following command:
```
DELETE kbn:/internal/kibana/settings/searchHomepage:homepageEnabled
```

### Checklist

- [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)
- [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: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-19 12:47:18 +02:00
Maxim Palenov
7a0065d5b6
[Security Solution] Add missing Lists API OpenAPI specifications (#185865)
**Resolves:** https://github.com/elastic/kibana/issues/183821

## Summary

This PR adds missing OpenAPI specifications for Lists API which are the following

- `POST /api/lists`
- `GET /api/lists`
- `PUT /api/lists`
- `DELETE /api/lists`
- `PATCH /api/lists`
- `GET /api/lists/_find`
- `GET /api/lists/privileges`
- `POST /api/lists/items`
- `GET /api/lists/items`
- `PUT /api/lists/items`
- `DELETE /api/lists/items`
- `PATCH /api/lists/items`
- `POST /api/lists/items/_export`
- `POST /api/lists/items/_import`
- `GET /api/lists/items/_find`
- `POST /api/lists/index`
- `GET /api/lists/index`
- `DELETE /api/lists/index`

**Note:** Code generation is enabled for the added specs to verify that it works and produces expected results. Generated Zod schemas and types aren't integrated in the route's code.
2024-06-18 13:22:19 -07:00
Paulo Henrique
cb11a1b004
[Cloud Security] Adding MSW for mocking server responses in React integration tests (#184555)
## Summary

It closes #183977

This PR introduces the MSW library into Kibana and setups for MSW usage
with Jest for integration testing of React components in the Cloud
Security Posture plugin.

It also adds the setup for the initial
[handlers](https://mswjs.io/docs/concepts/request-handler/), and
configures a test for the `<NoFindingsStates/>` components using MSW to
exemplify how the library works.

### Problem Statement

Currently, integration tests for React components that interact with the
server are hard to write and maintain, as they often require mocking
functions implementation and responses, this can lead to tests that do
not accurately verify the intended functionality and can be hard to
maintain as the implementation of the functions changes.

This leads to situations our team faces now, where due to the difficult
maintainability of integration tests, we rely much more on End-to-End
tests, and maintaining those many End-to-End comes with its own set of
tradeoffs, as oftentimes End-to-End tests are detected by the CI as
failing or flaky, and as flakiness can happen in End-to-end tests due to
its nature of multiple integrated systems, this concept proposes that
it's better to reserve End-to-end tests for the features in the most
critical path and tests that test multiple integrated systems as those
will benefit most of the end-to-end testing. For all the other tests we
should focus on unit and integration tests.

### How MSW works

MSW is a library that allows you to mock server responses in your tests,
it works by intercepting the requests made by the client and returning
the mocked responses, this way we can test how the client behaves in
different states of the lifecycle such as loading, error, and success.

This proposes that we should use MSW to enhance our integration tests,
and give preference to writing integration tests over End-to-End tests
whenever possible, but this doesn't mean that we should stop writing
end-to-end tests, as end-to-end tests are still important for the
features in the most critical path and tests that tests multiple
integrated systems.


### MSW Diagram

Here's a diagram that shows how MSW works with Jest tests:

```mermaid
%%{init:{'themeCSS':' g:nth-of-type(3) rect.actor { fill: #eee; };g:nth-of-type(7) rect.actor { fill: #eee; };'}}%%

sequenceDiagram
    participant ReactComponent as React Component
    participant API as API
    participant MSW as MSW Mock Server
    participant Jest as Jest Test

    Jest->>ReactComponent: Setup component test and mock providers
    Jest->>MSW: Setup Mock Server
    Note over Jest,MSW: start listening for requests
    activate MSW
    ReactComponent->>API: Make API Call
    Note over ReactComponent,API: loading state
    activate API
    MSW-->>API: Intercepts API Call
    deactivate API
    alt is success
        MSW-->>ReactComponent: Send Mocked success Response
    else is error
        MSW-->>ReactComponent: Send Mocked error Response
    end
    deactivate MSW
    ReactComponent-->>Jest: Receive Mocked data and render
```


### Documentation

- Refer to this [PR](https://github.com/elastic/security-team/pull/9624)
containing the documentation of how MSW works and how to use it.
- Refer to this
[presentation](https://docs.google.com/presentation/d/1KYtBaeDMZrpoU5lnKASm8GvCxhrXVqMKxWgR-Xvaxzc/edit#slide=id.g11f0f180654_1_0)
to understand the main motivations behind this proposal.

### How to test it


```
yarn test:jest x-pack/plugins/cloud_security_posture/public/components/no_findings_states.test.tsx

```


### Screenshot


![image](f0673be2-f087-42b5-8ed6-42ce3159e378)


Intercepted requests logged with `{debug: true}`:


![image](b512d486-8a2a-422e-bf26-3c6b60a8c6d2)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-18 11:08:01 -07:00
Anton Dosov
e2a98cf965
Add dashboard metadata to the info flyout (#185941)
## Summary

Close https://github.com/elastic/kibana-team/issues/898

- Show createdAt, createdBy, updatedAt, updatedBy in info flyout. Add a
bit of special handling for managed objects and when info is not
available.
- I had to extract some components into a separate package to use them
in contentEditor package
- tiny tweaks to column width and "no creator" state 



![Screenshot 2024-06-12 at 17 01
45](b2093c03-67a0-49a5-8a45-93d9e57813ca)

**Unknown creator:**


![Screenshot 2024-06-12 at 17 01
53](3e520f6a-9a19-455f-b564-571c3ad81b16)

**For managed objects:**

![Screenshot 2024-06-12 at 17 01
57](36ce1465-09a4-4936-a9f1-ca5794d45a7a)

**Just created, no updates yet**

![Screenshot 2024-06-12 at 17 02
18](1431210e-ce83-4409-ab99-6184b6f87d3a)
2024-06-18 10:25:51 -07:00
Tomasz Kajtoch
946a255bc5
Upgrade EUI to v95.0.0 (#185943)
`v94.6.0`  `v95.0.0-backport.0`

_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_

---

##
[`v95.0.0-backport.0`](https://github.com/elastic/eui/releases/v95.0.0-backport.0)

**This is a backport release only intended for use by Kibana.**

- Updated `EuiSteps` to support a new `titleSize="xxs"` style, which
outputs the same title font size but smaller unnumbered step indicators
([#7813](https://github.com/elastic/eui/pull/7813))
- Updated `EuiStepsHorizontal` to support a new `size="xs"` style, which
outputs smaller unnumbered step indicators
([#7813](https://github.com/elastic/eui/pull/7813))
- Updated `EuiStepNumber` to support new `titleSize="none"` which omits
rendering step numbers, and will only render icons
([#7813](https://github.com/elastic/eui/pull/7813))

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

- Added `move` glyph to `EuiIcon`
([#7789](https://github.com/elastic/eui/pull/7789))
- Updated `EuiBasicTable` and `EuiInMemoryTable`s with `selection` - the
header row checkbox will now render an indeterminate state if some (but
not all) rows are selected
([#7817](https://github.com/elastic/eui/pull/7817))

**Bug fixes**

- Fixed an `EuiDataGrid` visual bug when using `lineCount` row heights
where the clamped text was still visible for some font sizes
([#7793](https://github.com/elastic/eui/pull/7793))
- Fixed `EuiSearchBar`'s filter configs to always respect `autoClose:
false` ([#7806](https://github.com/elastic/eui/pull/7806))

**Breaking changes**

- Removed deprecated `EUI_CHARTS_THEME_DARK`, `EUI_CHARTS_THEME_LIGHT`
and `EUI_SPARKLINE_THEME_PARTIAL` exports
([#7682](https://github.com/elastic/eui/pull/7682))
- Removed deprecated `euiPalettePositive` and `euiPaletteNegative`. Use
`euiPaletteGreen` and `euiPaletteRed` instead
([#7808](https://github.com/elastic/eui/pull/7808))
- Removed `type="inList"` from `EuiCheckbox`. Simply omit passing a
`label` prop to render this style of checkbox
([#7814](https://github.com/elastic/eui/pull/7814))
- Removed the unused `compressed` prop from `EuiCheckbox` and
`EuiRadio`. This prop was not doing anything on individual components.
([#7818](https://github.com/elastic/eui/pull/7818))

**CSS-in-JS conversions**

- Converted `EuiCheckboxGroup` to Emotion
([#7818](https://github.com/elastic/eui/pull/7818))
- Converted `EuiRadioGroup` to Emotion
([#7818](https://github.com/elastic/eui/pull/7818))

---------

Co-authored-by: Cee Chen <constance.chen@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Cee Chen <549407+cee-chen@users.noreply.github.com>
2024-06-18 08:55:26 -07:00
Alejandro Fernández Haro
ab21d4fee4
[EBT] Combine packages (#186048)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-18 14:23:16 +02:00
Jeramy Soucy
014678003c
Upgrade @grpc/grpc-js@1.6.8→1.8.22 (#186067)
## Summary

Upgrades the `@grpc/grpc-js` dependency from v1.6.8 to v1.8.22
2024-06-18 13:04:52 +02:00
Jeramy Soucy
3639308d37
Upgrade micromatch@4.0.5→4.0.7 (#186064)
## Summary

Upgrades the `micromatch` production dependency from v4.0.5 to v4.0.7.
Also removes the `@langtrase/typescript-sdk` dependency, as it is not
currently being referenced.
2024-06-18 10:57:55 +02:00
renovate[bot]
b7d3aab869
Update dependency elastic-apm-node to ^4.7.0 (main) (#186203) 2024-06-13 17:35:41 -07:00
Marius Iversen
9ed2865838
New Integration Assistant plugin (#184296)
## Summary

This is a PR to add a new backend plugin (frontend will be done in
separate [PR](https://github.com/elastic/kibana/pull/184546)).

The purpose of the plugin is to provide a set of API routes that is used
to perform a variety of GenAI workflows to generate new integrations
based on provided inputs.

It reuses the existing GenAI connectors for its LLM communication, and
provides a set of API's to create ECS mapping, Categorization, Related
Fields and an API to generate the actual integration package zip, which
is forwarded to the UI component.

### Planned follow-up changes:

As the PR is getting way too large, some planned changes would be added
in much smaller follow-ups. This includes mostly more improved try/catch
for certain routes, adding debug/error log entries where relevant,
especially for the API endpoints themself, some more unit and end2end
tests.

- OpenAPI spec for the API will be handled in a separate PR
- All the missing unit tests will be added as a followup PR

### Testing

The `integration_assistant` plugin will be disabled by default while
it's being implemented so we can iterate and merge partial PRs without
interfering with the releases. This config will work as our feature
flag:


6aefd4ff7b/x-pack/plugins/integration_assistant/server/config.ts (L11-L13)

To test it add this to your _kibana.dev.yml_:
```
xpack.integration_assistant.enabled: true
```

### Checklist

Delete any items that are not applicable to this PR.

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [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

### 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: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Bharat Pasupula <saibharatchandra.pasupula@elastic.co>
Co-authored-by: Bharat Pasupula <123897612+bhapas@users.noreply.github.com>
2024-06-13 16:48:36 -06:00
Patrick Mueller
f016398f8b
[ResponseOps] implement task claiming strategy mget (#180485)
resolves: https://github.com/elastic/kibana/issues/181325

## Summary

Adds a new task claiming strategy `unsafe_mget`, which can be used instead of
the default one `default`. Add the following to your `kibana.yml` to
enable it:

    xpack.task_manager.claim_strategy: 'unsafe_mget'
2024-06-13 16:04:23 -04:00
Saikat Sarkar
db425e3f4f
Add inference endpoints management page (#184614)
## Description

In this PR, we implemented a view for managing inference endpoints. The
changes include the following items for both **Serverless** and
**Stack**.

- A blank page will be displayed if no inference endpoints are
available.
- A page displaying a list of inference endpoints. The user can view
various details about each endpoint, such as the endpoint itself, the
provider, and the type. The table supports pagination and sorting.
- Users can add a new inference endpoint using Elasticsearch models and
third-party APIs, including Hugging Face, Cohere, and OpenAI.

To keep the changes in this PR manageable, the following items are **out
of scope** but will be added in subsequent PRs
- Option to delete an inference endpoint
- Filtering and Search bar
- Information about allocations, thread.
- Icons for **Provider**
- Deployment status of underlying trained models

## Empty page in Stack Management


e2064ee8-3623-457f-8a04-19603e97e815

## Page with all inference endpoints in Stack Management


89bec450-1569-4425-b013-5058b577b95a

## Inference Endpoints Management in Serverless


bd8b6b71-0e09-49f4-aa9a-19338a1da225

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-13 10:00:33 -07:00
Christos Nasikas
fe59dd48c7
[ResponseOps] Package for feature flags (#185000)
## Summary

This PR creates a package to expose tools for managing feature flags in
the ResponseOps codebase.

Usage:

```
const featureFlagService = createFeatureFlagService(['test.myFeature', 'test.myFeature.subFeature']);


if (featureFlagService.isFeatureFlagSet('test.myFeature')) {
  // my feature code
}
```

The code is typed so if you do
`featureFlagService.isFeatureFlagSet('foo')` and `foo` is not part of
the feature flags set TS will report an error.

### Checklist

Delete any items that are not applicable to this PR.

- [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

### For maintainers

- [x] 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-06-13 03:11:32 -07:00
elena-shostak
ad646cae46
Changed resolution for d3-color to kibana-d3-color (#186088)
## Summary

Changed resolution for d3-color to kibana-d3-color.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-06-13 11:38:25 +02:00
Alejandro Fernández Haro
cb825d046a
Upgrade LaunchDarkly clients (#185884) 2024-06-11 01:38:48 +02:00
Alejandro Fernández Haro
b1ff240cc4
Use DNS caching (#184760)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jeanlouis.leysens@elastic.co>
2024-06-10 14:33:38 +02:00
Ignacio Rivas
1e197cf718
[Ingest Pipelines] Add unsaved changes prompt (#183699) 2024-06-07 20:35:56 +02:00
Dario Gieselaar
15b6ba9bd8
[Investigate] Create plugin (#184908)
Create the Investigate plugin (naming TBD). Part of
https://github.com/elastic/kibana/pull/183293, splitting up the work in
several PRs.

The investigate plugin is mostly a registry to allow plugins to register
their widgets without creating dependency issues.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-07 15:05:36 +02:00
elena-shostak
217e29dc2a
Added resolution for d3-color@2.0.0 version to point to elastic fork (#184945)
## Summary

Added resolution for `d3-color@2.0.0` version to point to elastic fork.
2024-06-07 13:47:41 +02:00
honeyn303
1ff87eb551
Gemini connector integration (#183668) 2024-06-06 11:52:35 -06:00
renovate[bot]
202b9eea37
Update dependency @elastic/elasticsearch to ^8.13.1 (main) (#184863) 2024-06-06 08:08:40 -07:00
renovate[bot]
60efc932c3
Update dependency @elastic/charts to v65.2.0 (main) (#184771) 2024-06-05 16:44:08 -07:00
renovate[bot]
6cb59ad9a3
Update dependency elastic-apm-node to ^4.6.0 (main) (#184868) 2024-06-05 15:46:45 -07:00
Stratoula Kalafateli
5860259222
[ES|QL] Render a Discover-like table in the assistant instead of a Lens chart (#184106)
## Summary

This PR does 2 things:

- Creates a new plugin that is a wrapper of the unified datatable and is
only for rendering as a table ES|QL results. The UnifiedDatatable
package is good but the consumers need to know all the properties to
understand how to use it and the necessity of displaying in a table the
results of an ES|QL query comes a lot lately. This plugin has only 3
required properties (rows, columns, query) which make it very easy for
the consumers to use it. It also integrates the Row Viewer flyout

- It changes the implementation of the obs ai assistant to render a
Discover like table instead of a Lens table. The Discover-like table is
much better on rendering a table with thousands of columns and is going
to be much more helpful for our users.

The same plugin can be used later for the inline ediitng flyout too in a
dashboard if we want to also display the results of an ES|QL query.

Some screenshots of the new possibilities in the assistant:

- I can see the results of an ES|QL query in a visualization


![meow](27f77ca3-633b-45f2-b935-42c62c184a04)

- I can render my results as a Document view

<img width="880" alt="image"
src="e8034e10-325d-4d9e-b8a5-34d01b0dbd9d">

<img width="1095" alt="image"
src="c8236e65-96aa-4fcb-b7c3-835e2a5665bd">

<img width="955" alt="image"
src="78b1d664-6863-42bf-a337-659143b7683d">


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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-05 20:20:20 +02:00
Marco Antonio Ghiani
0a0853bef9
[Spacetime] Fields metadata services (#183806)
## 📓 Summary

Closes https://github.com/elastic/observability-dev/issues/3331

Given the needs described in the linked issue about having a centralized
and async way to consume field metadata across Kibana, this work focuses
on providing server/client services to consume field metadata on demand
from static ECS definition and integration manifests, with the chance to
extend further the possible resolution sources.


3b2d9027-5c29-4081-ab17-1b43618c62a7

## 💡 Reviewers hints

This PR got quite long as it involves and touches different parts of the
codebase, so I'll break down the interesting parts for an easier review.

More details, code examples and mechanics description can be found in
the README file for the plugin.

### `@kbn/fields-metadata-plugin`

To avoid bundling and consuming the whole ECS static definition
client-side, a new plugin `@kbn/fields-metadata-plugin` is created to
expose the server/client services which enable retrieving only the
fields needed on a use-case basis.

### FieldsMetadataService server side

A `FieldsMetadataService` is instantiated on the plugin setup/start
server lifecycle, exposing a client to consume the fields and setup
tools for registering external dependencies.

The start contract exposes a `FieldsMetadataClient` instance. With this,
any application in Kibana can query for some fields using the available
methods, currently:
- `FieldsMetadataClient.prototype.getByName()`: retrieves a single
`FieldMetadata` instance.
- `FieldsMetadataClient.prototype.find()`: retrieves a record of
matching `FieldMetadata` instances.

`FieldsMetadataClient` is instantiated with the source repositories
dependencies. They act as encapsulated sources which are responsible for
fetching fields from their related source. Currently, there are 2 field
repository sources used in the resolution step, but we can use this
concept to extend the resolution step in future with more sources (LLM,
OTel, ...).
The currently used sources are:
- `EcsFieldsRepository`: allows fetching static ECS field metadata.
- `IntegrationFieldsRepository`: allows fetching fields from an
integration package from EPR, where the fields metadata are stored. To
correctly consume these fields, the `fleet` plugin must be enabled,
otherwise, the service won't be able to access the registered fields
extractor implemented with the fleet services.
As this service performs a more expensive retrieval process than the
`EcsFieldsRepository` constant complexity access, a caching layer is
applied to the retrieved results from the external source to minimize
latency.

### Fields metadata API

To expose this service to the client, a first API endpoint is created to
find field metadata and filter the results to minimize the served
payload.
- `GET /internal/fields_metadata/find` supports some initial query
parameters to narrow the fields' search.

### FieldsMetadataService client side

As we have a server-side `FieldsMetadataService`, we need a client
counterpart to consume the exposed API safely and go through the
validation steps.

The client `FieldsMetadataService` works similarly to the server-side
one, exposing a client which is returned by the public start contract of
the plugin, allowing any other to directly use fields metadata
client-side.

This client would work well with existing state management solutions, as
it's not decoupled from any library.

### useFieldsMetadata

For simpler use cases where we need a quick and easy way to consume
fields metadata client-side, the plugin start contract also exposes a
`useFieldsMetadata` react custom hook, which is pre-created accessing
the FieldsMetadataService client described above. It is important to
retrieve the hook from the start contract of this plugin, as it already
gets all the required dependencies injected minimizing the effort on the
consumer side.

The `UnifiedDocViewer` plugin changes exemplify how we can use this hook
to access and filter fields' metadata quickly.

### `registerIntegrationFieldsExtractor` (@elastic/fleet)

Getting fields from an integration dataset is more complex than
accessing a static dictionary of ECS fields, and to achieve that we need
access to the PackageService implemented by the fleet team.

To get access to the package, maintain a proper separation of concerns
and avoid a direct dependency on the fleet plugin, some actions were
taken:
- the `PackageService.prototype.getPackageFieldsMetadata()` method is
implemented to keep the knowledge about retrieving package details on
this service instead of mixing it on parallel services.
- a fleet `registerIntegrationFieldsExtractor` service is created and
used during the fleet plugin setup to register a callback that accesses
the service as an internal user and retrieves the fields by the given
parameters.
- the fields metadata plugin returns a
`registerIntegrationFieldsExtractor` function from its server setup so
that we can use it to register the above-mentioned callback that
retrieves fields from an integration.

This inverts the dependency between `fields_metadata` and `fleet`
plugins so that the `fields_metadata` plugin keeps zero dependencies on
external apps.

## Adoption

We currently have places where the `@elastic/ecs` package is directly
accessed and where we might be able to refactor the codebase to consume
this service.

**[EcsFlat usages in
Kibana](https://github.com/search?q=repo%3Aelastic%2Fkibana%20EcsFlat&type=code)**

---------

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-05 09:51:50 +02:00
Cee Chen
3efa595a9a
Upgrade EUI to v94.6.0 (#184672)
`v94.5.2`  `v94.6.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

---

## [`v94.6.0`](https://github.com/elastic/eui/releases/v94.6.0)

- Updated `EuiComboBox` to support rendering `option.append` and
`option.prepend` in group labels
([#7800](https://github.com/elastic/eui/pull/7800))

**Accessibility**

- Improved the accessibility experience of `EuiBetaBadge`
([#7805](https://github.com/elastic/eui/pull/7805))
2024-06-03 11:55:39 -07:00
Dario Gieselaar
9528a22276
[Obs AI Assistant] Add Langtrace instrumentation (#182835)
Implements support for [Langtrace](https://langtrace.ai/) tracing, in
order for us to more easily inspect LLM requests/responses. Previously
this depended on Kibana trace logs which are verbose and somewhat
ephemeral.
2024-06-03 06:11:09 -07:00
Pierre Gayvallet
dea26c6450
Add http2 support for Kibana server (#183465)
## Summary

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

Add support for `http2` to the Kibana server. `http2` can be enabled by
setting `server.protocol: http2` in the Kibana config file.

*Note: by default, enabling `http2` requires a valid `h2c`
configuration, meaning that it can only run over HTTPS with TLS1.2+*

```yaml
## kibana.yaml
server.protocol: http2
server.ssl.enabled: true
server.ssl.key: path/to/key
server.ssl.certificate: path/my/cerf
```

## What is this PR doing

### Add HTTP2 support for the Kibana server

#### - Plug http2 to the Kibana server 

Even if HAPI was never officially updated to really support HTTP2,
node's `http`/`https`/`http2` modules are compatible enough to be able
to just instantiate an http2 server/listener and provide it to HAPI "as
a plain https listener". There were some tweaks to do (mostly silencing
a few warnings that HAPI was causing by sending http2-illegal headers
such as `Connection`), but overall, it went smoothly.

#### - Add config validation

By default, Kibana will require a valid `h2c` configuration to accept
enabling `http2`. It means that TLS must be enabled and that TLS1.2+
should at least be in the list of supported SSL protocols
(`server.ssl.supportedProtocols`). Note that default value of this
setting includes TLS1.2 and 1.3.

#### - Add escape hatch to run `h2` without `h2c`

In some situations, it may be required to enable http2 without a valid
`h2c` configuration. Kibana supports it, by setting
`server.http2.allowUnsecure` to `true`.

(*Note, however, that if http2 is enabled without TLS, ALPN protocol
negotiation won't work, meaning that most http2 agents/clients will fail
connecting unless they're explictly configured to use http2.*)

### Add documentation about this new feature

#### - Update the user-facing doc about this new `server.protocol`
setting

Update the user-facing Kibana settings documentation to include this
`http.protocol` setting (and refer to `server.http2.allowUnsecure`)

**Note: this setting, and this feature, are considered as experimental**

### Adapt our dev tooling to support running Kibana with http2 enabled

#### - Add a `--http2` flag to the dev CLI

Enabling this flag will add the proper configuration settings to run
Kibana with `http2` enabled in an (almost) valid `h2c` configutation.

*Note: when using this flag, even if listening on the same port, the
Kibana server will be accessible over https, meaning that you need to
use https in your browser to access it. Aka `http://localhost:5601`
won't work, you need to use `https://localhost:5601`. Also, we're using
the self-signed dev certificates, meaning that you must go though the
scary warning of your browser*

#### - Implement an http2-compatible base-path proxy

The current base path proxy is based on `hapi` and `hapi/h2o2`. I tried
for a bunch hours trying to hack around to make it work with http2
proxying, but ultimately gave up and implemented a new version from
scratch.

Note that with some additional efforts, this new http2 basepath proxy
could probably fully replace the existing one and be used for both http1
and http2 traffic, but it's an optimization / refactoring that did not
feel required for this PR.

### Adapt the FTR to run suites against http2

#### - Add support to run FTR test suite against an h2c-enabled Kibana

Note that with ALPN, clients using http1 should be (and are) able to
communicate with http2 Kibana, given h2c/alpn allows protocol
negitiation. So adapting our FTR tooling was not really about making it
work with http2 (which worked out of the box), but making it work with
**the self signed certifcates we use for https on dev mode**

Note that I'm not a big fan of what I had to do, however, realistically
this was the only possible approach if we want to run arbitrary test
suites with TLS/HTTP2 enabled without massively changing our FTR setup.

Operations and QA, feel free to chime in there, as this is your
territory.

#### - Change some FTR test suites to run against an HTTP2-enabled
server

I added a quick `configureHTTP2` helper function to take any "final" FTR
suite config and mutate it to enable `http2`. I then enabled it on a few
suites locally, to make sure the suites were passing correctly.

I kept two suites running with http2 enabled:
- the `console` oss functional tests
- the `home` oss functional tests

We could possibly enable it for more, but we need to figure out what
kind of strategy we want on that matter (see below)

## What is this pull request NOT doing

#### - Making sure everything works when HTTP2 is enabled

I navigated the applications quite a bit, and did not see anything
broken, however I obviously wasn't able to do a full coverage. Also, the
self-signed certificate was a huge pain to detect issues really caused
by http2 compared to issues because the local setup isn't valid `h2c`.

In theory though (famous last words) anything not doing http/1.1
specific hacks such as bfetch should work fine with http2, given that
even if using non-http2 clients, ALPN should just allow to fallback to
http/1.x (this part was tested)

#### - Enabling HTTP2 by default

PR isn't doing it for obvious reasons. 

#### - Enabling HTTP2 for all FTR suites

First of all, it's not that easy, because it requires adapting various
parts of the config (and even some var env...), and we don't have any
proper way to override config "at the end". For instance, if you add the
http2 config on a top level config (e.g. the oss functional one that is
reuse by the whole world - learned the hard way), it won't work because
higher-level configs redefined (and override) the `browser` part of the
config, loosing the settings added to run the browser in insecure mode.

Secondly, I'm not sure we really need to run that many suites with http2
enabled. I learned working on that PR that we only have like one suite
where https is enabled for the Kibana server, and I feel like it could
be fine to have the same for http2. In theory it's just a protocol
change, unless parts of our apps (e.g. bfetch) are doing things that are
specific to http/1.1, switching to http2 should be an implementation
detail.

But I'd love to get @elastic/kibana-operations and @elastic/appex-qa
opinion on that one, given they have more expertise than I do on that
area.

- Running performances tests

We should absolutely run perf testing between http/1.1 over https and
http/2, to make sure that it goes into the right directly (at least in
term of user perceived speed), but I did not do it in the scope of this
PR (and @dmlemeshko is on PTO so... 😅)

## Release Note

Add support for `http2` to the Kibana server. `http2` can be enabled by
setting `server.protocol: http2` in the Kibana config file.

Note: by default, enabling `http2` requires a valid `h2c` configuration,
meaning that it can only run over HTTPS with TLS1.2+

Please refer to the Kibana config documentation for more details.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-03 09:34:13 +02:00
Ahmad Bamieh
f1c854b9db
[i18n][system upgrade] Upgrade Intl Packages from v2 to v6 (#179506)
## Summary

Upgrading intl packages from v2 to v6

### Packages upgrade:

- [x] Add @formatJS packages
- [x] `react-intl` Upgraded
- [x] `intl-messageformat` Upgraded
- [x] `intl-format-cache` removed
- [x] `intl-relativeformat` removed
- [x] `intl-messageformat-parser` removed

### Todo list:
- [x] Refactor HTML tags
- [x] Refactor Upgrade tags
- [x] Refactor `kbn-i18n`
- [x] Refactor `kbn-i18n-react`
- [x] Refactor `FormattedRelative` to `FormattedRelativeTime`
- [x] Refactor polyfills
- [x] Refactor IntlShape types
- [x] Rewrite Providers
- [x] Rewrite tests using i18n
- [x] Removed current pseudolocale implementation (tracker:
https://github.com/elastic/kibana/issues/180244)
- [x] Fix jest tests using rendered `Provider`
- [x] Remove no longer valid i18n packages documentation (tracker:
https://github.com/elastic/kibana/issues/180259)

Closes https://github.com/elastic/kibana/issues/178968
Closes https://github.com/elastic/kibana/issues/38642


## Notes to code reviewers
For team other than the core team, please review your plugins code
changes by filtering files by codeowners.


### Test Snapshot updates
Most of the changes are refactors of renamed functions and changed ICU
syntax.

The main updates are snapshot changes where `FormattedMessage` is now
memoized so snapshots capturing the html tree needed to be updated to
use `<Memo(MemoizedFormattedMessage)` instead of `<FormattedMessage`


### ICU now supports HTML tags:
before:
```
<FormattedMessage
  defaultMessage="To buy a shoe, { link } and { cta }"
  values={{
    link: (
      <a class="external_link" target="_blank" href="https://www.shoe.com/">
        visit our website
      </a>
    ),
    cta: <strong class="important">eat a shoe</strong>,
  }}
/>
```
after:
```
<FormattedMessage
  defaultMessage="To buy a shoe, <a>visit our website</a> and <cta>eat a shoe</cta>"
  values={{
    a: msg => (
      <a class="external_link" target="_blank" href="https://www.shoe.com/">
        {msg}
      </a>
    ),
    cta: msg => <strong class="important">{msg}</strong>,
  }}
/>
```

### Escape character to prevent ICU parsing changed from double slashes
to single quotes:
before: `\\{escaped\\}`
after: `'{escaped}'`

### No need for Intl Shape
the new packages under formatJS are written in typescript and come with
types support out of the box so no need to set types when using i18n.

Renamed `InjectedIntlProps` with `WrappedComponentProps`.
Removed `prop-types` and `intlShape` in favor of `IntlShape`.

### FormattedRelative has been renamed to FormattedRelativeTime and its
API has changed significantly. See
[FormattedRelativeTime](https://formatjs.io/docs/react-intl/upgrade-guide-3x#formattedrelativetime)
for more details.

### All tags specified must have corresponding values and will throw
error if it's missing
All tags are now parsed and expected to be formatted properly (all
opened tags must be closed).

To skip this check you can use the `ignoreTag: true` property

```
i18n.translate('xpack.apm.agentConfig.captureJmxMetrics.description', {
      defaultMessage: 'This is not an HTML tag <JMX object name pattern>' +
      ignoreTag: true,
    }),
```

**When do I use ignore tags?**

If your message has HTML tags, it is preferred not to ignore the Tag to
have some string verification that the html tags you are adding are
properly formatted and closed.

If it the text between brackets is not an HTML tag and it is just a
fomat preference then using `ignoreTag` makes sense.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2024-06-02 16:50:33 +03:00