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

chore(deps): Update dependency echarts to v5 #1018

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 11, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
echarts (source) ^4.9.0 -> ^5.2.1 age adoption passing confidence

Release Notes

apache/echarts

v5.2.1

Compare Source

v5.2.0

Compare Source

v5.2.0

Break Changes
All Changes

v5.1.2

Compare Source

v5.1.2

  • [Feature] [geo/map] Support skew in transform and svg parser. #​755 (pissang)
  • [Feature] [tree] Add treeAncestors property in the params of tooltip callback . #​14957 (stephenLYZ)
  • [Feature] [i18n] Add Slovenian translation. #​14758 (dkrat7)
  • [Fix] [canvas] Fix extra ctx.save call when dirty rect is enabled. #​765 (pissang)
  • [Fix] [path] Fix small subpath may be ignored when optimizing small line segments. #​760 (pissang)
  • [Fix] [tooltip] When component tooltip.formatter is not specified, use a specific default formatter, rather than use global tooltip.formatter as default. Fix #​14939. #​14972 (100pah)
  • [Fix] [resize] Error thrown when resize is called after setOption called with lazyUpdate: true. Fix #​14846, Fix #​11395. #​14934 (100pah)
  • [Fix] [treemap] Error when running setOption twice with diff data. #​14930 (Map1en)
  • [Fix] [tree] Error when running setOption twice with diff data. #​14905 (Map1en)
  • [Fix] [option] Check the missing component before merge theme. #​14966 (pissang)
  • [Fix] [text] Fix gradient text background cause rendering error. #​756 (pissang)
  • [Fix] [clip] Line chart will throw an error when clip is set as false. #​14813 (plainheart)
  • [Fix] [legend] Remove unexpected syntax to ensure better compatibility. #​14810 (plainheart)
  • [Fix] [dataZoom] Type fix for startValue and endValue. Close #​14412 #​14775 (dileepyelleti)
  • [Fix] [label] Ensure the label of the temporary symbol is in front of line and area polygon. #​14993 (plainheart)
  • [Fix] [stack] Fix number getPrecisionSafe incorrect on scientific notation like 3.45e-1. Stack sum eliminate floating arithmetic problem. #​15015 (100pah)
  • [Fix] [dataZoom] Should no dataZoom filtering when toolbox.feature.dataZoom not declared. #​15015 (100pah)
  • [Fix] [line] Avoid the infinite value in linearMap util. #​14602 (plainheart)
  • [Fix] [timeline] Trigger timelineplaychange event when play to the end. #​14620 (Ovilia)
  • [Fix] [custom] Fix progressive rendering in custom series. #​14920 (pissang)
  • [Fix] [brush] Clamp range when brush. #​14569 (susiwen8)
  • [Fix] [label] Fix labels are not on the top bug. #​14542 (plainheart)
  • [Fix] [toolbox] The show option of customized toolbox button does not work. #​14408 (plainheart)
  • [Fix] [type] Changed LineEndLabelOption.valueAnimation to be optional. #​14806 (Bilge)
  • [Fix] [type] Export cbs and their parameter types. #​14871 (dougalg)
  • [Fix] [type] Fix position callback return type. Fix #​15031. (congjiujiu)
  • [Fix] [type] Remove non-required properties from PatternObject and fix some type issues. #​759. (plainheart)

v5.1.1

Compare Source

  • [Fix] [geo] Fix tooltip don't show on geo component. #​14767 (pissang)
  • [Fix] [tooltip] Fix the position of tooltip may be incorrect when appendToBody. #​14713 (plainheart)
  • [Fix] [map] Fix tooltip may have error on map series. #​14704 (plainheart)
  • [Fix] [pie] Fix labelLine may still appear on emphasis when changed from outside to inside. #​14702 (villebro)
  • [Fix] [type] Fix type error on earlier TypeScript versions. Close #​14716 #​14739
  • [Fix] [type] symbolOffset incorrectly marked as mandatory. #​14693 (villebro)

v5.1.0

Compare Source

v5.1.0

v5.0.2

Compare Source

v5.0.2

