mirror of
https://github.com/elastic/kibana.git
synced 2025-04-22 17:04:01 -04:00
3920 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
18fa931a26
|
Upgrade EUI to v100.0.0 (#213292)
`99.4.0-borealis.0` ⏩ `100.0.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) --- First of all, 💯 🎉! > [!Warning] > Please note that the [public changelog for EUI v100.0.0](https://github.com/elastic/eui/releases/tag/v100.0.0) is longer than what's included below. > > Kibana has been using Borealis-specific builds of EUI since November last year (suffixed with `-borealis.X`), which were built from a just-merged EUI feature branch. > Since that feature branch just got merged and released with EUI v100.0.0, **the public changelog differs from what Kibana should be concerned about** due to updating from a custom Borealis-enabled version of EUI. > > You can find the list of all (one 👀) changes made between version `99.4.0-borealis.0` and `100.0.0` below. ## [`v100.0.0`](https://github.com/elastic/eui/releases/v100.0.0) **Bug fixes** - Fixed `EuiComboBox` by cleaning duplicated values when having a delimiter prop. ([#8335](https://github.com/elastic/eui/pull/8335)) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
c240b035d4
|
[CI tools] Use ES 8.x (#213056)
## Summary After upgrading the ES client to 9.0 (https://github.com/elastic/kibana/pull/208776), we noticed that the CI fails to upload the results of the tests to the CI cluster: ``` ERROR ResponseError: media_type_header_exception Caused by: status_exception: Accept version must be either version 8 or 7, but found 9. Accept=application/vnd.elasticsearch+json; compatible-with=9 Root causes: media_type_header_exception: Invalid media-type value on headers [Content-Type, Accept] ``` This PR makes sure that the CI client is still using v8.x until we upgrade that cluster. |
||
|
e676a6399c
|
Clean up REACT_18=true variable (#213246)
## Summary Clean up `REACT_18=true` variable post [react@18 upgrade](https://github.com/elastic/kibana/pull/209337) Should also address issue reported in slack > error https://registry.yarnpkg.com/react/-/react-18.2.0.tgz: Integrity check failed for "react" [...] --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
75f9c6113d
|
Upgrade EUI to v99.4.0 (#212974) | ||
|
e45c87adaf
|
Update ftr (main) (#211963)
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [chromedriver](https://redirect.github.com/giggio/node-chromedriver) | devDependencies | patch | [`^133.0.0` -> `^133.0.2`](https://renovatebot.com/diffs/npm/chromedriver/133.0.0/133.0.2) | `133.0.3` | | [selenium-webdriver](https://redirect.github.com/SeleniumHQ/selenium/tree/trunk/javascript/node/selenium-webdriver#readme) ([source](https://redirect.github.com/SeleniumHQ/selenium)) | devDependencies | minor | [`^4.28.1` -> `^4.29.0`](https://renovatebot.com/diffs/npm/selenium-webdriver/4.28.1/4.29.0) | | --- ### Release Notes <details> <summary>giggio/node-chromedriver (chromedriver)</summary> ### [`v133.0.2`](https://redirect.github.com/giggio/node-chromedriver/compare/133.0.1...133.0.2) [Compare Source](https://redirect.github.com/giggio/node-chromedriver/compare/133.0.1...133.0.2) ### [`v133.0.1`](https://redirect.github.com/giggio/node-chromedriver/compare/133.0.0...133.0.1) [Compare Source](https://redirect.github.com/giggio/node-chromedriver/compare/133.0.0...133.0.1) </details> <details> <summary>SeleniumHQ/selenium (selenium-webdriver)</summary> ### [`v4.29.0`]( |
||
|
037e8f58e0
|
[maps] globe projection (#212437)
<img width="600" alt="Screenshot 2025-02-25 at 11 35 32 AM" src="https://github.com/user-attachments/assets/2567e20c-1223-4001-9866-edbe8c534350" /> PR does the following * Updates maplibre to 5.1.1. Maplibre 5.0 introduced the globe projection * Updates sample data maps to use new globe projection * Existing maps will use existing "mercator" projection * Adds globe projection to newly created maps * Adds `projection` setting, allowing users to switch between classic "mercator" and new "globeInterpolate" projection <img width="400" alt="Screenshot 2025-02-25 at 11 35 41 AM" src="https://github.com/user-attachments/assets/5c55003b-dbe9-4adc-835c-0a2911c81074" /> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
3c43ab5084
|
Update dependency msw to ~2.7.2 (main) (#212692)
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [msw](https://mswjs.io) ([source](https://redirect.github.com/mswjs/msw)) | devDependencies | patch | [`~2.7.0` -> `~2.7.2`](https://renovatebot.com/diffs/npm/msw/2.7.3/2.7.2) | `2.7.3` | --- ### 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://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNsb3VkIFNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> |
||
|
ab44603a1c
|
[Chore] update form data to ^4.0.2 (#212795)
## Summary Updates form-data to ^4.0.2 Relates to https://github.com/elastic/kibana/pull/212183 form-data is used by data forge to load kibana assets. Ran data forge with `--install-kibana-assets` to smoke test. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
f7fa6dd4b0
|
Upgrade to React@18 (#209337)
## Summary This PR upgrades React packages to version 18, while keeping Kibana running in Legacy mode (`ReactDOM.render`). This is the first phase of the React@18 upgrade; the second phase will gradually migrate Kibana to Concurrent mode (`createRoot`) (exact plan is tbd). Upgrade is intended to be non-breaking and behave just like React@17, but it still requires thorough testing from all teams that own UI to discover any potential critical UI issues. The testing was done in https://github.com/elastic/kibana/issues/203114. Most of the breaking work was completed in previous PRs and this PR only includes minor breaking jest tests tweaks / snapshots updates ### Backports: - This won't be backported to 9.0 - We will discuss if we should backport this to 8.x ### Risks Kibana’s UI functional tests coverage and significant manual testing that was done by a lot of teams in https://github.com/elastic/kibana/issues/203114 gives us a lot of confidence. However, since this was a large internal change for React they still could be issues hidden in "remote" parts of UIs, think of blank screens, error splash screens, unresponsive pages, new errors in the console, unpredictable UI behavior (like laggy text inputs that skip letters when typing fast). --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Konrad Szwarc <konrad.szwarc@elastic.co> |
||
|
dab569b70a
|
[ES|QL] Introduces a new package for esql types (#212754)
## Summary The esql types are around many packages and plugins creating problems either with the bundle size or cyclic dependencies. This PR is moving some of them on the esql-types package. I am going to move more there in follow up PRs. (I decided to rename it as it makes more sense to have a generic one for esql rather one only for the variables) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com> |
||
|
837667d342
|
Update @elastic/kibana-cloud-security-posture dependencies (main) (#208427)
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [@mswjs/http-middleware](https://mswjs.io) ([source](https://redirect.github.com/mswjs/http-middleware)) | devDependencies | patch | [`0.10.1` -> `0.10.3`](https://renovatebot.com/diffs/npm/@mswjs%2fhttp-middleware/0.10.1/0.10.3) | | | [msw](https://mswjs.io) ([source](https://redirect.github.com/mswjs/msw)) | devDependencies | minor | [`~2.5.2` -> `~2.7.0`](https://renovatebot.com/diffs/npm/msw/2.5.2/2.7.0) | `2.7.3` (+2) | --- ### Release Notes <details> <summary>mswjs/http-middleware (@​mswjs/http-middleware)</summary> ### [`v0.10.3`](https://redirect.github.com/mswjs/http-middleware/releases/tag/v0.10.3) [Compare Source](https://redirect.github.com/mswjs/http-middleware/compare/v0.10.2...v0.10.3) #### v0.10.3 (2025-01-12) ##### Bug Fixes - remove unused `parserOptions`, fix handlers type ([#​51](https://redirect.github.com/mswjs/http-middleware/issues/51)) ([`372fd85`]( |
||
|
5270cc621f
|
[Index Management + ML] Remove unused code from index management and ml (#211266)
## Summary This PR includes - Remove unused package from kibana - Remove references from index_management and ml plugins - Update translations file - Delete skipped tests Closes https://github.com/elastic/kibana/issues/204507 ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [X] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
ac01a0c3ed
|
Upgrade EUI to v99.3.0-borealis.0 (#211671)
`99.2.0-borealis.0` ⏩ `99.3.0-borealis.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) --- ## [`v99.3.0`](https://github.com/elastic/eui/releases/v99.3.0) - Updated table components to support adding tooltips to header cells ([#8273](https://github.com/elastic/eui/pull/8273)) - Added `columns.nameTooltip` on `EuiBasicTable` - Added `tooltipProps` prop on `EuiTableHeaderCell` - Added `accent` color option to `EuiCallOut` ([#8303](https://github.com/elastic/eui/pull/8303)) - Updated `EuiInlineEditForm`'s `onCancel` prop type to allow uncontrolled mode usage ([#8307](https://github.com/elastic/eui/pull/8307)) - Added ES|QL syntax highlighting for `EuiCode`, `EuiCodeBlock`, `EuiMarkdownFormat`, and `EuiMarkdownEditor` components. ([#8317](https://github.com/elastic/eui/pull/8317)) - Updated `EuiAccordion` to prevent content from being transitioned on initial render when `initialIsOpen=true` ([#8327](https://github.com/elastic/eui/pull/8327)) **Bug fixes** - Fixed a bug on `EuiSuperDatePicker` where pasting an absolute date would append the date instead of replace it ([#8311](https://github.com/elastic/eui/pull/8311)) --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
77cb914582
|
Update langchain (main) (#205553)
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [@langchain/aws](https://redirect.github.com/langchain-ai/langchainjs/tree/main/libs/langchain-aws/) ([source](https://redirect.github.com/langchain-ai/langchainjs)) | dependencies | patch | [`^0.1.2` -> `^0.1.3`](https://renovatebot.com/diffs/npm/@langchain%2faws/0.1.2/0.1.3) | | | [@langchain/community](https://redirect.github.com/langchain-ai/langchainjs/tree/main/libs/langchain-community/) ([source](https://redirect.github.com/langchain-ai/langchainjs)) | dependencies | patch | [`0.3.14` -> `0.3.29`](https://renovatebot.com/diffs/npm/@langchain%2fcommunity/0.3.14/0.3.29) | `0.3.30` | | [@langchain/core](https://redirect.github.com/langchain-ai/langchainjs/tree/main/langchain-core/) ([source](https://redirect.github.com/langchain-ai/langchainjs)) | resolutions | patch | [`^0.3.16` -> `^0.3.39`](https://renovatebot.com/diffs/npm/@langchain%2fcore/0.3.16/0.3.39) | `0.3.40` | | [@langchain/core](https://redirect.github.com/langchain-ai/langchainjs/tree/main/langchain-core/) ([source](https://redirect.github.com/langchain-ai/langchainjs)) | dependencies | patch | [`^0.3.16` -> `^0.3.39`](https://renovatebot.com/diffs/npm/@langchain%2fcore/0.3.16/0.3.39) | `0.3.40` | | [@langchain/google-common](https://redirect.github.com/langchain-ai/langchainjs/tree/main/libs/langchain-google-common/) ([source](https://redirect.github.com/langchain-ai/langchainjs)) | resolutions | patch | [`^0.1.1` -> `^0.1.8`](https://renovatebot.com/diffs/npm/@langchain%2fgoogle-common/0.1.1/0.1.8) | | | [@langchain/google-common](https://redirect.github.com/langchain-ai/langchainjs/tree/main/libs/langchain-google-common/) ([source](https://redirect.github.com/langchain-ai/langchainjs)) | dependencies | patch | [`^0.1.1` -> `^0.1.8`](https://renovatebot.com/diffs/npm/@langchain%2fgoogle-common/0.1.1/0.1.8) | | | [@langchain/google-genai](https://redirect.github.com/langchain-ai/langchainjs/tree/main/libs/langchain-google-genai/) ([source](https://redirect.github.com/langchain-ai/langchainjs)) | dependencies | patch | [`^0.1.2` -> `^0.1.8`](https://renovatebot.com/diffs/npm/@langchain%2fgoogle-genai/0.1.2/0.1.8) | | | [@langchain/google-vertexai](https://redirect.github.com/langchain-ai/langchainjs/tree/main/libs/langchain-google-vertexai/) ([source](https://redirect.github.com/langchain-ai/langchainjs)) | dependencies | patch | [`^0.1.0` -> `^0.1.8`](https://renovatebot.com/diffs/npm/@langchain%2fgoogle-vertexai/0.1.0/0.1.8) | | | [@langchain/langgraph](https://redirect.github.com/langchain-ai/langgraphjs) | dependencies | patch | [`0.2.19` -> `0.2.45`](https://renovatebot.com/diffs/npm/@langchain%2flanggraph/0.2.19/0.2.45) | `0.2.46` | | [@langchain/openai](https://redirect.github.com/langchain-ai/langchainjs/tree/main/libs/langchain-openai/) ([source](https://redirect.github.com/langchain-ai/langchainjs)) | dependencies | minor | [`^0.3.11` -> `^0.4.3`](https://renovatebot.com/diffs/npm/@langchain%2fopenai/0.3.11/0.4.3) | `0.4.4` | | [langchain](https://redirect.github.com/langchain-ai/langchainjs/tree/main/langchain/) ([source](https://redirect.github.com/langchain-ai/langchainjs)) | resolutions | patch | [`^0.3.5` -> `^0.3.15`](https://renovatebot.com/diffs/npm/langchain/0.3.5/0.3.15) | | | [langchain](https://redirect.github.com/langchain-ai/langchainjs/tree/main/langchain/) ([source](https://redirect.github.com/langchain-ai/langchainjs)) | dependencies | patch | [`^0.3.5` -> `^0.3.15`](https://renovatebot.com/diffs/npm/langchain/0.3.5/0.3.15) | | --- ### Release Notes <details> <summary>langchain-ai/langchainjs (@​langchain/aws)</summary> ### [`v0.1.3`](https://redirect.github.com/langchain-ai/langchainjs/releases/tag/0.1.3) [Compare Source](https://redirect.github.com/langchain-ai/langchainjs/compare/0.1.2...0.1.3) #### What's Changed - langchain\[patch]: Release 0.1.2 by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3973](https://redirect.github.com/langchain-ai/langchainjs/pull/3973) - docs\[patch]: Refactor memory docs by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3974](https://redirect.github.com/langchain-ai/langchainjs/pull/3974) - docs\[patch]: Fix bad import in docs by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3980](https://redirect.github.com/langchain-ai/langchainjs/pull/3980) - core\[patch]: Adjust iterable readable stream typing by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3979](https://redirect.github.com/langchain-ai/langchainjs/pull/3979) - Update openai to ^4.24.2 and include logprobs in `generationInfo` by [@​functorism](https://redirect.github.com/functorism) in [https://github.com/langchain-ai/langchainjs/pull/3981](https://redirect.github.com/langchain-ai/langchainjs/pull/3981) - openai\[patch]: Release 0.0.11 by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3986](https://redirect.github.com/langchain-ai/langchainjs/pull/3986) - cloudflare\[major]: Add integration package, fix Vectorize for latest workers by [@​kristianfreeman](https://redirect.github.com/kristianfreeman) in [https://github.com/langchain-ai/langchainjs/pull/3982](https://redirect.github.com/langchain-ai/langchainjs/pull/3982) - docs\[patch]: Add DLAI to tutorials in docs by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3994](https://redirect.github.com/langchain-ai/langchainjs/pull/3994) - allow empty arrays for Weaviate metadata by [@​the-powerpointer](https://redirect.github.com/the-powerpointer) in [https://github.com/langchain-ai/langchainjs/pull/3991](https://redirect.github.com/langchain-ai/langchainjs/pull/3991) - ci\[patch]: Fix CI by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4001](https://redirect.github.com/langchain-ai/langchainjs/pull/4001) - community\[minor]: Upgrade Astra client and add support for namespaces by [@​mfortman11](https://redirect.github.com/mfortman11) in [https://github.com/langchain-ai/langchainjs/pull/3997](https://redirect.github.com/langchain-ai/langchainjs/pull/3997) - community\[patch]: Add upsert by id to MongoDB by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3999](https://redirect.github.com/langchain-ai/langchainjs/pull/3999) - community\[patch]: Release 0.0.17 by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4002](https://redirect.github.com/langchain-ai/langchainjs/pull/4002) - docs\[minor]: togetherai embeddings docs by [@​bracesproul](https://redirect.github.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3995](https://redirect.github.com/langchain-ai/langchainjs/pull/3995) - Fix typo in createHistoryAwareRetriever documentation by [@​intergalacticmammoth](https://redirect.github.com/intergalacticmammoth) in [https://github.com/langchain-ai/langchainjs/pull/4016](https://redirect.github.com/langchain-ai/langchainjs/pull/4016) - Add stacktrace to tracer errors by [@​hinthornw](https://redirect.github.com/hinthornw) in [https://github.com/langchain-ai/langchainjs/pull/4010](https://redirect.github.com/langchain-ai/langchainjs/pull/4010) - update sql_utils: add oracle integration by [@​matheus-santos-souza](https://redirect.github.com/matheus-santos-souza) in [https://github.com/langchain-ai/langchainjs/pull/3966](https://redirect.github.com/langchain-ai/langchainjs/pull/3966) - core\[minor]: Move function calling definitions and utils to core by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4023](https://redirect.github.com/langchain-ai/langchainjs/pull/4023) - core\[patch]: Add docstring, small tweak by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4024](https://redirect.github.com/langchain-ai/langchainjs/pull/4024) - core\[patch]: Release 0.1.13 by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4026](https://redirect.github.com/langchain-ai/langchainjs/pull/4026) - langchain\[patch], openai\[patch]: Use new function calling utils in all docs by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4025](https://redirect.github.com/langchain-ai/langchainjs/pull/4025) - openai\[patch]: Release 0.0.12 by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4028](https://redirect.github.com/langchain-ai/langchainjs/pull/4028) - langchain\[patch]: Bump dep by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4029](https://redirect.github.com/langchain-ai/langchainjs/pull/4029) - langchain\[patch]: Update yarn.lock by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/4030](https://redirect.github.com/langchain-ai/langchainjs/pull/4030) #### New Contributors - [@​functorism](https://redirect.github.com/functorism) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3981](https://redirect.github.com/langchain-ai/langchainjs/pull/3981) - [@​intergalacticmammoth](https://redirect.github.com/intergalacticmammoth) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/4016](https://redirect.github.com/langchain-ai/langchainjs/pull/4016) - [@​matheus-santos-souza](https://redirect.github.com/matheus-santos-souza) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3966](https://redirect.github.com/langchain-ai/langchainjs/pull/3966) **Full Changelog**: https://github.com/langchain-ai/langchainjs/compare/0.1.2...0.1.3 </details> <details> <summary>langchain-ai/langgraphjs (@​langchain/langgraph)</summary> ### [`v0.2.45`](https://redirect.github.com/langchain-ai/langgraphjs/releases/tag/0.2.45) [Compare Source](https://redirect.github.com/langchain-ai/langgraphjs/compare/0.2.44...0.2.45) #### What's Changed - release(langgraph): 0.2.44 by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/829](https://redirect.github.com/langchain-ai/langgraphjs/pull/829) - Update README.md by [@​eyurtsev](https://redirect.github.com/eyurtsev) in [https://github.com/langchain-ai/langgraphjs/pull/831](https://redirect.github.com/langchain-ai/langgraphjs/pull/831) - ci: update upload-arfifact by [@​vbarda](https://redirect.github.com/vbarda) in [https://github.com/langchain-ai/langgraphjs/pull/832](https://redirect.github.com/langchain-ai/langgraphjs/pull/832) - docs: third party packages.yml by [@​eyurtsev](https://redirect.github.com/eyurtsev) in [https://github.com/langchain-ai/langgraphjs/pull/840](https://redirect.github.com/langchain-ai/langgraphjs/pull/840) - Update functional_api.md by [@​eyurtsev](https://redirect.github.com/eyurtsev) in [https://github.com/langchain-ai/langgraphjs/pull/833](https://redirect.github.com/langchain-ai/langgraphjs/pull/833) - fix(docs/etc): Fix miscellaneous typos by [@​nick-w-nick](https://redirect.github.com/nick-w-nick) in [https://github.com/langchain-ai/langgraphjs/pull/837](https://redirect.github.com/langchain-ai/langgraphjs/pull/837) - fix(docs): adjust list appearance in README by [@​ryukez](https://redirect.github.com/ryukez) in [https://github.com/langchain-ai/langgraphjs/pull/834](https://redirect.github.com/langchain-ai/langgraphjs/pull/834) - fix(docs): adjust list appearance in tutorials/quickstart by [@​ryukez](https://redirect.github.com/ryukez) in [https://github.com/langchain-ai/langgraphjs/pull/835](https://redirect.github.com/langchain-ai/langgraphjs/pull/835) - fix(docs): crag wrong tool invocation by [@​SeonMyungLim](https://redirect.github.com/SeonMyungLim) in [https://github.com/langchain-ai/langgraphjs/pull/836](https://redirect.github.com/langchain-ai/langgraphjs/pull/836) - Interrupt banner by [@​tanushree-sharma](https://redirect.github.com/tanushree-sharma) in [https://github.com/langchain-ai/langgraphjs/pull/842](https://redirect.github.com/langchain-ai/langgraphjs/pull/842) - Update plans.md by [@​eyurtsev](https://redirect.github.com/eyurtsev) in [https://github.com/langchain-ai/langgraphjs/pull/843](https://redirect.github.com/langchain-ai/langgraphjs/pull/843) - generate llms-text by [@​eyurtsev](https://redirect.github.com/eyurtsev) in [https://github.com/langchain-ai/langgraphjs/pull/844](https://redirect.github.com/langchain-ai/langgraphjs/pull/844) - ci: add llms-text by [@​eyurtsev](https://redirect.github.com/eyurtsev) in [https://github.com/langchain-ai/langgraphjs/pull/845](https://redirect.github.com/langchain-ai/langgraphjs/pull/845) - fix(langgraph): Dedupe input (right-side) messages in messageStateReducer by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langgraphjs/pull/846](https://redirect.github.com/langchain-ai/langgraphjs/pull/846) - fix(langgraph): Update messagesStateReducer behavior to apply rightMessages in order by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langgraphjs/pull/847](https://redirect.github.com/langchain-ai/langgraphjs/pull/847) #### New Contributors - [@​eyurtsev](https://redirect.github.com/eyurtsev) made their first contribution in [https://github.com/langchain-ai/langgraphjs/pull/831](https://redirect.github.com/langchain-ai/langgraphjs/pull/831) - [@​nick-w-nick](https://redirect.github.com/nick-w-nick) made their first contribution in [https://github.com/langchain-ai/langgraphjs/pull/837](https://redirect.github.com/langchain-ai/langgraphjs/pull/837) - [@​ryukez](https://redirect.github.com/ryukez) made their first contribution in [https://github.com/langchain-ai/langgraphjs/pull/834](https://redirect.github.com/langchain-ai/langgraphjs/pull/834) - [@​SeonMyungLim](https://redirect.github.com/SeonMyungLim) made their first contribution in [https://github.com/langchain-ai/langgraphjs/pull/836](https://redirect.github.com/langchain-ai/langgraphjs/pull/836) - [@​tanushree-sharma](https://redirect.github.com/tanushree-sharma) made their first contribution in [https://github.com/langchain-ai/langgraphjs/pull/842](https://redirect.github.com/langchain-ai/langgraphjs/pull/842) **Full Changelog**: https://github.com/langchain-ai/langgraphjs/compare/0.2.44...0.2.45 ### [`v0.2.44`](https://redirect.github.com/langchain-ai/langgraphjs/releases/tag/0.2.44) [Compare Source](https://redirect.github.com/langchain-ai/langgraphjs/compare/0.2.43...0.2.44) #### What's Changed - Release 0.2.43 by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langgraphjs/pull/821](https://redirect.github.com/langchain-ai/langgraphjs/pull/821) - docs: Optimize notebook by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langgraphjs/pull/820](https://redirect.github.com/langchain-ai/langgraphjs/pull/820) - docs: update README by [@​vbarda](https://redirect.github.com/vbarda) in [https://github.com/langchain-ai/langgraphjs/pull/822](https://redirect.github.com/langchain-ai/langgraphjs/pull/822) - docs: small README update by [@​vbarda](https://redirect.github.com/vbarda) in [https://github.com/langchain-ai/langgraphjs/pull/823](https://redirect.github.com/langchain-ai/langgraphjs/pull/823) - chore: bump rollup from 4.32.0 to 4.32.1 in the npm_and_yarn group across 1 directory by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/langchain-ai/langgraphjs/pull/824](https://redirect.github.com/langchain-ai/langgraphjs/pull/824) - release(checkpoint): 0.0.15 by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/825](https://redirect.github.com/langchain-ai/langgraphjs/pull/825) - chore(checkpoint-mongodb): release 0.0.5 by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/826](https://redirect.github.com/langchain-ai/langgraphjs/pull/826) - release(langgraph-checkpoint-sqlite): 0.1.4 by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/827](https://redirect.github.com/langchain-ai/langgraphjs/pull/827) - docs: update to AIMessage.tool_calls by [@​regchiu](https://redirect.github.com/regchiu) in [https://github.com/langchain-ai/langgraphjs/pull/784](https://redirect.github.com/langchain-ai/langgraphjs/pull/784) - release(langgraph-checkpoint-postgres): 0.0.3 by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/828](https://redirect.github.com/langchain-ai/langgraphjs/pull/828) #### New Contributors - [@​regchiu](https://redirect.github.com/regchiu) made their first contribution in [https://github.com/langchain-ai/langgraphjs/pull/784](https://redirect.github.com/langchain-ai/langgraphjs/pull/784) **Full Changelog**: https://github.com/langchain-ai/langgraphjs/compare/0.2.43...0.2.44 ### [`v0.2.43`](https://redirect.github.com/langchain-ai/langgraphjs/releases/tag/0.2.43) [Compare Source](https://redirect.github.com/langchain-ai/langgraphjs/compare/0.2.42...0.2.43) #### What's Changed - Release 0.2.42 by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/816](https://redirect.github.com/langchain-ai/langgraphjs/pull/816) - fix(func): expose input / output types in pregel to support studio by [@​dqbd](https://redirect.github.com/dqbd) in [https://github.com/langchain-ai/langgraphjs/pull/811](https://redirect.github.com/langchain-ai/langgraphjs/pull/811) - fix(langgraph): Export types for portability by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langgraphjs/pull/819](https://redirect.github.com/langchain-ai/langgraphjs/pull/819) **Full Changelog**: https://github.com/langchain-ai/langgraphjs/compare/0.2.42...0.2.43 ### [`v0.2.42`](https://redirect.github.com/langchain-ai/langgraphjs/releases/tag/0.2.42) [Compare Source](https://redirect.github.com/langchain-ai/langgraphjs/compare/0.2.41...0.2.42) #### What's Changed - Release 0.2.41 by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langgraphjs/pull/789](https://redirect.github.com/langchain-ai/langgraphjs/pull/789) - patch(langgraph): Refactor pregel loop to use new `PregelRunner` class, ported from python LangGraph. by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/791](https://redirect.github.com/langchain-ai/langgraphjs/pull/791) - add how-to guide on structured output prebuilt react agent by [@​isahers1](https://redirect.github.com/isahers1) in [https://github.com/langchain-ai/langgraphjs/pull/794](https://redirect.github.com/langchain-ai/langgraphjs/pull/794) - fix(langgraph): abort graph execution when config.signal is aborted by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/795](https://redirect.github.com/langchain-ai/langgraphjs/pull/795) - fix(langgraph): make sure the pregel loop aborts on cancellation by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/797](https://redirect.github.com/langchain-ai/langgraphjs/pull/797) - docs: update readme and landing page by [@​ccurme](https://redirect.github.com/ccurme) in [https://github.com/langchain-ai/langgraphjs/pull/802](https://redirect.github.com/langchain-ai/langgraphjs/pull/802) - docs: Update LangGraph.js READMEs by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langgraphjs/pull/804](https://redirect.github.com/langchain-ai/langgraphjs/pull/804) - docs: fix a broken link by [@​vbarda](https://redirect.github.com/vbarda) in [https://github.com/langchain-ai/langgraphjs/pull/808](https://redirect.github.com/langchain-ai/langgraphjs/pull/808) - docs: Update docs for functional API by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langgraphjs/pull/809](https://redirect.github.com/langchain-ai/langgraphjs/pull/809) - feat(langgraph): functional API by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/793](https://redirect.github.com/langchain-ai/langgraphjs/pull/793) - docs: Pull LangGraph Cloud docs on build, update cloud and local server guides by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langgraphjs/pull/813](https://redirect.github.com/langchain-ai/langgraphjs/pull/813) - feat: Allow checkpointer as an alias to createReactAgent by [@​jacoblee93](https://redirect.github.com/jacoblee93) in [https://github.com/langchain-ai/langgraphjs/pull/805](https://redirect.github.com/langchain-ai/langgraphjs/pull/805) - build(deps): bump the npm_and_yarn group across 1 directory with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/langchain-ai/langgraphjs/pull/806](https://redirect.github.com/langchain-ai/langgraphjs/pull/806) - docs: update concepts/howto for Command by [@​vbarda](https://redirect.github.com/vbarda) in [https://github.com/langchain-ai/langgraphjs/pull/800](https://redirect.github.com/langchain-ai/langgraphjs/pull/800) - fix task/entrypoint func type by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/814](https://redirect.github.com/langchain-ai/langgraphjs/pull/814) - release(checkpoint): 0.0.14 by [@​benjamincburns](https://redirect.github.com/benjamincburns) in [https://github.com/langchain-ai/langgraphjs/pull/815](https://redirect.github.com/langchain-ai/langgraphjs/pull/815) #### New Contributors - [@​ccurme](https://redirect.github.com/ccurme) made their first contribution in [https://github.com/langchain-ai/langgraphjs/pull/802](https://redirect.github.com/langchain-ai/langgraphjs/pull/802) **Full Changelog**: https://github.com/langchain-ai/langgraphjs/compare/0.2.41...0.2.42 ### [`v0.2.41`](https://redirect.github.com/langchain-ai/langgraphjs/releases/tag/0.2.41) [Compare Source]( |
||
|
346e197f89
|
[Kibana] upgrade @elastic/synthetics to ^1.18.0 (#212426)
## Summary Related to https://github.com/elastic/kibana/pull/211015 Manually ran the synthetics test within the synthetics plugin to smoke test. Upgrades @elastic/synthetics to ^1.18.0 |
||
|
52ab19db2d
|
Upgrade ES client to 9.0.0-alpha.3 (#208776)
## Summary Updating the ES client to 9.0. Resolves #116102 ## What changes? **Breaking change**: `body` has been removed. Most of the changes are about bringing all the content inside the body as a root attribute to the API params: ```diff const response = await client.search({ index: 'test', - body: { query: { match_all: {} } - } }) ``` For this reason, enabling the "Hide whitespace changes" option when reviewing is recommended. Some exceptions to this rule: * Bulk APIs replace the `body` array with `operations` array (direct replacement) * Index Put Settings API replace `body` array with `settings` (direct replacement) * Msearch replaces the `body` array with `searches` array (direct replacement) * Document Index API replaces `body` with `document` (direct replacement) * Create Repository replaces `body` with `repository` (direct replacement) Because of a known issue in the client (https://github.com/elastic/elasticsearch-js/issues/2584), there's still an escape hatch to send data in the body in case the specific use case requires it via `// @ts-expect-error elasticsearch@9.0.0 https://github.com/elastic/elasticsearch-js/issues/2584`, but it shouldn't be abused because we lose types. In this PR we've used it in those scenarios where we reuse the response of a GET as the body of a PUT/POST. ### Other changes * `estypes` can be imported from the root of the library as `import type { estypes } from '@elastic/elasticsearch';` * `estypesWithBody` have been removed * `requestTimeout`'s 30s default has been removed in the client. This PR explicitly adds the setting in all client usages. ### Identify risks - [x] The client places unknown properties as querystring, risking body params leaking there, and causing 400 errors from ES => Solved by forcing `body` usage there via `// @ts-expect-error elasticsearch@9.0.0 https://github.com/elastic/elasticsearch-js/issues/2584`. The next version of the client will address this. - [x] We need to run the MKI tests to make sure that we're not breaking anything there => https://elastic.slack.com/archives/C04HT4P1YS3/p1739528112482629?thread_ts=1739480136.231439&cid=C04HT4P1YS3 --------- Co-authored-by: Gloria Hornero <gloria.hornero@elastic.co> |
||
|
00d07af37f
|
Update renovate.json and remove unnecessary deps (#212214)
## Summary This PR removes the duplicated `peggy` package, installed both in `dependencies` and `devDependencies`, it also removes `@types/dagre` as it was not needed. @elastic/kibana-operations will now be the maintainer for `peggy` package. |
||
|
a41badf964
|
SKA: Misc cleanup and enhancements (#212207)
## Summary * Remove some old paths pointing to `packages/kbn-pm` (no longer exists). * ~Fix group and visibility for `@kbn/streams-app-wrapper-plugin`~. (done in https://github.com/elastic/kibana/pull/212210) * Update `scripts/relocate` logic with latest enhancements. * Convert `@kbn/observability-synthetics-test-data` folder name to camel-case (messes up with pre-commit hook). |
||
|
6a7c904f92
|
SKA: Relocate "platform" packages that remain on /packages (#208704)
## Summary The `/packages` folder at the root of the Kibana repository used to contain a lot of packages. In the context of SKA, they have been gradually moved to various locations: * `src/platform/packages` * `x-pack/platform/packages` * `src/core/packages` Currently, only `devOnly: true` packages are left in this folder. This comprises libraries for CLI scripts as well as testing utilities. With this PR, we are moving ~half of these packages under `src/platform/packages/(private|shared)/`. In particular, we are moving those packages that are being used from platform and/or solutions. Since they are `"devOnly": true`, this means they are ONLY used from tests, cypress tests, storybook configs, ./scripts/ folders inside some modules, or other non-prod-time logic. Nonetheless, they are effectively referenced from platform and/or solutions code, hence I decided they should be placed under `platform` folders. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
1d130d256e
|
Update dependency @redocly/cli to ^1.29.0 (main) (#212048) | ||
|
8a9bb363aa
|
🌊 Move streams to platform (#211893)
This PR moves the `streams` and `streams_app` plugins into platform so they can be used in other solutions in the future. This PR is not actually making it available in other solutions yet since we are still discussing the release plans. ## Inlined helpers As discussed before, this PR inlines a couple simple helper methods for query building, time zone normalization, a header portal helper and a data plugin timefilter state react integration hook as there is no good place for these outside of the observability solution. ## streams_app plugin The streams_app plugin is not actually registering anything, instead it simply exports a component that renders the app which needs to be consumed by another plugin to turn it into a registered app - for now, `observability_streams_wrapper` takes over this job. ## observability_streams_wrapper plugin While 99% of the streams logic is moved into the `platform/shared/streams_app`, two bits are left behind in `observability_streams_wrapper`: * The actual app registration * Integration with the observability_shared `PageTemplate` component Once we decide streams should be displayed outside of the observability solution, it's probably not necessary anymore to decouple app definition and registration like this because it will always be visible no matter the solution. Once this is the case, the navigation registration can be moved into the central `observability` plugin, like it's handled with other apps like infra. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
876959fb01
|
Update dependency xstate to ^4.38.3 (main) (#211786)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[xstate](https://redirect.github.com/statelyai/xstate/tree/main/packages/core#readme)
([source](https://redirect.github.com/statelyai/xstate)) | dependencies
| patch | [`^4.38.2` ->
`^4.38.3`](https://renovatebot.com/diffs/npm/xstate/4.38.2/4.38.3) |
---
### Release Notes
<details>
<summary>statelyai/xstate (xstate)</summary>
###
[`v4.38.3`](https://redirect.github.com/statelyai/xstate/releases/tag/xstate%404.38.3)
[Compare
Source](https://redirect.github.com/statelyai/xstate/compare/xstate@4.38.2...xstate@4.38.3)
##### Patch Changes
- [#​4380](https://redirect.github.com/statelyai/xstate/pull/4380)
[`e9e065822`](
|
||
|
8ab9b66a80
|
Update dependency @openfeature/core to ^1.7.1 (main) (#212047) | ||
|
cff1747a76
|
SKA: Relocate core-test-helpers (#212029)
## Summary These where the only packages under `src/dev/packages`. The goal long term is to refactor the code under `src/dev` and to migrate it to one (or multiple) packages. Thus, we're moving them to `src/core/test-helpers/`, which already exists and contains a bunch of test-helpers. #### 2 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/core-test-helpers-kbn-server` | `src/core/test-helpers/kbn-server` | | `@kbn/core-test-helpers-model-versions` | `src/core/test-helpers/model-versions` | <details > <summary>Updated references</summary> ``` ./.github/codeql/codeql-config.yml ./package.json ./packages/kbn-ts-projects/config-paths.json ./src/core/system/tsconfig.type_check.json ./src/core/test-helpers/kbn-server/jest.config.js ./src/core/test-helpers/model-versions/jest.config.js ./src/dev/tsconfig.type_check.json ./src/platform/packages/private/kbn-repo-packages/package-map.json ./src/plugins/kibana_usage_collection/tsconfig.type_check.json ./src/plugins/usage_collection/tsconfig.type_check.json ./tsconfig.base.json ./tsconfig.base.type_check.json ./tsconfig.refs.json ./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json ./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json ./x-pack/plugins/actions/tsconfig.type_check.json ./x-pack/plugins/alerting/tsconfig.type_check.json ./x-pack/plugins/task_manager/tsconfig.type_check.json ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` src/core/test-helpers/kbn-server/jest.config.js:12 src/core/test-helpers/kbn-server/tsconfig.json:2 src/core/test-helpers/model-versions/jest.config.js:12 src/core/test-helpers/model-versions/tsconfig.json:2 ``` </details> |
||
|
705df212b8
|
[Discover][Tabs] New tabs package and initial implementation of components (#210674)
- Closes https://github.com/elastic/kibana/issues/210500 - Closes https://github.com/elastic/kibana/issues/210502 ## Summary This PR introduces a new package `@kbn/unified-tabs` which includes an initial implementation for tabs UI/UX which we are planning to add to Discover. - [x] New package - [x] Storybook support - [x] Initial styles and interactions - [x] New example plugin for testing together with UnifiedSearch bar - [x] Minimal tests ### In the new Storybook Start Storybook with `NODE_OPTIONS="--openssl-legacy-provider" node scripts/storybook unified_tabs` and navigate to `http://localhost:9001`. <img width="1024" alt="Screenshot 2025-02-12 at 13 35 46" src="https://github.com/user-attachments/assets/0723b0c4-c3f7-44f8-af8d-f68d7a7b6ea8" /> ### In the new Unified Tabs example plugin Start Kibana with `yarn start --run-examples`. Then navigate to the Unified Tabs example plugin `http://localhost:5601/app/unifiedTabsExamples`. <img width="1221" alt="Screenshot 2025-02-12 at 16 11 55" src="https://github.com/user-attachments/assets/2edff817-0aae-424c-978c-c4c67450c9eb" /> <img width="1219" alt="Screenshot 2025-02-12 at 16 13 57" src="https://github.com/user-attachments/assets/2e6e6b0b-88e9-4689-a175-9612e8507535" />  ### Checklist - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [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) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Davis McPhee <davismcphee@hotmail.com> |
||
|
f034410e80
|
Update XState5 (main) (#211784)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: Felix Stürmer <felix.stuermer@elastic.co> |
||
|
cb9c5f21b2
|
Move storage adapter and traced ES client into dedicated package (#211578)
The storage adapter helper is a very generic package. This PR moves it out of the observability server utils into a dedicated package to better reflect this and to be able to use it from non-observability contexts. The same applies to the observability es client. This PR moves it as well and renames it to `TracedEsClient` in the same way. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
69a87194d1
|
SKA: Fix kebab-case issues in security-threat-hunting packages (#211349)
## 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/securitysolution-data-table` | `x-pack/solutions/security/packages/data-table` | | `@kbn/ecs-data-quality-dashboard` | `x-pack/solutions/security/packages/ecs-data-quality-dashboard` | | `@kbn/security-solution-side-nav` | `x-pack/solutions/security/packages/side-nav` | <details > <summary>Updated references</summary> ``` ./.i18nrc.json ./package.json ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/private/kbn-repo-packages/package-map.json ./tsconfig.base.json ./tsconfig.base.type_check.json ./tsconfig.refs.json ./x-pack/solutions/security/packages/data-table/jest.config.js ./x-pack/solutions/security/packages/ecs-data-quality-dashboard/jest.config.js ./x-pack/solutions/security/packages/side-nav/jest.config.js ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` x-pack/solutions/security/packages/data-table/jest.config.js:11 x-pack/solutions/security/packages/data-table/tsconfig.json:2 x-pack/solutions/security/packages/ecs-data-quality-dashboard/jest.config.js:24 x-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:10 x-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:2 x-pack/solutions/security/packages/side-nav/jest.config.js:10 x-pack/solutions/security/packages/side-nav/tsconfig.json:2 ``` </details> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
8f7f6a7a81
|
SKA: Unify serverless modules + storybook config (#211570)
## Summary As part of the SKA, some groups of modules have been broken-down and relocated in different folders, negatively impacting DX. This is the case for `serverless` modules, that are spread across: ``` - packages/serverless # storybook config - src/platform/packages/private/serverless - src/platform/packages/shared/serverless ``` The goal of this PR is to unify them back under `src/platform/packages/shared/severless`. In this scenario, I believe the simplification is worth the trade off. CC @elastic/kibana-management @elastic/appex-sharedux WDYT? --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
b2b3fa9a84
|
SKA: Unify kbn-management folders + storybook config (#211564)
## Summary As part of the SKA, some groups of modules have been broken-down and relocated in different folders, negatively impacting DX. This is the case for `kbn-management` modules, that are spread across: ``` - packages/kbn-management (storybook config) - src/platform/packages/private/kbn-management - src/platform/packages/shared/kbn-management ``` The goal of this PR is to unify them back under `src/platform/packages/shared/kbn-management`. In this scenario, I believe the simplification is worth the trade off. CC @elastic/kibana-management WDYT? Co-authored-by: Matthew Kime <matt@mattki.me> |
||
|
dee6931a3e
|
Update ftr (main) (#208934)
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [chromedriver](https://redirect.github.com/giggio/node-chromedriver) | devDependencies | major | [`^132.0.0` -> `^133.0.0`](https://renovatebot.com/diffs/npm/chromedriver/132.0.1/133.0.0) | `133.0.1` | | [selenium-webdriver](https://redirect.github.com/SeleniumHQ/selenium/tree/trunk/javascript/node/selenium-webdriver#readme) ([source](https://redirect.github.com/SeleniumHQ/selenium)) | devDependencies | patch | [`^4.28.0` -> `^4.28.1`](https://renovatebot.com/diffs/npm/selenium-webdriver/4.28.1/4.28.1) | | --- ### Release Notes <details> <summary>giggio/node-chromedriver (chromedriver)</summary> ### [`v133.0.0`](https://redirect.github.com/giggio/node-chromedriver/compare/132.0.2...133.0.0) [Compare Source](https://redirect.github.com/giggio/node-chromedriver/compare/132.0.2...133.0.0) ### [`v132.0.2`](https://redirect.github.com/giggio/node-chromedriver/compare/132.0.1...132.0.2) [Compare Source](https://redirect.github.com/giggio/node-chromedriver/compare/132.0.1...132.0.2) </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://redirect.github.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://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDpza2lwIiwicmVsZWFzZV9ub3RlOnNraXAiXX0=--> Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: Jon <jon@elastic.co> |
||
|
2673b9b93b
|
🌊 Move kbn-streams-schema to platform (#211230)
First part of moving streams into the platform. This PR moves the package only, will stack PRs on top of this. |
||
|
38439bb7e1
|
Upgraded octokit to 21.1.1 (#211450)
## Summary Upgraded octokit to `21.1.1` |
||
|
f6b31b76d3
|
Update OpenFeature (main) (#200273)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@openfeature/server-sdk](https://togithub.com/open-feature/js-sdk) | dependencies | patch | [`^1.16.1` -> `^1.16.2`](https://renovatebot.com/diffs/npm/@openfeature%2fserver-sdk/1.16.1/1.16.2) | | [@openfeature/web-sdk](https://togithub.com/open-feature/js-sdk) | dependencies | patch | [`^1.3.1` -> `^1.3.2`](https://renovatebot.com/diffs/npm/@openfeature%2fweb-sdk/1.3.1/1.3.2) | --- ### Release Notes <details> <summary>open-feature/js-sdk (@​openfeature/server-sdk)</summary> ### [`v1.16.2`]( |
||
|
2dc3eeb443
|
Upgraded vega to 5.26.0 (#211458)
## Summary Upgraded vega to `5.26.0`. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
a91e4fcd08
|
Bump backport to v9.6.6 (#211424)
This bumps backport to 9.6.6. Most notably fixes an issue with Handlebars templates and stripping markdown comments: https://github.com/sorenlouv/backport/compare/v9.6.4...v9.6.6 Also bumped here: https://github.com/elastic/kibana-github-actions/pull/55 |
||
|
171dd6b075
|
SKA: Fix kebab-case issues in obs-ux-management packages (#211312)
## 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). #### 4 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/alerting-rule-utils` | `x-pack/platform/packages/shared/alerting-rule-utils` | | `@kbn/observability-alert-details` | `x-pack/solutions/observability/packages/alert-details` | | `@kbn/observability-alerting-test-data` | `x-pack/solutions/observability/packages/alerting-test-data` | | `@kbn/observability-get-padded-alert-time-range-util` | `x-pack/solutions/observability/packages/get-padded-alert-time-range-util` | <details > <summary>Updated references</summary> ``` ./.i18nrc.json ./package.json ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/private/kbn-repo-packages/package-map.json ./tsconfig.base.json ./x-pack/platform/packages/shared/alerting-rule-utils/jest.config.js ./x-pack/solutions/observability/packages/alert-details/jest.config.js ./x-pack/solutions/observability/packages/alerting-test-data/jest.config.js ./x-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.config.js ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` x-pack/platform/packages/shared/alerting-rule-utils/jest.config.js:10 x-pack/platform/packages/shared/alerting-rule-utils/tsconfig.json:2 x-pack/solutions/observability/packages/alert-details/jest.config.js:10 x-pack/solutions/observability/packages/alert-details/tsconfig.json:2 x-pack/solutions/observability/packages/alerting-test-data/jest.config.js:10 x-pack/solutions/observability/packages/alerting-test-data/tsconfig.json:2 x-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.config.js:10 x-pack/solutions/observability/packages/get-padded-alert-time-range-util/tsconfig.json:2 ``` </details> |
||
|
e527f2b79a
|
SKA: Relocate new response-ops packages (#211241)
## 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/response-ops-alerts-apis` | `src/platform/packages/shared/response-ops/alerts-apis` | | `@kbn/response-ops-alerts-fields-browser` | `src/platform/packages/shared/response-ops/alerts-fields-browser` | | `@kbn/response-ops-alerts-table` | `src/platform/packages/shared/response-ops/alerts-table` | <details > <summary>Updated references</summary> ``` ./package.json ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/private/kbn-repo-packages/package-map.json ./src/platform/packages/shared/response-ops/alerts-apis/jest.config.js ./src/platform/packages/shared/response-ops/alerts-fields-browser/jest.config.js ./src/platform/packages/shared/response-ops/alerts-table/jest.config.js ./tsconfig.base.json ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` src/platform/packages/shared/response-ops/alerts-apis/jest.config.js:12 src/platform/packages/shared/response-ops/alerts-apis/tsconfig.json:2 src/platform/packages/shared/response-ops/alerts-fields-browser/jest.config.js:12 src/platform/packages/shared/response-ops/alerts-fields-browser/tsconfig.json:2 src/platform/packages/shared/response-ops/alerts-table/jest.config.js:12 src/platform/packages/shared/response-ops/alerts-table/tsconfig.json:2 ``` </details> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Umberto Pepato <umbopepato@users.noreply.github.com> |
||
|
0ecbbd52be
|
SKA: Fix kebab-case issues in obs-ux-logs packages (#211347)
## 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/logs-overview` | `x-pack/platform/packages/shared/logs-overview` | <details > <summary>Updated references</summary> ``` ./package.json ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/private/kbn-repo-packages/package-map.json ./tsconfig.base.json ./x-pack/.i18nrc.json ./x-pack/platform/packages/shared/logs-overview/jest.config.js ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` x-pack/platform/packages/shared/logs-overview/jest.config.js:10 x-pack/platform/packages/shared/logs-overview/tsconfig.json:2 ``` </details> |
||
|
11cd98bfc1
|
SKA: Fix kebab-case issues in search-kibana packages (#211348)
## 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/search-shared-ui` | `x-pack/solutions/search/packages/shared-ui` | <details > <summary>Updated references</summary> ``` ./package.json ./packages/kbn-relocate/utils/transforms.ts ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/private/kbn-repo-packages/package-map.json ./tsconfig.base.json ./x-pack/.i18nrc.json ./x-pack/solutions/search/packages/shared-ui/jest.config.js ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` x-pack/solutions/search/packages/shared-ui/jest.config.js:14 x-pack/solutions/search/packages/shared-ui/tsconfig.json:2 ``` </details> |
||
|
299a91c83d
|
SKA: Fix kebab-case issues in obs-ai-assistant packages (#211346)
## 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 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/observability-ai-common` | `x-pack/solutions/observability/packages/observability-ai/observability-ai-common` | | `@kbn/observability-ai-server` | `x-pack/solutions/observability/packages/observability-ai/observability-ai-server` | <details > <summary>Updated references</summary> ``` ./package.json ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/private/kbn-repo-packages/package-map.json ./tsconfig.base.json ./x-pack/solutions/observability/packages/observability-ai/observability-ai-common/jest.config.js ./x-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.config.js ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` x-pack/solutions/observability/packages/observability-ai/observability-ai-common/jest.config.js:10 x-pack/solutions/observability/packages/observability-ai/observability-ai-common/tsconfig.json:2 x-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.config.js:10 x-pack/solutions/observability/packages/observability-ai/observability-ai-server/tsconfig.json:2 ``` </details> |
||
|
89b05458ad
|
SKA: Fix kebab-case issues in cloud-security-posture packages (#211314) | ||
|
239bd8db9b
|
SKA: Fix kebab-case issues in observability-ui packages (#211248)
## 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/observability-utils-browser` | `x-pack/solutions/observability/packages/utils-browser` | | `@kbn/observability-utils-common` | `x-pack/solutions/observability/packages/utils-common` | | `@kbn/observability-utils-server` | `x-pack/solutions/observability/packages/utils-server` | <details > <summary>Updated references</summary> ``` ./package.json ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/private/kbn-repo-packages/package-map.json ./tsconfig.base.json ./x-pack/solutions/observability/packages/utils-browser/jest.config.js ./x-pack/solutions/observability/packages/utils-common/jest.config.js ./x-pack/solutions/observability/packages/utils-server/jest.config.js ./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` x-pack/solutions/observability/packages/utils-browser/jest.config.js:10 x-pack/solutions/observability/packages/utils-browser/tsconfig.json:2 x-pack/solutions/observability/packages/utils-common/jest.config.js:10 x-pack/solutions/observability/packages/utils-common/tsconfig.json:2 x-pack/solutions/observability/packages/utils-server/jest.config.js:10 x-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10 x-pack/solutions/observability/packages/utils-server/tsconfig.json:2 ``` </details> |
||
|
ddd0fdb479
|
[scout] enable eslint plugin playwright (#210666)
## Summary Closes https://github.com/elastic/kibana/issues/21030 It was a quick work to do while we don't have many tests yet. For reviewers: we most likely will review and update the rules to align better with final test design for Scout before GA. I don't think we have to deep dive into what rules are missing, but just to make sure I didn't restrict something important from your perspective. Rules are described in https://github.com/playwright-community/eslint-plugin-playwright?tab=readme-ov-file#rules --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
203bc28478
|
chore(NA): upgrade to webpack 5 (#191106)
### Summary - Closes #89741 This PR contains the resulting work of a massive effort that ports our on top bundler abstraction (called @kbn/optimizer) from Webpack v4 into Webpack v5. It's essential in terms of long term maintenance since v4 was not receiving updates any longer but will also unblock some new features that could be beneficial for our future DevEx endeavours. Next you can find a small list of all the accomplished tasks on this journey. ### Completed Tasks - [x] Upgrade dependencies to match the ones on webpack v5 - [x] Fix null-loader usages - [x] Fix raw-loader usages - [x] Fix file-loader usages - [x] Fix url-loader usages - [x] Fix `@kbn/optimizer-webpack-helpers` to support webpack v5 - [x] Adopt previous webpack v4 polyfill-all strategy with node-polyfill-webpack-plugin - [x] Fix theme-loader on @kbn/optimizer - [x] Migrate configurations and ad-hoc loader options on all webpack configs from v4 to v5 - [x] Fix @kbn/test jest resolver for file-loader cases - [x] Migrate public-path loader on UiSharedDeps - [x] Fix all usages of webpack-merge - [x] Migrate BundleRemoteModule - [x] Migrate BundleRemotesPlugin - [x] Correctly migrate PopulateBundleCachePlugin - [x] Correctly migrate BundleMetricsPlugin - [x] Check if the profiling plugins still work (--profile flag) - [x] Recover if possible the previous webpack v4 cacheGroup chunks rename to something like `data.plugin.chunk.0.js` - [x] Run `/ci` and make sure we get our first green CI, otherwise work on the errors until we do - [x] Profile and solve bottlenecks until we get a cold build performance similar to the one we had on webpack v4 (`node scripts/build_kibana_platform_plugins --no-cache`). - [x] OpenSSL Legacy Warnings: try to remove `--openssl-legacy-provider ` flags - [x] Add Webpack to Renovate config - [x] Explore removing `NodePolyfillPlugin` ([here](https://www.npmjs.com/package/node-polyfill-webpack-plugin)) and add each polyfill needed individually per each webpack config to check if we get smaller bundles. If we do it's better to go with the case by case need approach instead of deploying a bunch of polyfills with NodePolyfillPlugin. As another alternative, create a custom smaller plugin with only the union of all needed polyfills. - [x] Evaluate if we want to touch the resolutions on mainFields and conditionNames - [x] Understand why `@import 'src/core/public/mixins'` does not work anymore (not a problem, we should use relative paths anyway but we want to track why it changed from v4 to v5) - [x] BUG: Child compilers are having errors hidden and/or changed from error to warning - [x] Fix license check for [Artistic-2.0](https://spdx.org/licenses/Artistic-2.0.html) is the license for [domain-browser](https://github.com/bevry/domain-browser?tab=License-1-ov-file). This package is a dependency of [NodePolyfillPlugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin). Artistic 2.0 license is [classified as yellow](https://github.com/elastic/open-source/blob/main/elastic-product-policy.md#yellow-list) and should only be used for dev dependencies. - [x] Make sure `resourceQuery: { not: /raw/ }` is not necessary on other webpack configs like storybook one - [x] Find what is being wrongly removed by usedExports optimization; hint: I believe it is identifying a lot of exports inside the sync entry of plugins as unused exports and removing them. Then `__kbnBootstrap__` can't be found - [x] Rebalance @kbn/optimizer pickMaxWorkerCount - [x] Re-open the issue to fix sass-warnings [#190345](https://github.com/elastic/kibana/issues/190345) or downgrade sass-loader to v10 - [x] Remove previous esm no parse rules - [x] Confirm esm support is working - [x] Confirm console override is needed - [x] Confirm react prod builds on ui shared deps for distributable - [x] Remove customization for [xyflow](https://github.com/xyflow/xyflow) from webpack configs - [x] Clean all the code - [x] Make sure collected metrics from stats are still aligned with what we were collecting before; also verify if the modules used for optimizer caches etc are well generated (@kbn/node-libs-browser) - [x] Fix watch performance --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Brad White <brad.white@elastic.co> |
||
|
e5958a47f3
|
Upgrade EUI to v99.2.0-borealis.0 (#209690)
`99.1.0-borealis.0` ⏩ `99.2.0-borealis.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) --- ## [`v99.2.0`](https://github.com/elastic/eui/releases/v99.2.0) - Changed `EuiFieldText` styles to prioritize `disabled` styling over `readonly`. ([#8271](https://github.com/elastic/eui/pull/8271)) - Added `plugs` and `web` glyphs to `EuiIcon` ([#8285](https://github.com/elastic/eui/pull/8285)) - Update `title` on `EuiColorPalettePickerPaletteProps` to be optional ([#8289](https://github.com/elastic/eui/pull/8289)) **Bug fixes** - Fixed an issue with EuiDataGrid with auto row height resulting in a table of 0 height ([#8251](https://github.com/elastic/eui/pull/8251)) - Fixed `disabled` behavior of `EuiFieldText` to prevent input changes. ([#8271](https://github.com/elastic/eui/pull/8271)) **Borealis changes** - [Visual Refresh] Provide hooks for color palette functions ([#8284](https://github.com/elastic/eui/pull/8284)) - [Visual Refresh] Make Borealis default theme in EUI ([#8288](https://github.com/elastic/eui/pull/8288)) --- As you can probably tell, there are plenty of updated tests and snapshots this time around. They are the result of the following: 1. We've updated the default theme in `@elastic/eui` v99.2.0 to Borealis, which led to kibana tests using `renderWithTheme`, `mountWithTheme`, and other utility functions that wrap the tested component in `<EuiThemeProvider>` to switch to the correct, new color values. With this change, all tests should now use Borealis, regardless of the testing framework or its configuration. 2. Because of the default theme change in EUI, some class name hash fragments (e.g., `css-`**`wprskz`**`-euiButtonIcon-xs-empty-primary`) regenerated. Most Borealis-related changes in this PR are test env only and have no impact on what users see when using Kibana. --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
a402f4e584
|
Update dependency polished to v4 (main) (#206220)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [polished](https://polished.js.org) ([source](https://togithub.com/styled-components/polished)) | dependencies | major | [`^3.7.2` -> `^4.3.1`](https://renovatebot.com/diffs/npm/polished/3.7.2/4.3.1) | --- ### Release Notes <details> <summary>styled-components/polished (polished)</summary> ### [`v4.3.1`](https://togithub.com/styled-components/polished/releases/tag/v4.3.1) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.3.0...v4.3.1) ### Bug Fixes & Improvements - Remove annotate-pure-calls plugin to address incompatibility with later versions of rollup. - Update dependencies. ### [`v4.3.0`](https://togithub.com/styled-components/polished/compare/v4.2.2...v4.3.0) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.2.2...v4.3.0) ### [`v4.2.2`](https://togithub.com/styled-components/polished/releases/tag/v4.2.2) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.2.1...v4.2.2) ### Bug Fixes - **Color Modules** - addresses an issue with longer floats in color values. ([#​610](https://togithub.com/styled-components/polished/issues/610) - Thanks to [@​levymetal](https://togithub.com/levymetal)) ### [`v4.2.1`](https://togithub.com/styled-components/polished/releases/tag/v4.2.1) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.2.0...v4.2.1) ### Bug Fixes - **`hls(a)`** - now properly parses percentages for opacity. - **`rgb(a)`** - now properly parses percentages for opacity. ### [`v4.2.0`](https://togithub.com/styled-components/polished/releases/tag/v4.2.0) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.1.4...v4.2.0) ### Improvements - **color Modules** - now support space-separated CSS color values for rgb(a) and hsl(a). ([#​605](https://togithub.com/styled-components/polished/issues/605)) - **`rgb`** - now accepts optional opacity value. - **`hsl`** - now accepts optional opacity value. ### [`v4.1.4`](https://togithub.com/styled-components/polished/releases/tag/v4.1.4) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.1.3...v4.1.4) ### Bug Fixes - **mix** - remove unnecessary division by 1 ([#​59](https://togithub.com/styled-components/polished/issues/59)) ### [`v4.1.3`](https://togithub.com/styled-components/polished/releases/tag/v4.1.3) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.1.2...v4.1.3) ### Bug Fixes - Addressed several performance issues with regexes. ### [`v4.1.2`](https://togithub.com/styled-components/polished/releases/tag/v4.1.2) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.1.1...v4.1.2) ### Bug Fixes - **fluidRange** - updated return value to use an array to address unclear object property typing error in flow. ### [`v4.1.1`](https://togithub.com/styled-components/polished/releases/tag/v4.1.1) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.1.0...v4.1.1) ### Bug Fixes - **scarf** - removed scarf analytics package due to yarn incompatibilities and concerns over GDPR compliance. ### [`v4.1.0`](https://togithub.com/styled-components/polished/releases/tag/v4.1.0) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.0.5...v4.1.0) ### Introducing polished.js v4.1.0! We're super stoked to announce that polished.js v4.1.0 is officially out! It is available via your package manager of choice. This will be the final non-patch release before v5. `npm install polished` `yarn add polished` #### Release Highlights ##### New Module - **`remToPx`**: We've introduced a new module to handle converting to `rem` values to `px` values. ([#​376](https://togithub.com/styled-components/polished/issues/376)) ##### Analytics - We are now leveraging [Scarf](https://scarf.sh) to track package analytics. You can opt-out of this functionality by following [these instructions](https://docs.scarf.sh/package-analytics/#as-a-user-of-a-package-using-scarf-js-how-can-i-opt-out-of-analytics) ### [`v4.0.5`](https://togithub.com/styled-components/polished/releases/tag/v4.0.5) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.0.4...v4.0.5) #### Documentation - `readableColor` - Update docs and function signature to be clearer about the use of each parameter. ### [`v4.0.4`](https://togithub.com/styled-components/polished/releases/tag/v4.0.4) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.0.3...v4.0.4) ### Bug Fixes - **transparentize** - addressed an issue where we weren't handling cases where floats were greater than 2 decimals. ([#​548](https://togithub.com/styled-components/polished/issues/548)) - **npm** - addressed an issue where .yarn cache was bloating published package size, along with some other ignore optimization. ([#​553](https://togithub.com/styled-components/polished/issues/553) Thanks [@​scttcper](https://togithub.com/scttcper)) ### [`v4.0.3`](https://togithub.com/styled-components/polished/releases/tag/v4.0.3) [Compare Source](https://togithub.com/styled-components/polished/compare/v4.0.2...v4.0.3) ### Bug Fix - Updated [@​babel/runtime](https://togithub.com/babel/runtime) to address webpack v5 compatibility issue (Thanks [@​koba04](https://togithub.com/koba04) - [#​547](https://togithub.com/styled-components/polished/issues/547) ) ### [`v4.0.2`](https://togithub.com/styled-components/polished/releases/tag/v4.0.2) ### Bug Fix - `ellipsis`: Fixes an issue where the `webkit` prefix was not properly applied with the multiline option. (Thanks [@​drakang4](https://togithub.com/drakang4) - [#​546](https://togithub.com/styled-components/polished/issues/546)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNoYXJlZFVYIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> --------- 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> Co-authored-by: jennypavlova <dzheni.pavlova@elastic.co> Co-authored-by: Shahzad <shahzad31comp@gmail.com> |
||
|
bcfdd13c11
|
Update dependency semver to ^7.7.1 (main) (#210557) | ||
|
a74066d6f8
|
[ResponseOps][Alerts] Move the alerts table to a dedicated package (#207878)
## Summary This PR turns the AlertsTable into a standalone component, making it independent from the `TriggersActionsUI` plugin. #### Removes the alerts table registry All configuration is now managed through the AlertsTable component props. Shared configurations are handled by giving consumers the ability to directly provide alerts table wrapper components (see for example the `renderAlertsTable` prop of `getCases`). #### Moves the alerts table to dedicated package(s) Following the feature-driven structure we're introducing for ResponseOps (alerting) client-side packages: - `@kbn/response-ops-alerts-table` - `@kbn/response-ops-alerts-apis` - `@kbn/response-ops-alerts-fields-browser` #### Initial work on improving composition and organization - Reorganizes the table code into a by-entity-type folder structure (`components/`, `hooks/`, ...) - Simplifies some components and breaks into smaller units when possible ## To verify For consumers of the alerts table: - Check that all your tables have the same behavior as before (columns, sort, row actions, bulk actions, etc.) - Check that your "shared" tables (i.e. cases alerts view in O11y and Security) have the expected configuration and behavior > [!WARNING] > This PR moves a lot of files. Git might not always recognize the correct delete/add file pairs. If you see weird diffs feel free to reach out for help! ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed ### Identify risks | Risk | Description | Severity | Mitigation | |---|---|---|---| | Table misconfigurations | Some table configurations might slightly differ from the previous AlertsTableRegistry-backed version | Low | Quick fix | ## References Closes #195180 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Christos Nasikas <xristosnasikas@gmail.com> |
||
|
bd13e82949
|
[scout] adding test helper @kbn/scout-oblt package and uptate onboarding tests (#209761)
## Summary `@kbn/scout-oblt` is a test library that extends `@kbn/scout` with test helpers specifically designed to test `Observability` applications in Kibana. All Oblt plugins should only import from `@kbn/scout-oblt` Its primary goal is to simplify the test development experience for teams working on `Observability` plugins by providing custom Playwright fixtures, page objects, and utilities tailored for Observability-related testing scenarios. Contributing: - when Fixture/Page Object is sharable across all Solutions and Platform (`fleetApi` fixture), it should be added in `@kbn/scout` - when Fixture/Page Object is Oblt-specific but is shared across tests under the multiple plugins (`OnboardingHome` page), it should be added in `@kbn/scout-oblt` - when Fixture/Page Object is only used in a single plugin (`onboarding` internal APIs ?), it should be added in this plugin. I also re-worked existing tests with few ideas in mind: - Scout is **e2e testing tool** and should target primary e2e test scenarios; We have _API integration tests_ to test multiple short scenarios for APIs behavior (response, status code) and _jest/React testing library_ to test components in isolation (elements rendering, fields validation). Doing all the testing with e2e tool like Playwright will dramatically affect cost efficiency and stability of tests, but also slows overall CI execution and PRs delivery. The goal is to follow testing pyramid and keep in mind its principles. - We on purpose spin up new browser context for each `test` block to make sure our **tests are independent**. Having too many short `test` blocks in the file significantly slows down the execution: every block triggers browser context, saml authentication, adding/removing Fleet integrations (each call up to 2 seconds) and other beforeEach/afterEach hooks. Real browser-based testing is expensive. It is not about putting every step into 1 `test` block, but also not a Jest unit-test-style design. When it is possible to group similar actions on the same page and if it is a part of the same user flow - we should do it. It also doesn't bring the testing value repeating the same UI steps multiple times in different scenarios. _Our CI costs are critical to cut when it is possible_ - Avoid **nesting describe** blocks: it complicates test readability and also complicates for CI bot to properly skip the failing block (it will skip the top level one). We encourage **Scout parallel test execution** based on running test spec files in multiple workers, not the `test` blocks within the same file. Having too many `test` blocks in the same file will be slowly run in the single thread and in case of flakiness, it means Team lose more test coverage than they probably expect. Before (**59** test blocks - **8-8.5 min** per distro): <img width="1709" alt="Screenshot 2025-02-08 at 18 01 40" src="https://github.com/user-attachments/assets/5fd65a1c-85f9-4594-9dae-3f8e99a005ab" /> After (**15** test blocks - **3.5-4 min** per distro): <img width="1578" alt="Screenshot 2025-02-10 at 18 14 42" src="https://github.com/user-attachments/assets/6846898f-7dd2-4f6b-8bc5-d06741b0b120" /> For reviewers: updated tests are possible to run in 2 parallel workers against the same Kibana/ES instance and run time is dropping to **2.5-3 min** 🚀 . It is up to UX-Logs team to decide if you want to keep parallel run (new tests can be added either to parallel or sequential run) <img width="1578" alt="Screenshot 2025-02-11 at 12 14 30" src="https://github.com/user-attachments/assets/e94113f2-d7f1-470e-a6d5-cb5154d99c41" /> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |