# Backport
This will backport the following commits from `main` to `8.11`:
- [Upgrade zod@3.21.4→3.22.3
(#168041)](https://github.com/elastic/kibana/pull/168041)
<!--- Backport version: 8.9.7 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2023-10-06T16:41:06Z","message":"Upgrade
zod@3.21.4→3.22.3 (#168041)\n\n## Summary\r\n\r\nUpgrades `zod` from
v3.21.4 to
v3.22.3.","sha":"5d328feb7f7112456abf7853a5a063fffd53d3c4","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["blocker","Team:Security","release_note:skip","backport:prev-minor","v8.11.0","v8.12.0"],"number":168041,"url":"https://github.com/elastic/kibana/pull/168041","mergeCommit":{"message":"Upgrade
zod@3.21.4→3.22.3 (#168041)\n\n## Summary\r\n\r\nUpgrades `zod` from
v3.21.4 to
v3.22.3.","sha":"5d328feb7f7112456abf7853a5a063fffd53d3c4"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/168041","number":168041,"mergeCommit":{"message":"Upgrade
zod@3.21.4→3.22.3 (#168041)\n\n## Summary\r\n\r\nUpgrades `zod` from
v3.21.4 to
v3.22.3.","sha":"5d328feb7f7112456abf7853a5a063fffd53d3c4"}}]}]
BACKPORT-->
Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
## Summary
Bump Cypress-related dependencies to the latest versions and update
`renovate.json` to do it automatically in the future
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Gloria Hornero <gloria.hornero@elastic.co>
## Summary
Upgrade `openpgp` from `5.3.0` to `5.10.1`
Commit log:
https://github.com/openpgpjs/openpgpjs/compare/v5.3.0...v5.10.1
There is an incompatibility of `Uint8Array` when using Jest/JSDom with
the TextEncoder/TextDecoder from node `util`.
`https://github.com/kayahr/text-encoding` has been added as a
`devDependency` so it can be used in the polyfill. It provides a working
TextEncoder/Decoder for our Jest tests.
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Resolves#160122
## Summary
Remove deprecated styles and components from static error pages
## Screenshot
<img width="696" alt="Screenshot 2023-09-01 at 19 45 13"
src="575deadf-9efd-4e63-8752-df5b69de5bd1">
## Testing
- Create a user without any roles and try to login
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
## Summary
Upgrading the `jsonwebtoken` library used in
`cloud_integration/cloud_chat` plugin from v8.5 to v9.0
## Migration
After reviewing the affected code it looks like this upgrade shouldn't
cause any breaking changes. Please see the v8 --> v9 migration guide
[here](https://github.com/auth0/node-jsonwebtoken/wiki/Migration-Notes:-v8-to-v9)
## Questions for reviewers
- What is the size and type of `secret` that we are passing into
`generateSignedJwt`?
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
This adds a renovate config for core jest packages, but skips a few jest
related libraries. They need to be updated separately and then added to
the config. jest-styled-components breaks a bunch of snapshots, for
example.
* Remove total and sampled traces from API
* Remove Samples array from flamegraph API
These values are redundant with CountInclusive so could be removed
without issue.
* Remove totalCount and eventsIndex
These values are no longer needed.
* Remove samples from callee tree
* Refactor columnar view model into separate file
* Add more lazy-loaded flamegraph calculations
* Fix spacing in frame label
* Remove frame information API
* Improve test coverage
* Fix type error
* Replace fnv-plus with custom 64-bit FNV1-a
* Add exceptions for linting errors
* Add workaround for frame type truncation bug
* Replace prior workaround for truncation bug
This fix supercedes the prior workaround and addresses the truncation at
its source.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* tty toggle now shows number of bytes in tooltip, if no output we disable button (instead of hide)
* fixed tests
Co-authored-by: Karl Godard <karlgodard@elastic.co>
* Update dependency @elastic/charts to v48
* Update renovate.json
* fix: switch to a 2 layer time axis instead of 3
* test: update test with new layers count
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nick Partridge <nick.ryan.partridge@gmail.com>
Co-authored-by: Robert Monfera <monfera@users.noreply.github.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
* update renovate bot settings
* update es client to 8.1-canary3
* specify type explicitly when pass a serialized object
* attempt 1 in fleet.specify type explicitly when pass a serialized object
* fix the first batch of ts errors
* fix more violations
* fix unit test
* fix more violations 2
* fix more violations 3
* fix more violations 4
* review comments
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>