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 vega related modules (main) - autoclosed #187038

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 27, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vega ^5.24.0 -> ^5.30.0 age adoption passing confidence
vega-lite (source) ^5.5.0 -> ^5.19.0 age adoption passing confidence
vega-tooltip ^0.28.0 -> ^0.34.0 age adoption passing confidence

Release Notes

vega/vega (vega)

v5.30.0

Compare Source

Changes since v5.29.0

vega-functions

docs

monorepo

v5.29.0

Compare Source

docs

monorepo

vega-encode

vega-scale

vega-scenegraph

vega-typings

vega-view

  • turn off all handlers in View.finalize() to fix memory leak. (via #​3896) (Thanks @​cmerrick!)

v5.28.0

Compare Source

changes from v5.27.0

docs

vega-parser

vega-scenegraph

  • convert some of the scenegraph types to classes (via #​3864). (Thanks @​lsh!)

vega-typings

v5.27.0

Compare Source

changes from v5.26.1:

docs

monorepo

vega-scenegraph

  • Fix blurry zoom from caching devicePixelRatio (via #​3844). (Thanks @​lsh!)

vega-transforms

vega-typings

vega-view

  • Add option to resize on devicePixelRatio change (via #​3844). (Thanks @​lsh!)

v5.26.1

Compare Source

Changes from v5.26.1:

vega-scenegraph

  • Fix CanvasHandler to emit mouse over/move/out events. (#​3825)

vega-typings

  • Expose aggregate parameters in typings. (thanks @​Xitian9)

v5.26.0

Compare Source

Changes from v5.25.0:

vega-functions

  • Add geoScale expression function. (thanks @​binste)

vega-scale

  • Fix tickMinStep calculation. (thanks @​kanitw)

vega-scenegraph

  • Add experimental hybrid canvas/SVG renderer (thanks @​jonmmease)
  • Fall back to textMetrics.width for user defined width function (thanks @​jonmmease)

vega-selections

vega-transforms

  • Add aggregate parameters to vega-transform, and exponential moving average. (thanks @​Xitian9)

vega-typings

vega-voronoi

v5.25.0

Compare Source

Changes from v5.24.0:

monorepo

  • Fix browser lists for IE support. (thanks @​domoritz!)
  • Update dependencies.

vega-cli

vega-expression

vega-functions

  • Update to use hypot.

vega-regression

  • Allow zero-valued order for polynomial regression.

vega-statistics

  • Add constant regression method.

vega-transforms

  • Use robust (null proto) object for aggregate cell map. (#​3695)

vega-util

vega/vega-lite (vega-lite)

v5.19.0

Compare Source

Bug Fixes
Features
  • more options and examples for how marks and scales represent invalid data (e.g., nulls, NaNs) (#​9342) (502db1d), closes #​8254

5.18.1 (2024-05-07)

Bug Fixes

v5.18.1

Compare Source

Bug Fixes

v5.18.0

Compare Source

Bug Fixes
Features
  • add explicit option to control how densities are resolved, change how densities are resolved by default (#​9172) (bf0b8d3)

v5.17.0

Compare Source

Bug Fixes
Features

5.16.3 (2023-11-10)

Bug Fixes

5.16.2 (2023-11-08)

Bug Fixes

5.16.1 (2023-10-12)

Bug Fixes

v5.16.3

Compare Source

Bug Fixes

v5.16.2

Compare Source

Bug Fixes

v5.16.1

Compare Source

Bug Fixes

v5.16.0

Compare Source

Bug Fixes
Features
  • make bar & rect marks support bandPosition (allow center-alignment with ticks) (#​9126) (bd014eb)
  • swap 'mouse' events to 'pointer' events for mobile compatibility; update site and docs (#​9089) (fa97659)

5.15.1 (2023-10-02)

Bug Fixes
  • correct the formula for interpolating between bin start and end (interpolatedSignalRef) (#​9111) (d4b27bb)
  • use resolve "shared" instead of steps to fix artifacts in grouped density transform (#​9106) (06e63e6)

v5.15.1

Compare Source

Bug Fixes
  • correct the formula for interpolating between bin start and end (interpolatedSignalRef) (#​9111) (d4b27bb)
  • use resolve "shared" instead of steps to fix artifacts in grouped density transform (#​9106) (06e63e6)

v5.15.0

Compare Source

Bug Fixes
  • unescape paths in binned timeUnits to allow for fields with periods in name (#​9088) (53ede0e)
  • update ts and fix typing issues (#​9066) (b421a44)
Features

5.14.1 (2023-07-20)

Bug Fixes
  • Area with plain quantitative fields on both axes get stacked by default (#​9018) (b79bc9f)

v5.14.1

Compare Source

Bug Fixes
  • Area with plain quantitative fields on both axes get stacked by default (#​9018) (b79bc9f)

v5.14.0

Compare Source

Bug Fixes
Features

v5.13.0

Compare Source

Features
  • support domainRaw so one may bind domainRaw to a parameter to build custom interaction (#​8989) (21c823d)

v5.12.0

Compare Source

Features

5.11.1 (2023-06-26)

Bug Fixes
  • show gridline of first axis only for dual axes charts (#​8962) (a522a87)

v5.11.1

Compare Source

Bug Fixes
  • show gridline of first axis only for dual axes charts (#​8962) (a522a87)

v5.11.0

Compare Source

Bug Fixes
Features

v5.10.0

Compare Source

Bug Fixes
Features

5.9.3 (2023-05-18)

Bug Fixes

5.9.2 (2023-05-17)

Bug Fixes
  • make durationExpr work for week (#​8907) (bf99571)
  • respect bandWithNestedOffsetPaddingInner for grouped bar within discretized temporal axis (#​8906) (9050e6b)

5.9.1 (2023-05-15)

Bug Fixes

v5.9.3

Compare Source

Bug Fixes

v5.9.2

Compare Source

Bug Fixes
  • make durationExpr work for week (#​8907) (bf99571)
  • respect bandWithNestedOffsetPaddingInner for grouped bar within discretized temporal axis (#​8906) (9050e6b)

v5.9.1

Compare Source

Bug Fixes

v5.9.0

Compare Source

Features

v5.8.0

Compare Source

Bug Fixes
  • avoid repetitive labels by using tickMinStep (#​8872) (0b1c385)
  • remove incorrect stack transform from charts with one linear Q-axis one non-linear Q-axis. (#​8871) (f4d928a)
Features

5.7.1 (2023-04-17)

v5.7.1

Compare Source

v5.7.0

Compare Source

Bug Fixes
  • add repeat prefix to name in normalization (#​8733) (2ea3265)
  • allow setting width/height in repeated layers (#​8723) (9e26410)
  • correctly apply stacked to bar with quantitative x and quantitative y axes (#​8838) (4b9d22c)
  • correctly handle merging of domains with more than one sort object (#​8567) (1eedb8f)
  • move name from layer chart to one of the inside layers (#​8662) (d99f614)
  • orient logic for when bar with x=T + simplify logic (#​8739) (ea4aa64)
  • prevent duplicate spec names in top-level selection view paths (#​8486) (ba46bd2)
Features
  • enable interval selections for cartographic projections (#​6953) (e5cbe8f)

5.6.1 (2023-02-13)

5.6.0 (2022-10-14)

  • Bump version to: 5.6.0 [skip ci] (1ff500a)
  • Update CHANGELOG.md [skip ci] (71a7e87)

5.5.0 (2022-08-15)

  • Bump version to: 5.5.0 [skip ci] (0a2b57f)
  • Update CHANGELOG.md [skip ci] (6562bea)

v5.6.1

Compare Source

v5.6.0

Compare Source

🎉 This release contains work from new contributors! 🎉

Thanks for all your work!

❤️ Lam Thien Toan (@​danielmalaton)

❤️ Brandon Hamilton (@​mistidoi)

❤️ null@​sl-solution

❤️ Zachary Bys (@​ZacharyBys)

🚀 Enhancement
🐛 Bug Fix

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 if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added Feature:Vega Vega visualizations Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jun 27, 2024
@renovate renovate bot requested a review from a team June 27, 2024 00:20
@elasticmachine
Copy link
Contributor

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

@renovate renovate bot force-pushed the renovate/main-vega-related-modules branch from dc6bfc3 to 9851d2b Compare June 27, 2024 20:10
@nickofthyme nickofthyme added the release_note:skip Skip the PR/issue when compiling release notes label Jun 27, 2024
@kibana-ci
Copy link
Collaborator

kibana-ci commented Jun 27, 2024

💔 Build Failed

Failed CI Steps

History

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

@renovate renovate bot force-pushed the renovate/main-vega-related-modules branch from 9851d2b to 19e38d1 Compare July 11, 2024 18:00
@renovate renovate bot force-pushed the renovate/main-vega-related-modules branch from 19e38d1 to 093e5f8 Compare August 1, 2024 13:42
@elastic-renovate-prod
Copy link
Contributor

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.

Copy link
Contributor

@dej611 dej611 left a comment

Choose a reason for hiding this comment

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

Tried to run it locally but got some webpack errors:

ERROR in ./node_modules/vega-lite/build/vega-lite.js 330:26
 proc [kibana]        │          Module parse failed: Unexpected token (330:26)
 proc [kibana]        │          You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
 proc [kibana]        │          |     }
 proc [kibana]        │          |     for (const s of src) {
 proc [kibana]        │          >       deepMerge_(dest, s ?? {});
 proc [kibana]        │          |     }
 proc [kibana]        │          |     return dest;
 proc [kibana]        │           @ ./public/data_model/vega_parser.ts 18:0-64 191:25-32 217:16-23 457:38-53
 proc [kibana]        │           @ ./public/vega_request_handler.ts
 proc [kibana]        │           @ ./public/async_services.ts
 proc [kibana]        │           @ ./public/vega_fn.ts
 proc [kibana]        │           @ ./public/plugin.ts
 proc [kibana]        │           @ ./public/index.ts
 proc [kibana]        │           @ ./packages/kbn-optimizer/src/worker/entry_point_creator.ts
 proc [kibana]        │          
 proc [kibana]        │          ERROR in ./node_modules/vega-tooltip/build/vega-tooltip.js 389:61
 proc [kibana]        │          Module parse failed: Unexpected token (389:61)
 proc [kibana]        │          You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
 proc [kibana]        │          |         this.el.setAttribute('id', this.options.id);
 proc [kibana]        │          |         this.el.classList.add('vg-tooltip');
 proc [kibana]        │          >         const tooltipContainer = document.fullscreenElement ?? document.body;
 proc [kibana]        │          |         tooltipContainer.appendChild(this.el);
 proc [kibana]        │          |       }
 proc [kibana]        │           @ ./public/vega_view/vega_tooltip.js 10:0-67 66:19-39
 proc [kibana]        │           @ ./public/vega_view/vega_base_view.js
 proc [kibana]        │           @ ./public/vega_view/vega_view.js
 proc [kibana]        │           @ ./public/vega_visualization.ts
 proc [kibana]        │           @ ./public/components/vega_vis_component.tsx
 proc [kibana]        │           @ ./public/async_services.ts
 proc [kibana]        │           @ ./public/vega_fn.ts
 proc [kibana]        │           @ ./public/plugin.ts
 proc [kibana]        │           @ ./public/index.ts
 proc [kibana]        │           @ ./packages/kbn-optimizer/src/worker/entry_point_creator.ts
 proc [kibana]    │ np bld    log   [12:38:28.378] [error][@kbn/optimizer] [ml] build
 proc [kibana]        │ np bld    log   [12:38:28.378] [error][@kbn/optimizer] Optimizations failure.
 proc [kibana]        │         2144 modules
 proc [kibana]        │          
 proc [kibana]        │          ERROR in ./node_modules/vega-lite/build/vega-lite.js 330:26
 proc [kibana]        │          Module parse failed: Unexpected token (330:26)
 proc [kibana]        │          You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
 proc [kibana]        │          |     }
 proc [kibana]        │          |     for (const s of src) {
 proc [kibana]        │          >       deepMerge_(dest, s ?? {});
 proc [kibana]        │          |     }
 proc [kibana]        │          |     return dest;
 proc [kibana]        │           @ ./public/application/components/vega_chart/vega_chart_view.tsx 15:0-52 26:19-26
 proc [kibana]        │           @ ./public/application/components/vega_chart/vega_chart.tsx
 proc [kibana]        │           @ ./public/application/components/vega_chart/index.ts
 proc [kibana]        │           @ ./public/application/components/scatterplot_matrix/scatterplot_matrix.tsx
 proc [kibana]        │           @ ./public/application/components/scatterplot_matrix/index.ts
 proc [kibana]        │           @ ./public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx
 proc [kibana]        │           @ ./public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts
 proc [kibana]        │           @ ./public/application/data_frame_analytics/pages/analytics_exploration/page.tsx
 proc [kibana]        │           @ ./public/application/data_frame_analytics/pages/analytics_exploration/index.ts
 proc [kibana]        │           @ ./public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx
 proc [kibana]        │           @ ./public/application/routing/routes/data_frame_analytics/index.ts
 proc [kibana]        │           @ ./public/application/routing/routes/index.ts
 proc [kibana]        │           @ ./public/application/components/ml_page/ml_page.tsx
 proc [kibana]        │           @ ./public/application/components/ml_page/index.ts
 proc [kibana]        │           @ ./public/application/routing/router.tsx
 proc [kibana]        │           @ ./public/application/routing/index.ts
 proc [kibana]        │           @ ./public/application/app.tsx
 proc [kibana]        │           @ ./public/plugin.ts
 proc [kibana]        │           @ ./public/index.ts
 proc [kibana]        │           @ ./packages/kbn-optimizer/src/worker/entry_point_creator.ts
 proc [kibana]        │          
 proc [kibana]        │          ERROR in ./node_modules/vega-tooltip/build/vega-tooltip.js 389:61
 proc [kibana]        │          Module parse failed: Unexpected token (389:61)
 proc [kibana]        │          You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
 proc [kibana]        │          |         this.el.setAttribute('id', this.options.id);
 proc [kibana]        │          |         this.el.classList.add('vg-tooltip');
 proc [kibana]        │          >         const tooltipContainer = document.fullscreenElement ?? document.body;
 proc [kibana]        │          |         tooltipContainer.appendChild(this.el);
 proc [kibana]        │          |       }
 proc [kibana]        │           @ ./public/application/components/vega_chart/vega_chart_view.tsx 18:0-39 31:53-60
 proc [kibana]        │           @ ./public/application/components/vega_chart/vega_chart.tsx
 proc [kibana]        │           @ ./public/application/components/vega_chart/index.ts
 proc [kibana]        │           @ ./public/application/components/scatterplot_matrix/scatterplot_matrix.tsx
 proc [kibana]        │           @ ./public/application/components/scatterplot_matrix/index.ts
 proc [kibana]        │           @ ./public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx
 proc [kibana]        │           @ ./public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts
 proc [kibana]        │           @ ./public/application/data_frame_analytics/pages/analytics_exploration/page.tsx
 proc [kibana]        │           @ ./public/application/data_frame_analytics/pages/analytics_exploration/index.ts
 proc [kibana]        │           @ ./public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx
 proc [kibana]        │           @ ./public/application/routing/routes/data_frame_analytics/index.ts
 proc [kibana]        │           @ ./public/application/routing/routes/index.ts
 proc [kibana]        │           @ ./public/application/components/ml_page/ml_page.tsx
 proc [kibana]        │           @ ./public/application/components/ml_page/index.ts
 proc [kibana]        │           @ ./public/application/routing/router.tsx
 proc [kibana]        │           @ ./public/application/routing/index.ts
 proc [kibana]        │           @ ./public/application/app.tsx
 proc [kibana]        │           @ ./public/plugin.ts
 proc [kibana]        │           @ ./public/index.ts
 proc [kibana]        │           @ ./packages/kbn-optimizer/src/worker/entry_point_creator.ts

@nickofthyme
Copy link
Contributor

@elastic/kibana-operations any ideas? ☝🏼

@dej611
Copy link
Contributor

dej611 commented Aug 6, 2024

I saw here the JS version in the bundler output was updated from js2015 to JS2020

@nickofthyme
Copy link
Contributor

nickofthyme commented Aug 6, 2024

Yeah I recall there being build issues upgrading to vega@5 #68639.

I'm not sure how to fix this, adding vega-lite and vega-tooltip to the noParse results in a successful build but going to vega, you get the error ReferenceError: require is not defined.

The vega package has a build-es5 output that we resolve to but vega-lite and vega-tooltip do not have this. It's seems we need to transpile them and point webpack to these transpiled versions.

@nuugen nuugen closed this Aug 30, 2024
@nuugen
Copy link
Member

nuugen commented Aug 30, 2024

Closing in favour of PRs to be opened by Self-Hosted Renovate.

@nuugen nuugen changed the title Update vega related modules (main) Update vega related modules (main) - autoclosed Aug 30, 2024
@nickofthyme nickofthyme deleted the renovate/main-vega-related-modules branch August 30, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Vega Vega visualizations release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants