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

Merge master to next #16683

Merged
merged 182 commits into from
Mar 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
a9f5704
fix(pictorialBar): fix linewidth NaN, when data is zero
yanheSu Oct 27, 2021
140e0c3
add test case
yanheSu Oct 27, 2021
28c059d
fix(radar): name being - in tooltip when name.show is false #15915
Ovilia Nov 1, 2021
8cecdd7
test(radar): update test for #15915
Ovilia Nov 1, 2021
6a1a8ae
test(radar): update test for #15915
Ovilia Nov 1, 2021
0ad5438
doc: add deprecared doc for text
Ovilia Nov 8, 2021
06a3c7f
fix(pie): label position with rich text #16023
Ovilia Nov 9, 2021
4bcace4
test(pie): add test case
Ovilia Nov 9, 2021
263e4a7
fix(pie): label alignTo edge fixed
Ovilia Nov 15, 2021
8a28e8e
fix(pie): label for alignTo labelLine
Ovilia Nov 15, 2021
f1dbeac
test(pie): update test cases for pie labels
Ovilia Nov 15, 2021
b2b20c6
fix(pie): add label margin
Ovilia Nov 18, 2021
cec9d28
test: support seed random in test
Ovilia Nov 19, 2021
361b6ca
fix(pie): fix dy
Ovilia Nov 23, 2021
0c0d080
fix(pie): update padding logic and test cases
Ovilia Nov 23, 2021
f85ba48
fix(pie): refine logic
Ovilia Nov 24, 2021
2f722b7
fix(pie): label works for richText
Ovilia Nov 24, 2021
28609f2
fix(text): text padding works
Ovilia Nov 25, 2021
a15b54f
fix(pie): fix padding
Ovilia Nov 26, 2021
c19fe18
fix(pie): extreme cases
Ovilia Nov 26, 2021
e0afee4
style(pie): update code style
Ovilia Nov 26, 2021
0bb53b2
chore: use issue form to submit new issue
pissang Nov 29, 2021
65e8b65
chore: tweak issue template
pissang Nov 29, 2021
0b99272
chore: tweak description in issue form
pissang Nov 29, 2021
01a25f4
Merge pull request #16128 from pissang/master
pissang Nov 29, 2021
1bda9e5
fix typo
pissang Nov 29, 2021
e12f8c0
chore: fix typo
pissang Nov 29, 2021
05220d8
Merge pull request #16129 from pissang/master
pissang Nov 29, 2021
6a94527
chore: tweak issue template description
pissang Nov 29, 2021
a9b08aa
Merge pull request #16130 from pissang/master
pissang Nov 29, 2021
7b21590
chore: tweak issue and pull request template.
plainheart Nov 29, 2021
a93b0e3
Merge pull request #16131 from apache/improve-issue-template
plainheart Nov 29, 2021
d820576
fix(pie): simplify code
Ovilia Nov 29, 2021
ae71ff4
chore: update links in readme
pissang Nov 30, 2021
8d9a156
chore: update download link in readme
pissang Nov 30, 2021
56fbf07
Merge pull request #16141 from apache/pissang-patch-1
pissang Nov 30, 2021
41e132a
fix(pie): recalculate text width when x changes
Ovilia Dec 3, 2021
8c7b2ec
Merge branch 'master' into fix-pie-label
Ovilia Dec 3, 2021
2c57a9d
Merge pull request #12793 from yanheSu/fix-pictorial-bar-data-zero-bo…
pissang Dec 7, 2021
c2bf46c
fix(pie): label wrapping for align on ellipse curve
Ovilia Dec 7, 2021
f9d6d49
fix(pie): available width should be set to label only if larger
Ovilia Dec 7, 2021
b7ea00a
fix(pie): truncate text
Ovilia Dec 7, 2021
77dbb95
fix(pie): simplify logic
Ovilia Dec 8, 2021
e6490e6
fix(event): provide label index in axis events
Ovilia Dec 8, 2021
694698f
doc: update badges in readme
Ovilia Dec 9, 2021
79ca516
Merge pull request #16193 from apache/fix-doc
pissang Dec 9, 2021
2920fc4
doc: fix link in readme
Ovilia Dec 9, 2021
9ac5e55
Merge pull request #16194 from apache/fix-doc
Ovilia Dec 9, 2021
a0266e9
chore: fix the link for license badge
plainheart Dec 9, 2021
1b69599
chore: tweak the capitalization for some title labels.
plainheart Dec 9, 2021
c52f230
chore: use 'e.g.' instead of 'examples'
plainheart Dec 9, 2021
dffa946
chore: use the defined template for codepen & codesandbox (sync with …
plainheart Dec 9, 2021
0114414
Merge pull request #16196 from apache/fix-badge-link
pissang Dec 9, 2021
9ee1a32
fix(axis): axis label width when overflow is set
Ovilia Dec 10, 2021
373e9a0
fix: simplify logic
Ovilia Dec 10, 2021
d8e29a9
fix: remove ellipsis because it is not supported in label
Ovilia Dec 10, 2021
555506b
fix: typing
Ovilia Dec 10, 2021
751221d
feat(i18n): add Italian translation
andrearoota Dec 11, 2021
27655e2
Merge pull request #16211 from andrearoota/feature/italian-translation
plainheart Dec 12, 2021
9d3b7bd
chore(workflow): upgrade checkout & setup-node action to `v2` and use…
plainheart Dec 12, 2021
183d2fa
fix(i18n): fix unescaped quote in langIT. (#16211)
plainheart Dec 12, 2021
1277d7a
Merge pull request #16213 from apache/upgrade-workflow-action
pissang Dec 13, 2021
d818317
fix(pie-label):#16208 饼图当数据总数小于等于2时,首项数据label显示有bug
116050423 Dec 15, 2021
5d799bc
fix(pie-label):apache#16208 When the total number of data is less tha…
116050423 Dec 16, 2021
aee8290
fix(pie-label):apache#16208 When the total number of data is less tha…
116050423 Dec 16, 2021
43532df
fix(pie-label):#16208 When the total number of data is less than or e…
116050423 Dec 17, 2021
1c1bcd6
fix(bar): avoid creating subpaths in the sausage shape
pissang Dec 20, 2021
a818387
Merge pull request #16246 from apache/fix-sausage-shape
pissang Dec 20, 2021
f499d42
fix(transition): fix opacity wrong when using divideShape clone
pissang Dec 20, 2021
c0df9ec
Merge pull request #16250 from apache/optimize-clone-divide
pissang Dec 20, 2021
967e738
style: remove unused code
pissang Dec 21, 2021
933c06f
Merge pull request #16034 from apache/fix-pie-label
pissang Dec 21, 2021
566ba8e
Merge pull request #16229 from 116050423/master
pissang Dec 21, 2021
64d62f8
fix(pie): tangential rotation with startAngle #15980
Ovilia Dec 30, 2021
54a3b6c
chore: update notice year to 2022.
plainheart Dec 31, 2021
4791120
Merge pull request #16311 from apache/update-notice-year
pissang Dec 31, 2021
3731d5f
Support using dataType param to specify edge highlighting (#16243)
Dingzhaocheng Jan 5, 2022
383f88e
fix(pie): simplify logic
Ovilia Jan 6, 2022
cae5a1c
Merge pull request #16307 from apache/fix-15980
Ovilia Jan 6, 2022
3e444bc
Merge pull request #16203 from apache/fix-16189
pissang Jan 7, 2022
7ce3d3b
fix: deprecated log
Ovilia Jan 13, 2022
6b78d5a
Merge pull request #15985 from apache/fix-15915
pissang Jan 13, 2022
1c03aa3
fix(dtatsample): fix rate infinity cause range error
Cuiyansong Jan 14, 2022
62fa0e5
fix: set sourceHeader=false not work, will auto find sourceHeader(#16…
Jan 15, 2022
841b572
Merge branch 'master' into next-to-master
pissang Jan 17, 2022
13c2d06
Merge pull request #16380 from apache/next-to-master
pissang Jan 17, 2022
3816434
Merge pull request #16381 from apache/master
pissang Jan 17, 2022
72eb84b
Merge pull request #16376 from lefex/master
pissang Jan 17, 2022
847c48e
refactor(datasample): use globale function to replace type check whic…
Cuiyansong Jan 18, 2022
4fe9cb0
Merge pull request #16372 from Cuiyansong/master
pissang Jan 18, 2022
d77e97e
test(pie): add more VRTs for pie series.
plainheart Jan 19, 2022
a32d3c6
Merge pull request #16393 from apache/test-pie
pissang Jan 19, 2022
8f4197a
fix(graph): fix error when symbol is none.
pissang Jan 20, 2022
837c25a
fix(core): avoid error in render breaks following update
pissang Jan 20, 2022
d555675
Merge pull request #16394 from apache/fix-graph-symbol-none
pissang Jan 20, 2022
b5cd5d1
fix typo
pissang Jan 20, 2022
f4c3049
Merge pull request #16395 from apache/avoid-error-in-render
pissang Jan 20, 2022
85adb42
fix(scale): fix rounding error when increase interval in align ticks.
pissang Jan 21, 2022
e00d612
Merge pull request #16400 from apache/fix-interval-rounding
pissang Jan 21, 2022
9822ee1
fix(dataZoom): fix shadow may not update when size changed
pissang Jan 21, 2022
4cbf823
Merge pull request #16405 from apache/fix-datazoom-shadow-not-update
100pah Jan 21, 2022
1bb1028
fix(pie): remove unused code.
plainheart Jan 22, 2022
1f3fbf7
chore: update zrender version
pissang Jan 23, 2022
8c23bb9
Merge pull request #16409 from apache/update-zrender
100pah Jan 23, 2022
e21c185
chore: not export declarations on the extension build
pissang Jan 23, 2022
8875afe
Merge pull request #16410 from apache/fix-build-lib
100pah Jan 23, 2022
6c7e6fc
fix(geo): add back geoCoord module to avoid break gl
pissang Jan 23, 2022
9805f47
add comments
pissang Jan 23, 2022
145848d
Merge pull request #16411 from apache/fix-gl-break
100pah Jan 23, 2022
8a47394
fix(geo): fix getMap
pissang Jan 23, 2022
29c46cd
Merge pull request #16413 from apache/fix-gl-break
100pah Jan 23, 2022
25f6b38
release 5.3.0
100pah Jan 23, 2022
0878d30
Merge pull request #16414 from apache/release-dev
100pah Jan 23, 2022
a5041f6
tooltip中time类型的字段默认使用的12小时制展示,容易产生困惑,改成24小时制展示
Comee Jan 25, 2022
ddc57f4
Merge pull request #16421 from Comee/master
Ovilia Jan 25, 2022
6dfbaf0
fix(sunburst) set the position of label in center when angle is 2π. c…
Jan 25, 2022
98819a6
fix(sunburst) set the position of label in center when angle is 2π an…
Jan 25, 2022
1661f9b
fix(line): using sampling with lttb, NaN point should not be filtered…
fuchunhui Jan 26, 2022
2483a4b
fix(line): 过滤空节点, 避免阶梯线条变为斜线
Gyyi Jan 26, 2022
7189ddf
Merge pull request #16441 from apache/release
pissang Jan 26, 2022
9b6bb68
Merge pull request #16444 from apache/remove-unused-code
pissang Jan 27, 2022
ee2d85a
fix(tooltip): set content tooltip.enterable along with render tooltip…
fuchunhui Feb 7, 2022
9615566
fix(line): fix syntax errors
Gyyi Feb 7, 2022
406c11f
fix(pictorialBar): set valueLineWidth NaN value to zero. close #16423
fuchunhui Feb 7, 2022
b683f03
Merge pull request #16463 from fuchunhui/fix-16440
pissang Feb 11, 2022
fece30a
Merge pull request #16469 from fuchunhui/fix-16423
pissang Feb 11, 2022
4f52057
Merge branch 'master' into fix-15798
Ovilia Feb 11, 2022
40246ae
fix(sunburst) set the position of label in center when angle is 2π an…
FrankChencc Feb 11, 2022
3ac0562
fix(sunburst) set the position of label in center when angle is 2π an…
FrankChencc Feb 11, 2022
071ffc2
fix(line): using sampling with lttb, use a variable instead of an arr…
fuchunhui Feb 11, 2022
1640cae
test(line): add sampling lttb action, test connectNulls. close #14689
fuchunhui Feb 14, 2022
66290cc
[Feature] add borderRadius option to heatmap (#16493)
Rain120 Feb 15, 2022
6b40654
fix(line): optimize sampling lttb, resize newIndices count. close 4689
fuchunhui Feb 15, 2022
e258370
fix(line): optimize sampling lttb, remove _newIndice. close #14689
fuchunhui Feb 15, 2022
becb00f
fix(line): filter null points only when using connetNull:true
Feb 15, 2022
1149be5
test: add line-step.html
Feb 15, 2022
112d725
Merge pull request #16509 from apache/next
pissang Feb 15, 2022
2317a9a
fix(graphic): fix `cursor` doesn't work in `graphic` component.
plainheart Feb 15, 2022
52e8ad3
fix(graphic): use default cursor if no cursor option is provided.
plainheart Feb 16, 2022
e4bdd30
Merge pull request #16513 from apache/fix-graphic-cursor
pissang Feb 16, 2022
c3726e1
perf(symbol): fix potential memory leak in effect symbol with notMerge
pissang Feb 17, 2022
d6f07f1
fix code style
pissang Feb 17, 2022
6ba672d
fix(line): ensure the correct order of indices, add test case. close …
fuchunhui Feb 17, 2022
949d160
Merge pull request #16525 from apache/fix-memory-leak
pissang Feb 17, 2022
fdfb46c
Merge pull request #16431 from fuchunhui/fix-14689
pissang Feb 18, 2022
f4e1864
Merge pull request #16435 from Gyyi/master
pissang Feb 18, 2022
1c27d45
add test case
FrankChencc Feb 18, 2022
194f23e
change comment
FrankChencc Feb 18, 2022
6a42c39
Merge pull request #16425 from FrankChencc/fix-16296
pissang Feb 18, 2022
1762a32
add korean translation
hijae Feb 25, 2022
95ad522
Merge pull request #16582 from hijae/korean-translation
pissang Feb 25, 2022
a411087
fix(sanky):fallback to black if color were illegal
susiwen8 Feb 27, 2022
37b4286
feat: provide tickIndex and dataIndex
Ovilia Feb 28, 2022
66c5c22
fix: dataIndex
Ovilia Feb 28, 2022
fdf5490
Merge pull request #16187 from apache/fix-15798
Ovilia Feb 28, 2022
d2b73b9
Merge pull request #16589 from apache/master
Ovilia Feb 28, 2022
33e68be
chore: build and release 5.3.1
Ovilia Mar 2, 2022
ec99863
chore: fix zrender version
Ovilia Mar 2, 2022
9d3d20c
chore: update package lock
Ovilia Mar 2, 2022
06ee7c1
Merge pull request #16606 from apache/release-dev
pissang Mar 2, 2022
c572d10
fix(sankey): return cached value
susiwen8 Mar 2, 2022
e785e61
Merge pull request #16614 from susiwen8/16574
pissang Mar 3, 2022
9e636f9
chore: add vote result template in the release materials
Ovilia Mar 7, 2022
13a85f2
chore: update template
Ovilia Mar 7, 2022
a4a321a
Merge pull request #16636 from apache/fix-vote
pissang Mar 7, 2022
9d78256
Merge pull request #16637 from apache/release
pissang Mar 7, 2022
69a04d2
source code format (#16644)
lefex Mar 8, 2022
d491f7c
feat(event-tree): add `isExpand` to `click` cb
susiwen8 Mar 9, 2022
5461c3b
feat(tree): repalce `isExpand` with `collapsed`
susiwen8 Mar 11, 2022
a865d44
fix(tree): `collapsed` value is wrong
susiwen8 Mar 11, 2022
9c0c991
Merge pull request #16660 from susiwen8/16650
pissang Mar 11, 2022
a08c104
fix(state): comp `isBlured` is true when blur
susiwen8 Mar 12, 2022
20437bb
test(markPoint): add test case
susiwen8 Mar 12, 2022
fd4285d
fix(marker): marker leave blur
susiwen8 Mar 12, 2022
0e60839
fix(OrdinalScale): fix line graph renders null value incorrectly. clo…
WindyZ99 Mar 13, 2022
ba060b2
fix(OrdinalScale): fix line graph renders null value incorrectly. clo…
WindyZ99 Mar 13, 2022
bde03f5
Merge branch 'fix-16664' of https://github.com/WindyZ99/echarts into …
WindyZ99 Mar 14, 2022
7e6eadb
fix(marker): timing of calling leave blur
susiwen8 Mar 14, 2022
3cb8cea
Merge pull request #16672 from WindyZ99/fix-16664
pissang Mar 15, 2022
16d166f
fix(state): add series model to`leaveBlurredSeries` if series is blured
susiwen8 Mar 15, 2022
bfe8d53
chore(state): reduce uncessary function call
susiwen8 Mar 15, 2022
1016d44
Merge pull request #16670 from susiwen8/16665
pissang Mar 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

101 changes: 101 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: Bug Report
description: Report a bug to Apache ECharts
title: "[Bug] "
labels: [bug]
body:
- type: markdown
attributes:
value: |
The issue list is reserved exclusively for bug reports and feature requests.

For usage questions, please use the following resources:

- Read the [docs](https://echarts.apache.org/option.html)
- Find in [examples](https://echarts.apache.org/examples/)
- Look for / ask questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/echarts)

For non-technical support or general questions, you can email [[email protected]](mailto:[email protected]). And don't forget to subscribe to our [mailing list](https://echarts.apache.org/maillist.html) to get updated with the project.

Also try to search for your issue - it may have already been answered or even fixed in the development branch. However, if you find that an old, closed issue still persists in the latest version, you should open a new issue using the form below instead of commenting on the old issue.

# - type: checkboxes
# attributes:
# label: Is there an existing issue for this?
# description: Please search to see if an issue already exists for the bug you encountered.
# options:
# - label: I have searched the existing issues
# required: true

- type: input
attributes:
label: Version
description: |
Check if the issue is reproducible with the latest stable version of Apache ECharts.
placeholder: |
e.g. 5.2.2

validations:
required: true

- type: input
attributes:
label: Link to Minimal Reproduction
description: |
If the reproduction does not need a build setup, please provide a link to [JSFiddle](https://jsfiddle.net/cnBob/ndk8642w/2/), [JSBin](https://jsbin.com/) or [CodePen](https://codepen.io/Ovilia/pen/dyYWXWM). If it requires a build setup, you can use [CodeSandbox](https://codesandbox.io/s/mystifying-bash-2uthz) or provide a GitHub repo.

validations:
required: false

- type: textarea
attributes:
label: Steps to Reproduce
description: |
What do we need to do after opening your repo in order to make the bug happen? Clear and concise reproduction instructions are important for us to be able to triage your issue in a timely manner. Note that you can use [Markdown](https://guides.github.com/features/mastering-markdown/) to format lists and code.

placeholder: |
1. How do you create the chart.
2. What's the chart option
3. User interactions before the error happens.

validations:
required: true

- type: textarea
attributes:
label: Current Behavior
description: A concise description of what you're experiencing.
validations:
required: true

- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: true

- type: textarea
attributes:
label: Environment
description: |
e.g.
- **OS**: macOS Monterey
- **Browser**: Chrome 96.0.4664.55
- **Framework** Vue@3
value: |
- OS:
- Browser:
- Framework:
render: markdown

validations:
required: false

- type: textarea
attributes:
label: Any additional comments?
description: |
e.g. some background/context of how you ran into this bug.

validations:
required: false
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
blank_issues_enabled: false

# contact_links:
# - name: Apache ECharts Doc
# url: https://echarts.apache.org/option.html
# about: Please search question here before opening a new issue
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Feature Request
description: Request a new feature from Apache ECharts
title: "[Feature] "
labels: [new-feature]
body:
- type: markdown
attributes:
value: |
The issue list is reserved exclusively for bug reports and feature requests.

For usage questions, please use the following resources:

- Read the [docs](https://echarts.apache.org/option.html)
- Find in [examples](https://echarts.apache.org/examples/)
- Look for / ask questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/echarts)

For non-technical support or general questions, you can email [[email protected]](mailto:[email protected]). And don't forget to subscribe to our [mailing list](https://echarts.apache.org/maillist.html) to get updated with the project.

Also try to search for your issue - it may have already been answered or even fixed in the development branch. However, if you find that an old, closed issue still persists in the latest version, you should open a new issue using the form below instead of commenting on the old issue.

- type: textarea
attributes:
label: What problem does this feature solve?
description: |
Explain your use case, context, and rationale behind this feature request. More importantly, what is the end user experience you are trying to build that led to the need for this feature?

An important design goal of ECharts is keeping the API surface small and straightforward. In general, we only consider adding new features that solve a problem that cannot be easily dealt with using existing APIs (i.e. not just an alternative way of doing things that can already be done). The problem should also be common enough to justify the addition.

validations:
required: true

- type: textarea
attributes:
label: What does the proposed API look like?
description: Describe how you propose to solve the problem and provide code samples of how the API would work once implemented. Note that you can use [Markdown](https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) to format your code blocks.


validations:
required: true
6 changes: 3 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This pull request is in the type of:

### What does this PR do?

<!-- USE ONCE SENTENCE TO DESCRIBE WHAT THIS PR DOES. -->
<!-- USE ONE SENTENCE TO DESCRIBE WHAT THIS PR DOES. -->



Expand Down Expand Up @@ -50,14 +50,14 @@ This pull request is in the type of:

### Related test cases or examples to use the new APIs

NA.
N.A.



## Others

### Merging options

- [ ] Please squash the commits into a single one when merge.
- [ ] Please squash the commits into a single one when merging.

### Other information
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
node-version: [12.x]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -42,4 +42,4 @@ jobs:
run: npm run test:dts

- name: Unit Test
run: npm run test
run: npm run test
2 changes: 1 addition & 1 deletion .github/workflows/nightly-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
ref: next

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
registry-url: https://registry.npmjs.org/
- name: Setup and publish nightly
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
registry-url: https://registry.npmjs.org/
- name: Setup and publish nightly
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/source-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
node-version: [12.x]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

Expand Down Expand Up @@ -58,10 +58,10 @@ jobs:
node-version: [12.x]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:

steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Close Stale Issues
uses: actions/stale@v4.0.0
uses: actions/stale@v4
with:
days-before-stale: 730
days-before-close: 7
Expand Down
4 changes: 2 additions & 2 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache ECharts
Copyright 2017-2021 The Apache Software Foundation
Copyright 2017-2022 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
The Apache Software Foundation (https://www.apache.org/).
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,24 @@ Apache ECharts is a free, powerful charting and visualization library offering a

**[中文官网](https://echarts.apache.org/zh/index.html)** | **[ENGLISH HOMEPAGE](https://echarts.apache.org/en/index.html)**

[![Build Status](https://travis-ci.org/apache/echarts.svg?branch=master)](https://travis-ci.org/apache/echarts) [![](https://img.shields.io/npm/dw/echarts.svg?label=npm%20downloads&style=flat)](https://www.npmjs.com/package/echarts) [![Last npm release](https://img.shields.io/npm/v/echarts)](https://www.npmjs.com/package/echarts)
[![License](https://img.shields.io/npm/l/echarts?color=5470c6)](https://github.com/apache/echarts/blob/master/LICENSE) [![Latest npm release](https://img.shields.io/npm/v/echarts?color=91cc75)](https://www.npmjs.com/package/echarts) [![NPM downloads](https://img.shields.io/npm/dm/echarts.svg?label=npm%20downloads&style=flat&color=fac858)](https://www.npmjs.com/package/echarts) [![Contributors](https://img.shields.io/github/contributors/apache/echarts?color=3ba272)](https://github.com/apache/echarts/graphs/contributors)

[![Build Status](https://github.com/apache/echarts/actions/workflows/ci.yml/badge.svg)](https://github.com/apache/echarts/actions/workflows/ci.yml)

## Get Apache ECharts

You may choose one of the following methods:

+ Download from the official website in [中文下载页](https://echarts.apache.org/zh/download.html)
+ Download from the official website in [English](https://echarts.apache.org/en/download.html)
+ Download from the [official website](https://echarts.apache.org/download.html)
+ `npm install echarts --save`
+ CDN: [jsDelivr CDN](https://www.jsdelivr.com/package/npm/echarts?path=dist)

## Docs

+ Tutorial
+ [中文](https://echarts.apache.org/zh/tutorial.html)
+ [English](https://echarts.apache.org/en/tutorial.html)

+ API
+ [中文](https://echarts.apache.org/zh/api.html)
+ [English](https://echarts.apache.org/en/api.html)

+ Option Manual
+ [中文](https://echarts.apache.org/zh/option.html)
+ [English](https://echarts.apache.org/en/option.html)
+ [Get Started](https://echarts.apache.org/handbook)
+ [API](https://echarts.apache.org/api.html)
+ [Option Manual](https://echarts.apache.org/option.html)
+ [Examples](https://echarts.apache.org/examples)

## Get Help

Expand Down
1 change: 1 addition & 0 deletions build/pre-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ const compileWorkList = [
logLabel: 'extension ts -> js-esm',
compilerOptionsOverride: {
module: 'ES2015',
declaration: false,
rootDir: extensionSrcDir,
outDir: extensionESMDir
},
Expand Down
9 changes: 9 additions & 0 deletions build/source-release/prepareReleaseMaterials.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ console.log('[Release Commit] ' + releaseCommit);
console.log('[Release Name] ' + releaseFullName);

const voteTpl = fse.readFileSync(pathTool.join(__dirname, './template/vote-release.tpl'), 'utf-8');
const voteResultTpl = fse.readFileSync(pathTool.join(__dirname, './template/vote-result.tpl'), 'utf-8');
const announceTpl = fse.readFileSync(pathTool.join(__dirname, './template/announce-release.tpl'), 'utf-8');
const voteUntil = new Date(+new Date() + (72 + 12) * 3600 * 1000); // 3.5 day.

Expand All @@ -95,6 +96,14 @@ fse.writeFileSync(
'utf-8'
);

fse.ensureDirSync(outDir);
fse.writeFileSync(
pathTool.resolve(outDir, 'vote-result.txt'),
voteResultTpl.replace(/{{ECHARTS_RELEASE_VERSION}}/g, rcVersion)
.replace(/{{ECHARTS_RELEASE_VERSION_FULL_NAME}}/g, releaseFullName),
'utf-8'
);

fse.writeFileSync(
pathTool.resolve(outDir, 'announce.txt'),
announceTpl.replace(/{{ECHARTS_RELEASE_VERSION}}/g, stableVersion)
Expand Down
23 changes: 23 additions & 0 deletions build/source-release/template/vote-result.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
--- Mail To: ---
[email protected]
-----------------------------------------------------------

--- Subject: ---
[RESULT] [VOTE] Release {{ECHARTS_RELEASE_VERSION_FULL_NAME}}
-----------------------------------------------------------

Thanks to all who voted or provided comments!

We received ______NUMBER_OF_+1_VOTES______ +1 votes from the PMC members, and the release has PASSED:

+1 ______NAME______ (binding)

Other votes from the community:

+1 ______NAME______

Vote thread:
https://lists.apache.org/thread/xxx

I'm going to release the source release of Apache ECharts {{ECHARTS_RELEASE_VERSION}}.
Thank you all for making this happen!
Loading