2021-02-06
  • [Fix] [dataZoom] Fix icon with 'image://' won't display #​14056 (susiwen8)
  • [Fix] [pie] [gauge] Fix zero value sector may be incorrectly drawn as a circle. #​699 (plainheart)
  • [Fix] [pie] Fix hiding wrong labels in pie. #​14108 (Nick22nd)
  • [Fix] [map] Add geo as dependency in map. #​14124 (pissang)
  • [Fix] [labelLine] Fix labelLine will not been hidden when label is switched from outside to inside #​14017 (susiwen8)
  • [Fix] [toolbox] Fix yAxisIndex: false in toolbox dataZoom may have error. #​14175 (100pah)
  • [Fix] [toolbox] Fix image download may have error when not using default pixelRatio. #​706 (plainheart)
  • [Fix] [toolbox] Use current devicePixelRatio by default for exporting crisp and clear images by default. #​14002 (plainheart)
  • [Fix] [line] endLabel color support 'auto' 'inherit' #​14000 (susiwen8)
  • [Fix] [svg] fix opacity may not work in SVG renderer. #​675 (plainheart)
  • [Fix] [type] Optimize event param types #​14155 (pissang)

v5.0.1

Compare Source

v5.0.1

  • [Feature] New minimal import API. Improved exported option types. #​13890 (pissang)
  • [Fix] [tooltip] Fix tooltip of markPoint is wrong #​13992 (susiwen8)
  • [Fix] [loading] Fix showLoading center align and fontSize not work. Add fontFamily, fontWeight, fontStyle #​13972 (yufeng04)
  • [Fix] [gauge] pointer.offsetCenter doesn't work without icon #​13966 (yufeng04)
  • [Fix] [dataset] Fix automatic legend from dataset is wrong. #​13930 (100pah)
  • [Fix] [handler] Fix tooltip can't be hidden when moving out of the viewport occasionally. #​693 (pissang)
  • [Fix] [tooltip] Fix text color can't be changed in tooltip. #​13848 (susiwen8)
  • [Fix] [tooltip] Fix borderColor can't be changed in tooltip. #​13771 (susiwen8)
  • [fix] [axis] Fix error when category axis max is greater than data length #​13733 (Ovilia)
  • [fix] [svg] Fix chart cannot be exported with SVG renderer in IE. #​13732 (plainheart)
  • [Fix] [bar] Improvement and some fixes of bar race chart #​13994 (100pah)
  • [Fix] Fix unexpected global name usage, which may have error in other environments. #​13984 (pissang)

v5.0.0

Compare Source

