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

更新至 G 最新版本 #2629

Merged
merged 5 commits into from
Mar 27, 2024
Merged

更新至 G 最新版本 #2629

merged 5 commits into from
Mar 27, 2024

Conversation

xiaoiver
Copy link
Contributor

@xiaoiver xiaoiver commented Mar 26, 2024

👀 PR includes

更新到 G 最新版本,包括 @antv/g-canvas 等相关依赖。

✨ Feature

  • New feature

🎨 Enhance

  • Code style optimization
  • Refactoring
  • Change the UI
  • Improve the performance
  • Type optimization

🐛 Bugfix

  • Solve the issue and close #0

🔧 Chore

  • Test case
  • Docs / demos update
  • CI / workflow
  • Release version
  • Other ()

📝 Description

🖼️ Screenshot

Before After

🔗 Related issue link

🔍 Self-Check before the merge

  • Add or update relevant docs.
  • Add or update relevant demos.
  • Add or update test case.
  • Add or update relevant TypeScript definitions.

Copy link

vercel bot commented Mar 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
antvis-s2 ❌ Failed (Inspect) Mar 26, 2024 7:00am

@@ -44,6 +44,8 @@ const onDataCellRender: SheetComponentsProps['onDataCellRender'] = (cell) => {

// https://g2.antv.antgroup.com/manual/extra-topics/bundle#g2stdlib
renderToMountedElement(chartOptions, {
// @ts-ignore
// FIXME: After upgrading @antv/g2, the type of group should be Group
Copy link
Contributor Author

Choose a reason for hiding this comment

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

G2 升级版还没发,所以会有 5.0 -> 6.0 类型不兼容问题,发布后需要移除。

@lcx-seima
Copy link
Contributor

有没有必要把 g 提出为 peer dependency

Copy link
Contributor

你好, @xiaoiver CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复。

Hello, @xiaoiver CI run failed, please click the [Details] button for detailed log information and fix it.

Copy link
Contributor

Size Change: -52.2 kB (-14%) 👏

Total Size: 318 kB

Filename Size Change
./packages/s2-core/dist/index.min.js 222 kB -52.2 kB (-19%) 👏
ℹ️ View Unchanged
Filename Size
./packages/s2-core/dist/style.min.css 402 B
./packages/s2-react/dist/index.min.js 69.3 kB
./packages/s2-react/dist/style.min.css 4 kB
./packages/s2-vue/dist/index.min.js 20.3 kB
./packages/s2-vue/dist/style.min.css 1.97 kB

compressed-size-action

@@ -96,7 +96,7 @@ describe('GuiIcon Tests', () => {
});

const spy = jest.spyOn(icon, 'getImage');
const oldVal = icon.iconImageShape.style.img;
const oldVal = icon.iconImageShape.style.src;
Copy link
Member

Choose a reason for hiding this comment

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

对于 S2 只有这一个 img => src 的 break change 吗?

@lijinke666
Copy link
Member

单测挂了, 看起来是升级导致的

image

@wjgogogo wjgogogo merged commit 81c397b into feat-g Mar 27, 2024
8 of 10 checks passed
@wjgogogo wjgogogo deleted the fix-g branch March 27, 2024 01:56
@github-actions github-actions bot removed the 🚨 test failed 单元测试挂了 label Mar 27, 2024
lijinke666 pushed a commit that referenced this pull request May 7, 2024
* WIP

* 更新至 G 最新版本 (#2629)

* chore: update to latest g deps

* chore: update to latest g deps

* chore: update to latest g deps

* chore: update to latest g deps

* chore: update to latest g deps

* fix: 修复序号列 clipPath

* fix: 处理 bbox 惰性计算的问题

* test: 单测修复

* test: 单测修复

* test: 更新 react snapshot

* test: 增加 benchmark

* chore: 升级 @antv/g2

* test: 单测修复

* chore: 更新 s2-site g 相关依赖

---------

Co-authored-by: xiaoiver <[email protected]>
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.

4 participants