Commit graph

83153 commits

Author SHA1 Message Date
Christiane (Tina) Heiligers
778572a6cc
Configures PagerDuty Backstage Integration for kbn (#208440)
Integration services added: kibana-sdh, kibana-serverless

Addresses the call to action to integrate pagerduty with backstage.
2025-01-27 23:29:11 +00:00
Marta Bondyra
00d822d88a
[Collapsable panels] Refactor forward refs (#208360)
## Summary

This PR fixes a few very small issues:
1. Removes this warning via setting explicity `touchstart` passive. 
I read that `touchstart` is passive by default, but apparently it varies
between browsers.
<img width="1053" alt="Screenshot 2025-01-27 at 14 04 26"
src="https://github.com/user-attachments/assets/0d641575-df6c-429c-a731-e9f41dc9ec65"
/>

2. Removes the `containerRef` that we stopped using, but didn't remove
the variable.

3. Sets the refs for `rowRefs` and `panelRefs` inside the component
instead of passing `forwardRefs` and passing it on parent components.
Unless I am missing something, there's no reason for adding this
complexity. Plus `forwardRef` is deprecated in React 19 so it's good to
remove now :)
  
4. Adds `max-height: 100vh` for expanded version of gridHeightSmoother.
We need that, since setting it to 100% right now will not always work
properly if parent won't set up its height. The problem is very visible
in our example app with Lens datatable, (uses EuiDataGrid underneath).
When we maximize the datatable panel, it will grow forever and cause a
lot of console errors about Resize Observers.
2025-01-27 23:28:30 +00:00
elastic-renovate-prod[bot]
3e0fd1f82e
Update ftr (main) (#206326)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
|
[@types/selenium-webdriver](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selenium-webdriver)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver))
| devDependencies | patch | [`^4.1.27` ->
`^4.1.28`](https://renovatebot.com/diffs/npm/@types%2fselenium-webdriver/4.1.27/4.1.28)
| |
| [chromedriver](https://togithub.com/giggio/node-chromedriver) |
devDependencies | major | [`^131.0.1` ->
`^132.0.0`](https://renovatebot.com/diffs/npm/chromedriver/131.0.1/132.0.0)
| `132.0.1` |
|
[selenium-webdriver](https://togithub.com/SeleniumHQ/selenium/tree/trunk/javascript/node/selenium-webdriver#readme)
([source](https://togithub.com/SeleniumHQ/selenium)) | devDependencies |
minor | [`^4.27.0` ->
`^4.28.0`](https://renovatebot.com/diffs/npm/selenium-webdriver/4.27.0/4.28.0)
| `4.28.1` |

---

### Release Notes

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

###
[`v132.0.0`](https://togithub.com/giggio/node-chromedriver/compare/131.0.5...132.0.0)

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

###
[`v131.0.5`](https://togithub.com/giggio/node-chromedriver/compare/131.0.4...131.0.5)

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

###
[`v131.0.4`](https://togithub.com/giggio/node-chromedriver/compare/131.0.3...131.0.4)

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

###
[`v131.0.3`](https://togithub.com/giggio/node-chromedriver/compare/131.0.2...131.0.3)

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

###
[`v131.0.2`](https://togithub.com/giggio/node-chromedriver/compare/131.0.1...131.0.2)

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

</details>

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

###
[`v4.28.0`](d6e718d134...ac342546e9)

[Compare
Source](d6e718d134...ac342546e9)

</details>

---

### Configuration

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

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

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

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

---

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

---

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

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-27 17:05:04 -06:00
Efe Gürkan YALAMAN
0168adbe81
[Synonyms UI] Add Synonyms Set Detail UI (#207856)
## Summary

Adds route and table for the synonyms set detail page. 
Edit action is not implemented yet. whole plugin is behind feature
flags. Another PR will add them following this.
<img width="1205" alt="Screenshot 2025-01-22 at 14 43 33"
src="https://github.com/user-attachments/assets/1b15f2e5-55cd-4159-b00e-d8dddf0191e1"
/>


### 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] [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
- [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)
2025-01-27 16:57:47 -06:00
Lisa Cawley
5624fc2106
[DOCS] Clarify alerting API key management (#208292) 2025-01-27 14:56:07 -08:00
Shahzad
b4234795eb
[Synthetics] More color updates !! (#208175)
## Summary

### Stats

Before
<img width="1728" alt="image"
src="https://github.com/user-attachments/assets/5a03e260-a1dc-44e9-be8a-9083d322d984"
/>

### After
<img width="1726" alt="image"
src="https://github.com/user-attachments/assets/53b7941a-7456-4da4-8b55-d1bdc6c1ca57"
/>


### Dark mode
After
<img width="1726" alt="image"
src="https://github.com/user-attachments/assets/221e6b31-0eab-41fd-b5cd-8442c3dd6ce5"
/>
2025-01-27 23:33:08 +01:00
Kylie Meli
20d1a0c1e6
[Automatic Import] Update CEL flow to UX design (#206491)
## Summary

This PR updates the Automatic Import CEL generation flow to the UX
design specified in the
[figma](https://www.figma.com/design/hJIm79U4gcuEunnjRE3XRN/CEL-input-support---Integrations-Assistant?node-id=0-1&p=f&t=YoNRns2ANcwkW0Ef-0).

## Details

This PR implements the figma linked above, but it also is the first step
towards Automatic Import adopting a different UX mindset. What this
means, instead of buttons being enabled once the user fills out all the
required items like we have today, now within the CEL flyout, all
buttons will be enabled by default. But if the user clicks something
before they have filled out the required information, we will then show
them the validation and guide them to filling out / taking whatever
steps to get to the valid state.

## Screenshots

<details><summary>Expand me to walk through the new main flow!</summary>

start out on the datastream page
<img width="350" alt="Screenshot 2025-01-15 at 3 24 50 PM"
src="https://github.com/user-attachments/assets/3bba4249-4835-49d3-a268-047e6acf44e5"
/>

once a user selects the cel input from the dropdown, they will see the
button to create the config with the tech preview badge
<img width="350" alt="Screenshot 2025-01-15 at 3 24 58 PM"
src="https://github.com/user-attachments/assets/129b800e-a515-489b-b2dc-521f8d09813d"
/>

once the button is clicked, the flyout is expanded and they start in the
first step - naming the datastream and uploading the spec file
<img width="500" alt="Screenshot 2025-01-15 at 3 25 09 PM"
src="https://github.com/user-attachments/assets/1446968c-f396-4629-a878-83dc054decfc"
/>

the user can fill in their details
<img width="500" alt="Screenshot 2025-01-15 at 3 25 44 PM"
src="https://github.com/user-attachments/assets/889509bc-e48d-4199-a9a7-c26690590b35"
/>

analyzing... (~1 - 2 seconds)
<img width="500" alt="Screenshot 2025-01-15 at 3 43 50 PM"
src="https://github.com/user-attachments/assets/46d152bd-e666-42e1-a364-be3bf3ed1903"
/>

success, and then the user now enters step 2, with our recommended
options pre-selected
<img width="500" alt="Screenshot 2025-01-15 at 3 25 57 PM"
src="https://github.com/user-attachments/assets/cee820c9-5762-4638-99ab-3659327abb36"
/>

generating.... (~20-25 seconds)
<img width="500" alt="Screenshot 2025-01-15 at 3 26 19 PM"
src="https://github.com/user-attachments/assets/b3991032-62cb-4936-8bd0-b83c6f4e31c7"
/>

success message: 
<img width="500" alt="Screenshot 2025-01-15 at 3 26 54 PM"
src="https://github.com/user-attachments/assets/6f98bb64-8078-40f3-8a29-3df415825f31"
/>

the user sees success on the datastream page, along with their filename
and path they selected
<img width="500" alt="Screenshot 2025-01-15 at 3 27 07 PM"
src="https://github.com/user-attachments/assets/4eef4b4f-207e-484a-91bf-172023503749"
/>

and they are now ready to continue on the automatic import process!

</details>

<details><summary>Expand me to see example validation for if the user
clicks analyze/save config before picking a file</summary>
<img width="500" alt="Screenshot 2025-01-15 at 3 27 24 PM"
src="https://github.com/user-attachments/assets/9953ddc8-4642-4ed9-9662-d2803f4238ed"
/>

</details>

## Note to reviewers

Unit and cypress tests will not be included in this PR, they will come
in a followup PR.

Closes: https://github.com/elastic/kibana/issues/197653
Relates: https://github.com/elastic/security-team/issues/9748

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Sergi Massaneda <sergi.massaneda@gmail.com>
Co-authored-by: Bharat Pasupula <123897612+bhapas@users.noreply.github.com>
2025-01-27 16:34:01 -05:00
Andrew Macri
325cc4fdc1
[Security Solution] [Attack discovery] Additional Alerts filtering tests (#208293)
### [Security Solution] [Attack discovery] Additional Alerts filtering tests

This PR adds additional unit test coverage to the Attack discovery _Alerts filtering_ feature, introduced in <https://github.com/elastic/kibana/pull/205070>

![00_alerts_filtering](https://github.com/user-attachments/assets/1a81413b-b8f4-4965-a006-25fb529668a6)
2025-01-27 16:30:28 -05:00
Paulo Silva
c03313a57c
[Asset inventory] Add initial cypress test (#207647)
## Summary

This PR introduces initial cypress test and also a basic test was
configured to test for the presence of the Asset Inventory page when the
Feature Flag `assetInventoryUXEnabled` is set.
2025-01-27 20:35:15 +00:00
Davis McPhee
dcdffff0e1
[Discover] Remove inline top nav (#208297)
## Summary

This is followup work to #203685 that removes `DiscoverTopNavInline` now
that Logs Explorer is gone, since the component is no longer used. I
also noticed that top nav style overrides we use weren't applied to the
inline top nav, so this fixes that as well.

### Checklist

- [ ] 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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [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)
2025-01-27 16:33:49 -04:00
Michael Dokolin
5310034af2
[CLI] Add logging messages to simplify CPU profiling (#207885)
Resolves #206052.
2025-01-27 21:30:22 +01:00
Michael Dokolin
52b7bc6f06
[HTTP] Add a circuit breaker for the HTTP server (#190684)
This PR resolves #194605 and closes #170132 and brings the following
changes:
- changed ELU metrics evaluation used for autoscaling;
- a rate limiter to throttle incoming requests when under a high load;
- a configuration option to exclude some routes from the rate limiter.
2025-01-27 21:29:21 +01:00
Dzmitry Lemechko
10505bd488
[kbn-test] improve saml auth failure logging (#208216)
## Summary

sometimes we face failure during saml authentication and error message
is not very helpful:

```
Error: Failed to parse 'set-cookie' header
    at getCookieFromResponseHeaders (packages/kbn-test/src/auth/saml_auth.ts:61:11)
    at finishSAMLHandshake (packages/kbn-test/src/auth/saml_auth.ts:280:10)
    at createLocalSAMLSession (packages/kbn-test/src/auth/saml_auth.ts:333:18)
```

With this change we should know when it happened:

- we create SAML request by calling `/internal/security/login
- we finish SAML handshake by calling  `/api/security/saml/callback`

I also hope `response.data` to be useful for investigation
2025-01-27 20:13:50 +00:00
Krzysztof Kowalczyk
3e5505fad7
[Dashboard] Change Inspector on dashboard to use push flyout (#207750)
## Summary

This PR changes the inspector flyout to be a push flyout and highlights
the panel which is inspected.
![Screenshot 2025-01-22 at 13 19
21](https://github.com/user-attachments/assets/b8668d21-a323-41f0-9128-64c511e26347)
Closes: #148993
2025-01-27 21:12:30 +01:00
Kevin Delemme
d00d867382
chore(slo): rename resource constants and simplify resource installation process' (#208264) 2025-01-27 19:48:04 +00:00
Christiane (Tina) Heiligers
45634ed2da
[UA] Allows upgrades on cloud for minor versions (#208309)
fix https://github.com/elastic/kibana/issues/206468

## Summary

Upgrade Assistant treats upgrading to a minor or patch in the same way
as for a major and blocks the upgrade when there are critical
deprecations.
Critical deprecations only have to be resolved before upgrading to the
next major version and should not prevent upgrading to a minor or patch.

This PR refactors the blocking behavior and allows non-major upgrades
for healthy clusters.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [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
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] Cloud UI does not adapt the API to handle a query. Without query
support, calls to the API may not work as intended, or fail. Reverting
this PR will block upgrades to non major versions (next minor, next
patch) if there are critical deprecations that have not been resolved.

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-27 12:11:47 -07:00
Gerard Soldevila
d5764b3ee8
SKA: Follow-up relocation (#207041)
## Summary

* @kbn/observability-ai-assistant-plugin: Simplify location
```
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant
# becomes
x-pack/platform/plugins/shared/observability_ai_assistant
```

* @kbn/search-shared-ui: Simplify location
```
x-pack/solutions/search/packages/search/shared_ui
# becomes
x-pack/solutions/search/packages/shared_ui
```

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

```
./.github/paths-labeller.yml
./docs/developer/plugin-list.asciidoc
./package.json
./packages/kbn-relocate/utils/transforms.ts
./packages/kbn-ts-projects/config-paths.json
./src/dev/storybook/aliases.ts
./src/platform/packages/private/kbn-repo-packages/package-map.json
./tsconfig.base.json
./x-pack/.i18nrc.json
./x-pack/platform/plugins/shared/observability_ai_assistant/jest.config.js
./x-pack/solutions/search/packages/shared_ui/jest.config.js
./yarn.lock
.github/CODEOWNERS
```

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

```
x-pack/platform/plugins/shared/observability_ai_assistant/jest.config.js:10
x-pack/platform/plugins/shared/observability_ai_assistant/tsconfig.json:2
x-pack/platform/plugins/shared/observability_ai_assistant/tsconfig.json:7
x-pack/solutions/search/packages/shared_ui/jest.config.js:16
x-pack/solutions/search/packages/shared_ui/tsconfig.json:2
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-27 20:02:57 +01:00
Marco Vettorello
ed0579469c
Move unified search ownership to Presentation Team (#208381)
## Summary

This PR moves the ownership of Unified Search files code to the
Presentation team
2025-01-27 18:44:15 +00:00
Shahzad
e51b2bda27
[Synthetics] Space aware private locations !! (#202634)
## Summary

Fixes https://github.com/elastic/kibana/issues/199976

User can choose which space the location will be visible in while
creating a location !!


### Testing

- [ ] Create location in all spaces and make sure it's visible
everywhere.
- [ ] Creation location in a specific space and make sure it's only
visible in specified space


<img width="1728" alt="image"
src="https://github.com/user-attachments/assets/6aa5cac9-500a-447a-8ef5-bf53e91a16dd"
/>
2025-01-27 19:37:22 +01:00
Bryce Buchanan
a108c632a4
Added versioning to inventory_view_saved_object (#207007)
## Summary

Fixes #187254  
Strict checks on the attribute `legend.steps` was added to the inventory
view API in v8.10 (#160852), but they were not defined in the
saved object type for that data, resulting in older versions migrating
bad data, and being unable to use the API. This PR adds versioning to
the Inventory view saved object type that constrains legend.steps to
between 2 and 18, per the strict typing added in #160852

#### Open questions
Should we add notes to all versions of kibana between v8.10 and oldest
version available for backport describing this bug?

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [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>
2025-01-27 11:09:32 -07:00
Ersin Erdal
773df93d5f
Run "mark_removed_tasks_as_unrecognized" task after creating test tasks (#206598)
Fixes: #194208

The test fails because the the task marks the removed task as
unrecognized has run before the test tasks are created.
This PR adds a runSoon request that runs the above task after creating
the test tasks.
2025-01-27 19:04:15 +01:00
Davis McPhee
665cfe06a6
[Discover] Clean up leftover "saved search" references (#208295)
## Summary

I noticed a few remaining user facing references to "saved search" after
the renaming in #202217. This PR cleans up all of them that I could
find.

### Checklist

- [ ] 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]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [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)
2025-01-27 14:01:22 -04:00
elastic-renovate-prod[bot]
9f5656c13d
Update @elastic/kibana-cloud-security-posture dependencies (main) (#201291)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@mswjs/http-middleware](https://mswjs.io)
([source](https://togithub.com/mswjs/http-middleware)) | devDependencies
| patch | [`^0.10.1` ->
`^0.10.2`](https://renovatebot.com/diffs/npm/@mswjs%2fhttp-middleware/0.10.1/0.10.2)
|
|
[@types/byte-size](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/byte-size)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/byte-size))
| devDependencies | patch | [`^8.1.0` ->
`^8.1.2`](https://renovatebot.com/diffs/npm/@types%2fbyte-size/8.1.0/8.1.2)
|
| [byte-size](https://togithub.com/75lb/byte-size) | dependencies |
major | [`^8.1.0` ->
`^9.0.1`](https://renovatebot.com/diffs/npm/byte-size/8.1.0/9.0.1) |
| [msw](https://mswjs.io) ([source](https://togithub.com/mswjs/msw)) |
devDependencies | minor | [`^2.4.12` ->
`^2.7.0`](https://renovatebot.com/diffs/npm/msw/2.5.2/2.7.0) |
| [xterm](https://togithub.com/xtermjs/xterm.js) | dependencies | minor
| [`^5.1.0` ->
`^5.3.0`](https://renovatebot.com/diffs/npm/xterm/5.1.0/5.3.0) |

---

### Release Notes

<details>
<summary>mswjs/http-middleware (@&#8203;mswjs/http-middleware)</summary>

###
[`v0.10.2`](https://togithub.com/mswjs/http-middleware/releases/tag/v0.10.2)

[Compare
Source](https://togithub.com/mswjs/http-middleware/compare/v0.10.1...v0.10.2)

#### v0.10.2 (2024-10-25)

##### Bug Fixes

- consume undisturbed request stream as-is
([#&#8203;39](https://togithub.com/mswjs/http-middleware/issues/39))
([`13cee76`](13cee76e5a))
[@&#8203;c0per](https://togithub.com/c0per)
[@&#8203;LeBenLeBen](https://togithub.com/LeBenLeBen)
[@&#8203;kettanaito](https://togithub.com/kettanaito)

</details>

<details>
<summary>75lb/byte-size (byte-size)</summary>

###
[`v9.0.1`](https://togithub.com/75lb/byte-size/compare/v9.0.0...v9.0.1)

[Compare
Source](https://togithub.com/75lb/byte-size/compare/v9.0.0...v9.0.1)

### [`v9.0.0`](https://togithub.com/75lb/byte-size/releases/tag/v9.0.0)

[Compare
Source](https://togithub.com/75lb/byte-size/compare/v8.2.1...v9.0.0)

Whether this is a breaking change or not is debatable so it has been
released as a major version just in case.

#### Non-breaking change since v8.2.1

These changes affect the output only, there are no changes to the API or
minimum supported Node version (still v12.17).

- Fixed an issue where precision and Intl formatting was not applied to
small numbers.
[#&#8203;15](https://togithub.com/75lb/byte-size/issues/15)
- Removed
[minimumFractionDigits](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#minimumfractiondigits)
from unit number formatting. This removes superfluous precision, some
examples:
- `byteSize(1000).toString()` now returns `1 kB` instead of `1.0 kB`,
removing the superfluous one decimal place of precision.
- `byteSize(1500000, { precision: 5 }).toString()` now returns `1.5 MB`
instead of `1.50000 MB`, again removing superfluous precision.
- However, `byteSize(1500010, { precision: 5 }).toString()` will return
`1.50001 MB` as there is meaningful, non-zero precision to display.

###
[`v8.2.1`](https://togithub.com/75lb/byte-size/compare/v8.2.0...v8.2.1)

[Compare
Source](https://togithub.com/75lb/byte-size/compare/v8.2.0...v8.2.1)

###
[`v8.2.0`](https://togithub.com/75lb/byte-size/compare/v8.1.1...v8.2.0)

[Compare
Source](https://togithub.com/75lb/byte-size/compare/v8.1.1...v8.2.0)

###
[`v8.1.1`](https://togithub.com/75lb/byte-size/compare/v8.1.0...v8.1.1)

[Compare
Source](https://togithub.com/75lb/byte-size/compare/v8.1.0...v8.1.1)

</details>

<details>
<summary>mswjs/msw (msw)</summary>

### [`v2.7.0`](https://togithub.com/mswjs/msw/releases/tag/v2.7.0)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.6.9...v2.7.0)

#### v2.7.0 (2024-12-17)

##### Features

- use `picocolors` instead of `chalk`
([#&#8203;2377](https://togithub.com/mswjs/msw/issues/2377))
([`85bdd82`](85bdd82dfe))
[@&#8203;Namchee](https://togithub.com/Namchee)
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.6.9`](https://togithub.com/mswjs/msw/releases/tag/v2.6.9)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.6.8...v2.6.9)

#### v2.6.9 (2024-12-16)

##### Bug Fixes

- support `SharedArrayBuffer` in `HttpResponse.arrayBuffer`
([#&#8203;2389](https://togithub.com/mswjs/msw/issues/2389))
([`41f00e1`](41f00e1a67))
[@&#8203;danilofuchs](https://togithub.com/danilofuchs)
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.6.8`](https://togithub.com/mswjs/msw/releases/tag/v2.6.8)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.6.7...v2.6.8)

#### v2.6.8 (2024-12-07)

##### Bug Fixes

- **setupServer:** reapply interception after calling `server.listen()`
after `server.close()`
([#&#8203;2383](https://togithub.com/mswjs/msw/issues/2383))
([`00da9ca`](00da9cad42))
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.6.7`](https://togithub.com/mswjs/msw/releases/tag/v2.6.7)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.6.6...v2.6.7)

#### v2.6.7 (2024-12-06)

##### Bug Fixes

- **setupWorker:** correctly delete internal `accept` header on
passthrough ([#&#8203;2375](https://togithub.com/mswjs/msw/issues/2375))
([`3f40055`](3f40055b1d))
[@&#8203;smouillour](https://togithub.com/smouillour)
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.6.6`](https://togithub.com/mswjs/msw/releases/tag/v2.6.6)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.6.5...v2.6.6)

#### v2.6.6 (2024-11-22)

##### Bug Fixes

- **types:** support optional path parameters
([#&#8203;2368](https://togithub.com/mswjs/msw/issues/2368))
([`3b7b776`](3b7b776e8c))
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.6.5`](https://togithub.com/mswjs/msw/releases/tag/v2.6.5)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.6.4...v2.6.5)

#### v2.6.5 (2024-11-16)

##### Bug Fixes

- support non-configurable responses
([#&#8203;2360](https://togithub.com/mswjs/msw/issues/2360))
([`5bf3e3b`](5bf3e3bf5f))
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.6.4`](https://togithub.com/mswjs/msw/releases/tag/v2.6.4)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.6.3...v2.6.4)

#### v2.6.4 (2024-11-10)

##### Bug Fixes

- prevent infinite loop when bypassing `sendBeacon()` requests
([#&#8203;2353](https://togithub.com/mswjs/msw/issues/2353))
([`2fa98c3`](2fa98c327a))
[@&#8203;kettanaito](https://togithub.com/kettanaito)
- remove the internal bypass request header before performing the
request as-is in Node.js
([#&#8203;2353](https://togithub.com/mswjs/msw/issues/2353))
([`2fa98c3`](2fa98c327a))
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.6.3`](https://togithub.com/mswjs/msw/releases/tag/v2.6.3)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.6.2...v2.6.3)

#### v2.6.3 (2024-11-10)

##### Bug Fixes

- **handleRequest:** remove `transformResponse` option
([#&#8203;2351](https://togithub.com/mswjs/msw/issues/2351))
([`74c4a3a`](74c4a3a899))
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.6.2`](https://togithub.com/mswjs/msw/releases/tag/v2.6.2)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.6.1...v2.6.2)

#### v2.6.2 (2024-11-07)

##### Bug Fixes

- update `@bundled-es-modules/cookie` to 2.0.1
([#&#8203;2312](https://togithub.com/mswjs/msw/issues/2312))
([`c134352`](c134352e82))
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.6.1`](https://togithub.com/mswjs/msw/releases/tag/v2.6.1)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.6.0...v2.6.1)

#### v2.6.1 (2024-11-06)

##### Bug Fixes

- prevent `instanceof` handler check failures between different MSW
versions ([#&#8203;2349](https://togithub.com/mswjs/msw/issues/2349))
([`28d26bd`](28d26bd7fa))
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.6.0`](https://togithub.com/mswjs/msw/releases/tag/v2.6.0)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.5.2...v2.6.0)

#### v2.6.0 (2024-10-29)

##### Features

- support mocking WebSocket APIs
([#&#8203;2011](https://togithub.com/mswjs/msw/issues/2011))
([`ae786f5`](ae786f59eb))
[@&#8203;kettanaito](https://togithub.com/kettanaito)
[@&#8203;DanielleHuisman](https://togithub.com/DanielleHuisman)

</details>

<details>
<summary>xtermjs/xterm.js (xterm)</summary>

### [`v5.3.0`](https://togithub.com/xtermjs/xterm.js/releases/tag/5.3.0)

[Compare
Source](https://togithub.com/xtermjs/xterm.js/compare/5.2.1...5.3.0)

#### 🚀 Features

- The default DOM-based renderer is significantly faster now
([#&#8203;4605](https://togithub.com/xtermjs/xterm.js/issues/4605),
[#&#8203;4631](https://togithub.com/xtermjs/xterm.js/issues/4631),
[#&#8203;4651](https://togithub.com/xtermjs/xterm.js/issues/4651),
[#&#8203;4662](https://togithub.com/xtermjs/xterm.js/issues/4662),
[#&#8203;4681](https://togithub.com/xtermjs/xterm.js/issues/4681),
[#&#8203;4754](https://togithub.com/xtermjs/xterm.js/issues/4754)) via
[@&#8203;jerch](https://togithub.com/jerch),
[@&#8203;Tyriar](https://togithub.com/Tyriar),
[@&#8203;PerBothner](https://togithub.com/PerBothner),
[@&#8203;tisilent](https://togithub.com/tisilent)
- The smooth scroll feature now affects `scrollLines`,
`scrollPages`,`scrollToLine`, `scrollToTop` and `scrollToBottom`
([#&#8203;4482](https://togithub.com/xtermjs/xterm.js/issues/4482),
[#&#8203;4714](https://togithub.com/xtermjs/xterm.js/issues/4714)) via
[@&#8203;tisilent](https://togithub.com/tisilent),
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- `minimumContrastRatio` now applies 50% of the contrast ratio to dimmed
text ([#&#8203;4672](https://togithub.com/xtermjs/xterm.js/issues/4672))
via [@&#8203;Tyrira](https://togithub.com/Tyrira)

##### 📦 API

- There's a new `trace` log level
([#&#8203;4687](https://togithub.com/xtermjs/xterm.js/issues/4687),
4709) via [@&#8203;Tyriar](https://togithub.com/Tyriar)
    ```ts
    const term = new Terminal({
        logLevel: 'trace'
    });
    ```
- New `logger` delegate option
([#&#8203;4563](https://togithub.com/xtermjs/xterm.js/issues/4563),
[#&#8203;4564](https://togithub.com/xtermjs/xterm.js/issues/4564)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar). This new API allows the
embedder to define the logging behavior, instead of always using to
`console`
    ```ts
    const term = new Terminal({
        logger: {
            trace: (e, args) => console.log('trace: ', e, args),
            debug: (e, args) => console.log('debug: ', e, args),
            info: (e, args) => console.log('info: ', e, args),
            warn: (e, args) => console.log('warn: ', e, args),
            error: (e, args) => console.log('error: ', e, args)
        }
    });
    ```
- New `ignoreBracketedPasteMode` option that allows explicitly disabling
bracketed paste mode, regardless of whether the shell enables it or not
([#&#8203;4636](https://togithub.com/xtermjs/xterm.js/issues/4636)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
    ```ts
    const term = new Terminal({
        ignoreBracketedPasteMode: true
    });
    ```
- New `cursorInactiveStyle` option
([#&#8203;4657](https://togithub.com/xtermjs/xterm.js/issues/4657)) via
[@&#8203;tisilent](https://togithub.com/tisilent)
    ```ts
    const term = new Terminal({
        cursorInactiveStyle: 'none'
    });
    ```

#### 🐞 Bug fixes

- Fix character size being affected by CSS transformations
([#&#8203;4366](https://togithub.com/xtermjs/xterm.js/issues/4366)) via
[@&#8203;arekouzounian](https://togithub.com/arekouzounian)
- Fix mouse tracking behavior
([#&#8203;4583](https://togithub.com/xtermjs/xterm.js/issues/4583)) via
[@&#8203;jerch](https://togithub.com/jerch)
- Improve rendering of the DOM renderer's underline cursor
([#&#8203;4584](https://togithub.com/xtermjs/xterm.js/issues/4584)) via
[@&#8203;dlech](https://togithub.com/dlech)
- Fix issues in the accessibility tree
([#&#8203;4637](https://togithub.com/xtermjs/xterm.js/issues/4637)) via
[@&#8203;meganrogge](https://togithub.com/meganrogge)
- Fix reset and clear leaving viewport in a bad state
([#&#8203;4638](https://togithub.com/xtermjs/xterm.js/issues/4638)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix API facade memory leaks
([#&#8203;4655](https://togithub.com/xtermjs/xterm.js/issues/4655)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix memory leak in cursor blink state manager
([#&#8203;4659](https://togithub.com/xtermjs/xterm.js/issues/4659)) via
[@&#8203;SvanT](https://togithub.com/SvanT)
- Fix inverse rendering when a transparent foreground is used
([#&#8203;4667](https://togithub.com/xtermjs/xterm.js/issues/4667)) via
[@&#8203;Dennnnny](https://togithub.com/Dennnnny)
- Fix disposing of decorations
([#&#8203;4671](https://togithub.com/xtermjs/xterm.js/issues/4671)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Render selection background consistently in the DOM renderer
([#&#8203;4673](https://togithub.com/xtermjs/xterm.js/issues/4673)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Improve rendering of powerline circle line custom glyph
([#&#8203;4729](https://togithub.com/xtermjs/xterm.js/issues/4729)) via
[@&#8203;tisilent](https://togithub.com/tisilent)
- Improve texture atlas utilization and fix glyph corruption when
merging
([#&#8203;4732](https://togithub.com/xtermjs/xterm.js/issues/4732)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)

#### 📝 Documentation and internal improvements

- Improve safety of log service
([#&#8203;4565](https://togithub.com/xtermjs/xterm.js/issues/4565)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Exploring use of `CSSStyleSheet` web API
([#&#8203;4611](https://togithub.com/xtermjs/xterm.js/issues/4611),
#[#&#8203;4619](https://togithub.com/xtermjs/xterm.js/issues/4619),
[#&#8203;4678](https://togithub.com/xtermjs/xterm.js/issues/4678),
[#&#8203;4680](https://togithub.com/xtermjs/xterm.js/issues/4680)) via
[@&#8203;SimonSiefke](https://togithub.com/SimonSiefke),
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Update TypeScript to 5.1.6
([#&#8203;4612](https://togithub.com/xtermjs/xterm.js/issues/4612)) via
[@&#8203;SimonSiefke](https://togithub.com/SimonSiefke)
- Mention discussions in CONTRIBUTING.md
([#&#8203;4617](https://togithub.com/xtermjs/xterm.js/issues/4617)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Improve type safety of ColorIndex
([#&#8203;4618](https://togithub.com/xtermjs/xterm.js/issues/4618)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix demo light theme cursor colors
([#&#8203;4626](https://togithub.com/xtermjs/xterm.js/issues/4626)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Add nvmrc using node 16
([#&#8203;4666](https://togithub.com/xtermjs/xterm.js/issues/4666)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Restrict comments to 100 characters
([#&#8203;4668](https://togithub.com/xtermjs/xterm.js/issues/4668)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Lint API xterm.d.ts file
([#&#8203;4669](https://togithub.com/xtermjs/xterm.js/issues/4669),
[#&#8203;4677](https://togithub.com/xtermjs/xterm.js/issues/4677)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- General clean up
([#&#8203;4676](https://togithub.com/xtermjs/xterm.js/issues/4676),
[#&#8203;4683](https://togithub.com/xtermjs/xterm.js/issues/4683),
[#&#8203;4688](https://togithub.com/xtermjs/xterm.js/issues/4688),
[#&#8203;4689](https://togithub.com/xtermjs/xterm.js/issues/4689),
[#&#8203;4733](https://togithub.com/xtermjs/xterm.js/issues/4733)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Reduce repetition with internal terminal types and inherit docs from
API ([#&#8203;4679](https://togithub.com/xtermjs/xterm.js/issues/4679))
via [@&#8203;Tyriar](https://togithub.com/Tyriar)
- Improve lifecycle of WebLinksAddon.api, test all country tlds
([#&#8203;4691](https://togithub.com/xtermjs/xterm.js/issues/4691)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Stub out all CSI api tests
([#&#8203;4692](https://togithub.com/xtermjs/xterm.js/issues/4692)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Migrate to GitHub Actions and speed up CI
([#&#8203;4693](https://togithub.com/xtermjs/xterm.js/issues/4693),
[#&#8203;4697](https://togithub.com/xtermjs/xterm.js/issues/4697),
[#&#8203;4698](https://togithub.com/xtermjs/xterm.js/issues/4698),
[#&#8203;4699](https://togithub.com/xtermjs/xterm.js/issues/4699),
[#&#8203;4700](https://togithub.com/xtermjs/xterm.js/issues/4700),
[#&#8203;4710](https://togithub.com/xtermjs/xterm.js/issues/4710),
[#&#8203;4712](https://togithub.com/xtermjs/xterm.js/issues/4712),
[#&#8203;4715](https://togithub.com/xtermjs/xterm.js/issues/4715),
[#&#8203;4716](https://togithub.com/xtermjs/xterm.js/issues/4716),
[#&#8203;4734](https://togithub.com/xtermjs/xterm.js/issues/4734)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix spaces in bce demo
([#&#8203;4694](https://togithub.com/xtermjs/xterm.js/issues/4694)) via
[@&#8203;jerch](https://togithub.com/jerch)
- Add automatic resize to demo
([#&#8203;4695](https://togithub.com/xtermjs/xterm.js/issues/4695)) via
[@&#8203;PerBothner](https://togithub.com/PerBothner)
- Add no unused variables lint warning
([#&#8203;4718](https://togithub.com/xtermjs/xterm.js/issues/4718)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix demo warnings
([#&#8203;4721](https://togithub.com/xtermjs/xterm.js/issues/4721),
[#&#8203;4722](https://togithub.com/xtermjs/xterm.js/issues/4722)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Adopt `@ts-check` in JS files
([#&#8203;4723](https://togithub.com/xtermjs/xterm.js/issues/4723),
[#&#8203;4724](https://togithub.com/xtermjs/xterm.js/issues/4724)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Warn on eslint rule `@typescript-eslint/no-useless-constructor`
([#&#8203;4725](https://togithub.com/xtermjs/xterm.js/issues/4725)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Warn on eslint rule `@typescript-eslint/no-confusing-void-expression`
([#&#8203;4726](https://togithub.com/xtermjs/xterm.js/issues/4726)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Start migration to `@playwright/test` as the integration test runner
([#&#8203;4735](https://togithub.com/xtermjs/xterm.js/issues/4735)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)

#### 🎉 New real-world use cases

- cloudtutor.io
([#&#8203;4570](https://togithub.com/xtermjs/xterm.js/issues/4570)) via
[@&#8203;naufalafif](https://togithub.com/naufalafif)
- Helix Editor Playground
([#&#8203;4585](https://togithub.com/xtermjs/xterm.js/issues/4585)) via
[@&#8203;tomgroenwoldt](https://togithub.com/tomgroenwoldt)
- Coder
([#&#8203;4595](https://togithub.com/xtermjs/xterm.js/issues/4595)) via
[@&#8203;matifali](https://togithub.com/matifali)

***

#### 📥 Addons

##### xterm-addon-canvas

- Add getRasterizedGlyph null and undefined check
([#&#8203;4596](https://togithub.com/xtermjs/xterm.js/issues/4596)) via
[@&#8203;lewis-sanchez](https://togithub.com/lewis-sanchez)
- Fix various underlines by rendering them upwards
([#&#8203;4648](https://togithub.com/xtermjs/xterm.js/issues/4648),
[#&#8203;4664](https://togithub.com/xtermjs/xterm.js/issues/4664)) via
[@&#8203;tisilent](https://togithub.com/tisilent)

##### xterm-addon-image

- The images addon has been merged into the main repository
([#&#8203;4577](https://togithub.com/xtermjs/xterm.js/issues/4577),
[#&#8203;4727](https://togithub.com/xtermjs/xterm.js/issues/4727)) via
[@&#8203;jerch](https://togithub.com/jerch)

##### xterm-addon-ligatures

- Enable the ligatures addon on Electron
([#&#8203;4387](https://togithub.com/xtermjs/xterm.js/issues/4387)) via
[@&#8203;LabhanshAgrawal](https://togithub.com/LabhanshAgrawal)

##### xterm-addon-serialize

- Fallback to default ANSIcolors when running xterm-headless
([#&#8203;4348](https://togithub.com/xtermjs/xterm.js/issues/4348)) via
[@&#8203;silamon](https://togithub.com/silamon)

##### xterm-addon-webgl

- Render the cursor in the WebGL canvas
([#&#8203;4568](https://togithub.com/xtermjs/xterm.js/issues/4568)) via
[@&#8203;xzfc](https://togithub.com/xzfc)

#### 🤝 Compatible addon versions

| Addon | Version
| --- | ---
| `xterm-addon-attach` | `0.9.0`
| `xterm-addon-canvas` | `0.5.0`
| `xterm-addon-fit` | `0.8.0`
| `xterm-addon-image` | `0.5.0`
| `xterm-addon-ligatures` | `0.7.0`
| `xterm-addon-search` | `0.13.0`
| `xterm-addon-serialize` | `0.11.0`
| `xterm-addon-unicode11` | `0.6.0`
| `xterm-addon-web-links` | `0.9.0`
| `xterm-addon-webgl` | `0.16.0`

***

#### 🌐 Website

Pull from
https://github.com/xtermjs/xtermjs.org/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Aclosed

### [`v5.2.1`](https://togithub.com/xtermjs/xterm.js/releases/tag/5.2.1)

[Compare
Source](https://togithub.com/xtermjs/xterm.js/compare/5.2.0...5.2.1)

#### 🐞 Bug fixes

- Fix NPEs on buffer line and windowsPty option
([#&#8203;4551](https://togithub.com/xtermjs/xterm.js/issues/4551)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)

### [`v5.2.0`](https://togithub.com/xtermjs/xterm.js/releases/tag/5.2.0)

[Compare
Source](https://togithub.com/xtermjs/xterm.js/compare/5.1.0...5.2.0)

#### 🚀 Features

- Support for the overline attribute SGR 53/55
([#&#8203;4526](https://togithub.com/xtermjs/xterm.js/issues/4526),
[#&#8203;4532](https://togithub.com/xtermjs/xterm.js/issues/4532)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)

##### 📦 API

- Improved Windows workarounds with the new windowsPty option
([#&#8203;4539](https://togithub.com/xtermjs/xterm.js/issues/4539)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)

    ```ts
    const term = new Terminal({
      windowsPty: {
        backend: 'conpty',
        buildNumber: 19000
      }
    });
    ```

#### 🐞 Bug fixes

- Fix performance issue related to hovering links
([#&#8203;4341](https://togithub.com/xtermjs/xterm.js/issues/4341)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix exception by validating rows are correct when rendering
([#&#8203;4346](https://togithub.com/xtermjs/xterm.js/issues/4346)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Improve rendering of dotted underline
([#&#8203;4350](https://togithub.com/xtermjs/xterm.js/issues/4350)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Invalidate links after resizing
([#&#8203;4358](https://togithub.com/xtermjs/xterm.js/issues/4358)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix texture atlas exception thrown when changing options
([#&#8203;4390](https://togithub.com/xtermjs/xterm.js/issues/4390)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Show hollow cursor when unfocused, regardless of cursor type
([#&#8203;4443](https://togithub.com/xtermjs/xterm.js/issues/4443)) via
[@&#8203;tisilent](https://togithub.com/tisilent)
- Fix out of sync link underlines after resizing on Windows
([#&#8203;4458](https://togithub.com/xtermjs/xterm.js/issues/4458)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix a lifecycle issue with decorations
([#&#8203;4465](https://togithub.com/xtermjs/xterm.js/issues/4465)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Rerender in the DOM renderer after options change
([#&#8203;4475](https://togithub.com/xtermjs/xterm.js/issues/4475)) via
[@&#8203;kelvinhammond](https://togithub.com/kelvinhammond)
- Fix DECRQM reports and add DECBKM
([#&#8203;4478](https://togithub.com/xtermjs/xterm.js/issues/4478)) via
[@&#8203;jerch](https://togithub.com/jerch)
- Fix links not working when using a screen reader
([#&#8203;4491](https://togithub.com/xtermjs/xterm.js/issues/4491)) via
[@&#8203;jerch](https://togithub.com/jerch)
- Ensure decorations in the top layer render on top of decorations in
the bottom layer
([#&#8203;4516](https://togithub.com/xtermjs/xterm.js/issues/4516)) via
[@&#8203;jeanp413](https://togithub.com/jeanp413)
- Avoid triggering a reflow while rendering search decorations
([#&#8203;4521](https://togithub.com/xtermjs/xterm.js/issues/4521)) via
[@&#8203;jeanp413](https://togithub.com/jeanp413)
- Don't apply dim to background color
([#&#8203;4525](https://togithub.com/xtermjs/xterm.js/issues/4525)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix exception and performance issue when rendering link underlines
([#&#8203;4546](https://togithub.com/xtermjs/xterm.js/issues/4546)) via
[@&#8203;jerch](https://togithub.com/jerch)

#### 📝 Documentation and internal improvements

- Remove unused buffer code
([#&#8203;4335](https://togithub.com/xtermjs/xterm.js/issues/4335)) via
[@&#8203;jerch](https://togithub.com/jerch)
- Explore a different accessibility view
([#&#8203;4340](https://togithub.com/xtermjs/xterm.js/issues/4340),
[#&#8203;4375](https://togithub.com/xtermjs/xterm.js/issues/4375),
[#&#8203;4376](https://togithub.com/xtermjs/xterm.js/issues/4376),
[#&#8203;4377](https://togithub.com/xtermjs/xterm.js/issues/4377),
[#&#8203;4381](https://togithub.com/xtermjs/xterm.js/issues/4381),
[#&#8203;4382](https://togithub.com/xtermjs/xterm.js/issues/4382),
[#&#8203;4383](https://togithub.com/xtermjs/xterm.js/issues/4383),
[#&#8203;4389](https://togithub.com/xtermjs/xterm.js/issues/4389),
[#&#8203;4395](https://togithub.com/xtermjs/xterm.js/issues/4395),
[#&#8203;4398](https://togithub.com/xtermjs/xterm.js/issues/4398),
[#&#8203;4400](https://togithub.com/xtermjs/xterm.js/issues/4400),
[#&#8203;4402](https://togithub.com/xtermjs/xterm.js/issues/4402),
[#&#8203;4406](https://togithub.com/xtermjs/xterm.js/issues/4406),
[#&#8203;4413](https://togithub.com/xtermjs/xterm.js/issues/4413),
[#&#8203;4427](https://togithub.com/xtermjs/xterm.js/issues/4427),
[#&#8203;4536](https://togithub.com/xtermjs/xterm.js/issues/4536)) via
[@&#8203;meganrogge](https://togithub.com/meganrogge),
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Update CI containers to Ubuntu 20.04
([#&#8203;4347](https://togithub.com/xtermjs/xterm.js/issues/4347)) via
[@&#8203;silamon](https://togithub.com/silamon)
- Update CI containers to use Node 18
([#&#8203;4542](https://togithub.com/xtermjs/xterm.js/issues/4542)) via
[@&#8203;silamon](https://togithub.com/silamon)
    4542
- Remove unused imports
([#&#8203;4361](https://togithub.com/xtermjs/xterm.js/issues/4361)) via
[@&#8203;Eugeny](https://togithub.com/Eugeny)
- Replace dom helper with HTMLElement.remove()
([#&#8203;4364](https://togithub.com/xtermjs/xterm.js/issues/4364)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Show proper parameter hints when calling createInstance
([#&#8203;4393](https://togithub.com/xtermjs/xterm.js/issues/4393)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Correct registerMarker API docs
([#&#8203;4464](https://togithub.com/xtermjs/xterm.js/issues/4464)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Add FAQ to new issue report
([#&#8203;4512](https://togithub.com/xtermjs/xterm.js/issues/4512)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix buffer corruption for utf8 transport in demo
([#&#8203;4527](https://togithub.com/xtermjs/xterm.js/issues/4527)) via
[@&#8203;jerch](https://togithub.com/jerch)

#### ⚠️ Deprecations

-   `windowsMode` has been deprecated in favor of `windowsPty`
    ```ts
    // Before 5.2
    term = new Terminal({ windowsMode: true });
    // After 5.2
    term = new Terminal({
      windowsPty: {
        backend: 'conpty',
        buildNumber: 19000
      }
    });
    ```

#### 🎉 New real-world use cases

- graSSHopper
([#&#8203;4356](https://togithub.com/xtermjs/xterm.js/issues/4356)) via
[@&#8203;Coding-Kiwi](https://togithub.com/Coding-Kiwi)
- DomTerm
([#&#8203;4456](https://togithub.com/xtermjs/xterm.js/issues/4456)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)

***

#### 📥 Addons

##### xterm-addon-canvas

- Fix rendering of underline on wide characters
([#&#8203;4352](https://togithub.com/xtermjs/xterm.js/issues/4352)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Update selection properly after changing themes
([#&#8203;4353](https://togithub.com/xtermjs/xterm.js/issues/4353)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Update selection properly after a resize
([#&#8203;4355](https://togithub.com/xtermjs/xterm.js/issues/4355)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Correct cell background color after clearing formatting
([#&#8203;4438](https://togithub.com/xtermjs/xterm.js/issues/4438)) via
[@&#8203;jerch](https://togithub.com/jerch)
- Fix rendering of 0xE0BB and 0xE0BF powerline symbols
([#&#8203;4451](https://togithub.com/xtermjs/xterm.js/issues/4451)) via
[@&#8203;Starwort](https://togithub.com/Starwort)
- Fix rendering of cursor leaving artifacts on Firefox
([#&#8203;4500](https://togithub.com/xtermjs/xterm.js/issues/4500)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Disallow glyphs to exceed texture atlas size
([#&#8203;4508](https://togithub.com/xtermjs/xterm.js/issues/4508)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Don't apply dim to background color
([#&#8203;4525](https://togithub.com/xtermjs/xterm.js/issues/4525)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix blacked out content
([#&#8203;4533](https://togithub.com/xtermjs/xterm.js/issues/4533)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)

##### xterm-addon-search

- Improve search behavior when there are > 1000 results
([#&#8203;4504](https://togithub.com/xtermjs/xterm.js/issues/4504)) via
[@&#8203;jeanp413](https://togithub.com/jeanp413)

##### xterm-addon-webgl

- Fix rendering of underline on wide characters
([#&#8203;4352](https://togithub.com/xtermjs/xterm.js/issues/4352)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix loadCell exception
([#&#8203;4403](https://togithub.com/xtermjs/xterm.js/issues/4403)) via
[@&#8203;meganrogge](https://togithub.com/meganrogge)
- Fix rendering of 0xE0BB and 0xE0BF powerline symbols
([#&#8203;4451](https://togithub.com/xtermjs/xterm.js/issues/4451)) via
[@&#8203;Starwort](https://togithub.com/Starwort)
- Fix rendering of cursor leaving artifacts on Firefox
([#&#8203;4500](https://togithub.com/xtermjs/xterm.js/issues/4500)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Disallow glyphs to exceed texture atlas size
([#&#8203;4508](https://togithub.com/xtermjs/xterm.js/issues/4508)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Don't apply dim to background color
([#&#8203;4525](https://togithub.com/xtermjs/xterm.js/issues/4525)) via
[@&#8203;Tyriar](https://togithub.com/Tyriar)
- Fix blacked out content
([#&#8203;4530](https://togithub.com/xtermjs/xterm.js/issues/4530)) via
[@&#8203;jerch](https://togithub.com/jerch)

#### 🤝 Compatible addon versions

-   `xterm-addon-attach@...`
-   `xterm-addon-fit@...`
-   `xterm-addon-ligatures@...`
-   `xterm-addon-search@...`
-   `xterm-addon-serialize@...`
-   `xterm-addon-unicode11@&#8203;...`
-   `xterm-addon-web-links@...`
-   `xterm-addon-webgl@...`

</details>

---

### Configuration

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

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

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

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

---

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

---

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

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

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Maxim Kholod <maxim.kholod@elastic.co>
Co-authored-by: Paulo Silva <paulo.henrique@elastic.co>
2025-01-27 09:58:22 -08:00
Ash
ba8d83a14c
[SecuritySolution][Endpoint] Update serverless roles to include stack connector sub-privilege (#208155)
## Summary

Adds EDR stack connectors sub-privilege to serverless roles.

### Checklist

Reviewers should verify this PR satisfies this list as well.

- [ ] 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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...
2025-01-27 17:40:28 +00:00
Anton Dosov
9e8ab663b7
[React@18] Fix index management unit tests that are failing with React@18 (#208387)
## Summary

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

Fixes when run with React@18
https://github.com/elastic/kibana/pull/208339#issuecomment-2615621371:


[[job]](https://buildkite.com/elastic/kibana-pull-request/builds/270417#0194a78a-2649-4cd6-bac8-5f186c246055)
[[logs]](0194a7ae-4701-478b-93ef-9013f7210234)
Jest Integration Tests / request flyout renders _meta field

[[job]](https://buildkite.com/elastic/kibana-pull-request/builds/270417#0194a78a-2649-4cd6-bac8-5f186c246055)
[[logs]](0194a7ae-4702-4357-a67e-d59c6bb5f12b)
Jest Integration Tests / request flyout renders a json with default
policy name when only policy name is missing

[[job]](https://buildkite.com/elastic/kibana-pull-request/builds/270417#0194a78a-2649-4cd6-bac8-5f186c246055)
[[logs]](0194a7ae-4701-4d18-8c34-1f4965486aa1)
Jest Integration Tests / request flyout renders an error callout if
policy form is invalid

[[job]](https://buildkite.com/elastic/kibana-pull-request/builds/270417#0194a78a-2649-4cd6-bac8-5f186c246055)
[[logs]](0194a7ae-4701-4533-9e12-e7056e8277aa)
Jest Integration Tests / request flyout renders the correct json and
name for a new policy



To run with React@18 use: 

```
REACT_18=true yarn test:jest_integration x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/request_flyout.test.ts
```

I tested that the component works in the browser, so the issue is in the
test. I think that because of some internal React@18 changes the order
in which the validation timeout inside our form lib is called conflcts
with fake timers (the timeout just stucks). So instead of trying to add
additional `jest.advanceTimersByTime(0);` in some places I decided to
simplify and just use the real timeouts that works well for both
react@17 an react@18
2025-01-27 17:21:44 +00:00
Rodney Norris
67458e629c
[search] remove logstream component, no longer used (#206804)
## Summary

Removing LogStream component from `enterprise_search` plugin and it is
no longer used with the removal of App Search & Workplace Search.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-27 11:20:25 -06:00
Bailey Cash
a133dc57a7
separate SLO route functions into different files (#208261)
Resolves [#207879](https://github.com/elastic/kibana/issues/207879)

This PR separates the different SLO route functions into separate files,
each with a single responsibility. The functions are still exported via
a single function, `getSloRouteRepository`.

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-27 17:19:01 +00:00
Hannah Mudge
e49be2d42b
[Dashboard] Fix panel reset (#208288)
## Summary

This PR fixes a bug that was introduced in
https://github.com/elastic/kibana/pull/206941 (by my recommendation,
oops) where panels can no longer be reset on Dashboard.

**Before**


https://github.com/user-attachments/assets/90bfce89-e188-45c6-937d-9ad48982d387

**After**


https://github.com/user-attachments/assets/25c9b9c8-7ad5-4808-89a1-0dcf7921b52e


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] 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)
2025-01-27 17:10:44 +00:00
Jan Monschke
1449a205c4
[SecuritySolution][Timelines] Update privilege (#208383)
## Summary

We forgot to update this privilege in
https://github.com/elastic/kibana/pull/201780 . The endpoint only uses
the scoped SO client, so this missing privilege declaration does not
lead to privilege escalation on the endpoint. There are automated tests
that check for the correct privilege access for this and other
endpoints.
2025-01-27 16:46:28 +00:00
Jorge Sanz
052ec56d5c
[Maps][Vega] Update default basemaps to adapt to the Borealis theme refresh (#208114)
Fixes #201269

## Summary

* Extracts the usage of the EMS styles identifiers to always refer to
the constants at `ems_defaults.ts`
* Adds logic in the Vega and Maps plugins to resolve different styles
depending on the theme, bringing the new `road_map_desaturated_v9` and
`dar_kmap_v9` styles when Borealis theme is enabled.


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
  - Screenshots will be updated as a larger effort afterwards. 
- [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
  - Changes were small enough for this to not require new tests. 
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

## Release note

Elastic Maps Service basemaps shown in the Custom Visualization
component (Vega) and in the Maps application and components alighn with
the new dark and light theme.

---------

Co-authored-by: Nick Partridge <nick.ryan.partridge@gmail.com>
2025-01-27 17:44:00 +01:00
Nick Partridge
a4089b1dbd
[Dashboard/Lens] Fix scroll jumping when editing from flyout (#207429)
## Summary

Fixes an issue that caused the body scroll to jump when clicking options
in the Lens inline editor flyout.

Fixes #201544

This issue was created when we added the `autoFocus` option to the
`EuiSelectable` for the dataview picker and the chart type picker.

This appears to be an issue with how eui is handling the `autoFocus`,
see https://github.com/elastic/eui/issues/8287.

In the meantime this is a workaround to prevent this scroll jumping
while also keeping the auto focus behavior.


https://github.com/user-attachments/assets/94256fa7-f6bd-4943-91f6-42201ce4ab74

### Checklist

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

## Release note

Fixes and issue in Dashboards with the Lens inline editor where the
dashboard would scroll to the top when interacting with the Lens editor
flyout.

---------

Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
2025-01-27 16:30:02 +00:00
Janki Salvi
bbc3944d31
[ResponseOps][Cases] Delete get status deprecated API (#208208)
## Summary

Resolves https://github.com/elastic/kibana/issues/207341

### Checklist

Check the PR satisfies following conditions. 

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

### Release note
Removed deprecated get case status API

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-27 16:21:19 +00:00
Mykola Harmash
ef96cd5d0b
[Onboarding] Additional auto-detect flow telemetry (#207726)
Closes https://github.com/elastic/observability-dev/issues/4236 🔒

This change:
* Moves flow progress update telemetry events to the backend (this will
prevent situations when multiple progress updates happened in a short
time interval, but frontend could only see the latest update because it
checks for progress once in a few seconds which might not be enough in
some situations)
* Leaves the data_ingested final event on the FE because it's not
explicitly triggered on the BE
* Deletes a separate event type for auto detect flow in favor of the
generic even used by other flows
* Adds progress updates to the auto-detect script when when it's being
run on unsupported OS or lsof binary is not present
* Adds logging of the OS and architecture used by the host

Events coming from your local Kibana can viewed on the [🔒 Staging
Telemetry cluster](https://telemetry-v2-staging.elastic.dev). Though
keep in mind, there is a ~1 hour delay for events indexing 😔

Example event:
![CleanShot 2025-01-22 at 12 26
14@2x](https://github.com/user-attachments/assets/077e4f15-5283-4198-a543-30f2507fa0f5)
2025-01-27 17:19:01 +01:00
Brandon Morelli
4f3a1c94f8
Remove complex tables (#207911)
### Summary

For migration purposes, we need to remove complex tables in the docs. If
we ultimately decide that we need complex tables to support certain
documentation use-cases, we can add that functionality to docs-builder
later.

For
https://github.com/elastic/docs-builder/issues/112#issuecomment-2599284112.

Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
2025-01-27 16:09:05 +00:00
Alex Szabo
da9caea9a2 skip failing suite (#205141) 2025-01-27 17:08:21 +01:00
Stratoula Kalafateli
e426bf0c8b
[ES|QL] Use emotion instead of scss in the editor (#208003)
## Summary

Part of https://github.com/elastic/kibana-team/issues/1417

Replaces scss with emotion in the ES|QL editor

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-27 16:51:38 +01:00
Maryam Saeidi
91e8490003
[StdPerf] Add onPageLoad event to alerts and alert details pages (#207089)
## Summary

This PR adds StdPerf to the alerts page and alert details page only for
the overview tab.

|Page|Screenshot|
|---|---|
|Alerts
page|![image](https://github.com/user-attachments/assets/4fe7aa75-b986-4b3c-90a9-4f55e2a21129)|
|Alert details
page|![image](https://github.com/user-attachments/assets/5662b171-2699-4a49-86e0-c89bb98800d2)|

---

Resolves https://github.com/elastic/observability-dev/issues/3559

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-27 16:21:20 +01:00
Gergő Ábrahám
1f3d4cb040
[EDR Workflows] Rerelease data collection reduction advanced options and banner (#205785)
## Summary

> [!warning]
> Planned to be merged before feature freeze, to cause the smallest
reasonable diverge between serverless and ess.

- adds advanced option `aggregate_network`
- adds advanced option `allow_cloud_features`
- re-adds backfill for existing data collection reduction advanced
options
- and updates their default value in their descriptions
- reenables banner for informing users, but it's kept behind a feature
flag:
`xpack.securitySolution.enableExperimental.eventCollectionDataReductionBannerEnabled`
- bumps revision number to trigger re-deployment of policies

> [!note]
> To enable the banner, set the feature flag
`xpack.securitySolution.enableExperimental.eventCollectionDataReductionBannerEnabled`

### Stack upgrade test
#### Before upgrade
<img width="191" alt="Screenshot 2025-01-07 at 17 41 31"
src="https://github.com/user-attachments/assets/41fdf96b-e105-4d6a-bd58-2cd916ba4267"
/>
<img width="675" alt="Screenshot 2025-01-07 at 17 42 01"
src="https://github.com/user-attachments/assets/a0af8d6c-dc6a-486b-a588-0a59f73460fd"
/>

#### After upgrade
<img width="198" alt="Screenshot 2025-01-07 at 17 43 52"
src="https://github.com/user-attachments/assets/98806068-3a3f-4cf1-855c-01b5953bca9c"
/>
<img width="699" alt="Screenshot 2025-01-07 at 17 44 45"
src="https://github.com/user-attachments/assets/12934b78-7679-427b-903d-208773c8086f"
/>

/* this is only for one OS, but the values are backfilled for all 3 OSes


### Banner
<img width="1384" alt="image"
src="https://github.com/user-attachments/assets/9505f5d0-5cd6-4ea1-b70c-3d5f4888d4f2"
/>


### 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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Daniel Ferullo <56368752+ferullo@users.noreply.github.com>
2025-01-27 16:14:50 +01:00
Elena Shostak
c495ac1ace
[Spaces] Skipped api integration tests with FIPS for get_all with basic license (#208359)
## Summary
`get_all` suite
`x-pack/test/spaces_api_integration/security_and_spaces/apis/get_all.ts`
is intented to be run only with `basic` license, since FIPS overrides it
we need to skip that test for FIPS.


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
2025-01-27 15:00:00 +00:00
Pablo Machado
15c622bb82
[SecuritySolution] Add "Install" and "Reinstall" button on Entity Store status page (#208149)
## Summary

Add "Install" and "Reinstall" buttons on Entity Store status page 
* It also adds an extra loading state for the 'enable' switch in the
header

![Screenshot 2025-01-24 at 11 14
33](https://github.com/user-attachments/assets/b12ceae5-77c1-41bd-ad4c-58bdad3d6891)



### How to test it?
**1)**
* Start a Kibana repository with entity data
* Install the entity store
* Delete one engine using Dev Tools `DELETE
kbn:/api/entity_store/engines/user`
* Go to the manage entity store status tab 
* Verify that it displays an install button for the uninstalled engine
* Install the engine

**2)**
* Start a Kibana repository with entity data
* Install the entity store
* Go to the manage entity store status tab 
* Delete one component of an installed engine (transform)
* Go to the manage entity store status tab 
* Verify it displays a reinstall button for the engine you uninstalled
the component
* Reinstall the engine
* Everything should look ok
* Extra step: Verify if there was any data lost after reinstalling the
engine



### Checklist

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] [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)
2025-01-27 15:42:48 +01:00
Gerard Soldevila
009b377164
Insert 100k sample docs in 10k batches (#208348)
## Summary

Attempt at fixing the following failing serverless test suite:

`src/core/server/integration_tests/saved_objects/serverless/migrations/actions.test.ts`
Resulting in `write EPIPE`

See incident 1077
2025-01-27 14:22:03 +00:00
Konrad Szwarc
27811a4905
[EDR Workflows] Workflow Insights - Replace Tech Preview label (#208347)
As requested, changed 
![Screenshot 2025-01-27 at 13 02
26](https://github.com/user-attachments/assets/4d4cfd48-78cc-408c-9963-aa1b261d3927)
to
![Screenshot 2025-01-27 at 12 56
35](https://github.com/user-attachments/assets/65ca37b0-7b2a-4186-b5a6-785281234553)
2025-01-27 14:19:23 +00:00
Julia Bardi
26e10f7058
[Fleet] fix View agents for failed upgrade action (#208214)
## Summary

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

When querying agent ids for actions, some agent ids might not be in
`.fleet-actions`, but only in `.fleet-actions-results`. This happens
when during the bulk upgrade action, some agents are not upgradeable,
the agents only appear in `.fleet-actions-results` as errors. So as a
fix, querying agent ids from there too.

To verify:
- enroll a few agents with docker
- select 2 or more agents
- click bulk upgrade action
- open agent activity, find the failed action
- click on `View agents`
- verify that the agents are filtered correctly

<img width="1161" alt="image"
src="https://github.com/user-attachments/assets/344b6b1f-0f4c-48ec-98c5-15df46b6b227"
/>
<img width="727" alt="image"
src="https://github.com/user-attachments/assets/fb4a9fdb-5e62-448c-a4f4-6ba127bdfdd6"
/>
<img width="1165" alt="image"
src="https://github.com/user-attachments/assets/ee29469b-4b67-4ed7-9716-a5d8ac25d37a"
/>


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
2025-01-27 15:04:21 +01:00
Ignacio Rivas
458704f475
[Console] Fix flaky autocomplete functional tests (#208322) 2025-01-27 15:01:19 +01:00
José Luis González
ad84cce62c
[Search] New Connectors and Web Crawlers temp icons (#208341)
## Summary

The new Connectors and Web Crawler icons were redesigned and will be
provided by EUI with [this
PR](https://github.com/elastic/eui/pull/8285). While those are not
available waiting for next EUI release, [we agreed with EUI
team](https://elastic.slack.com/archives/C7QC1JV6F/p1737712560812099) to
update any reference with custom EUI icons in the meantime to later get
them from EUI and remove this custom implementation.

![CleanShot 2025-01-27 at 12 00
09@2x](https://github.com/user-attachments/assets/f243204e-468b-4193-9f5e-17bce22c56d2)

![CleanShot 2025-01-27 at 11 59
34@2x](https://github.com/user-attachments/assets/a19dff22-6a49-43a5-adef-bcf08209e514)

![CleanShot 2025-01-27 at 11 59
22@2x](https://github.com/user-attachments/assets/d0c153ae-f0c5-483b-bcd8-f4677e0749f0)


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] 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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...
2025-01-27 14:48:53 +01:00
Sonia Sanz Vivas
5824279531
[Snapshot and restore]Remove SLM banner for duplicated schedules (#207748)
Closes https://github.com/elastic/kibana/issues/101007

## Summary

**Double-checked with ES that can be removed** 

In the policies tab, when two policies had the same schedule, we were
displaying a banner warning that only one snapshot could be taken at a
time, although this is no longer true. This PR removes that banner.

<img width="1068" alt="Screenshot 2025-01-22 at 13 15 55"
src="https://github.com/user-attachments/assets/cdb7d468-5ef1-4acd-8ea6-4ce961453695"
/>

## How to test
Run Elasticsearch adding the file system path you want to use for the
repo:

```
yarn es snapshot --license=trial -E path.repo=/tmp/es-backups
```

From the console, you can add a repository pointing the location you
previously specified:

```
PUT /_snapshot/my_backup
{
  "type": "fs",
  "settings": {
    "location": "/tmp/es-backups",
    "chunk_size": "10mb"
  }
}
```
Now, create at least two policies with the same schedule:

```
PUT _slm/policy/policy-1
{
  "schedule": "0 20 11 * * ?",
  "name": "<policy-1-{now/d}>",
  "repository": "my_backup",
  "config": {
    "indices": ["*"],
    "ignore_unavailable": false,
    "include_global_state": true
  }
}

PUT _slm/policy/policy-2
{
  "schedule": "0 20 11 * * ?",
  "name": "<policy-2-{now/d}>",
  "repository": "my_backup",
  "config": {
    "indices": ["*"],
    "ignore_unavailable": false,
    "include_global_state": true
  }
}
```
Navigate to Snapshot and Restore > Policies > And verify the banner is
not longer displayed despite the policies have the same schedule.

You can also schedule the policies a couple of minutes after their
creation and verify that the snapshots are taken at the same time
without any problem.
2025-01-27 13:32:18 +00:00
elastic-renovate-prod[bot]
5d1e16849e
Update dependency @xyflow/react to ^12.4.1 (main) (#208049)
This PR contains the following updates:

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

---

### Configuration

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

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

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

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

---

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

---

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

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Maxim Kholod <maxim.kholod@elastic.co>
2025-01-27 14:08:01 +01:00
Rickyanto Ang
a2d36067e9
[Cloud Security] Deleting K8S Dashboard (#207127)
## Summary

As K8S Dashboard is currently hidden on main , the code serves no
purpose other than potentially causing Tech debts whenever a refactor or
a migration happens. As such its better to remove it completely. In case
we want to bring it back later we will just pull it from git history

> [!CAUTION]
> **This should only affect Serverless and Main, 8.x.x should still be
able to see and access K8S Dashboard**

## Related Tickets
- https://github.com/elastic/security-team/issues/11418
- https://github.com/elastic/security-team/issues/10735

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Paulo Silva <paulo.henrique@elastic.co>
Co-authored-by: Maxim Kholod <maxim.kholod@elastic.co>
2025-01-27 14:06:29 +01:00
Giorgos Bamparopoulos
5e47da357d
[Observability Onboarding] Add landing page to global search (#206662)
Adds the observability onboarding landing page to global search.

Keywords used:
- `Add data`

<img width="651" alt="image"
src="https://github.com/user-attachments/assets/9a88b24d-ee85-495e-99be-812428e829c1"
/>

<img width="661" alt="image"
src="https://github.com/user-attachments/assets/72fe9848-3b4b-4975-a824-4c8a4e89665d"
/>

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

---------

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-27 15:01:00 +02:00
Janki Salvi
9291165413
[ResponseOps][Cases] Delete get all user actions API (#208086)
## Summary

Resolves https://github.com/elastic/kibana/issues/207340

### Checklist

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

### Release note
Removed deprecated get user actions API

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-27 12:57:22 +00:00