Releases: apache/echarts
Releases Β· apache/echarts
6.0.0-beta.1
- [Feature] [theme] New theme for ECharts 6.0. #20865 (Ovilia)
- [Feature] [chord] New chord series. #20522 (Ovilia)
- [Feature] [matrix&calendar] New matrix coordinate system. And all series and components (including other coordinate systems, such as
grid
(Cartesian),geo
,polar
, etc.) are supported to be declaratively laid out in the cells of matrix and calendar coordinate system. #19807 (Ovilia) #21005 (100pah) - [Feature] [custom] Support reusable custom series. #20226 (Ovilia)
- [Feature] [cartesian] Introduce new layout mechanism to avoid Cartesian (i.e.,
grid
component) axis labels and axis names overflowing the canvas, prevent axis names from overlapping with axis labels, and make them the default. #21059 (100pah), #19534 (robin-gerling), #16825 (konrad-amtenbrink). - [Feature] [scatter] Support jittering for scatter series. #19941 (Ovilia)
- [Feature] [axis] Support break on the axis. #19459 (Ovilia) #20857 (100pah)
- [Feature] [theme] Support dynamically registering and switching themes. #20705 (Ovilia)
- [Feature] [roam] Roaming infrastructure enhancement - support users specifying roaming area by
roamTrigger
; supportclip
ongeo
andseries.map
; support cursor style change when hovering on the roaming area; supportpreserveAspect
ongeo
,series.map
andseries.graph
; fix the percent base ofcenter
ongeo
,series.map
,series.graph
andseries.tree
; enhance the behavior for roaming area overlapping. #19807#issuecomment-2974437299 (100pah). - [Feature] [thumbnail] Support thumbnail for the graph series. #19807#issuecomment-3013454598 (100pah), #17471 (Lruler)
- [Feature] [marker] Support
z2
option for markPoint/markLine/markArea. #20782 (sz-p) - [Feature] [stack] Support reversing the stack order. #20998 (Justin-ZS)
- [Feature] [sankey] Support roaming for sankey series. #20321 (Ovilia)
- [Feature] [custom] Support compoundPath in custom series renderItem. #20402 #21040 (Ovilia)
- [Feature] [marker] Support
relativeTo
option for specifying the relative target of marker position. #20166 #21042 (Ovilia) - [Feature] [axis] Support tooltip for angleAxis label. #20986 (plainheart)
- [Feature] [tooltip] Support
displayTransition
option to control whether to enable the tooltip display transition. #20966 (jqqin) - [Feature] [legend] Support
triggerEvent
option. #20907 (sz-p) - [Feature] [custom] Support
tooltipDisabled
for custom series. #20447 (Ovilia) - [Feature] [i18n] Add Norwegian BokmΓ₯l (nb-NO) translation. #20792 (joakimono)
- [Fix] [label] Fix label rich style does not inherit the plain label style. #20977 (plainheart) #21016 (100pah)
- [Fix] [dataZoom] Fix data shape distribution for time axis. #16978 (andrearoota) #21043 #21039 (Ovilia)
- [Fix] [tooltip] Fix null value item on category axis should be able to show tooltip. #20777 (Justin-ZS)
- [Fix] [visualMap] Fix some text style can't work on visualMap. #20961 (plainheart)
- [Fix] [dataZoom] Restrict range on brushEnd. #20814 (mortalYoung)
- [Fix] [heatmap] Fix labels not in calendar range are unexpectedly displayed. #20699 (plainheart)
- [Fix] [series] Fix mismatched dimension index. #20682 (Justin-ZS)
- [Fix] [bar] Fix polar bar should update
roundCap
when changes. #20582 (Ovilia) - [Fix] [pie] Fix labelLine may be not removed and cause error when single label position is not in outside. #20906 (plainheart)
- [Fix] [sankey] Fix browser crash when
emphasis.focus
is'trajectory'
with large data. #20959 (plainheart) - [Fix] [custom] Fix potential NPE when applying leave transition. #20920 (plainheart)
- [Fix] [dataZoom] Change moveHandler cursor to default. #20304 (ribeirompl)
- [Fix] [tooltip] Fix style coord transform markers are not removed after the tooltip is disposed. #20987 (plainheart)
- [Fix] [bar] Remove unused
startValue
option from theBarSeriesOption
interface. #20901 (plainheart) - [Fix] [title] Fix title text style width type should not include string. #20800 (sz-p)
- [Fix] [roam] Fix RoamControllerHost importing path. #20313 (Ovilia)
- [Fix] [svg] Remove SVG support check in
getSvgDataURL
. #20760 (plainheart) - [Break] Breaking changes against v5.6.0:
- The default theme has been changed, including the visual style and the default location settings of components and series. For example, the default legend position is now at the bottom of the canvas. The new default settings are more reasonble, but if they affect the existing usage, use
echarts/theme/v5.js
to restore the old visual style and location settings. See #20865. - The v5
echarts/src/theme/light.ts
is now migrated toecharts/theme/rainbow.js
. - The position of Cartesian axes might shift slightly if the axis names or labels previously overflowed the canvas or overlapped, as anti-overflow and anti-axisLabel-axisName-overlap mechanism are enabled by default. In most cases that changes will be indiscernible to the naked eye. But if any unreasonable change occurs, you can use option
grid.outerBoundsMode: 'none'
to disable the anti-overflow mechanism, and/or use optionxAxis/yAxis.axisLabel.nameMoveOverlap: false
to disable the anti-axisLabel-axisName-overlap mechanism. See #21059. - The percent base of the option
center
(such as the base of'33%'
) ongeo
,series.map
,series.graph
andseries.tree
are changed. The previous percent base is incorrect. But if you need to restore, setlegacyViewCoordSysCenterBase: true
(on the root level of an echarts option). See #19807#issuecomment-2974437299. - Now label rich styles (
fontStyle
,fontWeight
,fontSize
,fontFamily
,textShadowColor
,textShadowBlur
,textShadowOffsetX
,textShadowOffsetY
) are changed to inherit the plain label styles. You can userichInheritPlainLabel: false
(on the root level of an echarts option, or at the same level of the label style options) to restore it. See #20977
- The default theme has been changed, including the visual style and the default location settings of components and series. For example, the default legend position is now at the bottom of the canvas. The new default settings are more reasonble, but if they affect the existing usage, use
New Contributors
5.6.0
- [Feature] [geo] [map] Support styling region in original GeoJSON data. #20564 (plainheart)
- [Feature] [geo] [map] Support
regions[].silent
option. #20566 (Ovilia) - [Feature] [axis] Support tooltip for axis label. #16315 (plainheart)
- [Feature] [text] Add
isTruncated
state property forText
element. #1101 (100pah) - [Feature] [sunburst] Add new emphasis focus strategy
'relative'
for highlighting ancestor and descendant nodes. #20399 (sz-p) - [Feature] [axis] Add
showMinLine
/showMaxLine
option forsplitLine
. #20114 (adaelixir) - [Feature] [dataZoom] Add
handleLabel.show
option. #20082 (Ovilia) - [Feature] [calendar] Add
silent
option fordayLabel
/monthLabel
/yearLabel
. #20492 (plainheart) - [Feature] [treemap] Add
cursor
option. #20113 (adaelixir) - [Feature] [aria] Add
aria.data.excludeDimensionId
to exclude specific dimensions in aria-label. #20218 (semla) - [Feature] [aria] Add
role="img"
to chart container element. #20050 (ViniciusCestarii) - [Feature] [i18n] Add Swedish(SV) translation #20227 (NajamShehzad)
- [Feature] [i18n] Add Persian(FA) translation. #20312 (Ayazadeh)
- [Feature] [i18n] Improve pt-BR translation. #20348 (ViniciusCestarii)
- [Fix] [line] Reduce runtime memory cost. #20161 (plainheart)
- [Fix] [line] Fix
areaStyle
skewing in stepped line series and incorrectconnectNull
behavior #20092 (Ovilia) - [Fix] [candlestick] Add back missing support for non-normal states since v5.0.0. #20105 (plainheart)
- [Fix] [legend] Fix legend action is not isolated from other legend components. #20129 (plainheart)
- [Fix] [bar] Fix borderColor hides bar color with large data. #20465 (DevitX)
- [Fix] [pictorial] Fix zero value flipping for different axes. #20557 (Ovilia)
- [Fix] [visualMap] Fix cursor is still pointer when
selectedMode
is disabled. #20551 (sz-p) - [Fix] [visualMap] Fix label collides with horizontal visualMap. #20249 (WojciechKrakowiak)
- [Fix] [tooltip] Fix potential NPE when setting option with
notMerge
strategy. #20435 (ktx-abhay) - [Fix] [tooltip] Fix tooltip
textStyle.lineHeight
does not work. #20398 (sz-p) - [Fix] [sankey] Avoid throwing errors when the
links
/nodes
/levels
option is undefined. #20380 (sz-p) - [Fix] [polar] Fix unexpected clipping in polar coordinate. #20370 (sz-p)
- [Fix] [boxplot] Correctly handle
series.encode
with category axis. #20324 (jonoshearman) - [Fix] [sampling] Fix
minmax
sampling behavior. #20315 (ribeirompl) - [Fix] [gauge] Fix progress bar may be beneath the axis line. #20276 (kingyue737)
- [Fix] [axis] Fix axis ticks overflowing grid area with dataZoom. #20194 (Ovilia)
- [Fix] [axis] [time] Fix bar bandWidth with inversed time axis. #20246 (Ovilia)
- [Fix] [theme] Fix legend page text color in dark mode. #20396 (plainheart)
- [Fix] [pie] Fix some labels may not show. #20074 (liuyunzidian)
- [Fix] [grid] Fix clipping in custom series off by pixel. #20043 (fandi-1205)
- [Fix] [svg] Fix SVG element may be not interactable in SSR mode and fix invalid
transparent
color issue. #1076 (plainheart) - [Fix] [data] Fix potential NPE in the
SeriesData#rawIndexOf
function. #20534 (plainheart) - [Fix] [text] Fix text bounding rectangle is incorrect when
overflow
is'truncate'
. #1091 (linghaoSu) #1100 (100Pah) - [Fix] [env] Fix detection for node environment. #1037 (Uzlopak) #1071 (xg-qd) #1086 (plainheart)
- [Fix] [type] MarkLine
symbolOffset
can be a 2d array for both symbols. #20491 (plainheart)
New Contributors
- @ViniciusCestarii made their first contribution in #20050
- @fandi-1205 made their first contribution in #20043
- @adaelixir made their first contribution in #20114
- @liuyunzidian made their first contribution in #20074
- @semla made their first contribution in #20218
- @NajamShehzad made their first contribution in #20227
- @kingyue737 made their first contribution in #20276
- @Ayazadeh made their first contribution in #20312
- @jonoshearman made their first contribution in #20324
- @sz-p made their first contribution in #20370
- @WojciechKrakowiak made their first contribution in #20249
- @ktx-abhay made their first contribution in #20435
- @mrginglymus made their first contribution in #20485
- @DevitX made their first contribution in #20465
- @Uzlopak made their first contribution in ecomfe/zrender#1037
- @xg-qd made their first contribution in ecomfe/zrender#1071
5.6.0-rc.1
Release 5.6.0-rc.1
5.5.1
- [Feature] [axis] Support custom axis tick/label positions. #19919 (dvdkon) (Ovilia)
- [Feature] [bar] Add
startValue
option. #17078 (jiawulin001) - [Feature] [sankey] Add
itemStyle.borderRadius
option. #19763 (deftliang) - [Feature] [time] Add meridian template
{a}/{A}
. #19888 (maurodesouza) - [Feature] [geo] Add
totalZoom
parameter for thegeoroam
event. #19837 (zhaoxinggang) - [Feature] [treemap] Add
scaleLimit
option to limit the zooming. #18304 (liuyizhou) - [Fix] [series] Avoid error caused by
seriesData.getLinkedData
. #19901 (plainheart) - [Fix] [marker] Fix marker label formatter can't get series information. #19898 (plainheart)
- [Fix] [aria] Avoid error in SSR mode. #19892 (OverflowCat)
- [Fix] [data] Avoid error when using BigInt values. #19847 (zettca)
- [Fix] [pie] Fix
endAngle
is not applied on the empty circle. #19642 (plainheart) - [Fix] [toolbox] Fix uncaught reference error in the environment that
MouseEvent
doesn't exist. #19620 (plainheart) - [Fix] [tooltip] Fix tooltip XSS issue when legend name is HTML string. #20045 (plainheart)
- [Fix] [type] Fix that in users' .d.ts
import('echarts/types/dist/shared')
can not visit'echarts/types/dist/shared.d.ts'
since v5.5.0. #20030 (100pah)
New Contributors
- @miracleren made their first contribution in #19373
- @zhaoxinggang made their first contribution in #19837
- @zettca made their first contribution in #19847
- @OverflowCat made their first contribution in #19892
- @maurodesouza made their first contribution in #19888
- @deftliang made their first contribution in #19763
- @liuyizhou made their first contribution in #18304
5.5.1-rc.1
Merge pull request #20039 from apache/release-dev Release 5.5.1
5.5.0
- [Break Change] [Feature] [core] change to default ESM package. #19513 (100pah)
- [Feature] [ssr] server-side rendering and client hydration. #18381 (Ovilia)
- [Feature] [animation] support multi-level drill-down for universal transition. #17611 (tyn1998)
- [Feature] [pie] add
padAngle
option. #19076 (linghaoSu) - [Feature] [pie] add
endAngle
for control pie range. #18820 (linghaoSu) - [Feature] [polar] allow setting
angleAxis.endAngle
. #19099 (yassilah) - [Feature] [sampler] add min-max sampler function. #19279 (snukhulov)
- [Feature] [i18n] add Arabic(AR) translation. #19214 (OthmanAliModaes)
- [Feature] [i18n] add Dutch(NL) translation. #19252 (tijmenamsing)
- [Feature] [tooltip] add
appendTo
option to allow customizing tooltip container. #18436 (viking7982) - [Feature] [label] support align for min/max labels. #19228 (Ovilia)
- [Feature] [pictorialBar] support clip for pictorialBar series. #19197 (Ovilia)
- [Feature] [tooltip] add
dataIndex
tovalueFormatter
callback. #19123 (ChepteaCatalin) - [Fix] [toolbox] fix toolbox text can't apply the specified or global font style. #19170 (plainheart)
- [Fix] [label] fix labelLine default style when normal state not show but other state show. #18800 (linghaoSu)
- [Fix] [labelLine] fix
emphasis.labelLine
is not working in pie chart. #19180 (shiersansi) - [Fix] [marker] fix markArea position when axis is with
alignWithLabel
. #19516 (Ovilia) - [Fix] [line] fix line may cross in time axis when animation is enabled. #18960 (plainheart)
- [Fix] [scatter] fix edge scatter may be unexpectedly clipped due to tiny offset. #18867 (plainheart)
- [Fix] [sunburst] label rotation flipping. #19176 (Ovilia)
- [Fix] [aria] fix hard-coded series type name translation. #19239 (Ovilia)
- [Feature] [matrix] allow rotating relative to a point different than the origin. #1034 (ChepteaCatalin)
- [Fix] [graph] fix force layout iteration timer doesn't stop after disposing the chart. #19514 (plainheart)
- [Fix] [tooltip] fix potential NPE when the parent node of the tooltip element doesn't exist. #19265 (plainheart)
- [Fix] [visualMap] fix continuous visualMap mouseover event not register except first continuous visualMap. #19097 (linghaoSu)
- [Fix] [clip] add an extra space to the clip-path width to prevent unexpected clip. #19056 (RexSkz)
- [Fix] [dataset] fix multi typed array detection flaw. #19035 (linghaoSu)
- [Fix] [core] fix potential NPE when reading default init options from global object in dev environment. #19217 (sunpm)
- [Fix] [i18n] enhance default language fallback. #19107 (ultravires)
- [Fix] [svg] fix assigning style attribute does not work when CSP is enforced. ecomfe/zrender#1030 (alxnddr)
- [Fix] [svg] duplicate id for background rect with multiple charts. ecomfe/zrender#1002 (Ovilia)
- [Fix] [node] make nodejs detection resilient. ecomfe/zrender#1036 (Uzlopak)
- [Fix] [type] make
ellipsis
&options
of the functiontruncateText
optional. ecomfe/zrender#1047 (plainheart) - [Fix] [type] add missing value type
string
forbarMinWidth
andbarMaxWidth
of the bar series. #19424 (zhaxnb) - [Feature] [type] export
EChartsInitOpts
and somePayload
types forecharts/core
. #19103 (dalenguyen) - [Fix] [type] allow nullable value for
OptionDataValue
. #19111 (avin-kavish) - [Fix] [type] add
undefined
to the return type ofgraphic.clipRectByRect
function. #18950 (benlongo) - [Fix] [type] remove duplicate extends at
GraphNodeItemOption
. #18901 (nenoNaninu) - [Refactor] [util] import
liftColor
function from zrender. #19526 (plainheart)
New Contributors
- @captainhaddock18 made their first contribution in #18862
- @nenoNaninu made their first contribution in #18901
- @viking7982 made their first contribution in #18436
- @dalenguyen made their first contribution in #19103
- @ultravires made their first contribution in #19107
- @RexSkz made their first contribution in #19056
- @avin-kavish made their first contribution in #19111
- @shiersansi made their first contribution in #19174
- @sunpm made their first contribution in #19217
- @OthmanAliModaes made their first contribution in #19214
- @tijmenamsing made their first contribution in #19252
- @snukhulov made their first contribution in #19279
- @zhaxnb made their first contribution in #19424
- @hugo-syn made their first contribution in #19446
- @taks made their first contribution in #19499
5.5.0-rc.2
Release 5.5.0-rc.2
5.5.0-rc.1
Release 5.5.0-rc.1
5.4.3
- [Feature] [axisPointer] Add
triggerEmphasis
option to disable emphasis. #18524 (juliepagano) - [Feature] [sankey] Support
trajectory
for emphasis state. #17451 (ElayGelbart) - [Fix] [sankey] Fix sankey line color
'target'/'source'/'gradient'
doesn't work in non-normal state. #18834 (linghaoSu) - [Fix] [sankey] Fix
value
is undefined in label/edgeLabel formatter. #18733 (plainheart) - [Fix] [sunburst] Fix sunburst label may rotate when
labelLayout.hideOverlap
is enabled. #18808 (linghaoSu) - [Fix] [graph] Fix graph chart can't be hidden by legend due to edgeLabel NPE. #18624 (plainheart)
- [Fix] [state] Fix focus self doesn't work when item emphasis by other component. #18511 (linghaoSu)
- [Fix] [axis] Fix last tick doesn't show for single data. #18469 (Ovilia)
- [Fix] [pie] Fix incorrect response area of pie piece when
selectedOffset
is enabled andanimation
is disabled. #1011 (plainheart) - [Fix] [custom] Fix user-defined
info
property was not available in the event handler. #18400 (sobolewsk) - [Fix] [legend] Inherit legend rich text color from legend's options. #18260 (ChepteaCatalin)
- [Fix] [label] Fix
ellipsis
was not working. #18525 (Ovilia) - [Fix] [label] Fix
endLabel
fails with null data. #18841 (Ovilia) - [Fix] [util] Fix
{yy}
pattern has no zero padding in time format util. #18535 (linghaoSu) - [Fix] [api] Only deprecate
disConnect
but notdisconnect
. #18758 (Justineo) - [Fix] [i18n] Fix the abbr of "March" for the DE language ("Mar" -> "Mrz"). #18387 (Stebeber)
- [Fix] [type] Fix wrong type for data item value of the
parallel
series. #18425 (ManishDait) - [Fix] [type] Allow passing
null
to the parameters ofinit
function. #18575 (zhuscat)
5.4.3-rc.1
Release 5.4.3-rc.1