Skip to content

chore: update changelog for v2.6.0-beta.0 release#2996

Merged
lxfu1 merged 2 commits into
v2from
changelog
Jun 26, 2025
Merged

chore: update changelog for v2.6.0-beta.0 release#2996
lxfu1 merged 2 commits into
v2from
changelog

Conversation

@lxfu1
Copy link
Copy Markdown
Member

@lxfu1 lxfu1 commented Jun 23, 2025

Summary by CodeRabbit

  • Chores
    • 升级了 @ant-design/charts、@ant-design/plots 和 @ant-design/charts-site 的版本号至 2.6.0-beta.0。
    • 移除了 package.json 中 pnpm 配置部分的 overrides 设置,仅保留并升级了 tslib 版本至 2.8.1。
    • 将 @typescript-eslint/parser 和 @typescript-eslint/eslint-plugin 添加至依赖项,版本均为 ^6.14.0。
    • 升级了 eslint 版本至 ^8.56.0。

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 23, 2025

📝 Walkthrough
## Walkthrough

本次更改主要是将 `@ant-design/charts``@ant-design/plots` 以及 `@ant-design/charts-site``package.json` 文件中的版本号统一升级为 `2.6.0-beta.0`,并且从根目录的 `package.json` 中移除了 `pnpm` 配置内的 `overrides` 部分,新增并升级了部分 ESLint 相关依赖。同时,合并了两个测试文件中对 React 和 act 的导入语句,未涉及其他功能、依赖或元数据的修改。

## Changes

| 文件路径                                      | 变更摘要                                   |
|-----------------------------------------------|----------------------------------------------|
| packages/charts/package.json                   | 版本号从 2.4.0 升级到 2.6.0-beta.0           |
| packages/plots/package.json                    | 版本号从 2.5.0 升级到 2.6.0-beta.0           |
| site/package.json                              | 版本号从 2.4.0 升级到 2.6.0-beta.0           |
| package.json                                   | 移除 `pnpm` 配置中的 `overrides` 部分,新增 `@typescript-eslint/parser``@typescript-eslint/eslint-plugin` 依赖,升级 `eslint` 版本,新增 `tslib` 依赖 |
| packages/util/tests/rc/create-node-spec.tsx   | 合并对 React 和 act 的导入语句,简化导入方式    |
| packages/util/tests/react/render-spec.tsx     | 合并对 React 和 act 的导入语句,简化导入方式    |

## Poem

> 小兔挥爪点版本,  
> 三地齐升新号段。  
> Beta 之风悄然起,  
> 未来功能待绽放。  
> 跳跃数字向前看,  
> 代码世界春意盎。  
> 🐇✨

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a47120c and 93ce5a0.

📒 Files selected for processing (3)
  • package.json (3 hunks)
  • packages/util/tests/rc/create-node-spec.tsx (1 hunks)
  • packages/util/tests/react/render-spec.tsx (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • packages/util/tests/react/render-spec.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • package.json
⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: deploy
  • GitHub Check: Socket Security: Pull Request Alerts
🔇 Additional comments (1)
packages/util/tests/rc/create-node-spec.tsx (1)

1-1: 验证 React 版本兼容性

act 的导入从 'react-dom/test-utils' 更改为 'react' 是 React 18+ 的新特性。请确认项目使用的 React 版本支持从 'react' 包中直接导入 act

运行以下脚本来验证 React 版本兼容性:

#!/bin/bash
# 描述:检查项目中的 React 版本是否支持从 'react' 包导入 act

# 查找项目中的 React 版本
echo "检查 package.json 中的 React 版本:"
fd package.json --exec jq -r '.dependencies.react // .devDependencies.react // empty' {}

# 搜索其他类似的 act 导入更改
echo -e "\n检查其他文件中的 act 导入:"
rg "import.*act.*from.*react" --type tsx --type ts
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Post Copyable Unit Tests in Comment
  • Commit Unit Tests in branch changelog

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Jun 23, 2025

@lxfu1 lxfu1 merged commit 9cf6941 into v2 Jun 26, 2025
9 checks passed
@lxfu1 lxfu1 deleted the changelog branch June 26, 2025 04:07
@coderabbitai coderabbitai Bot mentioned this pull request Aug 14, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Sep 3, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Sep 23, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Oct 21, 2025
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.

1 participant