v5.0.0

  • Migrate codebase to TypeScript:
    • The entire code base have been migrated to TypeScript.
    • Provide types/dist/echarts.d.ts for the upper TS based applications, where the TS version supported is down to 3.4.
    • See more details in #​13563
  • [Feature] States enhancement:
    • Support state transition animation, which brings better interaction effect when highlighting or downplaying some part of the chart.
    • Besides the state "emphasis" we already have, v5.0 provides two more configurable state: "select" and "blur" in all series. The option of them are the same as the existing "emphasis". "blur" is used the elements need to fade out when focusing some other elements. "select" is used when the element is selected by mouse/touch click or API triggering.
    • Support to blur other graphic elements when highlighting specified data through mouseover or hover linking. See examples bar-label-rotation, bar-polar-stack, bar-stack, area-stack, dataset-link, scatter-weight, tree-basic.
    • Unify the previous different state configurations in series, like highlightPolicy, focusNodeAdjacency, hoverOffset, by the option focus, blurScope and scale. See examples sankey-energy, graph, sunburst-drink.
    • See more details in #​12925 and #​12911.
  • [Feature] Provide a more powerful label support:
    • Use some strategies to bring better displayed labels, including:
      • Smarter text color strategy to make labels more easy to be distinguished from different background.
      • Smarter label layout in pie chart, especially when there are too many labels or insufficient space. And related issue: #​6050.
      • Provide more overflow configurations.
    • Provide option set labelLayout to enable more abilities for developers to tweak the layout of the labels after it's originally positioned by the chart itself. With the options in labelLayout, developers can:
    • Support labelLine for all series, which is very useful for guiding element to related labels when labels have to be far away from the elements. See examples scatter-label-align-right, scatter-label-align-top. Related issues: #​11534, #​12971.
    • See more details in #​12911.
  • [Feature] Chart racing, bar realtime sorting and label animation:
    • Bar race and line race is a popular way to show time series data, and visualize the change in trends over time.
      • We provide this capability by bar sorting (series.sort and series.realtimeSort) and end label animation (series.label.valueAnimation, series.endLabel). And this individual options can be used in other related scenarios.
      • See examples bar-race, and see more details in the original pull request #​12484, #​13246 and #​13045.
    • Other the racing of some special customized chart can be implemented by custom series and the callback of renderItem during. See the example custom-spiral-race, and see more details in #​12775.
  • [Feature] Support data transform plug-in:
  • [Feature] Provide more smarter time axis label and tick arrangement:
  • [Feature] Support decal:
    • Decal provides a new visual type that does not only augment aria scenarios but also enrich visual effects.
    • See more details in #​13304.
  • [Feature] Provide custom series animation configuration in transform, style, shape morphing/combining/separating.
  • [Feature] Provide a more powerful gauge:
  • [Feature] The default theme and interaction have been greatly enhanced. Some new options are provided for the style and interaction configuration:
  • [Feature] Make i18n registerable and change the product.
  • [Feature] Support rounded corner in pie and sunburst:
  • [Feature] Make tooltip more configurable:
    • Support to add CSS class to tooltip. #​13383.
    • Support to return DOM in tooltip formatter. #​13469.
  • [Feature] Support to partially remove components or replace components:
  • [Enhancement] Enhance performance in some scenarios:
  • Other small features, enhancements and bug-fixes:
    • [Feature] Enhance parseDate #​13044.
    • [Feature] Make line bolder when line is in emphasis state #​13013.
    • [Feature] Sankey supports lineStyle: {color: 'gradient'}.
    • [Feature] markPoint.data.type and markArea.data.type support the value 'median'.
    • [Feature] Support axis filter in specific cases. #​12832.
    • [Fix] Fix bmap first layout may be incorrect if container's layout is flex or grid. #​13432.
    • [Fix] Hide tooltip when mouse leaves the chart #​13382.
    • [Fix] Fix bmap personalization style does not work. #​13214.
    • [Fix] Fix the bug of overriding title when click the stack button. #​13372.
    • [Fix] Fix ECharts keeps rendering white blanks with large datasets on single canvas mode #​13283.
    • [Fix] Make contentToOption totally optional. #​13139.
    • [Fix] Keep axis tooltip open on refresh. #​13100.
    • [Fix] Skip rendering for data out of axis content in heatmap. #​12991.
  • [Break] Breaking changes against v4.9:
    • The default theme colors has been changed. If intending to use the theme of 4.9-, please set option.color = ['#c23531', '#​2f4554', '#​61a0a8', '#d48265', '#​91c7ae', '#​749f83', '#ca8622', '#bda29a', '#​6e7074', '#​546570', '#c4ccd3'];.
    • Remove built-in map geoJSON. #​13565.
    • The exported modules from 'echarts/lib/export.js' is not mounted to 'echarts/lib/echarts.js' by default. If the upper application previously used import echarts from 'echarts/lib/echarts' and used any of the exported modules in 'echarts/lib/export.js', please change the import code to import echarts from 'echarts/index.blank', where the modules from 'echarts/lib/export.js' are mounted by default.
    • If the upper application previously imported src/echarts.js, src/chart/*.js and src/component/*.js, it can not work any more because all of the files in /src folder are migrated to *.ts. Instead, the upper application can import esm/echarts.js, esm/chart/*.js and esm/component/*.js.
    • Drop the support of the legacy IE8. The previous VML renderer (necessary in IE8) will not be updated to work in v5.0 util someone proposed with their real scenario.
    • The priority of the visuals between visualMap and itemStyle|lineStyle|areaStyle are reversed. That is, previously, the visuals (i.e., color, symbol, symbolSize, ...) that generated by the component visualMap has highest priority, which will overwrite the same visuals specified in itemStyle|lineStyle|areaStyle. That brought trouble to specify specific style to some certain data items. Since v5.0, the visuals specified in itemStyle|lineStyle|areaStyle has highest priority.
    • The behavior of rich.?.padding are changed. Previously rich.?.padding: [11, 22, 33, 44] indicates that the top padding is 33 and the bottom padding is 11, which is a buggy implementation because it is different from what CSS did. Since v5.0, we fix it: rich.?.padding: [11, 22, 33, 44] indicates the top padding is 11 and the bottom padding is 33.
    • aria is not included in dist/echarts.simple(.min).js since v5.0. But it is still included in dist/echarts.common(.min).js and dist/echarts(.min).js.
  • [Deprecated] Deprecated usages since v5.0:
    • Transform related props of a graphic element are changed:
      • Changes:
        • position: [number, number] are changed to x: number/y: number.
        • scale: [number, number] are changed to scaleX: number/scaleY: number.
        • origin: [number, number] are changed to originX: number/originY: number.
      • The position, scale and origin are still supported but deprecated.
      • It effects these places:
        • In the graphic components: the declarations of each element.
        • In custom series: the declarations of each element in the return of renderItem.
        • Directly use zrender graphic elements.
    • Text related props on graphic elements are changed:
      • Changes:
        • The declaration of attached text (or say, rect text) are changed.
          • Prop style.text are deprecated in elements except Text. Instead, Prop set textContent and textConfig are provided to support more powerful capabilities.
          • These related props at the left part below are deprecated. Use the right part below instead.
          • textPosition => textConfig.position
          • textOffset => textConfig.offset
          • textRotation => textConfig.rotation
          • textDistance => textConfig.distance
        • The props at the left part below are deprecated in style and style.rich.?. Use the props at the right part below instead.
          • textFill => fill
          • textStroke => stroke
          • textFont => font
          • textStrokeWidth => lineWidth
          • textAlign => align
          • textVerticalAlign => verticalAlign;
          • textLineHeight =>lineHeight
          • textWidth => width
          • textHeight => hight
          • textBackgroundColor => backgroundColor
          • textPadding => padding
          • textBorderColor => borderColor
          • textBorderWidth => borderWidth
          • textBorderRadius => borderRadius
          • textBoxShadowColor => shadowColor
          • textBoxShadowBlur => shadowBlur
          • textBoxShadowOffsetX => shadowOffsetX
          • textBoxShadowOffsetY => shadowOffsetY
        • Note: these props are not changed:
          • textShadowColor
          • textShadowBlur
          • textShadowOffsetX
          • textShadowOffsetY
      • It effects these places:
        • In the graphic components: the declarations of each element. [compat, but not accurately the same in some complicated cases.]
        • In custom series: the declarations of each element in the return of renderItem. [compat, but not accurately the same in some complicated cases].
        • Directly use zrender graphic elements. [No compat, breaking change].
    • Chart instance
      • chart.one(...) is deprecated.
    • label:
      • In props color, textBorderColor, backgroundColor and borderColor, the value 'auto' is deprecated. Use the value 'inherit' instead.
    • hoverAnimation:
      • option series.hoverAnimation is deprecated. Use series.emphasis.scale instead.
    • line series:
      • option series.clipOverflow is deprecated. Use series.clip instead.
    • custom series:
      • In renderItem, the api.style(...) and api.styleEmphasis(...) are deprecated. Because it is not really necessary and hard to ensure backward compatibility. Users can fetch system designated visual by api.visual(...).
    • sunburst series:
      • Action type highlight is deprecated. Use sunburstHighlight instead.
      • Action type downplay is deprecated. Use sunburstUnhighlight instead.
      • option series.downplay is deprecated. Use series.blur instead.
      • option series.highlightPolicy is deprecated. Use series.emphasis.focus instead.
    • pie series:
      • The action type at the left part below are deprecated. Use the right part instead:
        • pieToggleSelect => toggleSelect
        • pieSelect => select
        • pieUnSelect => unselect
      • The event type at the left part below are deprecated. Use the right part instead:
        • pieselectchanged => selectchanged
        • pieselected => selected
        • pieunselected => unselected
      • option series.label.margin is deprecated. Use series.label.edgeDistance instead.
      • option series.clockWise is deprecated. Use series.clockwise instead.
      • option series.hoverOffset is deprecated. Use series.emphasis.scaleSize instead.
    • map series:
      • The action type at the left part below are deprecated. Use the right part instead:
        • mapToggleSelect => toggleSelect
        • mapSelect => select
        • mapUnSelect => unselect
      • The event type at the left part below are deprecated. Use the right part instead:
        • mapselectchanged => selectchanged
        • mapselected => selected
        • mapunselected => unselected
      • option series.mapType is deprecated. Use series.map instead.
      • option series.mapLocation is deprecated.
    • graph series:
      • option series.focusNodeAdjacency is deprecated. Use series.emphasis: { focus: 'adjacency'} instead.
    • gauge series:
      • option series.clockWise is deprecated. Use series.clockwise instead.
      • option series.hoverOffset is deprecated. Use series.emphasis.scaleSize instead.
    • dataZoom component:
      • option dataZoom.handleIcon need prefix path:// if using SVGPath.
    • radar:
      • option radar.name is deprecated. Use radar.axisName instead.
      • option radar.nameGap is deprecated. Use radar.axisNameGap instead.
    • Parse and format:
      • echarts.format.formatTime is deprecated. Use echarts.time.format instead.
      • echarts.number.parseDate is deprecated. Use echarts.time.parse instead.
      • echarts.format.getTextRect is deprecated.

Configuration

📅 Schedule: 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 WhiteSource Renovate. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented Oct 11, 2021

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 5.x releases. However, if you upgrade to 5.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

@renovate renovate bot deleted the renovate/echarts-5.x branch October 11, 2021 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants