Commit graph

3485 commits

Author SHA1 Message Date
Shahzad
c736630652
Merge branch 'main' into renovate/main-p-map 2025-01-23 08:32:25 +01:00
Yuliia Naumenko
7f98b6bf5d
[Inference AI Connector] Added elastic provider for EIS and enhancements (#205672)
## Summary

Current PR creates a new platform shared plugin named
`inference_endpoint` to expose in Kibana the new internal API
`_inference/_services`, which returns the list of inference providers
with the configuration settings.

Changed `@kbn/inference_endpoint_ui_common` package to fetch dynamically
the list of providers by using the route introduced in
`inference_endpoint` plugin.
Added fields settings filter based on the selected task in the
`supported_task_types`.

Cleaned up the types consolidating all in the package
`@kbn/inference_endpoint_ui_common`.
Changed .inference connector to use `unified_completion` subAction for
selected `chat_completion` task type.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
2025-01-22 18:32:57 -08:00
elastic-renovate-prod[bot]
c6e9821bb8
Update dependency @redocly/cli to ^1.27.2 (main) (#207527) 2025-01-22 22:48:54 +00:00
Giorgos Bamparopoulos
368475e8e5
[One Discover] Display stacktrace in the logs overview tab (#204521)
## 📓 Summary
Adds a new section to the overview tab in the log details flyout in
Discover to display stacktrace information for logs and exceptions.

In a follow-up, the stacktrace could be moved to a new tab in the log
details flyout and actions can be added to the stacktrace (and quality)
icons in the document table to open the relevant sections in the flyout.

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

### APM - Log stacktrace (library frames)
<img width="1470" alt="image"
src="https://github.com/user-attachments/assets/8991f882-d329-4bc5-aa37-424576bcee72"
/>

### APM - Exception (with cause)
<img width="1476" alt="image"
src="https://github.com/user-attachments/assets/cfbf24a7-6f82-48f1-b275-5aac977411ac"
/>

### APM - Exception (simple stacktrace)
<img width="1474" alt="image"
src="https://github.com/user-attachments/assets/fc0306c4-5fcd-4b74-bb0d-c1784a48d677"
/>

### Apache Tomcat Integration (Catalina) - Stacktrace
<img width="1472" alt="image"
src="https://github.com/user-attachments/assets/281f1822-faea-4e2d-9515-c11a9ee12f50"
/>

## 📝 Notes for reviewers
- The `@kbn/apm-types` package was marked as platform / shared as it's
being used by the
[unified_doc_viewer](https://github.com/elastic/kibana/blob/main/src/plugins/unified_doc_viewer/kibana.jsonc)
- The code used to render stacktraces in APM was moved into a new
`@kbn/event-stacktrace` package as it is reused in the
`unified_doc_viewer`
- The code used to render metadata table in APM was moved into a new
`@kbn/key-value-metadata-table` package

## 🧪 Testing instructions
The deployed environments have sample logs that can be used (time range:
Jan 1, 2025 - now). For a local setup, please follow the instructions
below:

1. Ingest sample logs with stacktraces
([gist](https://gist.github.com/gbamparop/0da21ca7f65b24c4a9c071ce9e9b97b0)).
Please note that these are test data and some fields that are not used
by stacktraces might not be consistent
2. View relevant logs in Discover (Query: `service.name: "synth-node-0"
OR apache_tomcat :*`, Time range: Jan 1, 2025 - now)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-22 18:06:14 +02:00
elastic-renovate-prod[bot]
71b34a919d
Update @elastic/ml-ui dependencies (main) (#204210)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@types/he](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/he)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/he))
| devDependencies | minor | [`^1.1.1` ->
`^1.2.3`](https://renovatebot.com/diffs/npm/@types%2fhe/1.1.1/1.2.3) |
|
[react-popper-tooltip](https://togithub.com/mohsinulhaq/react-popper-tooltip)
| dependencies | major | [`^3.1.1` ->
`^4.4.2`](https://renovatebot.com/diffs/npm/react-popper-tooltip/3.1.1/4.4.2)
|

---

### Release Notes

<details>
<summary>mohsinulhaq/react-popper-tooltip
(react-popper-tooltip)</summary>

###
[`v4.4.2`](https://togithub.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.2):
Fix missing hover check in interactive mode

[Compare
Source](https://togithub.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.1...v4.4.2)

Thanks, [@&#8203;cgsdev0](https://togithub.com/cgsdev0)
[https://github.com/mohsinulhaq/react-popper-tooltip/pull/156](https://togithub.com/mohsinulhaq/react-popper-tooltip/pull/156)

###
[`v4.4.1`](https://togithub.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.1):
Fix unintentional dependency change

[Compare
Source](https://togithub.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.0...v4.4.1)

Thanks [@&#8203;JohnDaly](https://togithub.com/JohnDaly)

###
[`v4.4.0`](https://togithub.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.0):
Add double click trigger, improve styles declaration, ability to change
default tooltip text color


[https://github.com/mohsinulhaq/react-popper-tooltip/pull/148](https://togithub.com/mohsinulhaq/react-popper-tooltip/pull/148)

[https://github.com/mohsinulhaq/react-popper-tooltip/pull/149](https://togithub.com/mohsinulhaq/react-popper-tooltip/pull/149)

[https://github.com/mohsinulhaq/react-popper-tooltip/pull/154](https://togithub.com/mohsinulhaq/react-popper-tooltip/pull/154)

###
[`v4.3.0`](https://togithub.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.3.0):
Add Shadow DOM support

[Compare
Source](https://togithub.com/mohsinulhaq/react-popper-tooltip/compare/v4.2.0...v4.3.0)

As pointed out by
[https://github.com/mohsinulhaq/react-popper-tooltip/issues/133](https://togithub.com/mohsinulhaq/react-popper-tooltip/issues/133)
(thanks [@&#8203;shovalk](https://togithub.com/shovalk)), interactions
with the tooltip when rendered using Shadow DOM wasn't working properly.
This release adds support for that by using
[Event.composedPath](https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath)
to get event target, with `event.target` as fallback for IE11.

###
[`v4.2.0`](https://togithub.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.2.0):
Revert to mouseenter/mouseleave hover mechanic

[Compare
Source](https://togithub.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.2...v4.2.0)

`v4.1.0` introduced a new way of handling hover trigger, which had a
couple of improvements over the old one, but unintentionally led to
another set of serious issues.
We have now reverted to the older hover mechanic while also solving the
older problems by setting `pointer-events: none` on the arrow as well as
the non-interactive tooltip.

###
[`v4.1.2`](https://togithub.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.2):
Hover trigger bug fixes introduced in v4.1.0 🐛

[Compare
Source](https://togithub.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.1...v4.1.2)

Fixes:
[https://github.com/mohsinulhaq/react-popper-tooltip/issues/117](https://togithub.com/mohsinulhaq/react-popper-tooltip/issues/117)
&
[https://github.com/mohsinulhaq/react-popper-tooltip/issues/118](https://togithub.com/mohsinulhaq/react-popper-tooltip/issues/118)

###
[`v4.1.1`](https://togithub.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1)

[Compare
Source](https://togithub.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1)

###
[`v4.1.0`](https://togithub.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.0):
An improved and more resilient hover trigger!

Thanks to the contribution by
[@&#8203;czabaj](https://togithub.com/czabaj) 👑, the hover trigger is
now improved quite a bit, accounting for the gap between the trigger and
the tooltip and also fixing a glitch in cases where tooltip and trigger
overlap.

###
[`v4.0.0`](https://togithub.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.0.0):
usePopperTooltip hook! 🪝

[Compare
Source](https://togithub.com/mohsinulhaq/react-popper-tooltip/compare/v3.1.1...v4.0.0)

### Release notes

With **react-popper**, used under the hood of **react-popper-tooltip**,
introducing the `usePopper` hook in the last
major update, we're now releasing the hook version of our own library as
well - `usePopperTooltip`. The hook provides many new features and
flexibility
and allows for implementations not possible before.

#### Breaking changes

This release onwards, the hook is the only way of creating tooltips.
This version drops the support of
the `TooltipTrigger` render prop component. If you want to upgrade and
still keep using render prop API,
refer to our example section to implement the legacy API with our new
hook.

We wrote this version from scratch. Although thoroughly tested, it can
still possibly contain some regressions. Please,
report any problems using the [issues
link](https://togithub.com/mohsinulhaq/react-popper-tooltip/issues).

- For the sake of consistency, we made some changes to the props names.

    -   `defaultTooltipShown` is renamed to `defaultVisible`
    -   `tooltipShown` is renamed to `visible`
    -   `onVisibilityChange` is renamed to `onVisibleChange`
- `closeOnReferenceHidden` is renamed to `closeOnTriggerHidden` and the
default value changed from `true` to `false`

- The default placement is now `bottom` instead of `right`, in line with
react-popper defaults.

- The string value `"none"` for the prop `trigger` is replaced with
`null`.

-   The default CSS has a few positioning and naming changes.

- Previously, when a user hovered the tooltip, it stayed open to allow
the user to interact with the tooltip's content.
Now the tooltip closes as soon as the cursor leaves the trigger element.
The new option `interactive` has been added to
    configure this behavior.

-   `getTriggerProps` and `arrowRef` are no longer needed.

</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 [Renovate
Bot](https://togithub.com/renovatebot/renovate).

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-22 11:51:31 +00:00
elastic-renovate-prod[bot]
fc72ba9ec9
Update dependency elastic-apm-node to ^4.11.0 (main) (#207313) 2025-01-22 08:48:20 +00:00
Gonçalo Rica Pais da Silva
a0bdc19684
[APM][ML] Update cytoscape with new index.d.ts def, fix typing issues (#206651)
## Summary

`cytoscape` released yet another semver breaking change, affecting
typing once more in a couple of places. They now have their own
`index.d.ts` file for Typescript support, but this causes some issues as
they don't always have the same type name as the `@types` version. Had
to fix in a couple of places, both in APM and in ML codebases.

Supersedes #206498

## How to test

* This PR passes the CI with no typing issues, or failed tests
* Going to APM or ML pages with cytoscape being loaded shows no
regressions.
2025-01-20 14:36:22 +01:00
elastic-renovate-prod[bot]
4f4637da58
Update dependency oas to ^25.2.1 (main) (#206997)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [oas](https://togithub.com/readmeio/oas)
([source](https://togithub.com/readmeio/oas/tree/HEAD/packages/oas)) |
dependencies | patch | [`^25.2.0` ->
`^25.2.1`](https://renovatebot.com/diffs/npm/oas/25.2.0/25.2.1) |

---

### Release Notes

<details>
<summary>readmeio/oas (oas)</summary>

###
[`v25.2.1`](https://togithub.com/readmeio/oas/compare/oas@25.2.0...oas@25.2.1)

[Compare
Source](https://togithub.com/readmeio/oas/compare/oas@25.2.0...oas@25.2.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 [Renovate
Bot](https://togithub.com/renovatebot/renovate).

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-17 23:00:23 +00:00
elastic-renovate-prod[bot]
fdf83cceb2
Update platform security modules (main) (#206227)
### Manual update 2025-01-14:
uuid v11 contains breaking changes. uuid will be bumped to v10 instead.

### This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
|
[@types/js-yaml](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-yaml)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-yaml))
| devDependencies | patch | [`^4.0.5` ->
`^4.0.9`](https://renovatebot.com/diffs/npm/@types%2fjs-yaml/4.0.5/4.0.9)
| |
|
[@types/lodash](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash))
| devDependencies | patch | [`^4.17.13` ->
`^4.17.14`](https://renovatebot.com/diffs/npm/@types%2flodash/4.17.13/4.17.14)
| |
|
[@types/object-hash](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/object-hash)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/object-hash))
| devDependencies | major | [`^1.3.0` ->
`^3.0.6`](https://renovatebot.com/diffs/npm/@types%2fobject-hash/1.3.0/3.0.6)
| |
|
[@types/uuid](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid))
| devDependencies | major | [`^9.0.0` ->
`^10.0.0`](https://renovatebot.com/diffs/npm/@types%2fuuid/9.0.0/10.0.0)
| |
| [dependency-cruiser](https://togithub.com/sverweij/dependency-cruiser)
| devDependencies | minor | [`^16.4.2` ->
`^16.8.0`](https://renovatebot.com/diffs/npm/dependency-cruiser/16.4.2/16.8.0)
| `16.9.0` |
| [fast-deep-equal](https://togithub.com/epoberezkin/fast-deep-equal) |
dependencies | patch | [`^3.1.1` ->
`^3.1.3`](https://renovatebot.com/diffs/npm/fast-deep-equal/3.1.3/3.1.3)
| |
| [minimist](https://togithub.com/minimistjs/minimist) | devDependencies
| patch | [`^1.2.6` ->
`^1.2.8`](https://renovatebot.com/diffs/npm/minimist/1.2.8/1.2.8) | |
| [object-hash](https://togithub.com/puleos/object-hash) | dependencies
| major | [`^1.3.1` ->
`^3.0.0`](https://renovatebot.com/diffs/npm/object-hash/1.3.1/3.0.0) | |
| [uuid](https://togithub.com/uuidjs/uuid) | dependencies | major |
[~~`9.0.0` ->
`11.0.3`~~](https://renovatebot.com/diffs/npm/uuid/9.0.0/11.0.3)`9.0.0`
-> `10.0.0` | ~~`11.0.5` (+1)~~ |

---

### Release Notes

<details>
<summary>sverweij/dependency-cruiser (dependency-cruiser)</summary>

###
[`v16.8.0`](https://togithub.com/sverweij/dependency-cruiser/releases/tag/v16.8.0)

[Compare
Source](https://togithub.com/sverweij/dependency-cruiser/compare/v16.7.0...v16.8.0)

####  features

-
[`dd81580`](dd815802)
feat: enables matching transitive dependencies in 'required' rules
([#&#8203;975](https://togithub.com/sverweij/dependency-cruiser/issues/975))
- thanks to [@&#8203;ThiagoMaia1](https://togithub.com/ThiagoMaia1) for
suggesting and testing the feature

#### 🐛 fixes

-
[`7bcabe7`](7bcabe70)
refactor: simplifies a few boolean expressions
- the dependency bump below
([`20a7a2f`](20a7a2f1))
also bumped `watskeburt` to latest, which makes both the `--affected`
cli option and the cache work better on ms-windows and other ms-dos
based operating systems.

#### 👷 maintenance

-
[`20a7a2f`](20a7a2f1)
build(npm): updates external dependencies

#### 🧹 chores

-
[`fdbb72a`](fdbb72a1)
chore(configs): makes 'unlimited' config inherit individual options from
the base config
-
[`8595b73`](8595b73d)
chore(tools): adds a script that prints a readable AST from any
tsc-readable file
-
[`476c956`](476c9562)
chore(npm): updates external devDependencies

###
[`v16.7.0`](https://togithub.com/sverweij/dependency-cruiser/releases/tag/v16.7.0)

[Compare
Source](https://togithub.com/sverweij/dependency-cruiser/compare/v16.6.0...v16.7.0)

####  feature: recognize type imports in jsdoc

Dependency-cruiser now has the ability to recognize imports in jsdoc -
both the new ones [introduced in
TS5.5](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#the-jsdoc-import-tag)
(e.g. `/** @&#8203;import { something } from "blah"; */`), as well as
the [older
ones](https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html#import-types)
(e.g. `/** @&#8203;type {import('blah').something} */`). It's behind [an
option](https://togithub.com/sverweij/dependency-cruiser/blob/main/doc/options-reference.md#detectjsdocimports-detect-dependencies-in-jsdoc-comments)
so it will only detect them if you want it to.

Thanks to [@&#8203;louwers](https://togithub.com/louwers) for raising
the associated issue and testing a very early version of PR
[#&#8203;965](https://togithub.com/sverweij/dependency-cruiser/issues/965)

- See [detectJSDocImports: detect dependencies in JSDoc
comments](https://togithub.com/sverweij/dependency-cruiser/blob/main/doc/options-reference.md#detectjsdocimports-detect-dependencies-in-jsdoc-comments)
in the options references for more information and some of the caveats
(a.o. *really* needs the TypeScript compiler)
- The PR's also grew the
[dependencyTypes](https://togithub.com/sverweij/dependency-cruiser/blob/main/doc/rules-reference.md#ok---unknown-npm-unknown-undetermined---im-officially-weirded-out---whats-that-about)
`jsdoc`, `jsdoc-bracket-import` and `jsdoc-import-tag` for use in your
rules.

commits:

-
[`09e9e41`](09e9e415)
feat(extract): adds recognition of jsdoc `@import` type imports
([#&#8203;965](https://togithub.com/sverweij/dependency-cruiser/issues/965))
-
[`0d49477`](0d494774)
feat(extract): adds recognition of the 'classic' jsdoc 'bracket' imports
([#&#8203;969](https://togithub.com/sverweij/dependency-cruiser/issues/969))
-
[`fedead6`](fedead65)
feat(init): adds question to enable detection of jsdoc imports
([#&#8203;970](https://togithub.com/sverweij/dependency-cruiser/issues/970))

#### 🐛 fixes

-
[`09ae707`](09ae707e)
fix(npm): shortens the message in the (only) distributed script

#### 👷 maintenance

-
[`aae6edd`](aae6eddf)/
[`b5bfe76`](b5bfe76a)
refactor: addresses small linting issues
-
[`2d2b0e5`](2d2b0e5d)
refactor(resolve): uses Maps for the context maps
-
[`79e1aa1`](79e1aa19)
build(npm): updates external dependencies
-
[`09ae707`](09ae707e)
fix(npm): shortens the message in the (only) distributed script

#### 🧹  chores

-
[`8a288dd`](8a288dda)
chore: migrates to eslint 9 & flat config
([#&#8203;968](https://togithub.com/sverweij/dependency-cruiser/issues/968))
-
[`69b59b6`](69b59b69)
chore: makes ci use node 23 instead of 22
-
[`78960d3`](78960d37)
build(npm): adds svgo to devDependencies

###
[`v16.6.0`](https://togithub.com/sverweij/dependency-cruiser/releases/tag/v16.6.0)

[Compare
Source](https://togithub.com/sverweij/dependency-cruiser/compare/v16.5.0...v16.6.0)

####  features

-
[`b473be5`](b473be5b)
feat: adds support for svelte 5
([#&#8203;963](https://togithub.com/sverweij/dependency-cruiser/issues/963))

#### 👷 maintenance

-
[`7683e90`](7683e904)
fix(extract): removes extraneous capturing group from a regular
expression
-
[`65f2748`](65f27486)
build(npm): updates external dependencies

###
[`v16.5.0`](https://togithub.com/sverweij/dependency-cruiser/releases/tag/v16.5.0)

[Compare
Source](https://togithub.com/sverweij/dependency-cruiser/compare/v16.4.2...v16.5.0)

####  features

-
[`802ff6f`](802ff6fa)
feat(cli): expands the info displayed in --info
([#&#8203;959](https://togithub.com/sverweij/dependency-cruiser/issues/959))

#### 📖  documentation

-
[`1ca77ec`](1ca77ec0)
doc(FAQ): corrects a typo
-
[`8269857`](82698571)
doc(cli): clarify when using --max-depth is a good idea (*never, that's
when* 😄)

#### 👷 maintenance

-
[`9453f20`](9453f201)
build(npm): updates external dependencies

</details>

<details>
<summary>puleos/object-hash (object-hash)</summary>

###
[`v3.0.0`](https://togithub.com/puleos/object-hash/compare/v2.2.0...v3.0.0)

[Compare
Source](https://togithub.com/puleos/object-hash/compare/v2.2.0...v3.0.0)

###
[`v2.2.0`](https://togithub.com/puleos/object-hash/compare/v2.1.1...v2.2.0)

[Compare
Source](https://togithub.com/puleos/object-hash/compare/v2.1.1...v2.2.0)

###
[`v2.1.1`](f61b9a5d58...v2.1.1)

[Compare
Source](f61b9a5d58...v2.1.1)

###
[`v2.1.0`](https://togithub.com/puleos/object-hash/compare/v2.0.3...f61b9a5d584158abc3e31c29d2b1fa3d74772677)

[Compare
Source](https://togithub.com/puleos/object-hash/compare/v2.0.3...f61b9a5d584158abc3e31c29d2b1fa3d74772677)

###
[`v2.0.3`](https://togithub.com/puleos/object-hash/compare/v2.0.2...v2.0.3)

[Compare
Source](https://togithub.com/puleos/object-hash/compare/v2.0.2...v2.0.3)

###
[`v2.0.2`](https://togithub.com/puleos/object-hash/compare/v2.0.1...v2.0.2)

[Compare
Source](https://togithub.com/puleos/object-hash/compare/v2.0.1...v2.0.2)

###
[`v2.0.1`](https://togithub.com/puleos/object-hash/compare/v2.0.0...v2.0.1)

[Compare
Source](https://togithub.com/puleos/object-hash/compare/v2.0.0...v2.0.1)

###
[`v2.0.0`](https://togithub.com/puleos/object-hash/compare/v1.3.1...v2.0.0)

[Compare
Source](https://togithub.com/puleos/object-hash/compare/v1.3.1...v2.0.0)

</details>

<details>
<summary>uuidjs/uuid (uuid)</summary>

###
[`v11.0.3`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1103-2024-11-04)

[Compare
Source](https://togithub.com/uuidjs/uuid/compare/v11.0.2...v11.0.3)

##### Bug Fixes

- apply stricter typing to the v\* signatures
([#&#8203;831](https://togithub.com/uuidjs/uuid/issues/831))
([c2d3fed](c2d3fed22c))
- export internal uuid types
([#&#8203;833](https://togithub.com/uuidjs/uuid/issues/833))
([341edf4](341edf444c))
- remove sourcemaps
([#&#8203;827](https://togithub.com/uuidjs/uuid/issues/827))
([b93ea10](b93ea101af))
- revert "simplify type for v3 and v5"
([#&#8203;835](https://togithub.com/uuidjs/uuid/issues/835))
([e2dee69](e2dee691e9))

###
[`v11.0.2`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1102-2024-10-28)

[Compare
Source](https://togithub.com/uuidjs/uuid/compare/v11.0.1...v11.0.2)

##### Bug Fixes

- remove wrapper.mjs
([#&#8203;822](https://togithub.com/uuidjs/uuid/issues/822))
([6683ad3](6683ad38b0))

###
[`v11.0.1`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1101-2024-10-27)

[Compare
Source](https://togithub.com/uuidjs/uuid/compare/v11.0.0...v11.0.1)

##### Bug Fixes

- restore package.json#browser field
([#&#8203;817](https://togithub.com/uuidjs/uuid/issues/817))
([ae8f386](ae8f38657b))

###
[`v11.0.0`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1100-2024-10-26)

[Compare
Source](https://togithub.com/uuidjs/uuid/compare/v10.0.0...v11.0.0)

##### ⚠ BREAKING CHANGES

- refactor v1 internal state and options logic
([#&#8203;780](https://togithub.com/uuidjs/uuid/issues/780))
- refactor v7 internal state and options logic, fixes
[#&#8203;764](https://togithub.com/uuidjs/uuid/issues/764)
([#&#8203;779](https://togithub.com/uuidjs/uuid/issues/779))
- Port to TypeScript, closes
[#&#8203;762](https://togithub.com/uuidjs/uuid/issues/762)
([#&#8203;763](https://togithub.com/uuidjs/uuid/issues/763))
- update node support matrix (only support node 16-20)
([#&#8203;750](https://togithub.com/uuidjs/uuid/issues/750))

##### Features

- Port to TypeScript, closes
[#&#8203;762](https://togithub.com/uuidjs/uuid/issues/762)
([#&#8203;763](https://togithub.com/uuidjs/uuid/issues/763))
([1e0f987](1e0f9870db))
- update node support matrix (only support node 16-20)
([#&#8203;750](https://togithub.com/uuidjs/uuid/issues/750))
([883b163](883b163b9a))

##### Bug Fixes

- missing v7 expectations in browser spec
([#&#8203;751](https://togithub.com/uuidjs/uuid/issues/751))
([f54a866](f54a866ced))
- refactor v1 internal state and options logic
([#&#8203;780](https://togithub.com/uuidjs/uuid/issues/780))
([031b3d3](031b3d3d73))
- refactor v7 internal state and options logic, fixes
[#&#8203;764](https://togithub.com/uuidjs/uuid/issues/764)
([#&#8203;779](https://togithub.com/uuidjs/uuid/issues/779))
([9dbd1cd](9dbd1cd417))
- remove v4 options default assignment preventing native.randomUUID from
being used ([#&#8203;786](https://togithub.com/uuidjs/uuid/issues/786))
([afe6232](afe62323c4)),
closes [#&#8203;763](https://togithub.com/uuidjs/uuid/issues/763)
- seq_hi shift for byte 6
([#&#8203;775](https://togithub.com/uuidjs/uuid/issues/775))
([1d532ca](1d532ca374))
- tsconfig module type
([#&#8203;778](https://togithub.com/uuidjs/uuid/issues/778))
([7eff835](7eff835cba))

###
[`v10.0.0`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1000-2024-06-07)

[Compare
Source](https://togithub.com/uuidjs/uuid/compare/v9.0.1...v10.0.0)

##### ⚠ BREAKING CHANGES

- update node support (drop node@12, node@14, add node@20)
([#&#8203;750](https://togithub.com/uuidjs/uuid/issues/750))

##### Features

- support support rfc9562 MAX uuid (new in RFC9562)
([#&#8203;714](https://togithub.com/uuidjs/uuid/issues/714))
([0385cd3](0385cd3f18))
- support rfc9562 v6 uuids
([#&#8203;754](https://togithub.com/uuidjs/uuid/issues/754))
([c4ed13e](c4ed13e715))
- support rfc9562 v7 uuids
([#&#8203;681](https://togithub.com/uuidjs/uuid/issues/681))
([db76a12](db76a12847))
- update node support matrix (only support node 16-20)
([#&#8203;750](https://togithub.com/uuidjs/uuid/issues/750))
([883b163](883b163b9a))
- support rfc9562 v8 uuids
([#&#8203;759](https://togithub.com/uuidjs/uuid/issues/759))
([35a5342](35a5342820))

##### Bug Fixes

- revert "perf: remove superfluous call to toLowerCase
([#&#8203;677](https://togithub.com/uuidjs/uuid/issues/677))"
([#&#8203;738](https://togithub.com/uuidjs/uuid/issues/738))
([e267b90](e267b9073d))

###
[`v9.0.1`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#901-2023-09-12)

[Compare
Source](https://togithub.com/uuidjs/uuid/compare/v9.0.0...v9.0.1)

##### build

-   Fix CI to work with Node.js 20.x

</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 [Renovate
Bot](https://togithub.com/renovatebot/renovate).

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

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
2025-01-17 16:46:36 +01:00
elastic-renovate-prod[bot]
c28b173886
Update moment (main) (#206181)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [moment](https://momentjs.com)
([source](https://togithub.com/moment/moment)) | peerDependencies |
minor | [`^2.24.0` ->
`^2.30.1`](https://renovatebot.com/diffs/npm/moment/2.24.0/2.30.1) |
| [moment-timezone](http://momentjs.com/timezone/)
([source](https://togithub.com/moment/moment-timezone)) | dependencies |
patch | [`^0.5.45` ->
`^0.5.46`](https://renovatebot.com/diffs/npm/moment-timezone/0.5.45/0.5.46)
|

---

### Release Notes

<details>
<summary>moment/moment (moment)</summary>

###
[`v2.30.1`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2301)

[Compare
Source](https://togithub.com/moment/moment/compare/2.30.0...2.30.1)

-   Release Dec 27, 2023
- Revert
[https://github.com/moment/moment/pull/5827](https://togithub.com/moment/moment/pull/5827),
because it's breaking
    a lot of TS code.

###
[`v2.30.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2300-Full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.29.4...2.30.0)

-   Release Dec 26, 2023

###
[`v2.29.4`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2294)

[Compare
Source](https://togithub.com/moment/moment/compare/2.29.3...2.29.4)

-   Release Jul 6, 2022
- [#&#8203;6015](https://togithub.com/moment/moment/pull/6015) \[bugfix]
Fix ReDoS in preprocessRFC2822 regex

###
[`v2.29.3`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2293-Full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.29.2...2.29.3)

-   Release Apr 17, 2022
- [#&#8203;5995](https://togithub.com/moment/moment/pull/5995) \[bugfix]
Remove const usage
- [#&#8203;5990](https://togithub.com/moment/moment/pull/5990) misc: fix
advisory link

###
[`v2.29.2`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2292-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.29.1...2.29.2)

-   Release Apr 3 2022

Address
https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4

###
[`v2.29.1`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2291-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.29.0...2.29.1)

-   Release Oct 6, 2020

Updated deprecation message, bugfix in hi locale

###
[`v2.29.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2290-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.28.0...2.29.0)

-   Release Sept 22, 2020

New locales (es-mx, bn-bd).
Minor bugfixes and locale improvements.
More tests.
Moment is in maintenance mode. Read more at this link:
https://momentjs.com/docs/#/-project-status/

###
[`v2.28.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2280-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.27.0...2.28.0)

-   Release Sept 13, 2020

Fix bug where .format() modifies original instance, and locale updates

###
[`v2.27.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2270-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.26.0...2.27.0)

-   Release June 18, 2020

Added Turkmen locale, other locale improvements, slight TypeScript fixes

###
[`v2.26.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2260-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.25.3...2.26.0)

-   Release May 19, 2020

TypeScript fixes and many locale improvements

###
[`v2.25.3`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2253)

[Compare
Source](https://togithub.com/moment/moment/compare/2.25.2...2.25.3)

-   Release May 4, 2020

Remove package.json module property. It looks like webpack behaves
differently
for modules loaded via module vs jsnext:main.

###
[`v2.25.2`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2252)

[Compare
Source](https://togithub.com/moment/moment/compare/2.25.1...2.25.2)

-   Release May 4, 2020

This release includes ES Module bundled moment, separate from it's
source code
under dist/ folder. This might alleviate issues with finding the
\`./locale
subfolder for loading locales. This might also mean now webpack will
bundle all
locales automatically, unless told otherwise.

###
[`v2.25.1`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2251)

[Compare
Source](https://togithub.com/moment/moment/compare/2.25.0...2.25.1)

-   Release May 1, 2020

This is a quick patch release to address some of the issues raised after
releasing 2.25.0.

- [2e268635](2e268635) \[misc]
Revert [#&#8203;5269](https://togithub.com/moment/moment/issues/5269)
due to webpack warning
- [226799e1](226799e1)
\[locale] fil: Fix metadata comment
- [a83a521](a83a521) \[bugfix]
Fix typeoff usages
- [e324334](e324334) \[pkg]
Add ts3.1-typings in npm package
- [28cc23e](28cc23e) \[misc]
Remove deleted generated locale en-SG

###
[`v2.25.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2250-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.24.0...2.25.0)

-   Release May 1, 2020

- [#&#8203;4611](https://togithub.com/moment/moment/issues/4611)
[022dc038](022dc038)
\[feature] Support for strict string parsing, fixes
[#&#8203;2469](https://togithub.com/moment/moment/issues/2469)

- [#&#8203;4599](https://togithub.com/moment/moment/issues/4599)
[4b615b9d](4b615b9d)
\[feature] Add support for eras in en and jp

- [#&#8203;4296](https://togithub.com/moment/moment/issues/4296)
[757d4ff8](757d4ff8)
\[feature] Accept custom relative thresholds in duration.humanize

-   18 bigfixes

-   36 locale fixes

-   5 new locales (oc-lnc, zh-mo, en-in, gom-deva, fil)

</details>

<details>
<summary>moment/moment-timezone (moment-timezone)</summary>

###
[`v0.5.46`](https://togithub.com/moment/moment-timezone/blob/HEAD/changelog.md#0546-2024-10-06)

[Compare
Source](https://togithub.com/moment/moment-timezone/compare/0.5.45...0.5.46)

- Updated data to IANA TZDB `2024b`. This only affects historical
timestamps; no future timestamps have changed.

</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 [Renovate
Bot](https://togithub.com/renovatebot/renovate).

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-16 14:22:59 -04:00
Larry Gregory
395e49484e
Add check to fail CI if any dependencies are unowned (#206679)
## Summary
- Updates `scripts/dependency_ownership` to use the
`@kbn/dev-cli-runner` for consistency with other CI-related CLIs.
- Adds a new `failIfUnowned` flag to exit with an error code if any
dependencies are unowned.
- Adds a new dependency ownership check to `quick_checks` and `renovate`
CI steps.


From a CI run, the additional quick check executes successfully in 3
seconds:
```sh
info [quick-checks] Passed check: /opt/buildkite-agent/builds/bk-agent-prod-gcp-abc123/elastic/kibana-pull-request/kibana/.buildkite/scripts/steps/checks/dependencies_missing_owner.sh in 3s
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-16 09:59:04 -05:00
Jorge Sanz
2345872393
[Maps] Update @elastic/ems-client to 8.6.3 (#206814)
## Summary

Related to https://github.com/elastic/ems-client/issues/543 and
https://github.com/elastic/kibana/issues/198790

Updates `@elastic/ems-client@8.6.3` adding support for Node 22.x
2025-01-16 09:46:37 +01:00
Gerard Soldevila
b21a70dabb
SKA: Relocate @kbn/grid-layout (#206821)
## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 1 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/grid-layout` | `src/platform/packages/private/kbn-grid-layout` |


<details >
<summary>Updated references</summary>

```
./.i18nrc.json
./examples/grid_example/tsconfig.type_check.json
./package.json
./packages/kbn-ts-projects/config-paths.json
./src/platform/packages/private/kbn-grid-layout/jest.config.js
./src/platform/packages/private/kbn-repo-packages/package-map.json
./tsconfig.base.json
./tsconfig.base.type_check.json
./tsconfig.refs.json
./yarn.lock
.github/CODEOWNERS
```

</details><details >
<summary>Updated relative paths</summary>

```
src/platform/packages/private/kbn-grid-layout/jest.config.js:12
src/platform/packages/private/kbn-grid-layout/tsconfig.json:2
src/platform/packages/private/kbn-grid-layout/tsconfig.type_check.json:2
```

</details>
2025-01-15 17:39:41 +00:00
Hannah Mudge
364abf7b09
[Presentation] Remove unused dependencies (#206689)
Closes https://github.com/elastic/kibana/issues/205639

## Summary

Now that https://github.com/elastic/kibana/pull/205341 is merged, we can
remove both `react-grid-layout` and `react-resizable` since they are no
longer used in Dashboard (and Dashboard was the only consumer, so they
are no longer used anywhere in Kibana).

### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks
 
There are no risks to removing an unused dependency.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-15 08:54:54 -07:00
elastic-renovate-prod[bot]
62308641bf
Update dependency @redocly/cli to ^1.27.1 (main) (#206605) 2025-01-15 09:26:17 +00:00
elastic-renovate-prod[bot]
ee6316990c
Update dependency @types/diff to v7 (main) (#206586)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@types/diff](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/diff)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/diff))
| devDependencies | major | [`^6.0.0` ->
`^7.0.0`](https://renovatebot.com/diffs/npm/@types%2fdiff/6.0.0/7.0.0) |

---

### Configuration

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

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

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkRhdGFEaXNjb3ZlcnkiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Davis McPhee <davis.mcphee@elastic.co>
2025-01-14 18:35:03 -04:00
elastic-renovate-prod[bot]
892819f0f7
Update dependency @elastic/charts to v68.1.0 (main) (#206497)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@elastic/charts](https://togithub.com/elastic/elastic-charts) |
dependencies | minor | [`68.0.4` ->
`68.1.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/68.0.4/68.1.0)
|

---

### Release Notes

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

###
[`v68.1.0`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#6810-2025-01-13)

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

##### Features

- remove error boundary in favor of external boundary
([#&#8203;2580](https://togithub.com/elastic/elastic-charts/issues/2580))
([b84f9bf](b84f9bf3d7))

</details>

---
2025-01-14 10:30:51 -06:00
Arturo Castillo Delgado
902820e728
Upgrade EUI to v99.0.0 (#206046)
`98.2.1-borealis.2`  `99.0.0-borealis.1`

Resolves https://github.com/elastic/kibana/issues/202287
2025-01-14 16:06:16 +01:00
elastic-renovate-prod[bot]
5ad3ef7b0a
Update dependency @apidevtools/swagger-parser to ^10.1.1 (main) (#206562)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-14 13:53:54 +00:00
elastic-renovate-prod[bot]
f7a373b9fa
Update @smithy (main) (#205551)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
|
[@smithy/eventstream-codec](https://togithub.com/awslabs/smithy-typescript/tree/main/packages/eventstream-codec)
([source](https://togithub.com/awslabs/smithy-typescript/tree/HEAD/packages/eventstream-codec))
| dependencies | patch | [`^3.1.1` ->
`^3.1.10`](https://renovatebot.com/diffs/npm/@smithy%2feventstream-codec/3.1.9/3.1.10)
| `4.0.1` (+1) |
|
[@smithy/middleware-stack](https://togithub.com/awslabs/smithy-typescript/tree/main/packages/middleware-stack)
([source](https://togithub.com/awslabs/smithy-typescript/tree/HEAD/packages/middleware-stack))
| dependencies | patch | [`^3.0.10` ->
`^3.0.11`](https://renovatebot.com/diffs/npm/@smithy%2fmiddleware-stack/3.0.10/3.0.11)
| `4.0.1` (+1) |
|
[@smithy/node-http-handler](https://togithub.com/awslabs/smithy-typescript/tree/main/packages/node-http-handler)
([source](https://togithub.com/awslabs/smithy-typescript/tree/HEAD/packages/node-http-handler))
| dependencies | patch | [`^3.3.1` ->
`^3.3.3`](https://renovatebot.com/diffs/npm/@smithy%2fnode-http-handler/3.3.1/3.3.3)
| `4.0.1` (+1) |

---

### Release Notes

<details>
<summary>awslabs/smithy-typescript
(@&#8203;smithy/eventstream-codec)</summary>

###
[`v3.1.10`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/eventstream-codec/CHANGELOG.md#3110)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/eventstream-codec@3.1.9...@smithy/eventstream-codec@3.1.10)

##### Patch Changes

- Updated dependencies
\[[`b52b4e8`](b52b4e8)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).7.2

</details>

<details>
<summary>awslabs/smithy-typescript
(@&#8203;smithy/middleware-stack)</summary>

###
[`v3.0.11`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/middleware-stack/CHANGELOG.md#3011)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/middleware-stack@3.0.10...@smithy/middleware-stack@3.0.11)

##### Patch Changes

- Updated dependencies
\[[`b52b4e8`](b52b4e8)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).7.2

</details>

<details>
<summary>awslabs/smithy-typescript
(@&#8203;smithy/node-http-handler)</summary>

###
[`v3.3.3`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/node-http-handler/CHANGELOG.md#333)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/node-http-handler@3.3.2...@smithy/node-http-handler@3.3.3)

##### Patch Changes

-
[`5e73108`](5e73108):
fix delayed calling of setTimeout on requests

###
[`v3.3.2`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/node-http-handler/CHANGELOG.md#332)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/node-http-handler@3.3.1...@smithy/node-http-handler@3.3.2)

##### Patch Changes

-
[`f4e1a45`](f4e1a45):
skip sending body without waiting for a timeout on response, if "expect"
request header with "100-continue" is provided
-
[`a257792`](a257792):
Added context binding to the setTimeout and clearTimeout functions
- Updated dependencies
\[[`b52b4e8`](b52b4e8)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).7.2
-
[@&#8203;smithy/abort-controller](https://togithub.com/smithy/abort-controller)[@&#8203;3](https://togithub.com/3).1.9
-
[@&#8203;smithy/protocol-http](https://togithub.com/smithy/protocol-http)[@&#8203;4](https://togithub.com/4).1.8
-
[@&#8203;smithy/querystring-builder](https://togithub.com/smithy/querystring-builder)[@&#8203;3](https://togithub.com/3).0.11

</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 [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IEdlbmVyYXRpdmUgQUkiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-13 23:16:06 +01:00
Kurt
91853b4f6b
Upgrade backport to 9.6.4 (#206457)
## Summary

Upgrading `backport` to `9.6.4`

[CHANGELOG](https://github.com/sorenlouv/backport/releases)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-13 19:10:53 +00:00
Gerard Soldevila
683a768941
SKA: Relocate remaining modules (#206103)
## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 2 plugin(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/entities-data-access-plugin` |
`x-pack/solutions/observability/plugins/entities_data_access` |
| `@kbn/entityManager-app-plugin` |
`x-pack/solutions/observability/plugins/entity_manager_app` |




#### 10 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/core-user-settings-server` |
`src/core/packages/user-settings/server` |
| `@kbn/core-user-settings-server-internal` |
`src/core/packages/user-settings/server-internal` |
| `@kbn/core-user-settings-server-mocks` |
`src/core/packages/user-settings/server-mocks` |
| `@kbn/calculate-auto` |
`src/platform/packages/shared/kbn-calculate-auto` |
| `@kbn/charts-theme` | `src/platform/packages/shared/kbn-charts-theme`
|
| `@kbn/palettes` | `src/platform/packages/shared/kbn-palettes` |
| `@kbn/saved-search-component` |
`src/platform/packages/shared/kbn-saved-search-component` |
| `@kbn/use-tracked-promise` |
`src/platform/packages/shared/kbn-use-tracked-promise` |
| `@kbn/response-ops-rule-form` |
`src/platform/packages/shared/response-ops/rule_form` |
| `@kbn/streams-schema` |
`x-pack/solutions/observability/packages/kbn-streams-schema` |


<details >
<summary>Updated references</summary>

```
./.i18nrc.json
./docs/developer/plugin-list.asciidoc
./package.json
./packages/kbn-ts-projects/config-paths.json
./src/core/packages/user-settings/server-internal/jest.config.js
./src/core/packages/user-settings/server-mocks/jest.config.js
./src/platform/packages/private/kbn-repo-packages/package-map.json
./src/platform/packages/shared/kbn-calculate-auto/jest.config.js
./src/platform/packages/shared/kbn-charts-theme/jest.config.js
./src/platform/packages/shared/kbn-palettes/jest.config.js
./src/platform/packages/shared/kbn-saved-search-component/jest.config.js
./src/platform/packages/shared/kbn-use-tracked-promise/jest.config.js
./src/platform/packages/shared/response-ops/rule_form/jest.config.js
./tsconfig.base.json
./x-pack/solutions/observability/packages/kbn-streams-schema/jest.config.js
./x-pack/solutions/observability/plugins/entities_data_access/jest.config.js
./x-pack/solutions/observability/plugins/entity_manager_app/jest.config.js
./yarn.lock
.github/CODEOWNERS
```

</details><details >
<summary>Updated relative paths</summary>

```
src/core/packages/user-settings/server-internal/jest.config.js:12
src/core/packages/user-settings/server-internal/tsconfig.json:2
src/core/packages/user-settings/server-mocks/jest.config.js:12
src/core/packages/user-settings/server-mocks/tsconfig.json:2
src/core/packages/user-settings/server/tsconfig.json:2
src/platform/packages/shared/kbn-calculate-auto/jest.config.js:12
src/platform/packages/shared/kbn-calculate-auto/tsconfig.json:2
src/platform/packages/shared/kbn-charts-theme/jest.config.js:12
src/platform/packages/shared/kbn-charts-theme/tsconfig.json:2
src/platform/packages/shared/kbn-palettes/jest.config.js:12
src/platform/packages/shared/kbn-palettes/tsconfig.json:2
src/platform/packages/shared/kbn-saved-search-component/jest.config.js:12
src/platform/packages/shared/kbn-saved-search-component/tsconfig.json:2
src/platform/packages/shared/kbn-use-tracked-promise/jest.config.js:12
src/platform/packages/shared/kbn-use-tracked-promise/tsconfig.json:2
src/platform/packages/shared/response-ops/rule_form/jest.config.js:12
src/platform/packages/shared/response-ops/rule_form/tsconfig.json:2
x-pack/solutions/observability/packages/kbn-streams-schema/jest.config.js:10
x-pack/solutions/observability/packages/kbn-streams-schema/tsconfig.json:2
x-pack/solutions/observability/plugins/entities_data_access/jest.config.js:12
x-pack/solutions/observability/plugins/entities_data_access/tsconfig.json:2
x-pack/solutions/observability/plugins/entity_manager_app/jest.config.js:12
x-pack/solutions/observability/plugins/entity_manager_app/tsconfig.json:2
x-pack/solutions/observability/plugins/entity_manager_app/tsconfig.json:7
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-13 09:12:28 +01:00
elastic-renovate-prod[bot]
5e3d98c337
Update LaunchDarkly (main) (#205152) 2025-01-11 23:58:02 +00:00
elastic-renovate-prod[bot]
ec3013ccd1
Update dependency react-reverse-portal to ^2.1.2 (main) (#206168)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[react-reverse-portal](https://togithub.com/httptoolkit/react-reverse-portal)
| dependencies | patch | [`^2.1.0` ->
`^2.1.2`](https://renovatebot.com/diffs/npm/react-reverse-portal/2.1.0/2.1.2)
|

---

### Release Notes

<details>
<summary>httptoolkit/react-reverse-portal
(react-reverse-portal)</summary>

###
[`v2.1.2`](https://togithub.com/httptoolkit/react-reverse-portal/compare/v2.1.1...v2.1.2)

[Compare
Source](https://togithub.com/httptoolkit/react-reverse-portal/compare/v2.1.1...v2.1.2)

###
[`v2.1.1`](https://togithub.com/httptoolkit/react-reverse-portal/compare/v2.1.0...v2.1.1)

[Compare
Source](https://togithub.com/httptoolkit/react-reverse-portal/compare/v2.1.0...v2.1.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 [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkRhdGFEaXNjb3ZlcnkiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-10 16:08:49 -04:00
Zacqary Adam Xeper
d274c2f026
Update stylelint to 14.6.1 (#206134)
## Summary

Upgrades the stylelint package to 14.16.1

I ran into https://github.com/stylelint/stylelint/issues/6304 when
trying to add an `@container` query in an scss file. This bug was fixed
in stylelint 14.12.0. While taking the opportunity to upgrade, I figured
I'd bump us to the most recent minor 14.x version.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 14:04:25 -06:00
elastic-renovate-prod[bot]
ff2a16008b
Update APM (main) (#205153)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-10 18:49:39 +00:00
Kylie Meli
0585712012
[Automatic Import] Migrating to UX design and adding support for generating auth (#202587)
## Summary

This PR adds authentication to the generated CEL programs, and overhauls
the UI flow to be closer to the forthcoming UX design.

## Details 

This PR provides the following updates related to CEL generation:

1. Adds support for generating auth - basic, oauth2, digest and api
tokens
2. Adds new tooling for working with the OpenAPI specs and support for
reducing the spec to minimally required information to the LLM (new
Kibana dep on [oas](https://www.npmjs.com/package/oas))
3. Addresses various feedback around the generated CEL program (error
handling, cursor, trimming the state.url, etc)
4. Migrates the CEL flow to be closer to the forthcoming design
specified by UX, now within a flyout on the datastream step.
5. Removes the dependency on the CEL generation feature flag

## Current screenshots

<details>
  <summary>Click me</summary>
  
the datastream setup page:
<img width="1724" alt="Screenshot 2024-12-13 at 4 33 28 PM"
src="https://github.com/user-attachments/assets/2d35f448-c5c4-4891-92fc-393f83549213"
/>

the user selects the cel input and the button to configure shows up:
<img width="1725" alt="Screenshot 2024-12-13 at 4 33 49 PM"
src="https://github.com/user-attachments/assets/e55be532-5eaa-4a46-80f1-16dd82430fc4"
/>

upon clicking the button, the flyout opens:
<img width="1722" alt="Screenshot 2024-12-13 at 4 34 02 PM"
src="https://github.com/user-attachments/assets/269248cb-21e7-4ebf-86af-f031facb5822"
/>

the user can upload the spec file (a json or yaml openapi file):
<img width="1722" alt="Screenshot 2024-12-13 at 4 34 30 PM"
src="https://github.com/user-attachments/assets/5f996ff3-194a-416b-a1ae-ba0d5ef89a1a"
/>

the llm will suggest paths to use, or the user can select to enter
manually and view all the GETs
<img width="865" alt="Screenshot 2024-12-13 at 4 35 26 PM"
src="https://github.com/user-attachments/assets/a0ad6d6f-5d82-442a-8f2c-235190b2078c"
/>

we will also suggest an auth method based on the spec, but allow the
user to select otherwise if they want:
<img width="1723" alt="Screenshot 2024-12-13 at 4 35 37 PM"
src="https://github.com/user-attachments/assets/840b0201-cae2-4313-bf5d-d7b3ab2034ed"
/>

if they choose an auth the spec doesn't specify, we will warn but not
block:
<img width="1336" alt="Screenshot 2024-12-16 at 9 07 52 AM"
src="https://github.com/user-attachments/assets/c2fb04b5-3d98-4c70-95b2-2fab259c0702"
/>

once path and auth are selected, they can save and continue (generate
the cel config):
<img width="1722" alt="Screenshot 2024-12-13 at 4 35 50 PM"
src="https://github.com/user-attachments/assets/3e54a435-3ddf-4e64-81ab-49dc25420210"
/>

generating:
<img width="1724" alt="Screenshot 2024-12-13 at 4 36 18 PM"
src="https://github.com/user-attachments/assets/0772c016-078c-44cb-ad72-b096f7d635e2"
/>

all configured:
<img width="1720" alt="Screenshot 2024-12-13 at 4 36 35 PM"
src="https://github.com/user-attachments/assets/5f92979c-1f40-43e3-90f3-941c20c99cc7"
/>

</details>

## Sample results 

> **_Note:_** All these sample integrations are built with the teleport
log samples.

### API key

[eset.json](https://github.com/user-attachments/files/18151638/eset.json)

[eset___api_key-1.0.0.zip](https://github.com/user-attachments/files/18151622/eset___api_key-1.0.0.zip)

### OAuth2

[bitwarden.json](https://github.com/user-attachments/files/18151635/bitwarden.json)

[bitwarden___oauth-1.0.0.zip](https://github.com/user-attachments/files/18151618/bitwarden___oauth-1.0.0.zip)

### Basic 

[sumlogic-api.yaml.zip](https://github.com/user-attachments/files/18151650/sumlogic-api.yaml.zip)

[sumologic___basic-1.0.0.zip](https://github.com/user-attachments/files/18151630/sumologic___basic-1.0.0.zip)

Relates:
- https://github.com/elastic/kibana/issues/197651
- https://github.com/elastic/kibana/issues/197653

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ilya Nikokoshev <ilya.nikokoshev@elastic.co>
2025-01-10 12:09:39 -05:00
elastic-renovate-prod[bot]
a3d3c82900
Update dependency @redocly/cli to ^1.27.0 (main) (#205158)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 17:51:58 +01:00
elastic-renovate-prod[bot]
44c2504240
Update dependency io-ts to ^2.2.22 (main) (#206174)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 16:04:11 +01:00
elastic-renovate-prod[bot]
5be981535b
Update dependency @elastic/ecs to ^8.11.5 (main) (#206159)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-10 14:06:12 +00:00
Anton Dosov
64b6a1a5e7
Sustainable Kibana Architecture: Move the rest of shared-ux modules (#205924)
## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 1 plugin(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/url-drilldown-plugin` |
`x-pack/platform/plugins/private/drilldowns/url_drilldown` |




#### 21 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/core-chrome-browser` | `src/core/packages/chrome/browser` |
| `@kbn/deeplinks-shared` |
`src/platform/packages/shared/deeplinks/shared` |
| `@kbn/home-sample-data-card` |
`src/platform/packages/shared/home/sample_data_card` |
| `@kbn/home-sample-data-tab` |
`src/platform/packages/shared/home/sample_data_tab` |
| `@kbn/home-sample-data-types` |
`src/platform/packages/shared/home/sample_data_types` |
| `@kbn/guided-onboarding` |
`src/platform/packages/shared/kbn-guided-onboarding` |
| `@kbn/item-buffer` | `src/platform/packages/private/kbn-item-buffer` |
| `@kbn/management-settings-section-registry` |
`src/platform/packages/shared/kbn-management/settings/section_registry`
|
| `@kbn/management-settings-ids` |
`src/platform/packages/shared/kbn-management/settings/setting_ids` |
| `@kbn/react-mute-legacy-root-warning` |
`src/platform/packages/private/kbn-react-mute-legacy-root-warning` |
| `@kbn/saved-objects-settings` |
`src/platform/packages/private/kbn-saved-objects-settings` |
| `@kbn/react-kibana-context-common` |
`src/platform/packages/shared/react/kibana_context/common` |
| `@kbn/react-kibana-context-render` |
`src/platform/packages/shared/react/kibana_context/render` |
| `@kbn/react-kibana-context-root` |
`src/platform/packages/shared/react/kibana_context/root` |
| `@kbn/react-kibana-context-styled` |
`src/platform/packages/shared/react/kibana_context/styled` |
| `@kbn/react-kibana-context-theme` |
`src/platform/packages/shared/react/kibana_context/theme` |
| `@kbn/react-kibana-mount` |
`src/platform/packages/shared/react/kibana_mount` |
| `@kbn/serverless-project-switcher` |
`src/platform/packages/private/serverless/project_switcher` |
| `@kbn/serverless-common-settings` |
`src/platform/packages/private/serverless/settings/common` |
| `@kbn/serverless-observability-settings` |
`src/platform/packages/shared/serverless/settings/observability_project`
|
| `@kbn/serverless-types` |
`src/platform/packages/private/serverless/types` |


<details >
<summary>Updated relative paths</summary>

```
src/core/packages/chrome/browser/jest.config.js:12
src/core/packages/chrome/browser/tsconfig.json:2
src/core/packages/chrome/browser/tsconfig.type_check.json:2
src/core/packages/chrome/browser/tsconfig.type_check.json:21
src/core/packages/chrome/browser/tsconfig.type_check.json:24
src/core/packages/chrome/browser/tsconfig.type_check.json:27
src/core/packages/chrome/browser/tsconfig.type_check.json:30
src/core/packages/chrome/browser/tsconfig.type_check.json:33
src/core/packages/chrome/browser/tsconfig.type_check.json:36
src/core/packages/chrome/browser/tsconfig.type_check.json:39
src/core/packages/chrome/browser/tsconfig.type_check.json:42
src/core/packages/chrome/browser/tsconfig.type_check.json:45
src/core/packages/chrome/browser/tsconfig.type_check.json:48
src/core/packages/chrome/browser/tsconfig.type_check.json:51
src/core/packages/chrome/browser/tsconfig.type_check.json:54
src/platform/packages/private/kbn-item-buffer/jest.config.js:12
src/platform/packages/private/kbn-item-buffer/tsconfig.json:2
src/platform/packages/private/kbn-react-mute-legacy-root-warning/jest.config.js:12
src/platform/packages/private/kbn-react-mute-legacy-root-warning/tsconfig.json:2
src/platform/packages/private/kbn-saved-objects-settings/jest.config.js:12
src/platform/packages/private/kbn-saved-objects-settings/tsconfig.json:2
src/platform/packages/private/kbn-saved-objects-settings/tsconfig.type_check.json:2
src/platform/packages/private/serverless/project_switcher/jest.config.js:12
src/platform/packages/private/serverless/project_switcher/tsconfig.json:2
src/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:2
src/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:23
src/platform/packages/private/serverless/settings/common/tsconfig.json:2
src/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:2
src/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:20
src/platform/packages/private/serverless/types/tsconfig.json:2
src/platform/packages/private/serverless/types/tsconfig.type_check.json:2
src/platform/packages/shared/deeplinks/shared/jest.config.js:12
src/platform/packages/shared/deeplinks/shared/tsconfig.json:2
src/platform/packages/shared/deeplinks/shared/tsconfig.type_check.json:2
src/platform/packages/shared/home/sample_data_card/jest.config.js:12
src/platform/packages/shared/home/sample_data_card/tsconfig.json:2
src/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:2
src/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:23
src/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:29
src/platform/packages/shared/home/sample_data_tab/jest.config.js:12
src/platform/packages/shared/home/sample_data_tab/tsconfig.json:2
src/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:2
src/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:23
src/platform/packages/shared/home/sample_data_types/jest.config.js:12
src/platform/packages/shared/home/sample_data_types/tsconfig.json:2
src/platform/packages/shared/home/sample_data_types/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-guided-onboarding/jest.config.js:12
src/platform/packages/shared/kbn-guided-onboarding/tsconfig.json:2
src/platform/packages/shared/kbn-guided-onboarding/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.json:2
src/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:22
src/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:25
src/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.json:2
src/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/common/jest.config.js:12
src/platform/packages/shared/react/kibana_context/common/tsconfig.json:2
src/platform/packages/shared/react/kibana_context/common/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/render/jest.config.js:12
src/platform/packages/shared/react/kibana_context/render/tsconfig.json:2
src/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:25
src/platform/packages/shared/react/kibana_context/root/jest.config.js:12
src/platform/packages/shared/react/kibana_context/root/tsconfig.json:2
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:22
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:28
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:31
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:34
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:37
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:40
src/platform/packages/shared/react/kibana_context/styled/jest.config.js:12
src/platform/packages/shared/react/kibana_context/styled/tsconfig.json:2
src/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:22
src/platform/packages/shared/react/kibana_context/theme/jest.config.js:12
src/platform/packages/shared/react/kibana_context/theme/tsconfig.json:2
src/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:22
src/platform/packages/shared/react/kibana_mount/jest.config.js:12
src/platform/packages/shared/react/kibana_mount/tsconfig.json:2
src/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:22
src/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:25
src/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:28
src/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:34
src/platform/packages/shared/serverless/settings/observability_project/tsconfig.json:2
src/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:2
src/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:20
x-pack/platform/plugins/private/drilldowns/url_drilldown/tsconfig.json:2
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-10 11:30:37 +00:00
Marco Antonio Ghiani
abf00ee777
[Streams 🌊] Stream enrichment processors management (#204793)
## 📓 Summary

Part of #https://github.com/elastic/streams-program/issues/32

This work implements a UI for basic stream enrichment, supporting grok
and dissect processor + detected fields mapping.

The main features implemented in this PR consist of:
- **Sortable processors list**
- **Add new processor - Grok, Dissect**
  - Ad-hoc forms for each processor
  - Simulated document outcome with extracted fields
  - Filter matching documents with parsed fields
  - Mapping detected fields (only available for wired streams)
- **Edit processor**
  - Change configuration only
  - Delete processor CTA

As a side quest, I added a small package for object utils as
@simianhacker suggested.
`@kbn/object-utils` exposes `calculateObjectDiff` and `flattenObject` to
detect the changed fields in a simulation.

## 🔜 Follow-up work

I'll work on minor updates on top of this MVP to make this available for
further testing from the team.
The next steps will be:
- **Tests** for features that consolidate on the functional pov.
- Better field mapping detection and UI feedback (infer the type of the
detected field, currently always unmapped)
- Add better form validation and feedback for processor configuration.

As discussed offline, state management is purely based on the built-in
react APIs + react-hook-form. It could be improved with different
approaches, including a more solid state management library to make it
easier to maintain and bulletproof to race conditions. No state syncs
with the URL currently.

## 🎥 Demo


https://github.com/user-attachments/assets/a48fade9-f5aa-4270-bb19-d91d1eed822b

---------

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 12:01:55 +01:00
Mykola Harmash
6ed214a69f
Migrate onboarding Cypress tests to Scout (#205482)
This change converts Cypress tests for the custom logs flow into
Playwright using [the Scout
wrapper](https://github.com/elastic/kibana/tree/main/packages/kbn-scout).

> [!NOTE]
> As Scout package is still being developed, the PR pipeline configured
to runs Playwright tests only when code in certain plugins have been
changed and not on every PR.

### How to run tests locally

Start the Scout server
```bash
node scripts/scout.js start-server --stateful
```

In a separate terminal run the tests
```bash
npx playwright test --config x-pack/solutions/observability/plugins/observability_onboarding/ui_tests/playwright.config.ts
```

Playwright runs browsers in a headless mode by default, user `--headed`
option if needed
2025-01-10 09:44:29 +01:00
Alejandro Fernández Haro
41a42555f9
[Cloud Experiments] Flag as private (#206121) 2025-01-10 09:17:40 +01:00
elastic-renovate-prod[bot]
a206a6400b
Update dependency p-map to v7 2025-01-10 02:54:13 +00:00
Larry Gregory
a9f5f432ad
Dependency ownership refinements (#205937)
## Summary

This PR assigns owners for dependencies that are not yet claimed. These
assignments were a "best effort", and will likely need tweaking once
downstream teams start receiving renovate PRs.
2025-01-09 18:33:38 +00:00
elastic-renovate-prod[bot]
a54045841c
Update dependency @xyflow/react to ^12.3.6 (main) (#204459)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@xyflow/react](https://reactflow.dev)
([source](https://togithub.com/xyflow/xyflow/tree/HEAD/packages/react))
| dependencies | patch | [`^12.3.5` ->
`^12.3.6`](https://renovatebot.com/diffs/npm/@xyflow%2freact/12.3.5/12.3.6)
|

---

### Release Notes

<details>
<summary>xyflow/xyflow (@&#8203;xyflow/react)</summary>

###
[`v12.3.6`](https://togithub.com/xyflow/xyflow/blob/HEAD/packages/react/CHANGELOG.md#1236)

[Compare
Source](https://togithub.com/xyflow/xyflow/compare/@xyflow/react@12.3.5...@xyflow/react@12.3.6)

##### Patch Changes

- [#&#8203;4846](https://togithub.com/xyflow/xyflow/pull/4846)
[`75017939`](7501793900)
Thanks [@&#8203;moklick](https://togithub.com/moklick)! - Make it
possible to use expandParent with immer and other immutable helpers

- [#&#8203;4865](https://togithub.com/xyflow/xyflow/pull/4865)
[`2c4acc2b`](2c4acc2bd9)
Thanks [@&#8203;moklick](https://togithub.com/moklick)! - Add group node
to BuiltInNode type. Thanks
[@&#8203;sjdemartini](https://togithub.com/sjdemartini)!

- [#&#8203;4877](https://togithub.com/xyflow/xyflow/pull/4877)
[`9a8309da`](9a8309dab8)
Thanks [@&#8203;peterkogo](https://togithub.com/peterkogo)! - Fix
intersections for nodes with origins other than \[0,0]. Thanks
[@&#8203;gmvrpw](https://togithub.com/gmvrpw)!

- [#&#8203;4844](https://togithub.com/xyflow/xyflow/pull/4844)
[`6f11e552`](6f11e552c3)
Thanks [@&#8203;moklick](https://togithub.com/moklick)! - Allow custom
data-testid for ReactFlow component

- [#&#8203;4816](https://togithub.com/xyflow/xyflow/pull/4816)
[`43aa52a8`](43aa52a8cd)
Thanks [@&#8203;moklick](https://togithub.com/moklick)! - Type
isValidConnection prop correctly by passing EdgeType

- [#&#8203;4855](https://togithub.com/xyflow/xyflow/pull/4855)
[`106c2cf8`](106c2cf8e5)
Thanks [@&#8203;mhuggins](https://togithub.com/mhuggins)! - Support
passing `path` element attributes to `BaseEdge` component.

- [#&#8203;4862](https://togithub.com/xyflow/xyflow/pull/4862)
[`adf4fb4e`](adf4fb4e7b)
Thanks [@&#8203;bcakmakoglu](https://togithub.com/bcakmakoglu)! -
Prevent default scrolling behavior when nodes or a selection is moved
with an arrow key press.

- [#&#8203;4875](https://togithub.com/xyflow/xyflow/pull/4875)
[`41d4743a`](41d4743a69)
Thanks [@&#8203;peterkogo](https://togithub.com/peterkogo)! - Prevent
unnecessary rerenders of edges when resizing the flow.

- [#&#8203;4826](https://togithub.com/xyflow/xyflow/pull/4826)
[`5f90acda`](5f90acdab1)
Thanks [@&#8203;chrtze](https://togithub.com/chrtze)! - Forward ref of
the div inside Panel components.

- Updated dependencies
\[[`d60331e6`](d60331e6ba)]:
-
[@&#8203;xyflow/system](https://togithub.com/xyflow/system)[@&#8203;0](https://togithub.com/0).0.47

</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 [Renovate
Bot](https://togithub.com/renovatebot/renovate).

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-09 13:04:20 +00:00
Alberto Blázquez
1e9606de9c
Turn AssetInventory sub-plugin into a Security solution page (#205363)
## Summary

Turn AssetInventory plugin into a simple Security solution page based on
this conversation:
- https://github.com/elastic/security-team/issues/10346

Follow-up of this work, where we initially developed the Asset Inventory
bare-bones as a plugin:
- https://github.com/elastic/kibana/issues/201704

Part of this work stream though not originally planned:
- https://github.com/elastic/security-team/issues/11247?reload=1

### Motivation

Reasoning behind is enabling fast development changes without any major
refactors in other packages/components that need to be reused, which
seems impossible as of now with the current codebase.

### Checklist

- [x] 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)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

In the future, we'll probably have to turn AssetInventory into a
sub-plugin again. Doing so doesn't bring any risk in the present, and
should only involve the re-generation of the deleted files in this PR.

---------

Co-authored-by: Paulo Henrique <paulo.henrique@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-09 13:53:31 +01:00
Gerard Soldevila
2be928c489
SKA: Categorise remaining packages (#205875)
## Summary

* Delete unused package `@kbn/formatters`
* Delete unused package `@kbn/response-ops-feature-flag-service`
* Flag `@kbn/generate-console-definitions` as `devOnly: true`
* Flag `@kbn/plugin-check` as `devOnly: true`
* Flag `@kbn/set-map` as `devOnly: true`
* Flag `@kbn/synthetics-private-location` as `devOnly: true`
* Categorise `@kbn/calculate-auto` as `platform/shared`
* Categorise `@kbn/charts-theme` as `platform/shared`
* Categorise `@kbn/saved-search-component` as `platform/shared`
* Categorise `@kbn/use-tracked-promise` as `platform/shared`
* Categorise `@kbn/charts-theme` as `platform/shared`
* Categorise `@kbn/response-ops-rule-form` as `platform/shared`
2025-01-08 22:20:14 +01:00
Gonçalo Rica Pais da Silva
2a7a53aaf3
[ObsUX][APM] Replace react-syntax-highlighter with EuiCodeBlock (#204902)
## Summary

Removes `react-syntax-highlighter` from APM errors, in favour of
`EuiCodeBlock` for read-only code syntax highlighting. This in turn
removes a bunch of custom styling to bring things more inline with the
design system as well.

Closes #204049

## How to test

* Go to Applications - Service Inventory
* Find a service with errors
* Go to Errors tab for service
* Select an error that is an exception
* View details for the exception and see the syntax highlighted block
for the stack trace.
2025-01-08 17:24:49 +00:00
Anton Dosov
3b2ab7b413
Sustainable Kibana Architecture: Move CodeEditor related packages #205587 (#205738)
## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 3 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/code-editor` |
`src/platform/packages/shared/shared-ux/code_editor/impl` |
| `@kbn/code-editor-mock` |
`src/platform/packages/shared/shared-ux/code_editor/mocks` |
| `@kbn/monaco` | `src/platform/packages/shared/kbn-monaco` |


<details >
<summary>Updated relative paths</summary>

```
src/platform/packages/shared/kbn-monaco/jest.config.js:12
src/platform/packages/shared/kbn-monaco/tsconfig.json:2
src/platform/packages/shared/kbn-monaco/tsconfig.type_check.json:2
src/platform/packages/shared/shared-ux/code_editor/impl/jest.config.js:12
src/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:16
src/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.json:2
src/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:18
src/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:2
src/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:25
src/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:28
src/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:31
src/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:34
src/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:37
src/platform/packages/shared/shared-ux/code_editor/impl/tsconfig.type_check.json:40
src/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:16
src/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.json:2
src/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:18
src/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:2
src/platform/packages/shared/shared-ux/code_editor/mocks/tsconfig.type_check.json:25
```

</details>
2025-01-08 15:25:47 +01:00
Gerard Soldevila
a382d35dd2
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-visualizations (#202754)
## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 29 plugin(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/charts-plugin` | `src/platform/plugins/shared/charts` |
| `@kbn/data-plugin` | `src/platform/plugins/shared/data` |
| `@kbn/event-annotation-listing-plugin` |
`src/platform/plugins/private/event_annotation_listing` |
| `@kbn/event-annotation-plugin` |
`src/platform/plugins/private/event_annotation` |
| `@kbn/expression-gauge-plugin` |
`src/platform/plugins/shared/chart_expressions/expression_gauge` |
| `@kbn/expression-heatmap-plugin` |
`src/platform/plugins/shared/chart_expressions/expression_heatmap` |
| `@kbn/expression-legacy-metric-vis-plugin` |
`src/platform/plugins/shared/chart_expressions/expression_legacy_metric`
|
| `@kbn/expression-metric-vis-plugin` |
`src/platform/plugins/shared/chart_expressions/expression_metric` |
| `@kbn/expression-partition-vis-plugin` |
`src/platform/plugins/shared/chart_expressions/expression_partition_vis`
|
| `@kbn/expression-tagcloud-plugin` |
`src/platform/plugins/shared/chart_expressions/expression_tagcloud` |
| `@kbn/expression-xy-plugin` |
`src/platform/plugins/shared/chart_expressions/expression_xy` |
| `@kbn/expressions-plugin` | `src/platform/plugins/shared/expressions`
|
| `@kbn/graph-plugin` | `x-pack/platform/plugins/private/graph` |
| `@kbn/lens-plugin` | `x-pack/platform/plugins/shared/lens` |
| `@kbn/unified-search-plugin` |
`src/platform/plugins/shared/unified_search` |
| `@kbn/url-forwarding-plugin` |
`src/platform/plugins/private/url_forwarding` |
| `@kbn/vis-default-editor-plugin` |
`src/platform/plugins/private/vis_default_editor` |
| `@kbn/vis-type-gauge-plugin` |
`src/platform/plugins/private/vis_types/gauge` |
| `@kbn/vis-type-heatmap-plugin` |
`src/platform/plugins/private/vis_types/heatmap` |
| `@kbn/vis-type-metric-plugin` |
`src/platform/plugins/private/vis_types/metric` |
| `@kbn/vis-type-pie-plugin` |
`src/platform/plugins/private/vis_types/pie` |
| `@kbn/vis-type-table-plugin` |
`src/platform/plugins/private/vis_types/table` |
| `@kbn/vis-type-tagcloud-plugin` |
`src/platform/plugins/private/vis_types/tagcloud` |
| `@kbn/vis-type-timelion-plugin` |
`src/platform/plugins/private/vis_types/timelion` |
| `@kbn/vis-type-timeseries-plugin` |
`src/platform/plugins/shared/vis_types/timeseries` |
| `@kbn/vis-type-vega-plugin` |
`src/platform/plugins/private/vis_types/vega` |
| `@kbn/vis-type-vislib-plugin` |
`src/platform/plugins/private/vis_types/vislib` |
| `@kbn/vis-type-xy-plugin` |
`src/platform/plugins/private/vis_types/xy` |
| `@kbn/visualizations-plugin` |
`src/platform/plugins/shared/visualizations` |




#### 18 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/calculate-width-from-char-count` |
`src/platform/packages/shared/kbn-calculate-width-from-char-count` |
| `@kbn/chart-expressions-common` |
`src/platform/packages/shared/chart-expressions-common` |
| `@kbn/chart-icons` | `src/platform/packages/shared/kbn-chart-icons` |
| `@kbn/coloring` | `src/platform/packages/shared/kbn-coloring` |
| `@kbn/data-service` | `src/platform/packages/shared/kbn-data-service`
|
| `@kbn/dom-drag-drop` |
`src/platform/packages/shared/kbn-dom-drag-drop` |
| `@kbn/event-annotation-common` |
`src/platform/packages/shared/kbn-event-annotation-common` |
| `@kbn/event-annotation-components` |
`src/platform/packages/shared/kbn-event-annotation-components` |
| `@kbn/interpreter` | `src/platform/packages/shared/kbn-interpreter` |
| `@kbn/lens-formula-docs` |
`src/platform/packages/private/kbn-lens-formula-docs` |
| `@kbn/managed-content-badge` |
`src/platform/packages/private/kbn-managed-content-badge` |
| `@kbn/random-sampling` |
`x-pack/platform/packages/private/kbn-random-sampling` |
| `@kbn/sort-predicates` |
`src/platform/packages/shared/kbn-sort-predicates` |
| `@kbn/timelion-grammar` |
`src/platform/packages/private/kbn-timelion-grammar` |
| `@kbn/tinymath` | `src/platform/packages/private/kbn-tinymath` |
| `@kbn/transpose-utils` |
`src/platform/packages/private/kbn-transpose-utils` |
| `@kbn/visualization-ui-components` |
`src/platform/packages/shared/kbn-visualization-ui-components` |
| `@kbn/visualization-utils` |
`src/platform/packages/shared/kbn-visualization-utils` |


<details >
<summary>Updated references</summary>

```
./.eslintignore
./.eslintrc.js
./.github/paths-labeller.yml
./.i18nrc.json
./docs/developer/architecture/core/elasticsearch-service.asciidoc
./docs/developer/architecture/development-visualize-index.asciidoc
./docs/developer/best-practices/index.asciidoc
./docs/developer/plugin-list.asciidoc
./examples/search_examples/public/plugin.ts
./package.json
./packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts
./packages/kbn-docs-utils/src/utils.ts
./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts
./packages/kbn-repo-source-classifier/src/repo_source_classifier.ts
./packages/kbn-ts-projects/config-paths.json
./src/dev/build/tasks/package_json/find_used_dependencies.ts
./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js
./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt
./src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js
./src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json
./src/dev/storybook/aliases.ts
./src/platform/packages/private/kbn-lens-formula-docs/jest.config.js
./src/platform/packages/private/kbn-managed-content-badge/jest.config.js
./src/platform/packages/private/kbn-repo-packages/package-map.json
./src/platform/packages/private/kbn-tinymath/README.md
./src/platform/packages/private/kbn-tinymath/jest.config.js
./src/platform/packages/private/kbn-transpose-utils/jest.config.js
./src/platform/packages/shared/chart-expressions-common/jest.config.js
./src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js
./src/platform/packages/shared/kbn-chart-icons/jest.config.js
./src/platform/packages/shared/kbn-coloring/jest.config.js
./src/platform/packages/shared/kbn-data-service/jest.config.js
./src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js
./src/platform/packages/shared/kbn-event-annotation-common/jest.config.js
./src/platform/packages/shared/kbn-event-annotation-components/jest.config.js
./src/platform/packages/shared/kbn-interpreter/jest.config.js
./src/platform/packages/shared/kbn-sort-predicates/jest.config.js
./src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js
./src/platform/packages/shared/kbn-visualization-utils/jest.config.js
./src/platform/plugins/private/event_annotation/jest.config.js
./src/platform/plugins/private/event_annotation_listing/jest.config.js
./src/platform/plugins/private/url_forwarding/jest.config.js
./src/platform/plugins/private/vis_default_editor/jest.config.js
./src/platform/plugins/private/vis_types/gauge/jest.config.js
./src/platform/plugins/private/vis_types/heatmap/jest.config.js
./src/platform/plugins/private/vis_types/metric/jest.config.js
./src/platform/plugins/private/vis_types/pie/jest.config.js
./src/platform/plugins/private/vis_types/table/jest.config.js
./src/platform/plugins/private/vis_types/tagcloud/jest.config.js
./src/platform/plugins/private/vis_types/timelion/jest.config.js
./src/platform/plugins/private/vis_types/vega/jest.config.js
./src/platform/plugins/private/vis_types/vislib/jest.config.js
./src/platform/plugins/private/vis_types/xy/jest.config.js
./src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js
./src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js
./src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js
./src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js
./src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js
./src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js
./src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js
./src/platform/plugins/shared/charts/jest.config.js
./src/platform/plugins/shared/custom_integrations/jest.config.js
./src/platform/plugins/shared/data/jest.config.js
./src/platform/plugins/shared/expressions/README.asciidoc
./src/platform/plugins/shared/expressions/jest.config.js
./src/platform/plugins/shared/unified_search/jest.config.js
./src/platform/plugins/shared/vis_types/timeseries/jest.config.js
./src/platform/plugins/shared/visualizations/jest.config.js
./src/plugins/vis_types/timeseries/public/application/components/aggs/math.js
./tsconfig.base.json
./tsconfig.base.type_check.json
./tsconfig.refs.json
./x-pack/.i18nrc.json
./x-pack/platform/packages/private/kbn-random-sampling/jest.config.js
./x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts
./x-pack/platform/plugins/private/graph/README.md
./x-pack/platform/plugins/private/graph/jest.config.js
./x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts
./x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js
./x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts
./x-pack/platform/plugins/shared/lens/jest.config.js
./x-pack/platform/plugins/shared/lens/readme.md
./x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts
./x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts
./x-pack/platform/plugins/shared/lens/tsconfig.type_check.json
./x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js
./x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts
./x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js
./x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts
./x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts
./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts
./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts
./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts
./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts
./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts
./x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts
./x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts
./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts
./x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts
./yarn.lock
.github/CODEOWNERS
```

</details><details >
<summary>Updated relative paths</summary>

```
src/platform/packages/private/kbn-lens-formula-docs/jest.config.js:12
src/platform/packages/private/kbn-lens-formula-docs/tsconfig.json:2
src/platform/packages/private/kbn-managed-content-badge/jest.config.js:12
src/platform/packages/private/kbn-managed-content-badge/tsconfig.json:2
src/platform/packages/private/kbn-timelion-grammar/tsconfig.json:2
src/platform/packages/private/kbn-tinymath/jest.config.js:12
src/platform/packages/private/kbn-tinymath/tsconfig.json:2
src/platform/packages/private/kbn-transpose-utils/jest.config.js:12
src/platform/packages/private/kbn-transpose-utils/tsconfig.json:2
src/platform/packages/shared/chart-expressions-common/jest.config.js:12
src/platform/packages/shared/chart-expressions-common/tsconfig.json:2
src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js:12
src/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json:2
src/platform/packages/shared/kbn-chart-icons/jest.config.js:12
src/platform/packages/shared/kbn-chart-icons/tsconfig.json:2
src/platform/packages/shared/kbn-coloring/jest.config.js:12
src/platform/packages/shared/kbn-coloring/tsconfig.json:2
src/platform/packages/shared/kbn-data-service/jest.config.js:12
src/platform/packages/shared/kbn-data-service/tsconfig.json:2
src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js:12
src/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json:2
src/platform/packages/shared/kbn-event-annotation-common/jest.config.js:12
src/platform/packages/shared/kbn-event-annotation-common/tsconfig.json:2
src/platform/packages/shared/kbn-event-annotation-components/jest.config.js:12
src/platform/packages/shared/kbn-event-annotation-components/tsconfig.json:2
src/platform/packages/shared/kbn-interpreter/jest.config.js:12
src/platform/packages/shared/kbn-interpreter/tsconfig.json:2
src/platform/packages/shared/kbn-sort-predicates/jest.config.js:12
src/platform/packages/shared/kbn-sort-predicates/tsconfig.json:2
src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js:12
src/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json:2
src/platform/packages/shared/kbn-visualization-utils/jest.config.js:12
src/platform/packages/shared/kbn-visualization-utils/tsconfig.json:2
src/platform/plugins/private/event_annotation/jest.config.js:12
src/platform/plugins/private/event_annotation/tsconfig.json:2
src/platform/plugins/private/event_annotation_listing/jest.config.js:12
src/platform/plugins/private/event_annotation_listing/tsconfig.json:2
src/platform/plugins/private/url_forwarding/jest.config.js:12
src/platform/plugins/private/url_forwarding/tsconfig.json:2
src/platform/plugins/private/vis_default_editor/README.md:8
src/platform/plugins/private/vis_default_editor/jest.config.js:12
src/platform/plugins/private/vis_default_editor/tsconfig.json:2
src/platform/plugins/private/vis_types/gauge/jest.config.js:12
src/platform/plugins/private/vis_types/gauge/tsconfig.json:2
src/platform/plugins/private/vis_types/heatmap/jest.config.js:12
src/platform/plugins/private/vis_types/heatmap/tsconfig.json:2
src/platform/plugins/private/vis_types/metric/jest.config.js:12
src/platform/plugins/private/vis_types/metric/tsconfig.json:2
src/platform/plugins/private/vis_types/pie/jest.config.js:12
src/platform/plugins/private/vis_types/pie/tsconfig.json:2
src/platform/plugins/private/vis_types/table/jest.config.js:12
src/platform/plugins/private/vis_types/table/tsconfig.json:2
src/platform/plugins/private/vis_types/tagcloud/jest.config.js:12
src/platform/plugins/private/vis_types/tagcloud/tsconfig.json:2
src/platform/plugins/private/vis_types/timelion/jest.config.js:12
src/platform/plugins/private/vis_types/timelion/tsconfig.json:2
src/platform/plugins/private/vis_types/vega/jest.config.js:12
src/platform/plugins/private/vis_types/vega/tsconfig.json:2
src/platform/plugins/private/vis_types/vislib/jest.config.js:12
src/platform/plugins/private/vis_types/vislib/tsconfig.json:2
src/platform/plugins/private/vis_types/xy/jest.config.js:12
src/platform/plugins/private/vis_types/xy/tsconfig.json:2
src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js:12
src/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json:2
src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js:12
src/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json:2
src/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js:17
src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js:12
src/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json:2
src/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js:17
src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js:12
src/platform/plugins/shared/chart_expressions/expression_metric/tsconfig.json:2
src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js:12
src/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json:2
src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js:12
src/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json:2
src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js:12
src/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json:2
src/platform/plugins/shared/charts/jest.config.js:12
src/platform/plugins/shared/charts/tsconfig.json:2
src/platform/plugins/shared/data/jest.config.js:12
src/platform/plugins/shared/data/tsconfig.json:13
src/platform/plugins/shared/data/tsconfig.json:2
src/platform/plugins/shared/expressions/jest.config.js:12
src/platform/plugins/shared/expressions/tsconfig.json:2
src/platform/plugins/shared/unified_search/jest.config.js:12
src/platform/plugins/shared/unified_search/tsconfig.json:2
src/platform/plugins/shared/vis_types/timeseries/jest.config.js:12
src/platform/plugins/shared/vis_types/timeseries/tsconfig.json:11
src/platform/plugins/shared/vis_types/timeseries/tsconfig.json:2
src/platform/plugins/shared/visualizations/jest.config.js:12
src/platform/plugins/shared/visualizations/tsconfig.json:2
src/platform/plugins/shared/visualizations/tsconfig.json:6
x-pack/platform/packages/private/kbn-random-sampling/jest.config.js:10
x-pack/platform/packages/private/kbn-random-sampling/tsconfig.json:2
x-pack/platform/plugins/private/graph/jest.config.js:10
x-pack/platform/plugins/private/graph/tsconfig.json:13
x-pack/platform/plugins/private/graph/tsconfig.json:3
x-pack/platform/plugins/shared/lens/jest.config.js:10
x-pack/platform/plugins/shared/lens/tsconfig.json:2
x-pack/platform/plugins/shared/lens/tsconfig.json:6
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-08 12:19:24 +01:00
Gonçalo Rica Pais da Silva
7363f03d81
[ML][APM] Fix Cytoscape listener typing, Update Cytoscape versions (#205726)
## Summary

Updates Cytoscape to newer versions, requiring one change with some
`removeListener` usage no longer being valid typing.

Supersedes #205444

## How to test

- Passes CI with no type errors or failed CI jobs for ML
- Job Map or wherever cytoscape is being used on ML doesn't leak event
listeners.
- Usages in APM also do not break.
2025-01-08 10:16:17 +01:00
Anton Dosov
72d3f7b89c
Sustainable Kibana Architecture: Move content management related packages (#205593) 2025-01-07 22:41:31 +01:00
Gerard Soldevila
a8579bb41f
Make saved_objects_tagging plugin shared (#205695)
## Summary

So that it can be used from `streams_app` (o11y).
See  https://github.com/elastic/kibana/pull/204309

Steps to relocate:

1. Fetch latest `main`
2. Update the `group` and/or `visibility` in the module's manifest.
3. Run `node scripts/relocate --moveOnly
@kbn/saved-objects-tagging-plugin`
2025-01-07 18:15:17 +01:00
Walter Rafelsberger
e8502c9fd7
[ML] Replace useIsDarkTheme() with EUI's colorMode. (#205079)
## Summary

This PR replaces the `useIsDarkTheme()` hook with EUI's `colorMode`.
Since this was the last hook in `@kbn/ml-kibana-theme` left this removes
the whole package too.

Note that the hook subscribed to an observable and was able to update
the theme in place. EUI's `colorMode` will only be updated after a page
refresh. Since updating the Kibana advanced setting to enable dark mode
requires a full page refresh too, I guess it's fair to remove this
behavior in favor of this simplification.

In the long run we should aim for getting rid of these checks altogether
and rely on dark-mode-aware EUI tokens.

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
2025-01-07 17:32:28 +01:00
Eyo O. Eyo
3bb50f7048
SKA: Move SharedUX packages under packages/core (#205608)
## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 13 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/core-chrome-browser-internal` |
`src/core/packages/chrome/browser-internal` |
| `@kbn/core-custom-branding-browser` |
`src/core/packages/custom-branding/browser` |
| `@kbn/core-custom-branding-browser-internal` |
`src/core/packages/custom-branding/browser-internal` |
| `@kbn/core-custom-branding-browser-mocks` |
`src/core/packages/custom-branding/browser-mocks` |
| `@kbn/core-custom-branding-common` |
`src/core/packages/custom-branding/common` |
| `@kbn/core-custom-branding-server` |
`src/core/packages/custom-branding/server` |
| `@kbn/core-custom-branding-server-internal` |
`src/core/packages/custom-branding/server-internal` |
| `@kbn/core-custom-branding-server-mocks` |
`src/core/packages/custom-branding/server-mocks` |
| `@kbn/core-ui-settings-browser` |
`src/core/packages/ui-settings/browser` |
| `@kbn/core-ui-settings-browser-internal` |
`src/core/packages/ui-settings/browser-internal` |
| `@kbn/core-ui-settings-common` |
`src/core/packages/ui-settings/common` |
| `@kbn/core-ui-settings-server` |
`src/core/packages/ui-settings/server` |
| `@kbn/core-ui-settings-server-internal` |
`src/core/packages/ui-settings/server-internal` |


<details >
<summary>Updated references</summary>

```
./docs/developer/architecture/core/patterns-scoped-services.asciidoc
./docs/developer/architecture/core/uisettings-service.asciidoc
./package.json
./packages/core/custom-branding/core-custom-branding-common/index.ts
./packages/kbn-ts-projects/config-paths.json
./src/core/packages/chrome/browser-internal/jest.config.js
./src/core/packages/custom-branding/browser-internal/jest.config.js
./src/core/packages/custom-branding/browser-mocks/jest.config.js
./src/core/packages/custom-branding/server-internal/jest.config.js
./src/core/packages/custom-branding/server-mocks/jest.config.js
./src/core/packages/ui-settings/browser-internal/jest.config.js
./src/core/packages/ui-settings/browser/jest.config.js
./src/core/packages/ui-settings/common/jest.config.js
./src/core/packages/ui-settings/server-internal/jest.config.js
./src/core/packages/ui-settings/server/jest.config.js
./src/platform/packages/private/kbn-repo-packages/package-map.json
./tsconfig.base.json
./x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.ts
./yarn.lock
.github/CODEOWNERS
```

</details><details >
<summary>Updated relative paths</summary>

```
src/core/packages/chrome/browser-internal/jest.config.js:12
src/core/packages/chrome/browser-internal/tsconfig.json:2
src/core/packages/custom-branding/browser-internal/jest.config.js:12
src/core/packages/custom-branding/browser-internal/tsconfig.json:2
src/core/packages/custom-branding/browser-mocks/jest.config.js:12
src/core/packages/custom-branding/browser-mocks/tsconfig.json:2
src/core/packages/custom-branding/browser/tsconfig.json:2
src/core/packages/custom-branding/common/tsconfig.json:2
src/core/packages/custom-branding/server-internal/jest.config.js:12
src/core/packages/custom-branding/server-internal/tsconfig.json:2
src/core/packages/custom-branding/server-mocks/jest.config.js:12
src/core/packages/custom-branding/server-mocks/tsconfig.json:2
src/core/packages/custom-branding/server/tsconfig.json:2
src/core/packages/ui-settings/browser-internal/jest.config.js:12
src/core/packages/ui-settings/browser-internal/tsconfig.json:2
src/core/packages/ui-settings/browser/jest.config.js:12
src/core/packages/ui-settings/browser/tsconfig.json:2
src/core/packages/ui-settings/common/jest.config.js:12
src/core/packages/ui-settings/common/tsconfig.json:2
src/core/packages/ui-settings/server-internal/jest.config.js:12
src/core/packages/ui-settings/server-internal/tsconfig.json:2
src/core/packages/ui-settings/server/jest.config.js:12
src/core/packages/ui-settings/server/tsconfig.json:2
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-07 15:15:56 +00:00
Anton Dosov
9e1ff1f95d
Sustainable Kibana Architecture: Move reporting related packages (#205587)
## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 13 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/generate-csv` | `src/platform/packages/private/kbn-generate-csv`
|
| `@kbn/reporting-common` |
`src/platform/packages/private/kbn-reporting/common` |
| `@kbn/reporting-csv-share-panel` |
`src/platform/packages/private/kbn-reporting/get_csv_panel_actions` |
| `@kbn/reporting-export-types-csv` |
`src/platform/packages/private/kbn-reporting/export_types/csv` |
| `@kbn/reporting-export-types-csv-common` |
`src/platform/packages/private/kbn-reporting/export_types/csv_common` |
| `@kbn/reporting-export-types-pdf` |
`src/platform/packages/private/kbn-reporting/export_types/pdf` |
| `@kbn/reporting-export-types-pdf-common` |
`src/platform/packages/private/kbn-reporting/export_types/pdf_common` |
| `@kbn/reporting-export-types-png` |
`src/platform/packages/private/kbn-reporting/export_types/png` |
| `@kbn/reporting-export-types-png-common` |
`src/platform/packages/private/kbn-reporting/export_types/png_common` |
| `@kbn/reporting-mocks-server` |
`src/platform/packages/private/kbn-reporting/mocks_server` |
| `@kbn/reporting-public` |
`src/platform/packages/private/kbn-reporting/public` |
| `@kbn/reporting-server` |
`src/platform/packages/private/kbn-reporting/server` |
| `@kbn/screenshotting-server` |
`src/platform/packages/private/kbn-screenshotting-server` |


<details >
<summary>Updated relative paths</summary>

```
src/platform/packages/private/kbn-generate-csv/jest.config.js:12
src/platform/packages/private/kbn-generate-csv/tsconfig.json:2
src/platform/packages/private/kbn-generate-csv/tsconfig.type_check.json:2
src/platform/packages/private/kbn-generate-csv/tsconfig.type_check.json:23
src/platform/packages/private/kbn-generate-csv/tsconfig.type_check.json:26
src/platform/packages/private/kbn-generate-csv/tsconfig.type_check.json:29
src/platform/packages/private/kbn-generate-csv/tsconfig.type_check.json:32
src/platform/packages/private/kbn-generate-csv/tsconfig.type_check.json:56
src/platform/packages/private/kbn-reporting/common/jest.config.js:12
src/platform/packages/private/kbn-reporting/common/tsconfig.json:2
src/platform/packages/private/kbn-reporting/common/tsconfig.type_check.json:2
src/platform/packages/private/kbn-reporting/common/tsconfig.type_check.json:21
src/platform/packages/private/kbn-reporting/common/tsconfig.type_check.json:24
src/platform/packages/private/kbn-reporting/common/tsconfig.type_check.json:27
src/platform/packages/private/kbn-reporting/common/tsconfig.type_check.json:30
src/platform/packages/private/kbn-reporting/common/tsconfig.type_check.json:33
src/platform/packages/private/kbn-reporting/export_types/csv/jest.config.js:12
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.json:2
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:2
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:22
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:25
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:28
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:31
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:34
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:37
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:40
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:46
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:49
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:52
src/platform/packages/private/kbn-reporting/export_types/csv/tsconfig.type_check.json:55
src/platform/packages/private/kbn-reporting/export_types/csv_common/jest.config.js:12
src/platform/packages/private/kbn-reporting/export_types/csv_common/tsconfig.json:2
src/platform/packages/private/kbn-reporting/export_types/csv_common/tsconfig.type_check.json:2
src/platform/packages/private/kbn-reporting/export_types/csv_common/tsconfig.type_check.json:20
src/platform/packages/private/kbn-reporting/export_types/csv_common/tsconfig.type_check.json:23
src/platform/packages/private/kbn-reporting/export_types/csv_common/tsconfig.type_check.json:26
src/platform/packages/private/kbn-reporting/export_types/pdf/jest.config.js:12
src/platform/packages/private/kbn-reporting/export_types/pdf/tsconfig.json:2
src/platform/packages/private/kbn-reporting/export_types/pdf/tsconfig.type_check.json:2
src/platform/packages/private/kbn-reporting/export_types/pdf/tsconfig.type_check.json:21
src/platform/packages/private/kbn-reporting/export_types/pdf/tsconfig.type_check.json:24
src/platform/packages/private/kbn-reporting/export_types/pdf/tsconfig.type_check.json:27
src/platform/packages/private/kbn-reporting/export_types/pdf/tsconfig.type_check.json:30
src/platform/packages/private/kbn-reporting/export_types/pdf/tsconfig.type_check.json:36
src/platform/packages/private/kbn-reporting/export_types/pdf/tsconfig.type_check.json:39
src/platform/packages/private/kbn-reporting/export_types/pdf_common/tsconfig.json:2
src/platform/packages/private/kbn-reporting/export_types/pdf_common/tsconfig.type_check.json:2
src/platform/packages/private/kbn-reporting/export_types/pdf_common/tsconfig.type_check.json:20
src/platform/packages/private/kbn-reporting/export_types/pdf_common/tsconfig.type_check.json:23
src/platform/packages/private/kbn-reporting/export_types/png/jest.config.js:12
src/platform/packages/private/kbn-reporting/export_types/png/tsconfig.json:2
src/platform/packages/private/kbn-reporting/export_types/png/tsconfig.type_check.json:2
src/platform/packages/private/kbn-reporting/export_types/png/tsconfig.type_check.json:22
src/platform/packages/private/kbn-reporting/export_types/png/tsconfig.type_check.json:25
src/platform/packages/private/kbn-reporting/export_types/png/tsconfig.type_check.json:28
src/platform/packages/private/kbn-reporting/export_types/png/tsconfig.type_check.json:31
src/platform/packages/private/kbn-reporting/export_types/png/tsconfig.type_check.json:37
src/platform/packages/private/kbn-reporting/export_types/png/tsconfig.type_check.json:40
src/platform/packages/private/kbn-reporting/export_types/png_common/tsconfig.json:2
src/platform/packages/private/kbn-reporting/export_types/png_common/tsconfig.type_check.json:2
src/platform/packages/private/kbn-reporting/export_types/png_common/tsconfig.type_check.json:20
src/platform/packages/private/kbn-reporting/export_types/png_common/tsconfig.type_check.json:23
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/jest.config.js:12
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.json:2
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:2
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:21
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:24
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:27
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:33
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:36
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:39
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:42
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:45
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:48
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:51
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:54
src/platform/packages/private/kbn-reporting/get_csv_panel_actions/tsconfig.type_check.json:60
src/platform/packages/private/kbn-reporting/mocks_server/jest.config.js:12
src/platform/packages/private/kbn-reporting/mocks_server/tsconfig.json:2
src/platform/packages/private/kbn-reporting/mocks_server/tsconfig.type_check.json:2
src/platform/packages/private/kbn-reporting/public/jest.config.js:12
src/platform/packages/private/kbn-reporting/public/tsconfig.json:2
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:2
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:24
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:27
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:30
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:33
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:36
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:39
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:42
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:45
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:57
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:60
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:63
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:66
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:69
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:72
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:75
src/platform/packages/private/kbn-reporting/public/tsconfig.type_check.json:78
src/platform/packages/private/kbn-reporting/server/jest.config.js:12
src/platform/packages/private/kbn-reporting/server/tsconfig.json:2
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:2
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:21
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:24
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:27
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:30
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:33
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:36
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:42
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:45
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:48
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:51
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:54
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:57
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:60
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:63
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:66
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:69
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:72
src/platform/packages/private/kbn-reporting/server/tsconfig.type_check.json:75
src/platform/packages/private/kbn-screenshotting-server/jest.config.js:12
src/platform/packages/private/kbn-screenshotting-server/src/paths.ts:106
src/platform/packages/private/kbn-screenshotting-server/tsconfig.json:2
src/platform/packages/private/kbn-screenshotting-server/tsconfig.type_check.json:2
src/platform/packages/private/kbn-screenshotting-server/tsconfig.type_check.json:20
```

</details>

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-07 15:32:38 +01:00
elastic-renovate-prod[bot]
f57ce3096c
Update dependency @types/fnv-plus to ^1.3.2 (main) (#205442)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@types/fnv-plus](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fnv-plus)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fnv-plus))
| devDependencies | patch | [`^1.3.0` ->
`^1.3.2`](https://renovatebot.com/diffs/npm/@types%2ffnv-plus/1.3.0/1.3.2)
|

---

### Configuration

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

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

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
2025-01-07 14:51:59 +01:00
Jorge Sanz
b3c915ea27
[Maps] Update @elastic/ems-client to 8.6.2 (#205132)
## Summary

Related to
* #205098
* #201269

Updates to `@elastic/ems-client@8.6.2` that supports the new EMS styles
for Borealis theme.
2025-01-07 10:03:12 +00:00