Commit graph

3364 commits

Author SHA1 Message Date
Brad White
157c66d830
dedupe 2024-12-07 01:21:34 +00:00
elastic-renovate-prod[bot]
002afdf440
Update dependency svgo to v3 2024-12-06 16:46:53 +00:00
Gerard Soldevila
b2d49b8beb
Sustainable Kibana Architecture: Move modules owned by @elastic/docs (#202416)
## 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. We kindly ask you to:

* Review the moved files, as some of them contain relative paths that
have been updated.
* Review the updated files, as some of them contain references 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
* We kindly ask you to:
* 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.


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

  | Id | Target folder |
  | -- | ------------- |
  | `@kbn/doc-links` | `src/platform/packages/shared/kbn-doc-links` |


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

```
./docs/upgrade-notes.asciidoc
./package.json
./packages/kbn-repo-packages/package-map.json
./packages/kbn-ts-projects/config-paths.json
./src/core/tsconfig.type_check.json
./src/platform/packages/shared/kbn-doc-links/jest.config.js
./src/plugins/ai_assistant_management/selection/tsconfig.type_check.json
./tsconfig.base.json
./tsconfig.base.type_check.json
./tsconfig.refs.json
./x-pack/plugins/alerting/tsconfig.type_check.json
./x-pack/plugins/search_connectors/tsconfig.type_check.json
./x-pack/plugins/search_inference_endpoints/tsconfig.type_check.json
./x-pack/plugins/search_playground/tsconfig.type_check.json
./x-pack/plugins/security_solution/tsconfig.type_check.json
./x-pack/plugins/serverless_search/tsconfig.type_check.json
./x-pack/plugins/threat_intelligence/tsconfig.type_check.json
./yarn.lock
```
</details>
<details>
<summary>Updated relative paths</summary>

```
src/platform/packages/shared/kbn-doc-links/jest.config.js:12
src/platform/packages/shared/kbn-doc-links/tsconfig.json:2
src/platform/packages/shared/kbn-doc-links/tsconfig.type_check.json:2
```
</details>
<details>
<summary>Script errors</summary>

```

```
</details>
2024-12-05 14:54:58 +01:00
elastic-renovate-prod[bot]
39ce60a399
Update dependency @elastic/request-converter to ^8.17.0 (main) (#202954) 2024-12-05 06:28:54 -06:00
Jeramy Soucy
52e021ff7f
Upgrade axios 1.7.4 → 1.7.9 (#202774)
## Summary

Upgrades `axios` from v1.7.4 to v1.7.9.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-04 17:13:35 -05:00
Jeramy Soucy
f8860e91cf
Upgrade webpack 5.91.0 → 5.96.1 (#202534)
## Summary

Upgrades references to webpack5 from v5.91.0 to v5.96.1

A v4 to v5 upgrade is being explored here:
https://github.com/elastic/kibana/pull/191106

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-04 15:28:12 -05:00
Pierre Gayvallet
14ad13b6a3
Add base FTR test coverage for inference APIs (#198000)
## Summary

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

This PR introduces the first set of end to end integration test for the
inference APIs, and the tooling required to do so (see issue for more
context)

- Add a dedicated pipeline for ai-infra GenAI tests. pipeline is
triggered when:
  - genAI stack connectors, or ai-infra owned code is changed
  - when the `ci:all-gen-ai-suites` label is present on a PR
  - on merge
- adapt the `ftr_configs.sh` script to load GenAI connector
configuration from vault when a specific var env is set
- create the `@kbn/gen-ai-functional-testing` package, which for now
only contains utilities to load the GenAI connector configuration in FTR
tests
- Add FTR integration tests for the `chatComplete` API of the
`inference` plugin

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-04 06:39:45 -06:00
Tomasz Kajtoch
765ab20da1
Upgrade EUI to v98.1.0 (#202073) 2024-12-03 21:03:45 -06:00
elastic-renovate-prod[bot]
549d57445a
Update @elastic/appex-ai-infra (main) (#200579)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| @&#8203;langtrase/trace-attributes | dependencies | major | [`^3.0.8`
->
`^7.5.0`](https://renovatebot.com/diffs/npm/@langtrase%2ftrace-attributes/3.0.8/7.5.0)
|
|
[@smithy/eventstream-serde-node](https://togithub.com/awslabs/smithy-typescript/tree/main/packages/eventstream-serde-node)
([source](https://togithub.com/awslabs/smithy-typescript/tree/HEAD/packages/eventstream-serde-node))
| dependencies | patch | [`^3.0.3` ->
`^3.0.12`](https://renovatebot.com/diffs/npm/@smithy%2feventstream-serde-node/3.0.3/3.0.12)
|
|
[@smithy/protocol-http](https://togithub.com/awslabs/smithy-typescript/tree/main/packages/protocol-http)
([source](https://togithub.com/awslabs/smithy-typescript/tree/HEAD/packages/protocol-http))
| dependencies | minor | [`^4.0.2` ->
`^4.1.7`](https://renovatebot.com/diffs/npm/@smithy%2fprotocol-http/4.0.2/4.1.7)
|
|
[@smithy/signature-v4](https://togithub.com/awslabs/smithy-typescript/tree/main/packages/signature-v4)
([source](https://togithub.com/awslabs/smithy-typescript/tree/HEAD/packages/signature-v4))
| dependencies | major | [`^3.1.1` ->
`^4.2.3`](https://renovatebot.com/diffs/npm/@smithy%2fsignature-v4/3.1.1/4.2.3)
|
|
[@smithy/types](https://togithub.com/awslabs/smithy-typescript/tree/main/packages/types)
([source](https://togithub.com/awslabs/smithy-typescript/tree/HEAD/packages/types))
| dependencies | minor | [`^3.2.0` ->
`^3.7.1`](https://renovatebot.com/diffs/npm/@smithy%2ftypes/3.2.0/3.7.1)
|
|
[@types/json-schema](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-schema)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/json-schema))
| devDependencies | patch | [`^7` ->
`^7.0.15`](https://renovatebot.com/diffs/npm/@types%2fjson-schema/7.0.11/7.0.15)
|
| [ajv](https://ajv.js.org)
([source](https://togithub.com/ajv-validator/ajv)) | dependencies |
minor | [`^8.12.0` ->
`^8.17.1`](https://renovatebot.com/diffs/npm/ajv/8.12.0/8.17.1) |
| [aws4](https://togithub.com/mhart/aws4) | dependencies | minor |
[`^1.12.0` ->
`^1.13.2`](https://renovatebot.com/diffs/npm/aws4/1.12.0/1.13.2) |
| [eventsource-parser](https://togithub.com/rexxars/eventsource-parser)
| dependencies | major | [`^1.1.1` ->
`^3.0.0`](https://renovatebot.com/diffs/npm/eventsource-parser/1.1.1/3.0.0)
|
| [fast-glob](https://togithub.com/mrmlnc/fast-glob) | resolutions |
patch | [`^3.2.11` ->
`^3.3.2`](https://renovatebot.com/diffs/npm/fast-glob/3.3.2/3.3.2) |
| [gpt-tokenizer](https://togithub.com/niieani/gpt-tokenizer) |
dependencies | minor | [`^2.1.2` ->
`^2.6.2`](https://renovatebot.com/diffs/npm/gpt-tokenizer/2.1.2/2.6.2) |
| [langsmith](https://togithub.com/langchain-ai/langsmith-sdk) |
dependencies | patch | [`^0.2.3` ->
`^0.2.5`](https://renovatebot.com/diffs/npm/langsmith/0.2.3/0.2.5) |
| [openai](https://togithub.com/openai/openai-node) | dependencies |
minor | [`^4.68.0` ->
`^4.72.0`](https://renovatebot.com/diffs/npm/openai/4.69.0/4.72.0) |
| [table](https://togithub.com/gajus/table) | devDependencies | patch |
[`^6.8.1` ->
`^6.8.2`](https://renovatebot.com/diffs/npm/table/6.8.1/6.8.2) |

---

### Release Notes

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

###
[`v3.0.12`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/eventstream-serde-node/CHANGELOG.md#3012)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/eventstream-serde-node@3.0.11...@smithy/eventstream-serde-node@3.0.12)

##### Patch Changes

- Updated dependencies
\[[`fcd5ca8`](fcd5ca8)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).7.1
-
[@&#8203;smithy/eventstream-serde-universal](https://togithub.com/smithy/eventstream-serde-universal)[@&#8203;3](https://togithub.com/3).0.12

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

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

##### Patch Changes

- Updated dependencies
\[[`cd1929b`](cd1929b)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).7.0
-
[@&#8203;smithy/eventstream-serde-universal](https://togithub.com/smithy/eventstream-serde-universal)[@&#8203;3](https://togithub.com/3).0.11

###
[`v3.0.10`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/eventstream-serde-node/CHANGELOG.md#3010)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/eventstream-serde-node@3.0.9...@smithy/eventstream-serde-node@3.0.10)

##### Patch Changes

- Updated dependencies
\[[`84bec05`](84bec05)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).6.0
-
[@&#8203;smithy/eventstream-serde-universal](https://togithub.com/smithy/eventstream-serde-universal)[@&#8203;3](https://togithub.com/3).0.10

###
[`v3.0.9`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/eventstream-serde-node/CHANGELOG.md#309)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/eventstream-serde-node@3.0.8...@smithy/eventstream-serde-node@3.0.9)

##### Patch Changes

- Updated dependencies
\[[`a4c1285`](a4c1285)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).5.0
-
[@&#8203;smithy/eventstream-serde-universal](https://togithub.com/smithy/eventstream-serde-universal)[@&#8203;3](https://togithub.com/3).0.9

###
[`v3.0.8`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/eventstream-serde-node/CHANGELOG.md#308)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/eventstream-serde-node@3.0.7...@smithy/eventstream-serde-node@3.0.8)

##### Patch Changes

- Updated dependencies
\[[`e7b438b`](e7b438b)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).4.2
-
[@&#8203;smithy/eventstream-serde-universal](https://togithub.com/smithy/eventstream-serde-universal)[@&#8203;3](https://togithub.com/3).0.8

###
[`v3.0.7`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/eventstream-serde-node/CHANGELOG.md#307)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/eventstream-serde-node@3.0.6...@smithy/eventstream-serde-node@3.0.7)

##### Patch Changes

- Updated dependencies
\[[`cf9257e`](cf9257e)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).4.1
-
[@&#8203;smithy/eventstream-serde-universal](https://togithub.com/smithy/eventstream-serde-universal)[@&#8203;3](https://togithub.com/3).0.7

###
[`v3.0.6`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/eventstream-serde-node/CHANGELOG.md#306)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/eventstream-serde-node@3.0.5...@smithy/eventstream-serde-node@3.0.6)

##### Patch Changes

- Updated dependencies
\[[`2dad138`](2dad138)]
- Updated dependencies
\[[`9f3f2f5`](9f3f2f5)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).4.0
-
[@&#8203;smithy/eventstream-serde-universal](https://togithub.com/smithy/eventstream-serde-universal)[@&#8203;3](https://togithub.com/3).0.6

###
[`v3.0.5`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/eventstream-serde-node/CHANGELOG.md#305)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/eventstream-serde-node@3.0.4...@smithy/eventstream-serde-node@3.0.5)

##### Patch Changes

- Updated dependencies
\[[`b352cc1`](b352cc1)]
-
[@&#8203;smithy/eventstream-serde-universal](https://togithub.com/smithy/eventstream-serde-universal)[@&#8203;3](https://togithub.com/3).0.5

###
[`v3.0.4`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/eventstream-serde-node/CHANGELOG.md#304)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/eventstream-serde-node@3.0.3...@smithy/eventstream-serde-node@3.0.4)

##### Patch Changes

- Updated dependencies
\[[`4784fb9`](4784fb9)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).3.0
-
[@&#8203;smithy/eventstream-serde-universal](https://togithub.com/smithy/eventstream-serde-universal)[@&#8203;3](https://togithub.com/3).0.4

</details>

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

###
[`v4.1.7`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/protocol-http/CHANGELOG.md#417)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/protocol-http@4.1.6...@smithy/protocol-http@4.1.7)

##### Patch Changes

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

###
[`v4.1.6`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/protocol-http/CHANGELOG.md#416)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/protocol-http@4.1.5...@smithy/protocol-http@4.1.6)

##### Patch Changes

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

###
[`v4.1.5`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/protocol-http/CHANGELOG.md#415)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/protocol-http@4.1.4...@smithy/protocol-http@4.1.5)

##### Patch Changes

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

###
[`v4.1.4`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/protocol-http/CHANGELOG.md#414)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/protocol-http@4.1.3...@smithy/protocol-http@4.1.4)

##### Patch Changes

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

###
[`v4.1.3`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/protocol-http/CHANGELOG.md#413)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/protocol-http@4.1.2...@smithy/protocol-http@4.1.3)

##### Patch Changes

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

###
[`v4.1.2`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/protocol-http/CHANGELOG.md#412)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/protocol-http@4.1.1...@smithy/protocol-http@4.1.2)

##### Patch Changes

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

###
[`v4.1.1`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/protocol-http/CHANGELOG.md#411)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/protocol-http@4.1.0...@smithy/protocol-http@4.1.1)

##### Patch Changes

- Updated dependencies
\[[`2dad138`](2dad138)]
- Updated dependencies
\[[`9f3f2f5`](9f3f2f5)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).4.0

###
[`v4.1.0`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/protocol-http/CHANGELOG.md#410)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/protocol-http@4.0.4...@smithy/protocol-http@4.1.0)

##### Minor Changes

-
[`86862ea`](86862ea):
switch to static HttpRequest clone method

###
[`v4.0.4`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/protocol-http/CHANGELOG.md#404)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/protocol-http@4.0.3...@smithy/protocol-http@4.0.4)

##### Patch Changes

-
[`796567d`](796567d):
add guidance for HttpRequest cloning

###
[`v4.0.3`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/protocol-http/CHANGELOG.md#403)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/protocol-http@4.0.2...@smithy/protocol-http@4.0.3)

##### Patch Changes

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

</details>

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

###
[`v4.2.3`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/signature-v4/CHANGELOG.md#423)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/signature-v4@&#8203;4.2.2...@smithy/signature-v4@&#8203;4.2.3)

##### Patch Changes

- Updated dependencies
\[[`fcd5ca8`](fcd5ca8)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).7.1
-
[@&#8203;smithy/protocol-http](https://togithub.com/smithy/protocol-http)[@&#8203;4](https://togithub.com/4).1.7
-
[@&#8203;smithy/util-middleware](https://togithub.com/smithy/util-middleware)[@&#8203;3](https://togithub.com/3).0.10

###
[`v4.2.2`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/signature-v4/CHANGELOG.md#422)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/signature-v4@&#8203;4.2.1...@smithy/signature-v4@&#8203;4.2.2)

##### Patch Changes

- Updated dependencies
\[[`cd1929b`](cd1929b)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).7.0
-
[@&#8203;smithy/protocol-http](https://togithub.com/smithy/protocol-http)[@&#8203;4](https://togithub.com/4).1.6
-
[@&#8203;smithy/util-middleware](https://togithub.com/smithy/util-middleware)[@&#8203;3](https://togithub.com/3).0.9

###
[`v4.2.1`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/signature-v4/CHANGELOG.md#421)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/signature-v4@&#8203;4.2.0...@smithy/signature-v4@&#8203;4.2.1)

##### Patch Changes

- Updated dependencies
\[[`84bec05`](84bec05)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).6.0
-
[@&#8203;smithy/protocol-http](https://togithub.com/smithy/protocol-http)[@&#8203;4](https://togithub.com/4).1.5
-
[@&#8203;smithy/util-middleware](https://togithub.com/smithy/util-middleware)[@&#8203;3](https://togithub.com/3).0.8

###
[`v4.2.0`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/signature-v4/CHANGELOG.md#420)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/signature-v4@&#8203;4.1.4...@smithy/signature-v4@&#8203;4.2.0)

##### Minor Changes

-
[`a4c1285`](a4c1285):
configurable hoisted headers

##### Patch Changes

- Updated dependencies
\[[`a4c1285`](a4c1285)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).5.0
-
[@&#8203;smithy/protocol-http](https://togithub.com/smithy/protocol-http)[@&#8203;4](https://togithub.com/4).1.4
-
[@&#8203;smithy/util-middleware](https://togithub.com/smithy/util-middleware)[@&#8203;3](https://togithub.com/3).0.7

###
[`v4.1.4`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/signature-v4/CHANGELOG.md#414)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/signature-v4@&#8203;4.1.3...@smithy/signature-v4@&#8203;4.1.4)

##### Patch Changes

-
[`806cc7f`](806cc7f):
fix: sort query parameter keys after encoding

###
[`v4.1.3`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/signature-v4/CHANGELOG.md#413)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/signature-v4@&#8203;4.1.2...@smithy/signature-v4@&#8203;4.1.3)

##### Patch Changes

- Updated dependencies
\[[`e7b438b`](e7b438b)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).4.2
-
[@&#8203;smithy/protocol-http](https://togithub.com/smithy/protocol-http)[@&#8203;4](https://togithub.com/4).1.3
-
[@&#8203;smithy/util-middleware](https://togithub.com/smithy/util-middleware)[@&#8203;3](https://togithub.com/3).0.6

###
[`v4.1.2`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/signature-v4/CHANGELOG.md#412)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/signature-v4@&#8203;4.1.1...@smithy/signature-v4@&#8203;4.1.2)

##### Patch Changes

- Updated dependencies
\[[`cf9257e`](cf9257e)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).4.1
-
[@&#8203;smithy/protocol-http](https://togithub.com/smithy/protocol-http)[@&#8203;4](https://togithub.com/4).1.2
-
[@&#8203;smithy/util-middleware](https://togithub.com/smithy/util-middleware)[@&#8203;3](https://togithub.com/3).0.5

###
[`v4.1.1`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/signature-v4/CHANGELOG.md#411)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/signature-v4@&#8203;4.1.0...@smithy/signature-v4@&#8203;4.1.1)

##### Patch Changes

- Updated dependencies
\[[`2dad138`](2dad138)]
- Updated dependencies
\[[`9f3f2f5`](9f3f2f5)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).4.0
-
[@&#8203;smithy/protocol-http](https://togithub.com/smithy/protocol-http)[@&#8203;4](https://togithub.com/4).1.1
-
[@&#8203;smithy/util-middleware](https://togithub.com/smithy/util-middleware)[@&#8203;3](https://togithub.com/3).0.4

###
[`v4.1.0`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/signature-v4/CHANGELOG.md#410)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/signature-v4@&#8203;4.0.0...@smithy/signature-v4@&#8203;4.1.0)

##### Minor Changes

-
[`86862ea`](86862ea):
switch to static HttpRequest clone method

##### Patch Changes

- Updated dependencies
\[[`86862ea`](86862ea)]
-
[@&#8203;smithy/protocol-http](https://togithub.com/smithy/protocol-http)[@&#8203;4](https://togithub.com/4).1.0

###
[`v4.0.0`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/signature-v4/CHANGELOG.md#400)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/signature-v4@&#8203;3.1.2...@smithy/signature-v4@&#8203;4.0.0)

##### Major Changes

-
[`ae8bf5c`](ae8bf5c):
Make sha256 required parameter for SigV4 constructor

###
[`v3.1.2`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/signature-v4/CHANGELOG.md#312)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/signature-v4@&#8203;3.1.1...@smithy/signature-v4@&#8203;3.1.2)

##### Patch Changes

- Updated dependencies
\[[`4784fb9`](4784fb9)]
-
[@&#8203;smithy/types](https://togithub.com/smithy/types)[@&#8203;3](https://togithub.com/3).3.0
-
[@&#8203;smithy/util-middleware](https://togithub.com/smithy/util-middleware)[@&#8203;3](https://togithub.com/3).0.3

</details>

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

###
[`v3.7.1`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/types/CHANGELOG.md#371)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/types@3.7.0...@smithy/types@3.7.1)

##### Patch Changes

-
[`fcd5ca8`](fcd5ca8):
prevent infinite recursion with NoUndefined and RecursiveRequired re:
DocumentType

###
[`v3.7.0`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/types/CHANGELOG.md#370)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/types@3.6.0...@smithy/types@3.7.0)

##### Minor Changes

-
[`cd1929b`](cd1929b):
vitest compatibility

###
[`v3.6.0`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/types/CHANGELOG.md#360)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/types@3.5.0...@smithy/types@3.6.0)

##### Minor Changes

-
[`84bec05`](84bec05):
add feature identification map to smithy context

###
[`v3.5.0`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/types/CHANGELOG.md#350)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/types@3.4.2...@smithy/types@3.5.0)

##### Minor Changes

-
[`a4c1285`](a4c1285):
configurable hoisted headers

###
[`v3.4.2`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/types/CHANGELOG.md#342)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/types@3.4.1...@smithy/types@3.4.2)

##### Patch Changes

-
[`e7b438b`](e7b438b):
add interface stub for browser RequestInit type

###
[`v3.4.1`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/types/CHANGELOG.md#341)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/types@3.4.0...@smithy/types@3.4.1)

##### Patch Changes

-
[`cf9257e`](cf9257e):
add requestInit options to fetch

###
[`v3.4.0`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/types/CHANGELOG.md#340)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/types@3.3.0...@smithy/types@3.4.0)

##### Minor Changes

-
[`2dad138`](2dad138):
Add string array to EndpointParameters

##### Patch Changes

-
[`9f3f2f5`](9f3f2f5):
fix type transforms

###
[`v3.3.0`](https://togithub.com/awslabs/smithy-typescript/blob/HEAD/packages/types/CHANGELOG.md#330)

[Compare
Source](https://togithub.com/awslabs/smithy-typescript/compare/@smithy/types@3.2.0...@smithy/types@3.3.0)

##### Minor Changes

-
[`4784fb9`](4784fb9):
Adding support for setting the fetch API credentials mode

</details>

<details>
<summary>ajv-validator/ajv (ajv)</summary>

###
[`v8.17.1`](https://togithub.com/ajv-validator/ajv/releases/tag/v8.17.1)

[Compare
Source](https://togithub.com/ajv-validator/ajv/compare/v8.16.0...v8.17.1)

#### What's Changed

- bump version to 8.17.1 by
[@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2472](https://togithub.com/ajv-validator/ajv/pull/2472)

**Full Changelog**:
https://github.com/ajv-validator/ajv/compare/v8.17.0...v8.17.1

#### Plus everything in 8.17.0 which failed to release

The only functional change is to switch from uri-js (which is no longer
supported), to fast-uri. This is the second attempt and the team on
fast-uri have been really helpful addressing the issues we found last
time.

Revert "Revert fast-uri change
([https://github.com/ajv-validator/ajv/pull/2444](https://togithub.com/ajv-validator/ajv/pull/2444))"
by [@&#8203;gurgunday](https://togithub.com/gurgunday) in
[https://github.com/ajv-validator/ajv/pull/2448](https://togithub.com/ajv-validator/ajv/pull/2448)
fix: ignore new eslint error for
[@&#8203;typescript-eslint/no-extraneous-class](https://togithub.com/typescript-eslint/no-extraneous-class)
by [@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2455](https://togithub.com/ajv-validator/ajv/pull/2455)
docs: clarify behaviour of addVocabulary by
[@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2454](https://togithub.com/ajv-validator/ajv/pull/2454)
docs: refactor to improve legibility by
[@&#8203;blottn](https://togithub.com/blottn) in
[https://github.com/ajv-validator/ajv/pull/2432](https://togithub.com/ajv-validator/ajv/pull/2432)
Fix grammatical typo in managing-schemas.md by
[@&#8203;wetneb](https://togithub.com/wetneb) in
[https://github.com/ajv-validator/ajv/pull/2305](https://togithub.com/ajv-validator/ajv/pull/2305)
docs: Fix broken strict-mode link by
[@&#8203;alexanderjsx](https://togithub.com/alexanderjsx) in
[https://github.com/ajv-validator/ajv/pull/2459](https://togithub.com/ajv-validator/ajv/pull/2459)
feat: add test for encoded refs and bump fast-uri by
[@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2449](https://togithub.com/ajv-validator/ajv/pull/2449)
fix: changes for
[@&#8203;typescript-eslint/array-type](https://togithub.com/typescript-eslint/array-type)
rule by [@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2467](https://togithub.com/ajv-validator/ajv/pull/2467)
fixes
[https://github.com/ajv-validator/ajv/issues/2217](https://togithub.com/ajv-validator/ajv/issues/2217)
- clarify custom keyword naming by
[@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2457](https://togithub.com/ajv-validator/ajv/pull/2457)

###
[`v8.16.0`](https://togithub.com/ajv-validator/ajv/releases/tag/v8.16.0)

[Compare
Source](https://togithub.com/ajv-validator/ajv/compare/v8.15.0...v8.16.0)

#### What's Changed

- Revert fast-uri change by
[@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2444](https://togithub.com/ajv-validator/ajv/pull/2444)

**Full Changelog**:
https://github.com/ajv-validator/ajv/compare/v8.15.0...v8.16.0

###
[`v8.15.0`](https://togithub.com/ajv-validator/ajv/releases/tag/v8.15.0)

[Compare
Source](https://togithub.com/ajv-validator/ajv/compare/v8.14.0...v8.15.0)

#### What's Changed

- Replace `uri-js` with `fast-uri` by
[@&#8203;vixalien](https://togithub.com/vixalien) in
[https://github.com/ajv-validator/ajv/pull/2415](https://togithub.com/ajv-validator/ajv/pull/2415)
- Bump to 8.15.0 by
[@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2442](https://togithub.com/ajv-validator/ajv/pull/2442)

#### New Contributors

- [@&#8203;vixalien](https://togithub.com/vixalien) made their first
contribution in
[https://github.com/ajv-validator/ajv/pull/2415](https://togithub.com/ajv-validator/ajv/pull/2415)

**Full Changelog**:
https://github.com/ajv-validator/ajv/compare/v8.14.0...v8.15.0

###
[`v8.14.0`](https://togithub.com/ajv-validator/ajv/releases/tag/v8.14.0)

[Compare
Source](https://togithub.com/ajv-validator/ajv/compare/v8.13.0...v8.14.0)

#### What's Changed

- readme: build badge by
[@&#8203;epoberezkin](https://togithub.com/epoberezkin) in
[https://github.com/ajv-validator/ajv/pull/2424](https://togithub.com/ajv-validator/ajv/pull/2424)
- Update workflows by [@&#8203;rotu](https://togithub.com/rotu) in
[https://github.com/ajv-validator/ajv/pull/2410](https://togithub.com/ajv-validator/ajv/pull/2410)
- docs: add warning to maxLength / minLength by
[@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2428](https://togithub.com/ajv-validator/ajv/pull/2428)
- fix: broken link in docs warning by
[@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2431](https://togithub.com/ajv-validator/ajv/pull/2431)
- compileAsync a schema with discriminator and $ref, fixes
[#&#8203;2427](https://togithub.com/ajv-validator/ajv/issues/2427) by
[@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2433](https://togithub.com/ajv-validator/ajv/pull/2433)
- bump version to 8.14.0 for publishing by
[@&#8203;jasoniangreen](https://togithub.com/jasoniangreen) in
[https://github.com/ajv-validator/ajv/pull/2440](https://togithub.com/ajv-validator/ajv/pull/2440)

#### New Contributors

- [@&#8203;rotu](https://togithub.com/rotu) made their first
contribution in
[https://github.com/ajv-validator/ajv/pull/2410](https://togithub.com/ajv-validator/ajv/pull/2410)

**Full Changelog**:
https://github.com/ajv-validator/ajv/compare/v8.13.0...v8.14.0

###
[`v8.13.0`](https://togithub.com/ajv-validator/ajv/releases/tag/v8.13.0)

[Compare
Source](https://togithub.com/ajv-validator/ajv/compare/v8.12.0...v8.13.0)

-   add named exports
-   update dependencies
-   update node.js

</details>

<details>
<summary>mhart/aws4 (aws4)</summary>

### [`v1.13.2`](https://togithub.com/mhart/aws4/releases/tag/v1.13.2)

[Compare
Source](https://togithub.com/mhart/aws4/compare/v1.13.1...v1.13.2)

Limit hostname labels to 63 chars max.

[63 octets is the maximum length a hostname label can
be.](https://en.wikipedia.org/wiki/Hostname#Syntax)

Thanks to 김한솔 for contacting me – this contact prompted me to make this
change.

**Full Changelog**:
https://github.com/mhart/aws4/compare/v1.13.1...v1.13.2

### [`v1.13.1`](https://togithub.com/mhart/aws4/releases/tag/v1.13.1)

[Compare
Source](https://togithub.com/mhart/aws4/compare/v1.13.0...v1.13.1)

Fixes [#&#8203;157](https://togithub.com/mhart/aws4/issues/157)
[#&#8203;158](https://togithub.com/mhart/aws4/issues/158)
[#&#8203;168](https://togithub.com/mhart/aws4/issues/168)

We introduce an extra (non-documented) function here, `filterHeaders`,
to populate a cached value `filteredHeaders` similar to `parsedPath`.

Thanks to [@&#8203;Hobart2967](https://togithub.com/Hobart2967) and
[@&#8203;mxxk](https://togithub.com/mxxk) for their contributions (and
nudges!)

### [`v1.13.0`](https://togithub.com/mhart/aws4/releases/tag/v1.13.0)

[Compare
Source](https://togithub.com/mhart/aws4/compare/v1.12.1...v1.13.0)

Copy headers on the request so that (among other things) users can reuse
a headers object across multiple requests without it being modified.

###
[`v1.12.1`](https://togithub.com/mhart/aws4/compare/v1.12.0...v1.12.1)

[Compare
Source](https://togithub.com/mhart/aws4/compare/v1.12.0...v1.12.1)

</details>

<details>
<summary>rexxars/eventsource-parser (eventsource-parser)</summary>

###
[`v3.0.0`](https://togithub.com/rexxars/eventsource-parser/blob/HEAD/CHANGELOG.md#300-2024-10-19)

[Compare
Source](https://togithub.com/rexxars/eventsource-parser/compare/v2.0.1...v3.0.0)

##### ⚠ BREAKING CHANGES

- The parser now takes an object of callbacks instead of an `onParse`
callback. This means you do not have to check the type of the event in
the `onEvent` callback, but instead provide separate callbacks for each
event type.
- The `ParsedEvent` type has been renamed to `EventSourceMessage` and
the `type` attribute has been removed.
- The `EventSourceCallback` type has been removed in favor of the
`ParserCallbacks` interface.

BREAKING CHNAGE: The `ReconnectInterval` type has been removed in favor
of providing the interval directly to the `onRetry` callback.

- The `ParseEvent` type has been removed in favor of providing separate
callbacks for each event type.
- The parser has been rewritten to be more specification compliant.
Certain *rare* edge cases may now be handled differently. Mixed CRLF and
LF line endings will now be handled correctly. `retry` fields now have
to be completely valid integers to be parsed.

##### Features

- provide `onError`, `onComment`, and `onRetry` callbacks
([#&#8203;15](https://togithub.com/rexxars/eventsource-parser/issues/15))
([c544729](c54472901d))

###
[`v2.0.1`](https://togithub.com/rexxars/eventsource-parser/blob/HEAD/CHANGELOG.md#201-2024-08-07)

[Compare
Source](https://togithub.com/rexxars/eventsource-parser/compare/v2.0.0...v2.0.1)

##### Bug Fixes

- include root-level legacy export in published files
([c814b4b](c814b4bc03))

###
[`v2.0.0`](https://togithub.com/rexxars/eventsource-parser/blob/HEAD/CHANGELOG.md#200-2024-08-07)

[Compare
Source](https://togithub.com/rexxars/eventsource-parser/compare/v1.1.2...v2.0.0)

##### ⚠ BREAKING CHANGES

-   BREAKING: minimum node.js version is now v18

##### Bug Fixes

- BREAKING: minimum node.js version is now v18
([d652333](d652333674))
- enable legacy exports
([b88e02c](b88e02cdfb))

###
[`v1.1.2`](https://togithub.com/rexxars/eventsource-parser/blob/HEAD/CHANGELOG.md#112-2024-02-13)

[Compare
Source](https://togithub.com/rexxars/eventsource-parser/compare/v1.1.1...v1.1.2)

##### Bug Fixes

- add field `typesVersions` in package.json
([efcde97](efcde97173)),
closes
[#&#8203;7](https://togithub.com/rexxars/eventsource-parser/issues/7)

</details>

<details>
<summary>niieani/gpt-tokenizer (gpt-tokenizer)</summary>

###
[`v2.6.2`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.6.2)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.6.1...2.6.2)

##### Bug Fixes

- correct special token matching & counting
([3547826](3547826b37))
- unify property and variable names across the library
([6030d91](6030d91cbd))

###
[`v2.6.1`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.6.1)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.6.0...2.6.1)

##### Bug Fixes

- expose vocabulary size
([402ff0b](402ff0bea1)),
closes
[#&#8203;66](https://togithub.com/niieani/gpt-tokenizer/issues/66)
- use extensions in models.ts
([78b803d](78b803d4cf)),
closes
[#&#8203;65](https://togithub.com/niieani/gpt-tokenizer/issues/65)

###
[`v2.6.0`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.6.0)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.5.1...2.6.0)

##### Bug Fixes

- initialize encodings array in parts
([aa6c71d](aa6c71d1d3)),
closes
[#&#8203;62](https://togithub.com/niieani/gpt-tokenizer/issues/62)

##### Features

- add new and update existing models
([e832f9a](e832f9a3c6))
- provide comprehensive data for all OpenAI models
([ec2ad7e](ec2ad7efc7))

###
[`v2.5.1`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.5.1)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.5.0...2.5.1)

(no changes, only benchmark update)

###
[`v2.5.0`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.5.0)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.4.1...2.5.0)

##### Features

- added o1-preview and o1-mini chat completion models
([#&#8203;56](https://togithub.com/niieani/gpt-tokenizer/issues/56))
([41673af](41673afe70))

###
[`v2.4.1`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.4.1)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.4.0...2.4.1)

##### Bug Fixes

- **deps:** update dependency gpt-tokenizer to ^2.4.0
([bf4b459](bf4b459d8d))

###
[`v2.4.0`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.4.0)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.3.0...2.4.0)

##### Features

- performance optimizations
([661e283](661e283ec9))

###
[`v2.3.0`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.3.0)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.2.3...2.3.0)

##### Features

- improve performance, memory usage & initialization time
([#&#8203;50](https://togithub.com/niieani/gpt-tokenizer/issues/50))
([e2c560a](e2c560aafe)),
closes
[#&#8203;18](https://togithub.com/niieani/gpt-tokenizer/issues/18)
[#&#8203;35](https://togithub.com/niieani/gpt-tokenizer/issues/35)

###
[`v2.2.3`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.2.3)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.2.2...2.2.3)

##### Bug Fixes

- **deps:** update dependency rfc4648 to ^1.5.3
([fcbf48a](fcbf48a553))

###
[`v2.2.2`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.2.2)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.2.1...2.2.2)

##### Bug Fixes

- improve test typing
([bbd0764](bbd0764ad2))
- upgrade dependencies (including typescript)
([75ebd54](75ebd542d8)),
closes
[#&#8203;49](https://togithub.com/niieani/gpt-tokenizer/issues/49)

###
[`v2.2.1`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.2.1)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.2.0...2.2.1)

##### Bug Fixes

- add files for other models
([c21d498](c21d4986b2)),
closes
[#&#8203;19](https://togithub.com/niieani/gpt-tokenizer/issues/19)
- regenerate o200k encoding from tiktoken file
([c7ba009](c7ba0091c6))

###
[`v2.2.0`](https://togithub.com/niieani/gpt-tokenizer/releases/tag/2.2.0)

[Compare
Source](https://togithub.com/niieani/gpt-tokenizer/compare/2.1.2...2.2.0)

##### Bug Fixes

- add correct encoding for o200k_base
([137e07b](137e07ba92))
- add gpt-4o on readme as supported model
([27b4e20](27b4e20dc4))
- update readme
([0b33e1e](0b33e1edbe))

##### Features

- add o200k_base test plans
([44ce38e](44ce38eae9))
- added o200k_base to encodings and configured it's specialTokens
([2a9da2b](2a9da2b799))

</details>

<details>
<summary>openai/openai-node (openai)</summary>

###
[`v4.72.0`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4720-2024-11-12)

[Compare
Source](https://togithub.com/openai/openai-node/compare/v4.71.1...v4.72.0)

Full Changelog:
[v4.71.1...v4.72.0](https://togithub.com/openai/openai-node/compare/v4.71.1...v4.72.0)

##### Features

- add back deno runtime testing without type checks
([1626cf5](1626cf57e9))

##### Chores

- **ecosystem-tests:** bump wrangler version
([#&#8203;1178](https://togithub.com/openai/openai-node/issues/1178))
([4dfb0c6](4dfb0c6aa7))

###
[`v4.71.1`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4711-2024-11-06)

[Compare
Source](https://togithub.com/openai/openai-node/compare/v4.71.0...v4.71.1)

Full Changelog:
[v4.71.0...v4.71.1](https://togithub.com/openai/openai-node/compare/v4.71.0...v4.71.1)

##### Bug Fixes

- change release please configuration for jsr.json
([#&#8203;1174](https://togithub.com/openai/openai-node/issues/1174))
([c39efba](c39efba812))

###
[`v4.71.0`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4710-2024-11-04)

[Compare
Source](https://togithub.com/openai/openai-node/compare/v4.70.3...v4.71.0)

Full Changelog:
[v4.70.3...v4.71.0](https://togithub.com/openai/openai-node/compare/v4.70.3...v4.71.0)

##### Features

- **api:** add support for predicted outputs
([#&#8203;1172](https://togithub.com/openai/openai-node/issues/1172))
([08a7bb4](08a7bb4d4b))

###
[`v4.70.3`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4703-2024-11-04)

[Compare
Source](https://togithub.com/openai/openai-node/compare/v4.70.2...v4.70.3)

Full Changelog:
[v4.70.2...v4.70.3](https://togithub.com/openai/openai-node/compare/v4.70.2...v4.70.3)

##### Bug Fixes

- change streaming helper imports to be relative
([e73b7cf](e73b7cf842))

###
[`v4.70.2`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4702-2024-11-01)

[Compare
Source](https://togithub.com/openai/openai-node/compare/v4.70.1...v4.70.2)

Full Changelog:
[v4.70.1...v4.70.2](https://togithub.com/openai/openai-node/compare/v4.70.1...v4.70.2)

##### Bug Fixes

- add permissions to github workflow
([ee75e00](ee75e00b0f))
- skip deno ecosystem test
([5b181b0](5b181b01b6))

###
[`v4.70.1`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4701-2024-11-01)

[Compare
Source](https://togithub.com/openai/openai-node/compare/v4.70.0...v4.70.1)

Full Changelog:
[v4.70.0...v4.70.1](https://togithub.com/openai/openai-node/compare/v4.70.0...v4.70.1)

##### Bug Fixes

- don't require deno to run build-deno
([#&#8203;1167](https://togithub.com/openai/openai-node/issues/1167))
([9d857bc](9d857bc531))

###
[`v4.70.0`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4700-2024-11-01)

[Compare
Source](https://togithub.com/openai/openai-node/compare/v4.69.0...v4.70.0)

Full Changelog:
[v4.69.0...v4.70.0](https://togithub.com/openai/openai-node/compare/v4.69.0...v4.70.0)

##### Features

- publish to jsr
([#&#8203;1165](https://togithub.com/openai/openai-node/issues/1165))
([5aa93a7](5aa93a7fe7))

##### Chores

- **internal:** fix isolated modules exports
([9cd1958](9cd19584dc))

##### Refactors

- use type imports for type-only imports
([#&#8203;1159](https://togithub.com/openai/openai-node/issues/1159))
([07bbaf6](07bbaf6eca))

</details>

<details>
<summary>gajus/table (table)</summary>

### [`v6.8.2`](https://togithub.com/gajus/table/releases/tag/v6.8.2)

[Compare
Source](https://togithub.com/gajus/table/compare/v6.8.1...v6.8.2)

##### Bug Fixes

- Generate larger tables more quickly
([#&#8203;224](https://togithub.com/gajus/table/issues/224))
([1a39e0c](1a39e0c549))

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

---------

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-03 13:06:23 -06:00
Zacqary Adam Xeper
8f267fd83c
[ResponseOps][Rules] Move Rule Form code into @kbn/response-ops-rule-form (#198725)
## Summary

Part of #195211

Moves Rule Form code out of `@kbn/alerts-ui-shared` and into a new
package called `@kbn/response-ops-rule-form`.

Some types and hooks that are used by multiple features or solutions are
still in `@kbn/alerts-ui-shared` and have been rerouted. The bulk of
Rule Form-specific code is in this new package.


### Checklist

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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kevin Delemme <kevin.delemme@elastic.co>
2024-12-03 12:40:48 -06:00
Marco Vettorello
b61ad41284
[deps] Replace faker with @faker-js (#201105)
## Summary

The `faker` library is[ not maintained
anymore](https://fakerjs.dev/about/announcements/2022-01-14.html#i-heard-something-happened-what-s-the-tldr)
and is replaced by a community fork `@faker-js`.
This PR migrates all the usages of faker to the new library, trying to
use the same methods (even if they have slight differences in results
like `faker.random.number()` has a max of 99999 where instead
`faker.number.int()` have a MAX_SAFE_INTEGER as max).
2024-12-03 18:17:49 +01:00
Dzmitry Lemechko
27f650bf99
[chore] update playwright version + ownership (#202535)
## Summary

Since the new Kibana test framework has a strong dependency on
`@playwright/test`, moving it under appex-qa ownership

I had to update and explicitly specify types when extending the
pre-existing fixtures as there was a bug fix enforcing it
https://github.com/microsoft/playwright/pull/32066
2024-12-03 15:47:30 +01:00
Alberto Blázquez
e5b1773971
Create the "Asset Inventory" Kibana Plugin (#202291)
## Summary

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

Create an empty "Asset Inventory" plugin with the minimal boilerplate
required to set it up, install it and run it on Kibana with a blank
slate.

I generated the files using the `node scripts/generate_plugin <NAME>`
script as per [this documentation
page](https://docs.elastic.dev/kibana-dev-docs/getting-started/hello-world-app#2-option-2---use-the-automatic-plugin-generator).

### Screenshots


<details><summary>Main page (Sample page)</summary>
<img width="2498" alt="Screenshot 2024-11-29 at 14 20 57"
src="https://github.com/user-attachments/assets/9d8a3751-519b-4661-bc90-cbb1e836b111">
</details> 

### Implementation details

- [x] Generated a new Kibana plugin with minimal boilerplate and zero
dependencies
- [x] Use [Cloud Security
Posture](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud_security_posture)
plugin as configuration reference
- [x] Render "Inventory" title on the main page
- [x] Ensure the plugin is properly integrated into Kibana's build and
can be loaded without errors
- [x] Place the plugin under the `x-pack/plugins` directory
- [x] Include Readme file
- [x] Introduce placeholders for initialization of pipelines and
transforms following [Cloud Security
Posture](https://github.com/elastic/kibana/blob/main/x-pack/plugins/cloud_security_posture/server/plugin.ts)
plugin initialize function.

### PR Checklist

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

### Risks

No risks at all since this is totally green-field and will be hidden by
a feature toggle.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Paulo Silva <paulo.henrique@elastic.co>
2024-12-03 11:29:53 +01:00
elastic-renovate-prod[bot]
5b7752ef28
Update ftr (main) (#202502)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [chromedriver](https://togithub.com/giggio/node-chromedriver) |
devDependencies | patch | [`^131.0.0` ->
`^131.0.1`](https://renovatebot.com/diffs/npm/chromedriver/131.0.1/131.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.26.0` ->
`^4.27.0`](https://renovatebot.com/diffs/npm/selenium-webdriver/4.26.0/4.27.0)
|

---

### Release Notes

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

###
[`v4.27.0`](8ccf0219d7...d6e718d134)

[Compare
Source](8ccf0219d7...d6e718d134)

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-12-02 19:04:48 -06:00
elastic-renovate-prod[bot]
cabb02ac03
Update dependency @elastic/charts to v68.0.3 (main) (#202223) 2024-12-02 16:51:09 -06:00
elastic-renovate-prod[bot]
9670aac123
Update dependency @redocly/cli to ^1.25.14 (main) (#202501)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [@redocly/cli](https://togithub.com/Redocly/redocly-cli) |
devDependencies | patch | [`^1.25.13` ->
`^1.25.14`](https://renovatebot.com/diffs/npm/@redocly%2fcli/1.25.14/1.25.14)
| `1.25.15` |
| [@redocly/cli](https://togithub.com/Redocly/redocly-cli) |
dependencies | patch | [`^1.25.13` ->
`^1.25.14`](https://renovatebot.com/diffs/npm/@redocly%2fcli/1.25.14/1.25.14)
| `1.25.15` |

---

### 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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-12-02 11:21:13 -06:00
Dzmitry Lemechko
1a864ace2f
[chore] update appex-qa owned dependencies (#202360)
## Summary

This PR updates some dev dependencies owned by appex-qa.
[PR](https://github.com/elastic/kibana/pull/200791) by renovate is
trying to update to many things at once 🚋

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-02 14:38:03 +01:00
Kerry Gallagher
b0122f547d
[Discover / Logs] Add new "Saved Search component" (#199787)
## Summary

Implements
https://github.com/elastic/logs-dev/issues/111#issuecomment-2446470635.

This adds a new "Saved Search component". The component is a wrapper
around the current Saved Search Embeddable, but uses
`ReactEmbeddableRenderer` directly to render the embeddable outside of
Dashboard contexts. It monitors changes to things like `index`,
`filters` etc and communicates these changes through the embeddable API.

For this PoC two locations were changed to use this component 1) Logs
Overview flyout 2) APM Logs tab (when the Logs Overview isn't enabled
via advanced settings).

The component itself is technically beyond a PoC, and resides in it's
own package. ~I'd like to get eyes from the Discover folks etc on the
approach, and if we're happy I can fix the remaining known issues (apart
from the mixing of columns point as I believe this exists on the roadmap
anyway) and we can merge this for the initial two replacement points.~
[Thanks Davis
👌](https://github.com/elastic/logs-dev/issues/111#issuecomment-2475350199).

`nonPersistedDisplayOptions` is added to facilitate some configurable
options via runtime state, but without the complexity of altering the
actual saved search saved object.

On the whole I've tried to keep this as clean as possible whilst working
within the embeddable framework, outside of a dashboard context.

## Known issues

- ~"Flyout on flyout" in the logs overview flyout (e.g. triggering the
table's flyout in this context).~ Fixed with `enableFlyout` option.
- ~Filter buttons should be disabled via pills (e.g. in Summary
column).~ Fixed with `enableFilters` option.
- Summary (`_source`) column cannot be used alongside other columns,
e.g. log level, so column customisation isn't currently enabled. You'll
just get timestamp and summary. This requires changes in the Unified
Data Table. **Won't be fixed in this PR**

- We are left with this panel button that technically doesn't do
anything outside of a dashboard. I don't *think* there's an easy way to
disable this. **Won't be fixed in this PR**
![Screenshot 2024-11-20 at 11 50
43](https://github.com/user-attachments/assets/e43a47cd-e36e-4511-ba88-c928a4acd634)


## Followups

- ~The Logs Overview details state machine can be cleaned up (it doesn't
need to fetch documents etc anymore).~ The state machine no longer
fetches it's own documents. Some scaffolding is left in place as it'll
be needed for showing category details anyway.

## Example

![Screenshot 2024-11-20 at 12 20
08](https://github.com/user-attachments/assets/3b25d591-e3e2-4e8a-98a8-1bfc849d3bc1)
![Screenshot 2024-11-20 at 12 23
34](https://github.com/user-attachments/assets/a2d28036-98c5-4404-934e-2298cf4a66bf)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-29 23:09:24 +00:00
Elena Shostak
976b94ffa5
Dependency Ownership CLI (#201773)
## Summary

1. Show all packages owned by a specific team
```
node scripts/dependency_ownership -o <owner>
```
2. Identify owners of a specific dependency
```
node scripts/dependency_ownership -d <dependency>
```

3. List dependencies without an owner
```
node scripts/dependency_ownership --missing-owner
```

4. Generate a full dependency ownership report
```
node scripts/dependency_ownership
```

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


__Closes: https://github.com/elastic/kibana/issues/196767__

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-29 17:18:36 +01:00
elastic-renovate-prod[bot]
f3bc700497
Update dependency @redocly/cli to ^1.25.13 (main) (#202196)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [@redocly/cli](https://togithub.com/Redocly/redocly-cli) |
devDependencies | patch | [`^1.25.12` ->
`^1.25.13`](https://renovatebot.com/diffs/npm/@redocly%2fcli/1.25.14/1.25.13)
| `1.25.14` |
| [@redocly/cli](https://togithub.com/Redocly/redocly-cli) |
dependencies | patch | [`^1.25.12` ->
`^1.25.13`](https://renovatebot.com/diffs/npm/@redocly%2fcli/1.25.14/1.25.13)
| `1.25.14` |

---

### 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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2024-11-29 09:21:17 -06:00
elastic-renovate-prod[bot]
51cd8743cc
Update dependency @redocly/cli to ^1.25.12 (main) (#202004) 2024-11-28 09:25:29 -06:00
elastic-renovate-prod[bot]
4fbec3f318
Update dependency @elastic/request-converter to ^8.16.2 (main) (#201856) 2024-11-27 07:46:35 -06:00
elastic-renovate-prod[bot]
5ecfdf628f
Update dependency @launchdarkly/node-server-sdk to ^9.7.2 (main) (#201331)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@launchdarkly/node-server-sdk](https://togithub.com/launchdarkly/js-core/tree/main/packages/sdk/server-node)
([source](https://togithub.com/launchdarkly/js-core)) | dependencies |
patch | [`^9.7.1` ->
`^9.7.2`](https://renovatebot.com/diffs/npm/@launchdarkly%2fnode-server-sdk/9.7.1/9.7.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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6cHJldi1taW5vciIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2024-11-27 06:52:50 -06:00
Tomasz Kajtoch
a13757efee
Upgrade EUI to v98.0.0 (#201049)
`v97.3.1-borealis.2``v98.0.0-borealis.1`

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

---

# `@elastic/eui`

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

**Bug fixes**

- Fixed an `EuiDataGrid` bug where column actions where not clickable
when `EuiDataGrid` with `columnVisibility.canDragAndDropColumns` was
used inside a modal ([#8135](https://github.com/elastic/eui/pull/8135))

**Breaking changes**

- Removed `EuiFormRow`'s deprecated `columnCompressedSwitch` display
prop. Use `columnCompressed` instead
([#8113](https://github.com/elastic/eui/pull/8113))

# `@elastic/eui-theme-borealis`

**Bug fixes**

- Fixed computed border token mapping
(https://github.com/elastic/eui/pull/8170)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-27 13:03:14 +01:00
Dzmitry Lemechko
310d922f13
[kbn-scout] initial package implementation (playwright-test POC) (#194006)
## Summary

This PR introduces a new package, **kbn-scout**, designed to streamline
the setup and execution of Playwright tests for Kibana. The `kbn-scout`
package consolidates server management and testing capabilities by
wrapping both the Kibana/Elasticsearch server launcher and the
Playwright test runner. It includes:

- Test and worker-scoped fixtures for reliable setup across test suites
- Page objects combined into the fixture for Kibana UI interactions
- Configurations for seamless test execution in both local and CI
environments (`Cloud` execution is out of scope)
- This package aims to simplify test setup and enhance modularity,
making it easier to create, run, and maintain deployment-agnostic tests,
that are located in the plugin they actually test.

Tests example is available in `x-pack/plugins/discover_enhanced` plugin
under `ui_tests` folder

How to run:
1) As a single script (servers + tests): 
```
node scripts/scout_test.js --config=x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts --serverless=es
```

2) Start servers first
```
node scripts/scout_start_servers.js --serverless=es
```
then run tests:
```
npx playwright test --config=x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts
```
if you have Playwright plugin in IDEA, just use it to run tests files

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-26 17:33:49 +01:00
Michael Olorunnisola
18658694c3
Upgrades cypress to 13.15.1 (#198715)
## Summary

This PR upgrades cypress to `13.15.1`. This is needed to fix an very
annoying issue where Cypress tests hangs when ran locally and when the
window is not focused

See Cypress issue here:
https://github.com/cypress-io/cypress/issues/28392

---------

Co-authored-by: PhilippeOberti <philippe.oberti@elastic.co>
2024-11-26 07:02:11 -05:00
elastic-renovate-prod[bot]
65345f0680
Update OpenAPI Spec (main) (#201609)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@apidevtools/swagger-parser](https://apitools.dev/swagger-parser/)
([source](https://togithub.com/APIDevTools/swagger-parser)) |
devDependencies | minor | [`^10.0.3` ->
`^10.1.0`](https://renovatebot.com/diffs/npm/@apidevtools%2fswagger-parser/10.0.3/10.1.0)
|
|
[openapi-types](https://togithub.com/kogosoftwarellc/open-api/tree/master/packages/openapi-types#readme)
([source](https://togithub.com/kogosoftwarellc/open-api/tree/HEAD/packages/openapi-types))
| devDependencies | major | [`^10.0.0` ->
`^12.1.3`](https://renovatebot.com/diffs/npm/openapi-types/10.0.0/12.1.3)
|

---

### Release Notes

<details>
<summary>APIDevTools/swagger-parser
(@&#8203;apidevtools/swagger-parser)</summary>

###
[`v10.1.0`](https://togithub.com/APIDevTools/swagger-parser/compare/v10.0.3...v10.1.0)

[Compare
Source](https://togithub.com/APIDevTools/swagger-parser/compare/v10.0.3...v10.1.0)

</details>

<details>
<summary>kogosoftwarellc/open-api (openapi-types)</summary>

###
[`v12.1.3`](https://togithub.com/kogosoftwarellc/open-api/compare/v12.1.2...v12.1.3)

[Compare
Source](https://togithub.com/kogosoftwarellc/open-api/compare/v12.1.2...v12.1.3)

###
[`v12.1.2`](https://togithub.com/kogosoftwarellc/open-api/compare/v12.1.1...v12.1.2)

[Compare
Source](https://togithub.com/kogosoftwarellc/open-api/compare/v12.1.1...v12.1.2)

###
[`v12.1.1`](https://togithub.com/kogosoftwarellc/open-api/compare/v12.1.0...v12.1.1)

[Compare
Source](https://togithub.com/kogosoftwarellc/open-api/compare/v12.1.0...v12.1.1)

###
[`v12.1.0`](https://togithub.com/kogosoftwarellc/open-api/compare/v12.0.2...v12.1.0)

[Compare
Source](https://togithub.com/kogosoftwarellc/open-api/compare/v12.0.2...v12.1.0)

###
[`v12.0.2`](https://togithub.com/kogosoftwarellc/open-api/compare/v12.0.0...v12.0.2)

[Compare
Source](https://togithub.com/kogosoftwarellc/open-api/compare/v12.0.0...v12.0.2)

###
[`v12.0.0`](https://togithub.com/kogosoftwarellc/open-api/compare/v11.1.0...v12.0.0)

[Compare
Source](https://togithub.com/kogosoftwarellc/open-api/compare/v11.1.0...v12.0.0)

###
[`v11.1.0`](https://togithub.com/kogosoftwarellc/open-api/compare/v11.0.1...v11.1.0)

[Compare
Source](https://togithub.com/kogosoftwarellc/open-api/compare/v11.0.1...v11.1.0)

###
[`v11.0.1`](https://togithub.com/kogosoftwarellc/open-api/compare/v11.0.0...v11.0.1)

[Compare
Source](https://togithub.com/kogosoftwarellc/open-api/compare/v11.0.0...v11.0.1)

###
[`v11.0.0`](https://togithub.com/kogosoftwarellc/open-api/compare/v10.0.0...v11.0.0)

[Compare
Source](https://togithub.com/kogosoftwarellc/open-api/compare/v10.0.0...v11.0.0)

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-11-26 10:31:52 +01:00
elastic-renovate-prod[bot]
043149b356
Update dependency chromedriver to v131 (main) (#201053)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [chromedriver](https://togithub.com/giggio/node-chromedriver) |
devDependencies | major | [`^130.0.4` ->
`^131.0.0`](https://renovatebot.com/diffs/npm/chromedriver/130.0.4/131.0.0)
| `131.0.1` |

---

### Release Notes

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

###
[`v131.0.0`](https://togithub.com/giggio/node-chromedriver/compare/130.0.4...131.0.0)

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

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
Co-authored-by: Jon <jon@elastic.co>
2024-11-25 15:57:12 -06:00
Dario Gieselaar
63da7701e7
[Streams] App plugin (#200060)
Creates the Streams app plugin, which renders UI for managing streams
(see https://github.com/elastic/kibana/pull/198713).

Additional changes in this PR:

- The menus were updated to conditionally add a link to the Streams app.
The Streams plugin itself returns a status$ observable which signals if
Streams have been enabled. This value is used to conditionally render
the link in the various flavors of menus.
- There's a small change in the ES types to allow for ordered params in
ES|QL (vs named params)
- `@kbn/server-route-repository` was updated to be able to override
`access` (instead of only inferring it from the endpoint name).
Additionally, we now allow all route options by default.
- `@kbn/typed-react-router-config` now also exports a `useBreadcrumbs`.
This was copied over from the APM implementation.
- the signature of the `esql` method in
`ObservabilityElasticsearchClient` was updated to separate processing
options from options that are sent over to the _query endpoint.

---------

Co-authored-by: Chris Cowan <chris@elastic.co>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-25 14:51:24 +01:00
Elena Shostak
34bf83b54f
Dependency usage CLI (#198920)
## Summary


[dependency-cruiser](https://github.com/sverweij/dependency-cruiser/tree/main)
is used for building dependency graph.

### Show all dependencies for a specific package/plugin or directory

#### Run for all plugins
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins -o ./tmp/deps-result-all.json
```

#### Run for single plugin
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -o ./tmp/deps-result-single.json
```

#### Run for multiple plugins
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution x-pack/plugins/security -o ./tmp/deps-result-multiple.json
```

#### Run for `x-pack/packages`
```bash
bash scripts/dependency_usage.sh -p x-pack/packages -o ./tmp/deps-packages-1.json
```

#### Run for `packages`
```bash
bash scripts/dependency_usage.sh -p packages -o ./tmp/deps-packages-2.json
```

#### Benchmark

| Analysis              | Real Time   | User Time   | Sys Time   |
|-----------------------|-------------|-------------|------------|
| All plugins           | 7m 21.126s  | 7m 53.099s  | 20.581s    |
| Single plugin         | 31.360s     | 45.352s     | 2.208s     |
| Multiple plugins      | 36.403s     | 50.563s     | 2.814s     |
| x-pack/packages       | 6.638s      | 12.646s     | 0.654s     |
| packages              | 25.744s     | 39.073s     | 2.191s     |


#### Show all packages/plugins within a directory that use a specific
dependency

```sh
bash scripts/dependency_usage.sh -d rxjs -p x-pack/plugins/security_solution
```
---
#### Show all packages/plugins within a directory grouped by code owner
```sh
bash scripts/dependency_usage.sh -d rxjs -p x-pack/plugins -g owner
```
---

#### Group by code owner with adjustable collapse depth for fine-grained
grouping
**Fine-grained grouping**:
```sh
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -g owner --collapse-depth 4
```
**Collapsed grouping**: groups the results under a higher-level owner
(e.g., `security_solution` as a single group).
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -g owner --collapse-depth 1
```
---

#### Show all dependencies matching a pattern (e.g., `react-*`) within a
package
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -d 'react-*' -o ./tmp/result.json
```

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

__Related: https://github.com/elastic/kibana/issues/196767__

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-25 14:07:40 +01:00
elastic-renovate-prod[bot]
15160b8d8b
Update dependency re2js to v0.4.3 (main) (#200831) 2024-11-25 05:26:51 -06:00
elastic-renovate-prod[bot]
c6976b4fd0
Update dependency @testing-library/jest-dom to ^6.6.3 (main) (#191816)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@testing-library/jest-dom](https://togithub.com/testing-library/jest-dom)
| devDependencies | minor | [`^6.5.0` ->
`^6.6.3`](https://renovatebot.com/diffs/npm/@testing-library%2fjest-dom/6.5.0/6.6.3)
|

---

### Release Notes

<details>
<summary>testing-library/jest-dom
(@&#8203;testing-library/jest-dom)</summary>

###
[`v6.6.3`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.6.3)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.6.2...v6.6.3)

##### Bug Fixes

- add vitest import when extending vitest matchers
([#&#8203;646](https://togithub.com/testing-library/jest-dom/issues/646))
([5ba0156](5ba015651c))

###
[`v6.6.2`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.6.2)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.6.1...v6.6.2)

##### Bug Fixes

- remove recursive type reference in vitest types
([#&#8203;636](https://togithub.com/testing-library/jest-dom/issues/636))
([4468378](4468378fb4))

###
[`v6.6.1`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.6.1)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.6.0...v6.6.1)

##### Bug Fixes

- fix lodash import in to-have-selection.js
([#&#8203;642](https://togithub.com/testing-library/jest-dom/issues/642))
([ced792e](ced792e2f2))

###
[`v6.6.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.6.0)

[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.5.0...v6.6.0)

##### Features

- implement toHaveSelection
([#&#8203;637](https://togithub.com/testing-library/jest-dom/issues/637))
([9b14804](9b148043d0))

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
2024-11-22 16:17:57 -06:00
Tiago Costa
4f7fd39b65
chore(NA): bump and update archiver, pac-resolver dependencies (#201447)
This PR simply bumps and updates the mentioned dependencies.
2024-11-22 20:04:33 +00:00
Kevin Lacabane
0b3f4fbd3c
[eem] _search endpoint / initial entity manager UI (#199609)
## Summary

- create `_search` endpoint to discover entities with esql queries. It
currently reads sources of the provided `type` from
`kibana_entity_definitions` index. Run this query to insert a
definition:
```
POST kibana_entity_definitions/_doc
{
    "entity_type": "service",
    "index_patterns": ["remote_cluster:logs-*"],
    "metadata_fields": [],
    "identity_fields": ["service.name"],
    "filters": [],
    "timestamp_field": "@timestamp"
}
```

By default `_search` will look at data in the last 5m. The lookup period
can be overriden by providing `start`/`end` parameters in ISO format. It
also accepts a `limit` to specify the number of entities returned which
defaults to 10

```
POST kbn:/internal/entities/v2/_search
{
    "type": "service",
    "start": "2024-11-19T20:40:00.000Z",
    "end": "2024-11-19T20:50:00.000Z",
    "limit": 20
}
```

- create `_search/preview` endpoint to preview output of entity sources
without persisting them
 
- create UI to preview results of an entity definition at
`/app/entity_manager`. The application is living in its own plugin at
`observability_solution/entity_manager_app`
![Screenshot 2024-11-11 at 11 37
18](https://github.com/user-attachments/assets/f284342d-21a3-4ba1-be94-38cff311266c)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Milton Hultgren <miltonhultgren@gmail.com>
2024-11-22 16:12:04 +01:00
Rodney Norris
a84122c4ca
[Search] Introduce search navigation plugin (#200314) 2024-11-22 08:35:49 -06:00
Gerard Soldevila
b24fdf5d3f
Sustainable Kibana Architecture: Categorise straightforward packages (#199630)
## Summary

This PR is part of the Kibana Sustainable Architecture effort.

The goal is to start categorising Kibana packages into _generic
platform_ (`group: "platform"`) vs _solution-specific_.

```
group?: 'search' | 'security' | 'observability' | 'platform'
visibility?: 'private' | 'shared'
```
Uncategorised modules are considered to be `group: 'common', visibility:
'shared'` by default.

We want to prevent code from solution A to depend on code from solution
B.
Thus, the rules are pretty simple:

* Modules can only depend on:
  * Modules in the same group
  * OR modules with 'shared' visibility
* Modules in `'observability', 'security', 'search'` groups are
mandatorily `visibility: "private"`.

Long term, the goal is to re-organise packages into dedicated folders,
e.g.:

```
x-pack/platform/plugins/private
x-pack/observability/packages
```

For this first wave, we have categorised packages that seem
"straightforward":
* Any packages that have:
  * at least one dependant module
  * all dependants belong to the same group
* Categorise all Core packages:
  * `@kbn/core-...-internal` => _platform/private_
  * everything else => _platform/shared_
* Categorise as _platform/shared_ those packages that:
  * Have at least one dependant in the _platform_ group.
  * Don't have any `devOnly: true` dependants.

### What we ask from you, as CODEOWNERS of the _package manifests_, is
that you confirm that the categorisation is correct:

* `group: "platform", visibility: "private"` if it's a package that
should only be used from platform code, not from any solution code. It
will be loaded systematically in all serverless flavors, but solution
plugins and packages won't be able to `import` from it.
* `group: "platform", visibility: "shared"` if it's a package that can
be consumed by both platform and solutions code. It will be loaded
systematically in all serverless flavors, and anybody can import / use
code from it.
* `group: "observability" | "security" | "search", visibility:
"private"` if it's a package that is intented to be used exclusively
from a given solution. It won't be accessible nor loaded from other
solutions nor platform code.

Please refer to
[#kibana-sustainable-architecture](https://elastic.slack.com/archives/C07TCKTA22E)
for any related questions.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-22 10:33:25 +01:00
Dzmitry Lemechko
88a280c250
[chore] remove unused nyc configs and dependencies (#200909)
## Summary

nyc (istanbuljs) cleanup as we no longer collect code coverage for
functional tests
2024-11-20 16:41:30 +01:00
elastic-renovate-prod[bot]
942848413a
Update dependency @elastic/request-converter to ^8.16.1 (main) (#200885) 2024-11-20 14:51:34 +01:00
elastic-renovate-prod[bot]
78f4d75c3b
Update dependency terser to ^5.36.0 (main) (#197476)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [terser](https://terser.org)
([source](https://togithub.com/terser/terser)) | devDependencies | minor
| [`^5.34.0` ->
`^5.36.0`](https://renovatebot.com/diffs/npm/terser/5.34.1/5.36.0) |

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/terser/terser/compare/v5.35.0...v5.36.0)

-   Support import attributes `with` syntax

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

[Compare
Source](https://togithub.com/terser/terser/compare/v5.34.1...v5.35.0)

- Ensure parent directory exists when using --output on CLI
([#&#8203;1530](https://togithub.com/terser/terser/issues/1530))

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

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
Co-authored-by: Brad White <brad.white@elastic.co>
2024-11-19 17:32:36 -06:00
elastic-renovate-prod[bot]
69dc8a21f3
Update dependency eslint-plugin-depend to ^0.12.0 (main) (#199593)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[eslint-plugin-depend](https://togithub.com/es-tooling/eslint-plugin-depend)
| devDependencies | minor | [`^0.11.0` ->
`^0.12.0`](https://renovatebot.com/diffs/npm/eslint-plugin-depend/0.11.0/0.12.0)
|

---

### Release Notes

<details>
<summary>es-tooling/eslint-plugin-depend
(eslint-plugin-depend)</summary>

###
[`v0.12.0`](https://togithub.com/es-tooling/eslint-plugin-depend/releases/tag/0.12.0)

[Compare
Source](https://togithub.com/es-tooling/eslint-plugin-depend/compare/0.11.0...0.12.0)

#### What's Changed

- chore: bump module-replacements by
[@&#8203;43081j](https://togithub.com/43081j) in
[https://github.com/es-tooling/eslint-plugin-depend/pull/37](https://togithub.com/es-tooling/eslint-plugin-depend/pull/37)

**Full Changelog**:
https://github.com/es-tooling/eslint-plugin-depend/compare/0.11.0...0.12.0

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
2024-11-19 15:48:29 -06:00
Steph Milovic
755ef312f2
[Security solution] ChatBedrockConverse (#200042) 2024-11-19 14:45:31 -06:00
Lene Gadewoll
ee49986876
[Visual Refresh] Add Borealis theme (#199993)
## Summary

This PR introduces the first internal version of the new theme
`Borealis` and ensures that:
- themes can be switched between "Amsterdam" and "Borealis"
- theme-specific Sass files are available and can be loaded with
`KBN_OPTIMIZER_THEMES=experimental`
- legacy JSON variable usage accounts for both themes
- static template styles account for both themes


## Running locally

```yml
// kibana.dev.yml or kibana.yml
uiSettings.experimental.themeSwitcherEnabled: true
```

Start kibana
```
KBN_OPTIMIZER_THEMES='v8light,v8dark,borealislight,borealisdark' yarn start

or

KBN_OPTIMIZER_THEMES=experimental yarn start
```

### 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
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: Tomasz Kajtoch <tomasz.kajtoch@elastic.co>
2024-11-19 16:35:10 +01:00
Pierre Gayvallet
455c781c6d
[LLM tasks] Add product documentation retrieval task (#194379)
## Summary

Close https://github.com/elastic/kibana/issues/193473
Close https://github.com/elastic/kibana/issues/193474

This PR utilize the documentation packages that are build via the tool
introduced by https://github.com/elastic/kibana/pull/193847, allowing to
install them in Kibana and expose documentation retrieval as an LLM task
that AI assistants (or other consumers) can call.

Users can now decide to install the Elastic documentation from the
assistant's config screen, which will expose a new tool for the
assistant, `retrieve_documentation` (only implemented for the o11y
assistant in the current PR, shall be done for security as a follow up).

For more information, please refer to the self-review.

## General architecture

<img width="1118" alt="Screenshot 2024-10-17 at 09 22 32"
src="https://github.com/user-attachments/assets/3df8c30a-9ccc-49ab-92ce-c204b96d6fc4">

## What this PR does

Adds two plugin:
- `productDocBase`: contains all the logic related to product
documentation installation, status, and search. This is meant to be a
"low level" components only responsible for this specific part.
- `llmTasks`: an higher level plugin that will contain various LLM tasks
to be used by assistants and genAI consumers. The intent is not to have
a single place to put all llm tasks, but more to have a default place
where we can introduce new tasks from. (fwiw, the `nlToEsql` task will
probably be moved to that plugin).

- Add a `retrieve_documentation` tool registration for the o11y
assistant
- Add a component on the o11y assistant configuration page to install
the product doc

(wiring the feature to the o11y assistant was done for testing purposes
mostly, any addition / changes / enhancement should be done by the
owning team - either in this PR or as a follow-up)

## What is NOT included in this PR:

- Wire product base feature to the security assistant (should be done by
the owning team as a follow-up)
  - installation
  - utilization as tool

- FTR tests: this is somewhat blocked by the same things we need to
figure out for https://github.com/elastic/kibana-team/issues/1271

## Screenshots 

### Installation from o11y assistant configuration page

<img width="1476" alt="Screenshot 2024-10-17 at 09 41 24"
src="https://github.com/user-attachments/assets/31daa585-9fb2-400a-a2d1-5917a262367a">

### Example of output

#### Without product documentation installed 

<img width="739" alt="Screenshot 2024-10-10 at 09 59 41"
src="https://github.com/user-attachments/assets/993fb216-6c9a-433f-bf44-f6e383d20d9d">

#### With product documentation installed

<img width="718" alt="Screenshot 2024-10-10 at 09 55 38"
src="https://github.com/user-attachments/assets/805ea4ca-8bc9-4355-a434-0ba81f8228a9">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-19 08:28:26 -06:00
elastic-renovate-prod[bot]
75be9c30bf
Update dependency @xyflow/react to ^12.3.5 (main) (#200571)
This PR contains the following updates:

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

---

### Release Notes

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

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

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

##### Patch Changes

- [#&#8203;4789](https://togithub.com/xyflow/xyflow/pull/4789)
[`358eb355`](358eb355e0)
Thanks [@&#8203;peterkogo](https://togithub.com/peterkogo)! - Support
key combinations which include '+' (e.g., 'Control++' resolves to the
combination 'Control' and '+').

- [#&#8203;4796](https://togithub.com/xyflow/xyflow/pull/4796)
[`73402779`](7340277987)
Thanks [@&#8203;Aki-7](https://togithub.com/Aki-7)! - Fix number of
issues connected to batching node & edge updates.

- [#&#8203;4790](https://togithub.com/xyflow/xyflow/pull/4790)
[`2fa9a920`](2fa9a92042)
Thanks [@&#8203;peterkogo](https://togithub.com/peterkogo)! - Fix node
dragging & resizing while zooming on flow that does not cover whole
browser window.

- [#&#8203;4782](https://togithub.com/xyflow/xyflow/pull/4782)
[`323e1b35`](323e1b35c5)
Thanks [@&#8203;peterkogo](https://togithub.com/peterkogo)! - Fix node
intersections in nested flow.

- Updated dependencies
\[[`2fa9a920`](2fa9a92042),
[`323e1b35`](323e1b35c5)]:
-
[@&#8203;xyflow/system](https://togithub.com/xyflow/system)[@&#8203;0](https://togithub.com/0).0.46

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-11-19 06:09:06 -06:00
Anton Dosov
45972374f0
[ES|QL] Starred queries in the editor (#198362)
## Summary

close https://github.com/elastic/kibana/issues/194165
close https://github.com/elastic/kibana-team/issues/1245

### User-facing

<img width="1680" alt="image"
src="https://github.com/user-attachments/assets/6df4ee9f-1b4d-404c-a764-592998a1d430">

This PRs adds a new tab in the editor history component. You can star
your query from the history and then you will see it in the Starred
list. The started queries are scoped to a user and a space.


### Server

To allow starring ESQL query, this PR extends [favorites
service](https://github.com/elastic/kibana/pull/189285) with ability to
store metadata in addition to an id. To make metadata strict and in
future to support proper metadata migrations if needed, metadata needs
to be defined as schema:

```
plugins.contentManagement.favorites.registerFavoriteType('esql_query', {
       typeMetadataSchema: schema.object({ query: schema.string(), timeRange:...., etc... }),
})
```

Notable changes: 

- Add support for registering a favorite type and a schema for favorite
type metadata. Previosly the `dashboard` type was the only supported
type and was hardcoded
- Add `favoriteMetadata` property to a saved object mapping and make it
`enabled:false` we don't want to index it, but just want to store
metadata in addition to an id.
[code](https://github.com/elastic/kibana/pull/198362/files#diff-d1a39e36f1de11a1110520d7607e6aee7d506c76626993842cb58db012b760a2R74-R87)
- Add a 100 favorite items limit (per type per space per user). Just do
it for sanity to prevent too large objects due to metadata stored in
addtion to ids.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Stratoula Kalafateli <stratoula1@gmail.com>
2024-11-18 21:53:46 +01:00
Nathan Reese
9f545039ab
fix dashboard grid item performs 2 DOM queries every render (#199390)
Closes https://github.com/elastic/kibana/issues/199361

While investigating, I found that fetching DOM element with id
`app-fixed-viewport` is a common pattern. I created the hook
`useAppFixedViewport` to consolidate this logic into a single location.
The hook only performs the DOM look-up on first render and then avoids
the DOM look-up on each additional render.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-18 11:32:53 -07:00
Gerard Soldevila
ab0375f56f
Kibana Sustainable Architecture: Expose StatusResponse in core-status-common (#200524)
## Summary

- Exposes the interfaces that define the format of the response of the
`/api/status` endpoint.
- Moves them from `@kbn/core-status-common-internal` to
`@kbn/core-status-common`.
- Removes the former package, as it no longer contains anything.
- Fixes some of the illegal dependencies uncovered by
https://github.com/elastic/kibana/pull/199630.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-18 14:34:54 +01:00
elastic-renovate-prod[bot]
d2f07b3a06
Update ftr (main) (#199090)
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.26` ->
`^4.1.27`](https://renovatebot.com/diffs/npm/@types%2fselenium-webdriver/4.1.26/4.1.27)
| |
| [chromedriver](https://togithub.com/giggio/node-chromedriver) |
devDependencies | patch | [`^130.0.1` ->
`^130.0.4`](https://renovatebot.com/diffs/npm/chromedriver/130.0.1/130.0.4)
| `131.0.0` |
|
[geckodriver](https://togithub.com/webdriverio-community/node-geckodriver)
| devDependencies | major | [`^4.5.1` ->
`^5.0.0`](https://renovatebot.com/diffs/npm/geckodriver/4.5.1/5.0.0) | |
|
[selenium-webdriver](https://togithub.com/SeleniumHQ/selenium/tree/trunk/javascript/node/selenium-webdriver#readme)
([source](https://togithub.com/SeleniumHQ/selenium)) | devDependencies |
minor | [`^4.25.0` ->
`^4.26.0`](https://renovatebot.com/diffs/npm/selenium-webdriver/4.25.0/4.26.0)
| |

---

### Release Notes

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

###
[`v130.0.4`](https://togithub.com/giggio/node-chromedriver/compare/130.0.3...130.0.4)

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

###
[`v130.0.3`](https://togithub.com/giggio/node-chromedriver/compare/130.0.2...130.0.3)

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

###
[`v130.0.2`](https://togithub.com/giggio/node-chromedriver/compare/130.0.1...130.0.2)

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

</details>

<details>
<summary>webdriverio-community/node-geckodriver (geckodriver)</summary>

###
[`v5.0.0`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v5.0.0):
Release 5.0.0

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.5.1...v5.0.0)

#### 💥 Breaking

- update license from MLP to MIT
([`9ecf5e2`](9ecf5e2))
- require Node.js v18
([`366cbb6`](366cbb6))

#### 🧹 Chore

- set gitattributes
([`5f26dc7`](5f26dc7))
- fix husky
([`29d87c5`](29d87c5))
-   update various dependencies

</details>

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

###
[`v4.26.0`](8a8aea2337...8ccf0219d7)

[Compare
Source](8a8aea2337...8ccf0219d7)

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
2024-11-14 21:18:10 -06:00
elastic-renovate-prod[bot]
31994854d2
Update dependency @launchdarkly/node-server-sdk to ^9.7.1 (main) (#199836) 2024-11-14 18:47:38 -06:00
Sid
cffa49773c
Upgrade cross-spawn to v7.0.5 (#199794)
Update `cross-spawn` v7.x to v7.0.5.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-14 13:37:59 +01:00