Skip to content

v8.0 #846

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

Merged
merged 20 commits into from
Aug 10, 2025
Merged

v8.0 #846

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
9067505
feat!: remove vue 2
kingyue737 May 11, 2025
c6a1228
docs: remove vue 2 related content
kingyue737 May 12, 2025
b6c84aa
feat: support getter in provide/inject
kingyue737 May 12, 2025
2fb0dc2
refactor: simplify render function
kingyue737 May 20, 2025
381489d
docs: update provide/inject section
kingyue737 May 20, 2025
71c106a
refactor: rename realListeners to listeners
kingyue737 May 20, 2025
7ae6892
refactor: change listeners from object to Map
kingyue737 May 21, 2025
473fed3
chore: remove @vue/runtime-core from peerDependencies
kingyue737 May 21, 2025
077bd3e
build: migrate demo from webpack to Vite (#832)
kingyue737 May 24, 2025
522dd7c
chore: ESLint Flat Config (#834)
kingyue737 May 26, 2025
8b7ef5e
refactor: switch to generated .d.ts (#835)
kingyue737 Jun 1, 2025
fa42af0
refactor: use Web Components without native class support detection (…
kingyue737 Jun 1, 2025
6155bbb
chore: fix warnings and errors in demo (#839)
kingyue737 Jun 24, 2025
30e7934
feat: dynamically update the theme (#841)
kingyue737 Jul 2, 2025
df640eb
chore: remove large mode for flight example (#845)
Justineo Jul 8, 2025
570a26c
feat: rendering tooltips and dataView with slots (#838)
kingyue737 Jul 25, 2025
8ed975e
feat!: inject style via constructable `CSSStyleSheet` and remove CSP …
kingyue737 Aug 5, 2025
e568005
docs: update version, deps and docs for 8.0 beta (#849)
kingyue737 Aug 7, 2025
c232e71
chore: add echarts 6 features in codegen
kingyue737 Aug 9, 2025
55c68b4
chore: release and publish from github actions (#850)
Justineo Aug 9, 2025
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
3 changes: 0 additions & 3 deletions .browserslistrc

This file was deleted.

1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

20 changes: 0 additions & 20 deletions .eslintrc.json

This file was deleted.

37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ body:
id: repro
attributes:
label: Reproduction
description: "A link to a boiled-down reproduction (a minimal but runnable demo with unnecessary dependencies pruned). If the issue isn't reproducible within an online playground, please create a GitHub repo to reflect the problem. Please paste the link to your CodeSandbox demo or GitHub repo below: ([Vue 3 template](https://codesandbox.io/s/charming-night-2y6m6?file=/src/App.vue) / [Vue 2 template](https://codesandbox.io/s/suspicious-glitter-mk66j?file=/src/App.vue))"
description: "A link to a boiled-down reproduction (a minimal but runnable demo with unnecessary dependencies pruned). If the issue isn't reproducible within an online playground, please create a GitHub repo to reflect the problem. Please paste the link to your [StackBlitz demo](https://stackblitz.com/edit/vue-echarts-8?file=src%2FApp.vue) or GitHub repo below:"
validations:
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.zh-Hans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ body:
id: repro
attributes:
label: 问题复现
description: "请提供一个精炼的问题复现(去除无关依赖的最小化可运行 demo)。如果在线环境无法复现,可以创建对应的 GitHub repo 来提供复现环境。请在下方贴入在 CodeSandbox 上 demo 的链接或 GitHub repo 链接:([Vue 3 模板](https://codesandbox.io/s/charming-night-2y6m6?file=/src/App.vue) / [Vue 2 模板](https://codesandbox.io/s/suspicious-glitter-mk66j?file=/src/App.vue))"
description: "请提供一个精炼的问题复现(去除无关依赖的最小化可运行 demo)。如果在线环境无法复现,可以创建对应的 GitHub repo 来提供复现环境。请在下方贴入 [StackBlitz demo](https://stackblitz.com/edit/vue-echarts-8?file=src%2FApp.vue) 的链接或 GitHub repo 链接:"
validations:
required: true
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI
on:
pull_request:
push:
branches:
- main
- "8.0" # remove this after 8.0 is merged into main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm run lint

- name: Typecheck
run: pnpm run typecheck && pnpm run dev:typecheck

- name: Build
run: pnpm run build

- name: Publint
run: pnpm run publint
52 changes: 52 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Release

on:
push:
tags:
- "v**"

permissions:
id-token: write
contents: write

jobs:
release:
runs-on: ubuntu-latest
environment: npm-publish

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm

- name: Install dependencies
run: pnpm install

- name: Extract release notes
run: pnpm releaselog --format=notes ${{ github.ref_name }} > RELEASE_NOTES.md

- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
body_path: RELEASE_NOTES.md
prerelease: ${{ contains(github.ref_name, '-') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build
run: pnpm run build

- name: Get dist tag
id: tag
run: echo "tag=$(pnpm exec jiti scripts/dist-tag.ts '${{ github.ref_name }}')" >> $GITHUB_OUTPUT

- name: Publish to npm
run: npm i -g npm && pnpm publish --access public --tag ${{ steps.tag.outputs.tag }} --no-git-checks
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ pnpm-debug.log*
*.sln
*.sw?

/demo
/demo/dist
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pnpm-lock.yaml
demo/data/*.json
src/style.css
4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

4 changes: 0 additions & 4 deletions .stackblitzrc

This file was deleted.

Loading