Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @elastic/charts to v67 (main) #193694

Merged
merged 12 commits into from
Oct 2, 2024

Conversation

elastic-renovate-prod[bot]
Copy link
Contributor

@elastic-renovate-prod elastic-renovate-prod bot commented Sep 23, 2024

This PR contains the following updates:

Package Type Update Change
@elastic/charts dependencies major 66.1.1 -> 67.0.0

Breaking changes

Elastic-charts theme API for line and area charts has changed:

  • the point.visible type for line and area charts is now a union between 'always' | 'never' | 'auto'. Always and Never will replace the previous boolean configuration, auto instead will provide a logic to show the points only of the distance between consecutive points is bigger than the pointVisibilityMinDistance.
  • the isolatedPoint style for line and area doesn't contain the radius parameter anymore. The radius is derived from the line.strokeWidth parameter.

Release Notes

elastic/elastic-charts (@​elastic/charts)

v67.0.0

Compare Source

Bug Fixes
Styles
  • theme: change point and isolated point style and visibility (#​2525) (87de6c2)
BREAKING CHANGES
  • theme: the isolatedPoint style doesn't contain the radius parameter anymore. The radius is derived from the line.strokeWidth parameter.

66.1.1 (2024-08-09)

Bug Fixes

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod bot added backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Sep 23, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@markov00 markov00 self-assigned this Sep 23, 2024
@markov00 markov00 requested review from a team as code owners September 26, 2024 10:44
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Sep 26, 2024
@markov00 markov00 marked this pull request as draft September 26, 2024 10:44
@elastic-renovate-prod
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@@ -1007,7 +1007,7 @@ export class VisualBuilderPageObject extends FtrService {

public async getAreaChartData(chartData?: DebugState, nth: number = 0) {
const areas = (await this.getChartItems(chartData)) as DebugState['areas'];
return areas?.[nth]?.lines.y1.points.map(({ x, y }) => [x, y]);
return areas?.[nth]?.lines.y1.points.sort((a, b) => a.x - b.x).map(({ x, y }) => [x, y]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There isn't a sorting order contract for the DebugState, so the internal state could change everytime without being considered a breaking change. Adding here, and in few other places, a sorting to allow a clean comparison

@markov00 markov00 marked this pull request as ready for review September 30, 2024 13:51
@markov00 markov00 requested review from a team as code owners September 30, 2024 13:51
@botelastic botelastic bot added Team:Obs AI Assistant Observability AI Assistant Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Team:obs-ux-management Observability Management User Experience Team labels Sep 30, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@darnautov darnautov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ML changes LGTM

@kibana-ci
Copy link
Collaborator

kibana-ci commented Oct 1, 2024

💛 Build succeeded, but was flaky

  • Buildkite Build
  • Commit: f51d7b2
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-193694-f51d7b29e0e7

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #30 / Saved Objects Management saved objects management with hidden types Delete modal should not delete the hidden objects when performing the operation

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 3.4MB 3.4MB +16.0B
dataVisualizer 726.5KB 726.5KB +5.0B
expressionXY 127.7KB 127.7KB +19.0B
ml 4.6MB 4.6MB +14.0B
observabilityAIAssistantApp 154.3KB 154.3KB +10.0B
slo 854.2KB 854.3KB +94.0B
stackAlerts 75.7KB 75.7KB +5.0B
triggersActionsUi 1.6MB 1.6MB +10.0B
visTypeTimelion 38.8KB 38.8KB -17.0B
watcher 166.0KB 166.0KB +5.0B
total +161.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
charts 45.3KB 45.3KB +10.0B
kbnUiSharedDeps-npmDll 6.2MB 6.2MB +1.3KB
observabilityShared 71.7KB 71.7KB +10.0B
triggersActionsUi 123.3KB 123.3KB +5.0B
total +1.3KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @markov00

@markov00 markov00 added backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) and removed backport:skip This commit does not require backporting labels Oct 2, 2024
@markov00 markov00 merged commit 30ef0ec into main Oct 2, 2024
47 checks passed
@markov00 markov00 deleted the renovate/main-@elasticcharts branch October 2, 2024 08:52
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11140782250

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 2, 2024
This PR contains the following updates:

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

---
### Breaking changes

Elastic-charts theme API for line and area charts has changed:
- the `point.visible` type for line and area charts is now a union
between `'always' | 'never' | 'auto'`. Always and Never will replace the
previous boolean configuration, `auto` instead will provide a logic to
show the points only of the distance between consecutive points is
bigger than the `pointVisibilityMinDistance`.
- the isolatedPoint style for line and area doesn't contain the `radius`
parameter anymore. The radius is derived from the `line.strokeWidth`
parameter.

Co-authored-by: Marco Vettorello <[email protected]>
(cherry picked from commit 30ef0ec)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 2, 2024
)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Update dependency @elastic/charts to v67 (main)
(#193694)](#193694)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-02T08:52:56Z","message":"Update
dependency @elastic/charts to v67 (main) (#193694)\n\nThis PR contains
the following updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|
[@elastic/charts](https://togithub.com/elastic/elastic-charts)
|\r\ndependencies | major | [`66.1.1`
->\r\n`67.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/66.1.1/67.0.0)\r\n|\r\n\r\n---\r\n###
Breaking changes\r\n\r\nElastic-charts theme API for line and area
charts has changed:\r\n- the `point.visible` type for line and area
charts is now a union\r\nbetween `'always' | 'never' | 'auto'`. Always
and Never will replace the\r\nprevious boolean configuration, `auto`
instead will provide a logic to\r\nshow the points only of the distance
between consecutive points is\r\nbigger than the
`pointVisibilityMinDistance`.\r\n- the isolatedPoint style for line and
area doesn't contain the `radius`\r\nparameter anymore. The radius is
derived from the `line.strokeWidth`\r\nparameter.\r\n\r\nCo-authored-by:
Marco Vettorello
<[email protected]>","sha":"30ef0ecb3c9d91b8f111f96bf0e024d03c49304b","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","💝community","v9.0.0","backport:prev-minor","Team:Obs
AI
Assistant","ci:project-deploy-observability","Team:obs-ux-infra_services","Team:obs-ux-management","apm:review"],"title":"Update
dependency @elastic/charts to v67
(main)","number":193694,"url":"https://github.com/elastic/kibana/pull/193694","mergeCommit":{"message":"Update
dependency @elastic/charts to v67 (main) (#193694)\n\nThis PR contains
the following updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|
[@elastic/charts](https://togithub.com/elastic/elastic-charts)
|\r\ndependencies | major | [`66.1.1`
->\r\n`67.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/66.1.1/67.0.0)\r\n|\r\n\r\n---\r\n###
Breaking changes\r\n\r\nElastic-charts theme API for line and area
charts has changed:\r\n- the `point.visible` type for line and area
charts is now a union\r\nbetween `'always' | 'never' | 'auto'`. Always
and Never will replace the\r\nprevious boolean configuration, `auto`
instead will provide a logic to\r\nshow the points only of the distance
between consecutive points is\r\nbigger than the
`pointVisibilityMinDistance`.\r\n- the isolatedPoint style for line and
area doesn't contain the `radius`\r\nparameter anymore. The radius is
derived from the `line.strokeWidth`\r\nparameter.\r\n\r\nCo-authored-by:
Marco Vettorello
<[email protected]>","sha":"30ef0ecb3c9d91b8f111f96bf0e024d03c49304b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193694","number":193694,"mergeCommit":{"message":"Update
dependency @elastic/charts to v67 (main) (#193694)\n\nThis PR contains
the following updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|
[@elastic/charts](https://togithub.com/elastic/elastic-charts)
|\r\ndependencies | major | [`66.1.1`
->\r\n`67.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/66.1.1/67.0.0)\r\n|\r\n\r\n---\r\n###
Breaking changes\r\n\r\nElastic-charts theme API for line and area
charts has changed:\r\n- the `point.visible` type for line and area
charts is now a union\r\nbetween `'always' | 'never' | 'auto'`. Always
and Never will replace the\r\nprevious boolean configuration, `auto`
instead will provide a logic to\r\nshow the points only of the distance
between consecutive points is\r\nbigger than the
`pointVisibilityMinDistance`.\r\n- the isolatedPoint style for line and
area doesn't contain the `radius`\r\nparameter anymore. The radius is
derived from the `line.strokeWidth`\r\nparameter.\r\n\r\nCo-authored-by:
Marco Vettorello
<[email protected]>","sha":"30ef0ecb3c9d91b8f111f96bf0e024d03c49304b"}}]}]
BACKPORT-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:review backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) ci:project-deploy-observability Create an Observability project 💝community release_note:skip Skip the PR/issue when compiling release notes Team:Obs AI Assistant Observability AI Assistant Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Team:obs-ux-management Observability Management User Experience Team Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.