changelog-collect
Screenshots
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "changelog-collect" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-dfe322bbc816a840a6a7cbef423593eb4fc3ec6bba3ea7b909bd60c273f3489b. Verify the upstream source and version against https://github.com/ant-design/ant-design before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
changelog-collect: Collects PR information between two ant-design versions and organizes it into changelog drafts for updating CHANGELOG.zh-CN.md and CHANGELOG.en-US.md. Suitable for collecting changelogs, generating changelogs, updating changelogs, and version comparison scenarios.
Introduction source: third_party · ant-design · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Collecting PR information between ant-design and collating a draft changelog, updating it to CHANGELOG.zh-CN.md and CHANGELOG.en-US.md. This is for collecting changelogs, generating changelogs, updating changelogs, and comparing versions.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Require gh CLI authentication (run) `gh auth login` ) Before writing you must preview confirmation Keep the description up to date in Chinese and English `修复 Select ...` I don't know. `Fix Select ...` ) Harmonize the addition of PR author links (does not distinguish between team members) PR body having changelog is based on PR body, but only if rewriting non-compliant content with antd standard is verified and rewritten by PR type/ body/diff automatically and cannot be copied in the original PR type
- Testing
- Not tested
Browse files
Frontmatter
name: changelog-collect
description: 收集 ant-design 两个版本之间的 PR 信息并整理 changelog 草稿,更新到 CHANGELOG.zh-CN.md 和 CHANGELOG.en-US.md 时使用。适用于收集 changelog、生成 changelog、更新 changelog、版本对比等场景。Changelog 收集工具
目标
帮助开发者收集 Ant Design 两个版本之间的 Changelog,处理临时文件并更新到官方 CHANGELOG.zh-CN.md 和 CHANGELOG.en-US.md 文件中。
触发方式
当用户提到以下关键词时使用此 skill:
- 收集 changelog
- 生成 changelog
- 更新 changelog
- 版本对比
- 处理 changelog
核心流程
阶段一:通过 gh CLI 收集 PR 信息
使用 GitHub CLI 直接收集两个版本/分支之间的 PR 信息。
1.1 获取可用的 Tags
执行 git fetch --tags 确保最新,然后获取所有 tags:
git tag --list | grep -v -E '(experimental|alpha|resource)' | sort -V | tail -20
过滤规则:
- 排除包含
experimental、alpha、resource的 tag - 保留最近的 20 个有效版本 tag
1.2 选择起始版本和目标分支
交互式询问用户:
🏷 请选择起始版本(tag):
- [列表显示最近的 tag]
- [自定义输入]
🔀 请选择目标分支:
- master
- feature
- 自定义输入
1.3 确定版本号
重要:在开始收集 PR 信息之前,必须先确定版本号并写入 ~changelog.md 的头部。
根据起始版本自动计算新版本(默认按 minor 升级):
当前选择: 6.3.1 → master
请确认版本号:
- [minor] 升级到 6.4.0(次版本号)
- [patch] 升级到 6.3.2(修订版本号)
- [自定义] 输入具体版本号
用户确认后,立即初始化 ~changelog.md 文件,写入版本信息:
# Changelog Temp File
# Version: 6.4.0
# Generated: 2026-03-09T...
---
这样在后续收集 PR 信息时,每次追加写入都能保证 ~changelog.md 是完整可用的。
1.4 获取 commit 列表
git log <from-tag>..<to-branch> --oneline
解析每个 commit,提取 PR 编号(匹配 #12345 格式)。
1.5 并行获取每个 PR 的详情
使用并行 subagent 同时获取所有 PR 详情,而不是顺序逐个请求。
将所有 PR 编号分批(每批最多 10 个),为每批 dispatch 一个 subagent,并行执行:
[主流程]
├── subagent-1: gh pr view 56001 56002 56003 ... 56010
├── subagent-2: gh pr view 56011 56012 56013 ... 56020
└── subagent-3: gh pr view 56021 56022 ...
每个 subagent 执行的命令:
gh pr view <pr-number> --json title,body,author,number
返回字段:
title: PR 标题body: PR 描述(可能包含中英文 changelog)author: 提交者number: PR 编号
所有 subagent 返回后,汇总结果,再统一进行描述提取和写入。
每处理完一个 PR 后,立即追加写入 ~changelog.md。
追加写入内容:
## abc1234
- PR: 56976
- Committer: zombieJ
- Commit: fix: Select height issue
- Category: Select
- English: Fix Select incorrect height when value is empty
- Chinese: 修复 Select value 为空时高度不正确的问题
从 PR body 提取并校验中英文描述
PR body 中的 changelog 作为参考,以实际改动为准。 PR 作者的描述可能不准确,需结合实际改动判断,必要时重新撰写。
PR body 中提取 changelog 的模式:
🇺🇸 English
- Fix Select incorrect height when value is empty
🇨🇳 Chinese
- 修复 Select value 为空时高度不正确的问题
或者:
English:
- Fix Select incorrect height when value is empty
Chinese:
- 修复 Select value 为空时高度不正确的问题
提取规则:
- 识别
🇺🇸 English或English:标记后的-行作为英文描述 - 识别
🇨🇳 Chinese或Chinese:标记后的-行作为中文描述
提取后必须按照 antd changelog 规范进行校验,不合规则改写(见下方"Changelog 合规校验")。
如果 PR body 中没有 changelog 内容,则根据 PR title、body 描述和 commit 信息自动生成符合规范的描述(见下方"无 changelog 时自动生成")。
过滤规则:哪些 PR 不写入 changelog
以下改动不应出现在 changelog 中(用户无感知):
- 纯内部重构(不影响 API 和行为)
- 纯测试更新(新增/修改测试用例,无功能变更)
- CI/工具链/依赖升级(与组件无关)
- 文档/站点样式微调(不影响组件本身)
- chore、build、ci 类型的 commit
依赖升级默认跳过,但不能机械按 chore 跳过。遇到 rc-component、@ant-design/icons 或其他运行时依赖升级时,必须额外核查是否带来以下用户可感知影响;如果有,必须保留并解释影响:
- 组件新增能力、行为变化或可访问性变化
- TypeScript 定义外露变化(例如 antd props 继承到的新属性、回调参数或语义化类型)
- 包体积收益或运行时代码减少
- 默认图标、样式或交互变化
遇到上述类型,在 ~changelog.md 中标记 Skip: true,最终写入时过滤掉。
Changelog 合规校验
对从 PR body 提取的描述,逐条检查以下规范,不符合的必须改写:
| 规则 | 正确示例 | 错误示例 |
|---|---|---|
| Emoji 必须在行首 | 🐞 Fix Select height |
Fix Select height 🐞 |
| 必须以动作动词开头(Emoji 之后) | 🐞 修复 Select ... / 🆕 新增 Button ... |
Select 修复... |
| 正文必须包含组件名 | 🐞 Fix Select height issue |
🐞 Fix height issue |
| 组件名不加反引号 | Fix Select height |
Fix \Select` height` |
| 属性名/API 用反引号 | Fix Select \value` prop` |
Fix Select value prop |
| 组件名后不加冒号 | 🐞 Fix Select height |
🐞 Fix Select: height |
| 中文与英文/数字之间保留空格 | 修复 Select 在暗色主题的问题 |
修复Select在暗色主题的问题 |
| 每条只选一个 Emoji,不叠加 | 🐞 Fix Select ... |
🐞🆕 Fix Select ... |
| 描述开发者影响,不描述实现细节 | Fix Select height when empty |
Remove minHeight CSS property |
| 新组件必须描述功能用途 | 🔥 Add BorderBeam component for animated border beam effect along container edges. |
🔥 Add BorderBeam component. |
| 新属性必须说明用途或效果 | 🆕 Add Input \allowClear.disabled` prop to disable the clear button while keeping it visible.` |
🆕 Add Input \allowClear.disabled` support.` |
| 从用户/开发者视角描述效果 | 📖 Improve AI agent support for ant.design. |
📖 Add .well-known metadata. |
| Token 改动列出具体 token | 🆕 Add Collapse \headerPaddingSM` and `contentPaddingSM` tokens.` |
🆕 Add Collapse size tokens. |
文案校验时逐条追问:"用户或开发者看到的变化是什么?" 如果答案只是"传递某配置"、"修改某 runtime"、"增加某 metadata"、"调整内部结构",说明文案仍是实现视角,必须改写为可感知效果。
Emoji 规范(完整版,从 AGENTS.md 同步):
| Emoji | 用途 |
|---|---|
| 🐞 | 修复 Bug |
| 💄 | 样式更新或 token 更新 |
| 🆕 | 新增特性 / 新增属性 |
| 🔥 | 极其值得关注的新增特性 |
| 🇺🇸🇨🇳🇬🇧 | 国际化改动 |
| 📖 📝 | 文档或网站改进 |
| ✅ | 新增或更新测试用例 |
| 🛎 | 更新警告/提示信息 |
| ⌨️ ♿ | 可访问性增强 |
| 🗑 | 废弃或移除 |
| 🛠 | 重构或工具链优化 |
| ⚡️ | 性能提升 |
commit 类型 → Emoji / 动词 映射:
| commit 前缀 | 中文动词 | 英文动词 | Emoji |
|---|---|---|---|
fix: / bug: |
修复 | Fix | 🐞 |
feat: / feature: |
新增 | Add | 🆕 |
style: / ui: |
优化 | Improve | 💄 |
refactor: |
重构 | Refactor | 🛠 |
perf: |
提升性能 | Improve performance | ⚡️ |
docs: |
更新文档 | Update docs | 📝 |
i18n: / locale: |
更新国际化 | Update i18n | 🇺🇸 |
deprecate: |
废弃 | Deprecate | 🗑 |
chore: / test: / ci: |
— | — | 跳过,不写入 |
无 changelog 时自动生成
当 PR body 中没有 changelog 内容(无 English/Chinese 标记)时,根据以下信息生成:
- 优先使用 PR title(经过格式标准化,不能原文照抄)
- 参考 PR body 的描述内容(提取关键改动点,描述对开发者的影响)
- 如有必要,查看
git show <hash>的 diff 内容辅助理解改动
生成规则:
- 根据 PR title 前缀或内容判断动作类型(fix/feat/style 等)
- Emoji 置于行首,选择对应的 Emoji 和动词
- 格式:
Emoji 动词 组件名 改动描述(中英文各一条) - 描述"对开发者的影响",而非"具体的实现细节"
示例:
PR title: fix(Select): fix height issue when value is empty
↓ 自动生成
English: 🐞 Fix Select incorrect height when value is empty
Chinese: 🐞 修复 Select value 为空时高度不正确的问题
识别组件 Category
从 PR title 和 body 中识别组件名:
const componentNames = [
'Button',
'Checkbox',
'Radio',
'Switch',
'Input',
'Select',
'TreeSelect',
'Cascader',
'DatePicker',
'TimePicker',
'Calendar',
'Upload',
'Modal',
'Drawer',
'Message',
'Notification',
'Popconfirm',
'Tooltip',
'Popover',
'Table',
'List',
'Tree',
'Tabs',
'Steps',
'Progress',
'Spin',
'Avatar',
'Badge',
'Tag',
'Card',
'Collapse',
'Carousel',
'Breadcrumb',
'Pagination',
'Menu',
'Dropdown',
'Form',
'Descriptions',
'Skeleton',
'Empty',
'Result',
'Alert',
'Typography',
'Layout',
'Grid',
'Space',
'Flex',
'ConfigProvider',
'App',
'Watermark',
'ColorPicker',
'QRCode',
'Segmented',
];
匹配规则:大小写不敏感,包含匹配。
阶段二:处理临时文件
读取 ~changelog.md 后,按以下规范处理:
临时文件格式:
# Changelog Temp File
# Version: 6.4.0
# Generated: 2026-03-09T...
---
## abc1234
- PR: 56976
- Committer: zombieJ
- Commit: fix: Select height issue
- Category: Select
- English: Fix Select incorrect height when value is empty
- Chinese: 修复 Select value 为空时高度不正确的问题
AGENTS.md 规范引用:参考项目根目录 AGENTS.md 中的 Changelog 规范(核心原则、格式规范、Emoji 规范、句式规范)。
根据规范,对 ~changelog.md 中的条目进行过滤、分组、格式检查,并在必要时进行交互式确认和修改。
过滤规则
- 跳过
chore:、test:、ci:、build:类型的 commit - 跳过纯文档/站点改动(不影响组件 API 和行为的)
- 跳过纯测试更新和工具链升级
- 依赖升级默认跳过;但
rc-component、@ant-design/icons或其他运行时依赖升级如果带来组件能力、运行时行为、可访问性、TypeScript 外露类型或包体积收益,必须保留并写清用户/开发者影响
发布重点提炼
正式发布版本 changelog 不只是 PR 列表,必须先提炼跨版本亮点并放在普通组件条目前面。优先寻找并置顶这些类型:
- 影响产品定位或使用方式的跨版本能力,例如
DESIGN.md、AI 设计工具支持、agent discovery、LLMs/MCP/CLI 能力 - 用户能直接感知的重要视觉资产或内置能力,例如新增 Icon 集合,并列出具体新增图标
- 明确的包体积、性能或运行时收益
- 多个 PR 共同构成的一项能力,合并成一条重点说明,并列出相关 PR
重点条目可以使用 🔥,但每条仍只能选择一个 Emoji。
体积分析流程
当发布版本出现明显 size-limit 变化,或依赖升级可能影响体积时,必须先分析再写 changelog:
- 拉取当前 release PR 和上一个 release PR 的 size-limit 评论,记录最终
antd.min.js、antd-with-locales.min.js等关键包体积数值。 - 计算相对上个版本的最终差值,不只记录单个 PR 的增减。
- 扫描本版本区间内各 PR 的 size-limit 评论,定位主要增减来源。
- 检查
package.json运行时依赖升级,尤其是rc-component、@ant-design/icons、picker/select/upload/icon 相关包。 - 必要时对比 npm 包或构建产物,避免把全部收益错误归因给某个单独 PR(例如只写 Icon,而忽略 picker 精简运行时代码)。
- Changelog 里写最终用户/开发者能理解的收益和主要来源,例如"完整包体积下降,主要来自 DatePicker/TimePicker runtime 精简与 Icon/Upload 默认图标优化"。
分组逻辑
- 分组必须以最终有效 changelog 条目数量为准:同一组件最终有 2 条及以上时,才使用
- 组件名分组;最终只有 1 条时,必须输出为顶层单行条目,即使组件名已出现在条目正文中,也不单独写- 组件名分组行。 - 完成过滤、合并、移动条目后,必须重新统计每个分组;移动到 Icon、跨组件、TypeScript、文档/网站等分类后的原组件也要重新统计,拆平所有只剩 1 条的组件分组。
- 组件分组排序按有效条目数降序排列;条目数相同再按重要性和现有 changelog 风格排序。
- 发布版本整体排序按影响优先:跨版本重点变化最前,其次是条目较多或影响较大的组件分组,再是普通单行条目。
示例(多条):
- Select
- 🐞 Fix Select incorrect height when value is empty. [#56976](https://github.com/ant-design/ant-design/pull/56976) [@zombieJ](https://github.com/zombieJ)
- 💄 Improve Select dropdown animation. [#56980](https://github.com/ant-design/ant-design/pull/56980) [@afc163](https://github.com/afc163)
- 🐞 Fix Button style in Safari. [#56901](https://github.com/ant-design/ant-design/pull/56901) [@li](https://github.com/li)
描述与署名补充规则
- Emoji 在行首,动词紧跟其后
- 组件名不加反引号;属性名、API 名用反引号
- 描述"对开发者的影响",而非"具体实现细节"
- 每条 changelog 统一补充 PR 链接 和 PR 作者链接,顺序为先 PR 后作者(如
[#56976](https://github.com/ant-design/ant-design/pull/56976) [@username](https://github.com/username)),不区分是否团队成员
阶段三:写入文件并校验
在 --- front matter 之后、第一个版本标题之前插入新内容:
- 读取 CHANGELOG.zh-CN.md
- 找到
---之后的位置 - 插入生成的中文 changelog
- 写入文件
同样流程处理 CHANGELOG.en-US.md
写入后必须运行 lint 校验:
npm run lint:changelog
如果 lint 报错,根据错误信息修正对应的 changelog 条目,重新写入,直到 lint 通过。常见错误类型:
- Emoji 格式不符
- 中英文空格缺失
- 组件名使用了反引号
- 版本格式或日期格式不对
版本确认(可选)
版本号已在阶段一确定。如需更新 package.json,在写入 changelog 前询问:
是否需要同步更新 package.json 中的版本号?
当前版本: 6.3.1 → changelog 版本: 6.4.0
选项:
- [更新] 执行 npm version minor/patch
- [跳过] 保持 package.json 不变
写入确认(交互式)
预览确认:
请确认以下内容即将写入 CHANGELOG.zh-CN.md 和 CHANGELOG.en-US.md:
版本: 6.4.0
日期: 2026-03-09
条目数: 12
[预览完整内容] [直接写入] [取消]
完整交互流程
1. 获取可用 tags,选择起始版本
↓
2. 选择目标分支(master/feature/自定义)
↓
3. **立即确定版本号**(minor/patch/自定义)
↓
4. 初始化 ~changelog.md 头部(写入版本信息)
↓
5. git log 获取两个版本间的 commits,提取所有 PR 编号
↓
6. **并行 dispatch subagents** 批量获取 PR 详情(每批最多 10 个)
↓
7. 汇总所有 PR 结果,逐条处理:
├── 有 changelog → 提取 → **校验合规性** → 不合规则改写
└── 无 changelog → 根据 PR title/body/diff **自动生成**符合规范的描述
↓
8. 核查运行时依赖升级(尤其 rc-component / icons)是否带来能力、类型或体积收益
↓
9. 识别组件 category
↓
10. 追加写入 ~changelog.md
↓
11. 过滤无效 commit(交互确认)
↓
12. 提炼发布重点(DESIGN.md、Icon、包体积、AI agent 支持等跨版本亮点)
↓
13. 如存在明显体积变化,按体积分析流程归因并补充说明
↓
14. 分组处理并排序(按最终有效条目数重算,单条组件拆平)
↓
15. 检查描述规范性(交互确认)
↓
16. 重新生成不符合规范的描述(如需要)
↓
17. 预览确认(交互确认)
↓
18. 可选:更新 package.json 版本(npm version)
↓
19. 写入 CHANGELOG.zh-CN.md 和 CHANGELOG.en-US.md
↓
20. **运行 `npm run lint:changelog` 校验,有报错则修正并重新写入**
↓
21. 清理临时文件 ~changelog.md
↓
22. (可选)创建发布 PR,PR body 中直接包含完整的中英文 changelog 内容
所需命令
此 skill 需要以下命令可用:
git tag --list- 获取版本标签git log <from>..<to> --oneline- 获取版本间 commitsgh pr view <pr-number> --json title,body,author,number- 获取 PR 详情git show <hash>- 查看 commit 详情(用于无 changelog 时辅助生成描述)npm version minor- 升级次版本号(6.3.1 → 6.4.0)npm version patch- 升级修订版本号(6.3.1 → 6.3.2)cat >> ~changelog.md或 Node.js fs.appendFileSync - 追加写入npm run lint:changelog- 校验 changelog 格式(写入后必须运行)
注意事项
- 需要 gh CLI 认证(运行
gh auth login) - 写入前必须预览确认
- 保持中英文同步更新
- 描述以动作开头,并保证正文包含组件名(如
修复 Select ...、Fix Select ...) - 统一添加 PR 作者链接(不区分是否团队成员)
- PR body 有 changelog 时,以 PR body 为准,但必须校验并按 antd 规范改写不合规内容
- PR body 无 changelog 时,根据 PR title/body/diff 自动生成,不能只用 PR title 原文照抄
Version history
-
6.7.1
GitHub ↗
Original release notes
- Table - 🐞 Fix Table continuing to apply outdated sorters after column configuration changes. [#59763](https://github.com/ant-design/ant-design/pull/59763) [@Aminark](https://github.com/Aminark) - 🐞 Fix Table expand-all icon alignment with row expand icons in small and middle sizes. [#59795](https://github.com/ant-design/ant-design/pull/59795) [@nikzanda](https://github.com/nikzanda) - ⌨️ Fix Table ignoring the reduced motion preference when scrolling to the top after pagination, sorting, or filtering. [#59864](https://github.com/ant-design/ant-design/pull/59864) [@li-jia-nan](https://github.com/li-jia-nan) - Modal - 🐞 Fix Modal focus errors and duplicate `afterOpenChange` calls when React `Activity` reveals a hidden Modal. [#59845](https://github.com/ant-design/ant-design/pull/59845) [@yoyo837](https://github.com/yoyo837) - 🐞 Fix Modal leave-completion callbacks firing before DOM removal when leave motion is disabled mid-transition. [#59845](https://github.com/ant-design/ant-design/pull/59845) [@yoyo837](https://github.com/yoyo837) - ⚡️ Improve Form performance by keeping `@rc-component/form` out of components that only read the variant, an extra dependency introduced in 6.7.0. [#59872](https://github.com/ant-design/ant-design/pull/59872) [@gowtham-padala](https://github.com/gowtham-padala) - 🐞 Fix Card action buttons with `href` displaying incorrect icon spacing. [#59726](https://github.com/ant-design/ant-design/pull/59726) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Input.OTP treating intermediate IME composition text as committed input. [#58762](https://github.com/ant-design/ant-design/pull/58762) [@wanxiankai](https://github.com/wanxiankai) - 🐞 Fix DatePicker and TimePicker time panel cell alignment and content clipping by scrollbars. [#59828](https://github.com/ant-design/ant-design/pull/59828) [@ffgenius](https://github.com/ffgenius) - 🐞 Fix Dropdown menu items in disabled submenus not displaying their disabled state correctly. [#59826](https://github.com/ant-design/ant-design/pull/59826) [@yoyo837](https://github.com/yoyo837) - ⌨️ Fix Anchor ignoring the reduced motion preference when scrolling to a link. [#59861](https://github.com/ant-design/ant-design/pull/59861) [@li-jia-nan](https://github.com/li-jia-nan) - ⌨️ Fix BackTop ignoring the reduced motion preference when returning to the top. [#59864](https://github.com/ant-design/ant-design/pull/59864) [@li-jia-nan](https://github.com/li-jia-nan) - 🇮🇩 Improve ConfigProvider Indonesian (`id_ID`) translations. [#59807](https://github.com/ant-design/ant-design/pull/59807) [@insanrizky](https://github.com/insanrizky) - 🇨🇿 Improve ConfigProvider Czech (`cs_CZ`) translations. [#59787](https://github.com/ant-design/ant-design/pull/59787) [@kojdad-alt](https://github.com/kojdad-alt) --- - Table - 🐞 修复 Table 在列配置变化后仍使用旧排序规则的问题。 [#59763](https://github.com/ant-design/ant-design/pull/59763) [@Aminark](https://github.com/Aminark) - 🐞 修复 Table 在小尺寸和中等尺寸下展开全部图标与行展开图标未对齐的问题。 [#59795](https://github.com/ant-design/ant-design/pull/59795) [@nikzanda](https://github.com/nikzanda) - ⌨️ 修复 Table 在分页、排序或筛选后滚动到顶部时未遵循系统减少动态效果设置的问题。 [#59864](https://github.com/ant-design/ant-design/pull/59864) [@li-jia-nan](https://github.com/li-jia-nan) - Modal - 🐞 修复 Modal 在 React `Activity` 恢复显示时聚焦报错和 `afterOpenChange` 重复触发的问题。 [#59845](https://github.com/ant-design/ant-design/pull/59845) [@yoyo837](https://github.com/yoyo837) - 🐞 修复 Modal 在离场动画中途禁用时完成回调早于 DOM 移除的问题。 [#59845](https://github.com/ant-design/ant-design/pull/59845) [@yoyo837](https://github.com/yoyo837) - ⚡️ 优化 Form 中仅读取 variant 的组件,不再引入 6.7.0 中额外引入的 `@rc-component/form` 依赖,提升性能。 [#59872](https://github.com/ant-design/ant-design/pull/59872) [@gowtham-padala](https://github.com/gowtham-padala) - 🐞 修复 Card 操作区中带 `href` 的 Button 图标间距异常的问题。 [#59726](https://github.com/ant-design/ant-design/pull/59726) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Input.OTP 使用中文等输入法时将合成输入的中间态文本作为已提交内容处理的问题。 [#58762](https://github.com/ant-design/ant-design/pull/58762) [@wanxiankai](https://github.com/wanxiankai) - 🐞 修复 DatePicker 和 TimePicker 时间面板单元格未居中及内容被滚动条遮挡的问题。 [#59828](https://github.com/ant-design/ant-design/pull/59828) [@ffgenius](https://github.com/ffgenius) - 🐞 修复 Dropdown 禁用子菜单中的菜单项未正确显示禁用状态的问题。 [#59826](https://github.com/ant-design/ant-design/pull/59826) [@yoyo837](https://github.com/yoyo837) - ⌨️ 修复 Anchor 点击链接滚动时未遵循系统减少动态效果设置的问题。 [#59861](https://github.com/ant-design/ant-design/pull/59861) [@li-jia-nan](https://github.com/li-jia-nan) - ⌨️ 修复 BackTop 返回顶部时未遵循系统减少动态效果设置的问题。 [#59864](https://github.com/ant-design/ant-design/pull/59864) [@li-jia-nan](https://github.com/li-jia-nan) - 🇮🇩 完善 ConfigProvider 印尼语 `id_ID` 翻译。 [#59807](https://github.com/ant-design/ant-design/pull/59807) [@insanrizky](https://github.com/insanrizky) - 🇨🇿 完善 ConfigProvider 捷克语 `cs_CZ` 翻译。 [#59787](https://github.com/ant-design/ant-design/pull/59787) [@kojdad-alt](https://github.com/kojdad-alt)
-
6.7.0
GitHub ↗
Original release notes
- 🆕 Add Button, Tag, Steps, Alert, and Timeline support for the global ConfigProvider `variant`, and component-specific `divider.variant` configuration for Divider line styles. [#59589](https://github.com/ant-design/ant-design/pull/59589) [#59588](https://github.com/ant-design/ant-design/pull/59588) [#59578](https://github.com/ant-design/ant-design/pull/59578) [#59577](https://github.com/ant-design/ant-design/pull/59577) [#59587](https://github.com/ant-design/ant-design/pull/59587) [#59576](https://github.com/ant-design/ant-design/pull/59576) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add `suffix` to DatePicker, TimePicker, Select, AutoComplete, Cascader, and TreeSelect to customize suffix content, with state-based rendering for selection components. Deprecate `suffixIcon` in favor of `suffix` while retaining compatibility. [#59240](https://github.com/ant-design/ant-design/pull/59240) [#59185](https://github.com/ant-design/ant-design/pull/59185) [@QDyanbing](https://github.com/QDyanbing) [@meet-student](https://github.com/meet-student) - 🆕 Add `allowClear.tabIndex` to Input, Input.TextArea, Mentions, InputNumber, Select, AutoComplete, TreeSelect, Cascader, DatePicker, and TimePicker to control clear-button Tab order. Add `allowClear.label` to Input, Input.TextArea, Mentions, DatePicker, and TimePicker for accessible clear-button names, with field-level ConfigProvider inheritance. [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59567](https://github.com/ant-design/ant-design/pull/59567) [#59548](https://github.com/ant-design/ant-design/pull/59548) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add App Fragment `ref` support with `component={false}` in React 19.3 and later. [#59281](https://github.com/ant-design/ant-design/pull/59281) [@li-jia-nan](https://github.com/li-jia-nan) - 🆕 Add BorderBeam `items` prop to configure each beam's `color`, `lineWidth`, `outset`, and `size`, with the array length determining the beam count. [#59095](https://github.com/ant-design/ant-design/pull/59095) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add Cascader `checkStrictly` to select parent and child options independently in multiple mode. [#59566](https://github.com/ant-design/ant-design/pull/59566) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add component-specific ConfigProvider `allowClear` settings for Cascader, TreeSelect, and AutoComplete to configure their clear buttons globally. [#59593](https://github.com/ant-design/ant-design/pull/59593) [#59592](https://github.com/ant-design/ant-design/pull/59592) [#59591](https://github.com/ant-design/ant-design/pull/59591) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add Checkbox.Group and Radio.Group `classNames` and `styles` to customize group containers, items, icons, and labels. [#59058](https://github.com/ant-design/ant-design/pull/59058) [#59059](https://github.com/ant-design/ant-design/pull/59059) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add InputNumber `allowClear` and `onClear` to clear values with customizable icons, disabled state, and accessible labels. [#59251](https://github.com/ant-design/ant-design/pull/59251) [@nikzanda](https://github.com/nikzanda) - 🆕 Add Space `align="stretch"` to stretch child elements along the cross axis. [#59005](https://github.com/ant-design/ant-design/pull/59005) [@dogledogle](https://github.com/dogledogle) - 🆕 Add Typography `shimmer` prop for animated shimmering text, with `duration` configuring motion and wait times separately. [#59054](https://github.com/ant-design/ant-design/pull/59054) [@zombieJ](https://github.com/zombieJ) - 🛠 Align Input, Input.TextArea, Mentions, InputNumber, Select, AutoComplete, TreeSelect, Cascader, DatePicker, and TimePicker `allowClear.disabled` behavior so `true` removes the clear button consistently with `allowClear={false}`. [#59548](https://github.com/ant-design/ant-design/pull/59548) [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59567](https://github.com/ant-design/ant-design/pull/59567) [@QDyanbing](https://github.com/QDyanbing) - 💄 Replace Alert container radius component token `borderRadius` with `containerBorderRadius`; migrate custom container radius overrides to the new token. [#59305](https://github.com/ant-design/ant-design/pull/59305) [@MadCcc](https://github.com/MadCcc) - DatePicker - 🆕 Add DatePicker and TimePicker `components.nowButton` and `components.okButton` to customize Today/Now and confirmation buttons independently. Deprecate the legacy `components.button` while retaining compatibility. [#59778](https://github.com/ant-design/ant-design/pull/59778) [@yoyo837](https://github.com/yoyo837) - ⌨️ Improve DatePicker and TimePicker keyboard and screen reader support, including arrow-key navigation, Enter/Space selection, and skipping disabled time options, plus keyboard activation and native disabled states for Today/Now footer buttons. [#59778](https://github.com/ant-design/ant-design/pull/59778) [#59367](https://github.com/ant-design/ant-design/pull/59367) [@yoyo837](https://github.com/yoyo837) - 🐞 Fix DatePicker and TimePicker ignoring `clearIcon` settings when an `allowClear` object omits `clearIcon`. [#59565](https://github.com/ant-design/ant-design/pull/59565) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix DatePicker, TimePicker, and Calendar dependency imports in native Node ESM environments. [#59261](https://github.com/ant-design/ant-design/pull/59261) [@zombieJ](https://github.com/zombieJ) - 🐞 Fix DatePicker parsing localized date input with Day.js when the component locale differs from the global locale. [#59240](https://github.com/ant-design/ant-design/pull/59240) [@QDyanbing](https://github.com/QDyanbing) - 🌐 Correct DatePicker `zh_TW` week-selection terminology. [#59261](https://github.com/ant-design/ant-design/pull/59261) [@zombieJ](https://github.com/zombieJ) - Select - 🆕 Add Select `autoComplete` and ConfigProvider `select.autoComplete` to configure browser autocomplete behavior for the search input. [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59632](https://github.com/ant-design/ant-design/pull/59632) [@QDyanbing](https://github.com/QDyanbing) - ⌨️ Improve screen reader support for Select, Cascader, TreeSelect, and AutoComplete by hiding default decorative arrow, search, and loading icons. [#59709](https://github.com/ant-design/ant-design/pull/59709) [@droduit](https://github.com/droduit) - ⌨️ Improve Select, Cascader, and TreeSelect clear-button keyboard accessibility with focus visibility, focus outlines, and localized accessible labels. [#58267](https://github.com/ant-design/ant-design/pull/58267) [@Pareder](https://github.com/Pareder) - ⌨️ Fix Select and AutoComplete screen reader announcements of option positions, total counts, and groups in virtual scrolling mode. [#58993](https://github.com/ant-design/ant-design/pull/58993) [@yoyo837](https://github.com/yoyo837) - Table - 🆕 Add Table `expandable.showExpandAll` and `expandable.onExpandAll` to expand or collapse all expandable rows on the current page when using `expandedRowRender`. [#59036](https://github.com/ant-design/ant-design/pull/59036) [@nikzanda](https://github.com/nikzanda) - 🆕 Add Table `components.ExpandIcon` and an `expandable.columnTitle` render function to customize row and expand-all controls. Deprecate `expandable.expandIcon` in favor of `components.ExpandIcon` while retaining compatibility. [#59036](https://github.com/ant-design/ant-design/pull/59036) [@nikzanda](https://github.com/nikzanda) - ⌨️ Improve Table row selection accessibility with localized accessible names and keyboard access to custom selection menus. [#58969](https://github.com/ant-design/ant-design/pull/58969) [@thlovey](https://github.com/thlovey) - ⚡️ Improve Table performance when applying multiple column filters to deeply nested data. [#59719](https://github.com/ant-design/ant-design/pull/59719) [@Aminark](https://github.com/Aminark) - Tree - 💄 Improve Tree non-checkable `selectable={false}` nodes with disabled text colors and cursors, without hover highlighting. [#58906](https://github.com/ant-design/ant-design/pull/58906) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🐞 Fix Tree ignoring defaults and preventing uncontrolled updates when `expandedKeys`, `selectedKeys`, and similar props are explicitly `undefined`. [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - 🐞 Fix Tree unexpectedly scrolling when a focusable element inside a node title receives focus. [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - 🐞 Fix Tree drop targets before nested first-child nodes, overwritten custom drag text, and delayed hover expansion after unmount. [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - Listy - 🆕 Add Listy `rowKey` callback's second argument `index` to generate keys from row indexes. [#59347](https://github.com/ant-design/ant-design/pull/59347) [@aojunhao123](https://github.com/aojunhao123) - 🆕 Add Listy `rowHoverable` prop to disable row hover highlighting. [#59273](https://github.com/ant-design/ant-design/pull/59273) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add Listy `scrollWidth` prop to enable horizontal scrolling for virtual lists wider than the container. [#59197](https://github.com/ant-design/ant-design/pull/59197) [@aojunhao123](https://github.com/aojunhao123) - Pagination - 🆕 Add an optional third `info` argument with `info.recommendPage` to Pagination `onChange` when page size changes to help preserve the current data position, also available through Table and List `pagination.onChange`. [#58604](https://github.com/ant-design/ant-design/pull/58604) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - ♿ Improve Pagination list semantics and keyboard and disabled-state accessibility for pagination controls. [#58604](https://github.com/ant-design/ant-design/pull/58604) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🌐 Correct Pagination and page-size text in Armenian (`hy_AM`), Albanian (`sq_AL`), Nepali (`ne_NP`), and Traditional Chinese (`zh_TW`) locales. [#59500](https://github.com/ant-design/ant-design/pull/59500) [#59499](https://github.com/ant-design/ant-design/pull/59499) [#58604](https://github.com/ant-design/ant-design/pull/58604) [@yoyo837](https://github.com/yoyo837) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - Button - 🐞 Fix Button ignoring `tabIndex` when `href` is set. [#59732](https://github.com/ant-design/ant-design/pull/59732) [@nikzanda](https://github.com/nikzanda) - 🐞 Fix Button not applying component-specific non-`solid` variants from ConfigProvider when `color` is omitted. [#59589](https://github.com/ant-design/ant-design/pull/59589) [@QDyanbing](https://github.com/QDyanbing) - ColorPicker - 🆕 Add ColorPicker `styles.popup.container` and `classNames.popup.container` to customize the popup content container, and deprecate `styles.popupOverlayInner` while preserving compatibility until v7. [#59743](https://github.com/ant-design/ant-design/pull/59743) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix ColorPicker ignoring `styles.popupOverlayInner` when `styles` is a function or configured through ConfigProvider. [#59743](https://github.com/ant-design/ant-design/pull/59743) [@QDyanbing](https://github.com/QDyanbing) - Dropdown - 🆕 Add Dropdown `classNames.menu` and `styles.menu` to customize the dropdown menu root element. [#58979](https://github.com/ant-design/ant-design/pull/58979) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Dropdown unexpectedly scrolling when `autoFocus` focuses the menu. [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/dropdown#271](https://github.com/react-component/dropdown/pull/271) [@github-actions](https://github.com/apps/github-actions) [@lkxdsb](https://github.com/lkxdsb) - Form - 🆕 Add Form and Form.Item `labelAlign` values `start` / `end` for label alignment that follows text direction, while retaining and deprecating legacy `left` / `right` values. [#59760](https://github.com/ant-design/ant-design/pull/59760) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Form.Item `noStyle` fields losing the parent `validateStatus` after being edited. [#59708](https://github.com/ant-design/ant-design/pull/59708) [@nikzanda](https://github.com/nikzanda) - Input - ⌨️ Improve Input.OTP accessibility with localized cell names through `locale.Input.otpCell` and `aria-invalid` on each input cell. [#59722](https://github.com/ant-design/ant-design/pull/59722) [@droduit](https://github.com/droduit) - 🐞 Fix Input.Search applying `rootClassName` to the inner input instead of the root element. [#59582](https://github.com/ant-design/ant-design/pull/59582) [@Chaoqi31](https://github.com/Chaoqi31) - Menu - 🐞 Fix Menu parent submenu selection styles not updating after items load dynamically. [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/menu#895](https://github.com/react-component/menu/pull/895) [@github-actions](https://github.com/apps/github-actions) [@dogledogle](https://github.com/dogledogle) - 🐞 Fix Menu submenu Escape navigation also closing the surrounding popup. [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/menu#899](https://github.com/react-component/menu/pull/899) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - Slider - ⌨️ Add Slider `ariaDescribedByForHandle` prop to associate handles with accessible descriptions. [#59110](https://github.com/ant-design/ant-design/pull/59110) [@yoyo837](https://github.com/yoyo837) - 🐞 Fix Slider failing to finish dragging when an ancestor stops `mouseup` propagation and potentially throwing when its container becomes unavailable during dragging. [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/slider#1089](https://github.com/react-component/slider/pull/1089) [react-component/slider#1087](https://github.com/react-component/slider/pull/1087) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - Splitter - ⌨️ Improve Splitter collapse controls with localized accessible names and custom icon `aria-label` overrides. [#58978](https://github.com/ant-design/ant-design/pull/58978) [@thlovey](https://github.com/thlovey) - 🐞 Fix Splitter remaining in a dragging state after a touch gesture is cancelled. [#59712](https://github.com/ant-design/ant-design/pull/59712) [@Aminark](https://github.com/Aminark) - Tabs - 🆕 Add Tabs `more.open` and `more.onOpenChange` to control the overflow menu, retaining and deprecating `more.visible` and `more.onVisibleChange`. [#59259](https://github.com/ant-design/ant-design/pull/59259) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Tabs `moreIcon` being overridden by ConfigProvider `tabs.more.icon` and `tabs.moreIcon`. [#59690](https://github.com/ant-design/ant-design/pull/59690) [@nikzanda](https://github.com/nikzanda) - Upload - 🐞 Fix Upload incorrectly detecting image thumbnails when URL query parameters or fragments contain slashes. [#59649](https://github.com/ant-design/ant-design/pull/59649) [@Aminark](https://github.com/Aminark) - 🐞 Fix Upload not triggering `onFocus` when focus enters select, drag, and picture-card layouts. [#59002](https://github.com/ant-design/ant-design/pull/59002) [@nrps9909](https://github.com/nrps9909) - ⌨️ Improve Collapse accessibility with Space key activation without page scrolling and `aria-controls` linking expanded headers to their panels. [#59771](https://github.com/ant-design/ant-design/pull/59771) [@yoyo837](https://github.com/yoyo837) - 🐞 Fix Card `tabProps.onChange` not being triggered when switching tabs. [#59655](https://github.com/ant-design/ant-design/pull/59655) [@dogledogle](https://github.com/dogledogle) - 🐞 Fix Tooltip and Popover text shifting after the opening motion. [#59729](https://github.com/ant-design/ant-design/pull/59729) [@th74100](https://github.com/th74100) - 🐞 Fix `theme.getDesignToken` failing to retrieve Design Token when `algorithm` is an empty array. [#59695](https://github.com/ant-design/ant-design/pull/59695) [@nikzanda](https://github.com/nikzanda) - 🐞 Fix numeric `0` being ignored in Input prefixes, suffixes, and clear icons, Mentions suffixes, Cascader expand and loading icons, and Pagination custom navigation items or icons. [#59548](https://github.com/ant-design/ant-design/pull/59548) [#59566](https://github.com/ant-design/ant-design/pull/59566) [#58604](https://github.com/ant-design/ant-design/pull/58604) [@QDyanbing](https://github.com/QDyanbing) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🐞 Fix Checkbox and Radio unexpectedly closing Tooltip when the pointer moves from the control to its text, and Radio incorrectly firing `onMouseEnter` and `onMouseLeave`. [#59701](https://github.com/ant-design/ant-design/pull/59701) [#59699](https://github.com/ant-design/ant-design/pull/59699) [@nikzanda](https://github.com/nikzanda) - 🐞 Fix Statistic displaying exponential notation and ignoring `precision` and separators for very small or very large numbers. [#59693](https://github.com/ant-design/ant-design/pull/59693) [@RaphaelFakhri](https://github.com/RaphaelFakhri) - 🐞 Fix TreeSelect ignoring ConfigProvider `className` and `style`, and root `classNames` and `styles` incorrectly affecting the popup. [#59343](https://github.com/ant-design/ant-design/pull/59343) [@dogledogle](https://github.com/dogledogle) - 🌐 Add German, French, and Italian translations for the clear button's accessible name in Input, Select, and related components. [#59723](https://github.com/ant-design/ant-design/pull/59723) [@droduit](https://github.com/droduit) --- - 🆕 新增 Button、Tag、Steps、Alert 和 Timeline 对 ConfigProvider 全局 `variant` 的支持,并支持通过 `divider.variant` 统一设置 Divider 的分割线样式。 [#59589](https://github.com/ant-design/ant-design/pull/59589) [#59588](https://github.com/ant-design/ant-design/pull/59588) [#59578](https://github.com/ant-design/ant-design/pull/59578) [#59577](https://github.com/ant-design/ant-design/pull/59577) [#59587](https://github.com/ant-design/ant-design/pull/59587) [#59576](https://github.com/ant-design/ant-design/pull/59576) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 DatePicker、TimePicker、Select、AutoComplete、Cascader 和 TreeSelect 的 `suffix` 属性,用于自定义后缀内容;选择类组件支持根据状态动态渲染。`suffixIcon` 保持兼容并废弃,请迁移至 `suffix`。 [#59240](https://github.com/ant-design/ant-design/pull/59240) [#59185](https://github.com/ant-design/ant-design/pull/59185) [@QDyanbing](https://github.com/QDyanbing) [@meet-student](https://github.com/meet-student) - 🆕 新增 Input、Input.TextArea、Mentions、InputNumber、Select、AutoComplete、TreeSelect、Cascader、DatePicker 和 TimePicker 的 `allowClear.tabIndex`;Input、Input.TextArea、Mentions、DatePicker 和 TimePicker 新增 `allowClear.label`,支持设置清除按钮的 Tab 顺序和无障碍名称,并按字段继承 ConfigProvider 配置。 [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59567](https://github.com/ant-design/ant-design/pull/59567) [#59548](https://github.com/ant-design/ant-design/pull/59548) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 App 在 React 19.3 及以上版本使用 `component={false}` 时的 Fragment `ref` 支持。 [#59281](https://github.com/ant-design/ant-design/pull/59281) [@li-jia-nan](https://github.com/li-jia-nan) - 🆕 新增 BorderBeam `items` 属性,可分别设置每束光的 `color`、`lineWidth`、`outset` 和 `size`,并由数组长度决定光束数量。 [#59095](https://github.com/ant-design/ant-design/pull/59095) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 Cascader 的 `checkStrictly` 属性,支持在多选模式下独立勾选父子选项。 [#59566](https://github.com/ant-design/ant-design/pull/59566) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 Cascader、TreeSelect 和 AutoComplete 的 ConfigProvider `allowClear` 全局配置,可分别统一设置清除按钮。 [#59593](https://github.com/ant-design/ant-design/pull/59593) [#59592](https://github.com/ant-design/ant-design/pull/59592) [#59591](https://github.com/ant-design/ant-design/pull/59591) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 Checkbox.Group 和 Radio.Group 的 `classNames` 和 `styles`,可自定义组容器、选项、图标和文本的样式。 [#59058](https://github.com/ant-design/ant-design/pull/59058) [#59059](https://github.com/ant-design/ant-design/pull/59059) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 InputNumber `allowClear` 和 `onClear`,可一键清空数值,并自定义清除图标、禁用状态及无障碍名称。 [#59251](https://github.com/ant-design/ant-design/pull/59251) [@nikzanda](https://github.com/nikzanda) - 🆕 新增 Space `align="stretch"`,使子元素沿交叉轴拉伸对齐。 [#59005](https://github.com/ant-design/ant-design/pull/59005) [@dogledogle](https://github.com/dogledogle) - 🆕 新增 Typography `shimmer` 属性,为文本显示流光效果,可通过 `duration` 分别设置动画和等待时长。 [#59054](https://github.com/ant-design/ant-design/pull/59054) [@zombieJ](https://github.com/zombieJ) - 🛠 统一 Input、Input.TextArea、Mentions、InputNumber、Select、AutoComplete、TreeSelect、Cascader、DatePicker 和 TimePicker 的 `allowClear.disabled` 行为,设置为 `true` 时移除清除按钮,与 `allowClear={false}` 保持一致。 [#59548](https://github.com/ant-design/ant-design/pull/59548) [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59567](https://github.com/ant-design/ant-design/pull/59567) [@QDyanbing](https://github.com/QDyanbing) - 💄 调整 Alert 容器圆角组件 Token,将 `borderRadius` 替换为 `containerBorderRadius`,自定义容器圆角时需使用新 Token。 [#59305](https://github.com/ant-design/ant-design/pull/59305) [@MadCcc](https://github.com/MadCcc) - DatePicker - 🆕 新增 DatePicker 和 TimePicker `components.nowButton` 和 `components.okButton`,支持分别自定义底部的“今天/此刻”按钮和确认按钮。旧的 `components.button` 保持兼容并废弃。 [#59778](https://github.com/ant-design/ant-design/pull/59778) [@yoyo837](https://github.com/yoyo837) - ⌨️ 增强 DatePicker 和 TimePicker 的键盘与读屏支持,时间面板支持方向键切换、Enter/Space 确认并跳过禁用选项,底部“今天/此刻”按钮支持键盘操作和原生禁用状态。 [#59778](https://github.com/ant-design/ant-design/pull/59778) [#59367](https://github.com/ant-design/ant-design/pull/59367) [@yoyo837](https://github.com/yoyo837) - 🐞 修复 DatePicker 和 TimePicker 在 `allowClear` 对象未指定 `clearIcon` 时忽略 `clearIcon` 配置的问题。 [#59565](https://github.com/ant-design/ant-design/pull/59565) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 DatePicker、TimePicker 和 Calendar 在 Node 原生 ESM 环境下的依赖导入兼容性。 [#59261](https://github.com/ant-design/ant-design/pull/59261) [@zombieJ](https://github.com/zombieJ) - 🐞 修复 DatePicker 使用 Day.js 时,组件语言与全局语言不一致导致本地化月份等日期输入无法解析的问题。 [#59240](https://github.com/ant-design/ant-design/pull/59240) [@QDyanbing](https://github.com/QDyanbing) - 🌐 修正 DatePicker `zh_TW` 的选周用语。 [#59261](https://github.com/ant-design/ant-design/pull/59261) [@zombieJ](https://github.com/zombieJ) - Select - 🆕 新增 Select `autoComplete` 属性和 ConfigProvider `select.autoComplete` 配置,用于设置搜索输入框的浏览器自动补全行为。 [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59632](https://github.com/ant-design/ant-design/pull/59632) [@QDyanbing](https://github.com/QDyanbing) - ⌨️ 优化 Select、Cascader、TreeSelect 和 AutoComplete 的屏幕阅读器体验,隐藏默认装饰性箭头、搜索和加载图标,避免重复朗读。 [#59709](https://github.com/ant-design/ant-design/pull/59709) [@droduit](https://github.com/droduit) - ⌨️ 增强 Select、Cascader 和 TreeSelect 清除按钮的键盘可访问性,聚焦时显示按钮及焦点轮廓,并使用本地化无障碍名称。 [#58267](https://github.com/ant-design/ant-design/pull/58267) [@Pareder](https://github.com/Pareder) - ⌨️ 修复 Select 和 AutoComplete 在虚拟滚动模式下无法正确播报选项位置、总数及分组的问题。 [#58993](https://github.com/ant-design/ant-design/pull/58993) [@yoyo837](https://github.com/yoyo837) - Table - 🆕 新增 Table 的 `expandable.showExpandAll` 和 `expandable.onExpandAll`,支持使用 `expandedRowRender` 时一键展开或收起当前页的所有可展开行。 [#59036](https://github.com/ant-design/ant-design/pull/59036) [@nikzanda](https://github.com/nikzanda) - 🆕 新增 Table `components.ExpandIcon` 和 `expandable.columnTitle` 渲染函数,支持自定义行展开及全部展开按钮;兼容并废弃 `expandable.expandIcon`,请迁移至 `components.ExpandIcon`。 [#59036](https://github.com/ant-design/ant-design/pull/59036) [@nikzanda](https://github.com/nikzanda) - ⌨️ 增强 Table 行选择的可访问性,使用本地化无障碍名称,并支持通过键盘打开自定义选择菜单。 [#58969](https://github.com/ant-design/ant-design/pull/58969) [@thlovey](https://github.com/thlovey) - ⚡️ 优化 Table 对深层树形数据同时应用多个列筛选条件时的性能,避免重复递归筛选。 [#59719](https://github.com/ant-design/ant-design/pull/59719) [@Aminark](https://github.com/Aminark) - Tree - 💄 优化 Tree 非勾选模式下 `selectable={false}` 节点的样式,显示禁用文本色和光标,并取消悬停高亮。 [#58906](https://github.com/ant-design/ant-design/pull/58906) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🐞 修复 Tree 的 `expandedKeys`、`selectedKeys` 等显式为 `undefined` 时默认值及非受控交互失效的问题。 [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - 🐞 修复 Tree 标题内子元素获得焦点时列表意外滚动的问题。 [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - 🐞 修复 Tree 拖拽到嵌套首个子节点前方时目标错误、自定义拖拽文本被覆盖,以及卸载后仍触发悬停展开的问题。 [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - Listy - 🆕 新增 Listy `rowKey` 回调的第二个参数 `index`,便于根据行下标生成标识。 [#59347](https://github.com/ant-design/ant-design/pull/59347) [@aojunhao123](https://github.com/aojunhao123) - 🆕 新增 Listy `rowHoverable` 属性,用于关闭列表行的悬停高亮。 [#59273](https://github.com/ant-design/ant-design/pull/59273) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 Listy `scrollWidth` 属性,使虚拟列表内容超出容器时可横向滚动。 [#59197](https://github.com/ant-design/ant-design/pull/59197) [@aojunhao123](https://github.com/aojunhao123) - Pagination - 🆕 新增 Pagination `onChange` 可选的第三个参数 `info`,通过 `info.recommendPage` 在每页条数变化时提供推荐页码,便于保留当前数据位置;Table 和 List 的 `pagination.onChange` 同步支持。 [#58604](https://github.com/ant-design/ant-design/pull/58604) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - ♿ 优化 Pagination 的列表语义以及分页按钮的键盘操作和禁用状态识别。 [#58604](https://github.com/ant-design/ant-design/pull/58604) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🌐 修正 Pagination 亚美尼亚语(`hy_AM`)、阿尔巴尼亚语(`sq_AL`)、尼泊尔语(`ne_NP`)和繁体中文(`zh_TW`)的分页及每页条数文案。 [#59500](https://github.com/ant-design/ant-design/pull/59500) [#59499](https://github.com/ant-design/ant-design/pull/59499) [#58604](https://github.com/ant-design/ant-design/pull/58604) [@yoyo837](https://github.com/yoyo837) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - Button - 🐞 修复 Button 设置 `href` 时 `tabIndex` 不生效的问题。 [#59732](https://github.com/ant-design/ant-design/pull/59732) [@nikzanda](https://github.com/nikzanda) - 🐞 修复 Button 未指定 `color` 时无法使用 ConfigProvider 组件级非 `solid` 变体的问题。 [#59589](https://github.com/ant-design/ant-design/pull/59589) [@QDyanbing](https://github.com/QDyanbing) - ColorPicker - 🆕 新增 ColorPicker `styles.popup.container` 和 `classNames.popup.container`,支持自定义弹出面板内容容器;废弃 `styles.popupOverlayInner` 并保留兼容至 v7。 [#59743](https://github.com/ant-design/ant-design/pull/59743) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 ColorPicker 在 `styles` 为函数或通过 ConfigProvider 配置时 `styles.popupOverlayInner` 不生效的问题。 [#59743](https://github.com/ant-design/ant-design/pull/59743) [@QDyanbing](https://github.com/QDyanbing) - Dropdown - 🆕 新增 Dropdown `classNames.menu` 和 `styles.menu`,用于自定义下拉菜单根元素的样式。 [#58979](https://github.com/ant-design/ant-design/pull/58979) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Dropdown 启用 `autoFocus` 时自动聚焦菜单导致意外滚动的问题。 [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/dropdown#271](https://github.com/react-component/dropdown/pull/271) [@github-actions](https://github.com/apps/github-actions) [@lkxdsb](https://github.com/lkxdsb) - Form - 🆕 新增 Form 和 Form.Item `labelAlign` 对逻辑方向 `start` / `end` 的支持,使标签对齐方式随书写方向调整;兼容并废弃旧值 `left` / `right`。 [#59760](https://github.com/ant-design/ant-design/pull/59760) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Form.Item `noStyle` 字段在编辑后丢失父级 `validateStatus` 的问题。 [#59708](https://github.com/ant-design/ant-design/pull/59708) [@nikzanda](https://github.com/nikzanda) - Input - ⌨️ 优化 Input.OTP 的无障碍体验,支持通过 `locale.Input.otpCell` 本地化每个输入格的名称,并在输入格上标记 `aria-invalid`。 [#59722](https://github.com/ant-design/ant-design/pull/59722) [@droduit](https://github.com/droduit) - 🐞 修复 Input.Search 的 `rootClassName` 被添加到内部输入框而不是根节点的问题。 [#59582](https://github.com/ant-design/ant-design/pull/59582) [@Chaoqi31](https://github.com/Chaoqi31) - Menu - 🐞 修复 Menu 动态加载菜单项后父级子菜单未更新选中样式的问题。 [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/menu#895](https://github.com/react-component/menu/pull/895) [@github-actions](https://github.com/apps/github-actions) [@dogledogle](https://github.com/dogledogle) - 🐞 修复 Menu 子菜单按 Escape 返回父级时连带关闭外层弹层的问题。 [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/menu#899](https://github.com/react-component/menu/pull/899) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - Slider - ⌨️ 新增 Slider `ariaDescribedByForHandle` 属性,为滑块关联额外的无障碍说明。 [#59110](https://github.com/ant-design/ant-design/pull/59110) [@yoyo837](https://github.com/yoyo837) - 🐞 修复 Slider 在祖先元素阻止 `mouseup` 冒泡时无法结束拖拽,以及拖拽过程中容器暂不可用时可能报错的问题。 [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/slider#1089](https://github.com/react-component/slider/pull/1089) [react-component/slider#1087](https://github.com/react-component/slider/pull/1087) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - Splitter - ⌨️ 增强 Splitter 折叠控件的本地化无障碍名称,并允许通过自定义图标的 `aria-label` 覆盖默认名称。 [#58978](https://github.com/ant-design/ant-design/pull/58978) [@thlovey](https://github.com/thlovey) - 🐞 修复 Splitter 在触摸操作被取消后仍保留拖拽状态的问题。 [#59712](https://github.com/ant-design/ant-design/pull/59712) [@Aminark](https://github.com/Aminark) - Tabs - 🆕 新增 Tabs `more.open`、`more.onOpenChange`,用于控制溢出菜单展开状态;兼容并废弃 `more.visible`、`more.onVisibleChange`。 [#59259](https://github.com/ant-design/ant-design/pull/59259) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Tabs 的 `moreIcon` 被 ConfigProvider 的 `tabs.more.icon` 和 `tabs.moreIcon` 覆盖的问题。 [#59690](https://github.com/ant-design/ant-design/pull/59690) [@nikzanda](https://github.com/nikzanda) - Upload - 🐞 修复 Upload 在 URL 查询参数或锚点包含斜杠时误判图片缩略图的问题。 [#59649](https://github.com/ant-design/ant-design/pull/59649) [@Aminark](https://github.com/Aminark) - 🐞 修复 Upload 在焦点进入选择、拖拽及图片卡片布局时未触发 `onFocus` 回调的问题。 [#59002](https://github.com/ant-design/ant-design/pull/59002) [@nrps9909](https://github.com/nrps9909) - ⌨️ 改进 Collapse 无障碍体验,支持按空格键切换面板且不滚动页面,并通过 `aria-controls` 关联展开的标题与面板内容。 [#59771](https://github.com/ant-design/ant-design/pull/59771) [@yoyo837](https://github.com/yoyo837) - 🐞 修复 Card 的 `tabProps.onChange` 在切换页签时不触发的问题。 [#59655](https://github.com/ant-design/ant-design/pull/59655) [@dogledogle](https://github.com/dogledogle) - 🐞 修复 Tooltip 和 Popover 在打开动画结束后文字发生位移的问题。 [#59729](https://github.com/ant-design/ant-design/pull/59729) [@th74100](https://github.com/th74100) - 🐞 修复 `theme.getDesignToken` 在 `algorithm` 为空数组时无法获取 Design Token 的问题。 [#59695](https://github.com/ant-design/ant-design/pull/59695) [@nikzanda](https://github.com/nikzanda) - 🐞 修复 Input 的前缀、后缀和清除图标、Mentions 的后缀、Cascader 的展开和加载图标,以及 Pagination 的自定义导航项或图标为数字 `0` 时被忽略的问题。 [#59548](https://github.com/ant-design/ant-design/pull/59548) [#59566](https://github.com/ant-design/ant-design/pull/59566) [#58604](https://github.com/ant-design/ant-design/pull/58604) [@QDyanbing](https://github.com/QDyanbing) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🐞 修复 Checkbox 和 Radio 在鼠标从选框移到文字时意外关闭 Tooltip 的问题,并修复 Radio 错误触发 `onMouseEnter` 和 `onMouseLeave` 的问题。 [#59701](https://github.com/ant-design/ant-design/pull/59701) [#59699](https://github.com/ant-design/ant-design/pull/59699) [@nikzanda](https://github.com/nikzanda) - 🐞 修复 Statistic 在数值极小或极大时显示科学计数法,且 `precision` 与分隔符不生效的问题。 [#59693](https://github.com/ant-design/ant-design/pull/59693) [@RaphaelFakhri](https://github.com/RaphaelFakhri) - 🐞 修复 TreeSelect 未应用 ConfigProvider 的全局 `className`、`style`,以及根节点 `classNames`、`styles` 错误影响下拉弹层的问题。 [#59343](https://github.com/ant-design/ant-design/pull/59343) [@dogledogle](https://github.com/dogledogle) - 🌐 新增 Input、Select 等组件清除按钮无障碍名称的德语、法语和意大利语翻译。 [#59723](https://github.com/ant-design/ant-design/pull/59723) [@droduit](https://github.com/droduit)
-
6.6.8
GitHub ↗
Original release notes
- Modal - 🐞 Fix Modal and Popconfirm custom button `onClick` handlers preventing confirmation or cancellation callbacks from running. [#59294](https://github.com/ant-design/ant-design/pull/59294) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Modal confirmation content styles not applying the `colorText`, `fontSize`, and `lineHeight` tokens. [#59627](https://github.com/ant-design/ant-design/pull/59627) [@QDyanbing](https://github.com/QDyanbing) - Pagination - ⌨️ Fix Pagination focus indicators and jump icons not appearing when an inner link or button receives keyboard focus. [#59573](https://github.com/ant-design/ant-design/pull/59573) [@yoyo837](https://github.com/yoyo837) - 🐞 Fix Pagination accidentally selecting text or blank areas after repeatedly clicking jump buttons. [#59638](https://github.com/ant-design/ant-design/pull/59638) [@Ye-YiChen](https://github.com/Ye-YiChen) - 🐞 Fix Message blocking pointer events on underlying elements outside the message content. [#59622](https://github.com/ant-design/ant-design/pull/59622) [@th74100](https://github.com/th74100) - 🐞 Fix Upload preview tasks remaining pending and leaking memory when images fail to decode. [#59583](https://github.com/ant-design/ant-design/pull/59583) [@dogledogle](https://github.com/dogledogle) - 🐞 Fix Card title margins not being reset when using Typography.Title as the title. [#59613](https://github.com/ant-design/ant-design/pull/59613) [@QDyanbing](https://github.com/QDyanbing) - 💄 Fix Listy virtual scrollbars not using the `colorSplit` token for their background color. [#59643](https://github.com/ant-design/ant-design/pull/59643) [@th74100](https://github.com/th74100) - ♿ Fix Progress `aria-valuenow` reporting `success.percent` instead of the overall `percent` and exceeding the 0–100 range. [#59634](https://github.com/ant-design/ant-design/pull/59634) [@Enesuygurs](https://github.com/Enesuygurs) - 🤖 Fix List `dataSource` types not accepting readonly arrays. [#59642](https://github.com/ant-design/ant-design/pull/59642) [@oovz](https://github.com/oovz) --- - Modal - 🐞 修复 Modal 和 Popconfirm 自定义按钮 `onClick` 导致确认或取消回调失效的问题。[#59294](https://github.com/ant-design/ant-design/pull/59294) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Modal 确认框正文的 `colorText`、`fontSize` 和 `lineHeight` token 样式未生效的问题。[#59627](https://github.com/ant-design/ant-design/pull/59627) [@QDyanbing](https://github.com/QDyanbing) - Pagination - ⌨️ 修复 Pagination 内部链接或按钮获得键盘焦点时,焦点样式和跳页图标不显示的问题。[#59573](https://github.com/ant-design/ant-design/pull/59573) [@yoyo837](https://github.com/yoyo837) - 🐞 修复 Pagination 连续点击跳页按钮后意外选中文字或空白区域的问题。[#59638](https://github.com/ant-design/ant-design/pull/59638) [@Ye-YiChen](https://github.com/Ye-YiChen) - 🐞 修复 Message 消息内容外的区域阻挡下方元素鼠标事件的问题。[#59622](https://github.com/ant-design/ant-design/pull/59622) [@th74100](https://github.com/th74100) - 🐞 修复 Upload 图片解码失败时预览任务一直未完成并泄漏内存的问题。[#59583](https://github.com/ant-design/ant-design/pull/59583) [@dogledogle](https://github.com/dogledogle) - 🐞 修复 Card 使用 Typography.Title 作为标题时外边距未重置的问题。[#59613](https://github.com/ant-design/ant-design/pull/59613) [@QDyanbing](https://github.com/QDyanbing) - 💄 修复 Listy 虚拟滚动条背景色未使用 `colorSplit` token 的问题。[#59643](https://github.com/ant-design/ant-design/pull/59643) [@th74100](https://github.com/th74100) - ♿ 修复 Progress 的 `aria-valuenow` 错误使用 `success.percent` 而非整体 `percent`,以及取值超出 0–100 范围的问题。[#59634](https://github.com/ant-design/ant-design/pull/59634) [@Enesuygurs](https://github.com/Enesuygurs) - 🤖 修复 List 的 `dataSource` 类型不支持只读数组的问题。[#59642](https://github.com/ant-design/ant-design/pull/59642) [@oovz](https://github.com/oovz)
-
6.6.7
GitHub ↗
Original release notes
- 🐞 Fix antd failing to load in some production builds when the React version export is unavailable. [#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#810](https://github.com/react-component/util/pull/810) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 Fix Button, Form, Slider, Typography, and Upload triggering delayed state updates after unmounting. [#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#806](https://github.com/react-component/util/pull/806) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 Fix Select, TreeSelect, Cascader, and Mentions `popupRender` content inheriting Form.Item validation status and feedback icons. [#59463](https://github.com/ant-design/ant-design/pull/59463) [@huytdps13400](https://github.com/huytdps13400) - 🐞 Fix Popover and Popconfirm preset `color` not applying to the panel background. [#59549](https://github.com/ant-design/ant-design/pull/59549) [@dogledogle](https://github.com/dogledogle) - Form - 🐞 Fix Form custom `shouldUpdate` comparisons missing updates when nested fields with `preserve={false}` are unmounted. [#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#807](https://github.com/react-component/util/pull/807) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 Fix Form.Item incorrectly removing a trailing `|` from a string `label` when displaying a colon. [#59599](https://github.com/ant-design/ant-design/pull/59599) [@wfatih](https://github.com/wfatih) - ⌨️ Fix Form.Item not associating warning-only messages with the control through `aria-describedby`. [#59443](https://github.com/ant-design/ant-design/pull/59443) [@Chaoqi31](https://github.com/Chaoqi31) - Input - 🐞 Fix Input.OTP losing valid characters when pasting text with a filtering `formatter`. [#59580](https://github.com/ant-design/ant-design/pull/59580) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 Fix Input.OTP ignoring `rootClassName` on the root element. [#59439](https://github.com/ant-design/ant-design/pull/59439) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 Fix Input.OTP not rendering a numeric `0` as the `separator`. [#59518](https://github.com/ant-design/ant-design/pull/59518) [@Ye-YiChen](https://github.com/Ye-YiChen) - Table - 🐞 Fix Table selection menu skipping current-page tree descendants when inverting selection and deselecting disabled rows on other pages when clearing selections. [#59570](https://github.com/ant-design/ant-design/pull/59570) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 Fix Table sorted fixed header hover background and the `fixedHeaderSortActiveBg` token not taking effect. [#59554](https://github.com/ant-design/ant-design/pull/59554) [@dogledogle](https://github.com/dogledogle) - ColorPicker - 🐞 Fix ColorPicker applying RTL styles when ConfigProvider `direction` is `ltr`. [#59441](https://github.com/ant-design/ant-design/pull/59441) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 Fix ColorPicker number input control button width. [#59538](https://github.com/ant-design/ant-design/pull/59538) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix nested Descriptions being affected by the outer component's borders, spacing, and cell layout. [#59547](https://github.com/ant-design/ant-design/pull/59547) [@xushanpei](https://github.com/xushanpei) - 🐞 Fix Progress line ignoring string widths in `size`, such as `['50%', 20]`, and always filling the container. [#59597](https://github.com/ant-design/ant-design/pull/59597) [@wfatih](https://github.com/wfatih) - 🐞 Fix Tooltip failing to limit panel corner radius to 8px for left and right placements when the `borderRadius` token exceeds 8. [#59568](https://github.com/ant-design/ant-design/pull/59568) [@dogledogle](https://github.com/dogledogle) - 🐞 Fix Popconfirm `onPopupClick` firing twice for a single click inside the popup content. [#59440](https://github.com/ant-design/ant-design/pull/59440) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 Fix Upload extra content styles when `showUploadList.extra` is `0` or returns `0`. [#59438](https://github.com/ant-design/ant-design/pull/59438) [@Chaoqi31](https://github.com/Chaoqi31) - ♿ Fix Typography duplicate button semantics for the default edit icon. [#59112](https://github.com/ant-design/ant-design/pull/59112) [@nrps9909](https://github.com/nrps9909) - ⚡️ Improve Transfer source list rendering performance. [#59524](https://github.com/ant-design/ant-design/pull/59524) [@QDyanbing](https://github.com/QDyanbing) --- - 🐞 修复 antd 在部分生产构建中因 React 版本信息缺失而加载失败的问题。[#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#810](https://github.com/react-component/util/pull/810) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 修复 Button、Form、Slider、Typography 和 Upload 在卸载后仍触发延迟状态更新的问题。[#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#806](https://github.com/react-component/util/pull/806) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 修复 Select、TreeSelect、Cascader 和 Mentions 的 `popupRender` 内容继承 Form.Item 校验状态和反馈图标的问题。[#59463](https://github.com/ant-design/ant-design/pull/59463) [@huytdps13400](https://github.com/huytdps13400) - 🐞 修复 Popover 和 Popconfirm 设置预设 `color` 后面板背景色不生效的问题。[#59549](https://github.com/ant-design/ant-design/pull/59549) [@dogledogle](https://github.com/dogledogle) - Form - 🐞 修复 Form 嵌套字段设置 `preserve={false}` 后卸载时,自定义 `shouldUpdate` 判断可能无法更新关联内容的问题。[#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#807](https://github.com/react-component/util/pull/807) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 修复 Form.Item 显示冒号时误删字符串 `label` 末尾 `|` 的问题。[#59599](https://github.com/ant-design/ant-design/pull/59599) [@wfatih](https://github.com/wfatih) - ⌨️ 修复 Form.Item 仅有警告信息时未通过 `aria-describedby` 关联到控件的问题。[#59443](https://github.com/ant-design/ant-design/pull/59443) [@Chaoqi31](https://github.com/Chaoqi31) - Input - 🐞 修复 Input.OTP 使用过滤型 `formatter` 时粘贴文本会丢失有效字符的问题。[#59580](https://github.com/ant-design/ant-design/pull/59580) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 修复 Input.OTP 根节点未应用 `rootClassName` 的问题。[#59439](https://github.com/ant-design/ant-design/pull/59439) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 修复 Input.OTP 无法渲染数值 `0` 作为 `separator` 的问题。[#59518](https://github.com/ant-design/ant-design/pull/59518) [@Ye-YiChen](https://github.com/Ye-YiChen) - Table - 🐞 修复 Table 选择菜单反选时遗漏当前页树形子节点,以及清空选择时取消其他页禁用行选中状态的问题。[#59570](https://github.com/ant-design/ant-design/pull/59570) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 修复 Table 固定排序表头悬停背景异常及 `fixedHeaderSortActiveBg` token 不生效的问题。[#59554](https://github.com/ant-design/ant-design/pull/59554) [@dogledogle](https://github.com/dogledogle) - ColorPicker - 🐞 修复 ConfigProvider 的 `direction` 为 `ltr` 时 ColorPicker 仍应用 RTL 样式的问题。[#59441](https://github.com/ant-design/ant-design/pull/59441) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 修复 ColorPicker 数值输入框操作按钮宽度异常的问题。[#59538](https://github.com/ant-design/ant-design/pull/59538) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复嵌套 Descriptions 受到外层组件边框、间距和单元格布局影响的问题。[#59547](https://github.com/ant-design/ant-design/pull/59547) [@xushanpei](https://github.com/xushanpei) - 🐞 修复 Progress 线形进度条 `size` 传入字符串宽度(如 `['50%', 20]`)时不生效、始终撑满容器的问题。[#59597](https://github.com/ant-design/ant-design/pull/59597) [@wfatih](https://github.com/wfatih) - 🐞 修复 Tooltip 的 `borderRadius` token 大于 8 时,左右侧弹层圆角未限制为 8px 的问题。[#59568](https://github.com/ant-design/ant-design/pull/59568) [@dogledogle](https://github.com/dogledogle) - 🐞 修复点击 Popconfirm 弹层内容时 `onPopupClick` 被触发两次的问题。[#59440](https://github.com/ant-design/ant-design/pull/59440) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 修复 Upload 的 `showUploadList.extra` 为 `0` 或返回 `0` 时额外内容样式未生效的问题。[#59438](https://github.com/ant-design/ant-design/pull/59438) [@Chaoqi31](https://github.com/Chaoqi31) - ♿ 修复 Typography 默认编辑图标暴露重复按钮语义的问题。[#59112](https://github.com/ant-design/ant-design/pull/59112) [@nrps9909](https://github.com/nrps9909) - ⚡️ 优化 Transfer 左侧列表的渲染性能。[#59524](https://github.com/ant-design/ant-design/pull/59524) [@QDyanbing](https://github.com/QDyanbing)
-
6.6.6
GitHub ↗
Original release notes
- Table - 🐞 Fix Table selection menu's "Select all data" option missing descendant rows in tree data. [#59342](https://github.com/ant-design/ant-design/pull/59342) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Table `rowSelection` `onSelect` returning `undefined` for preserved keys when `preserveSelectedRowKeys` is enabled. [#59449](https://github.com/ant-design/ant-design/pull/59449) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 Fix Table `column.filterDropdownProps.popupRender` not working. [#59393](https://github.com/ant-design/ant-design/pull/59393) [@ramen2020](https://github.com/ramen2020) - 🐞 Fix Table not scrolling to the first row when `scroll` is configured only in ConfigProvider. [#59394](https://github.com/ant-design/ant-design/pull/59394) [@ramen2020](https://github.com/ramen2020) - 🐞 Fix Table selection column `z-index` not applying with fixed columns after the v6 logical property migration. [#58609](https://github.com/ant-design/ant-design/pull/58609) [@leshalv](https://github.com/leshalv) - Transfer - 🐞 Fix Transfer `selectAllLabels` falling back to default counts when set to numeric `0`. [#59487](https://github.com/ant-design/ant-design/pull/59487) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix controlled Transfer selection remaining checked after one-way removal. [#59428](https://github.com/ant-design/ant-design/pull/59428) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 Fix Transfer Shift selection affecting filtered-out items and selecting incorrect ranges after search results change. [#59348](https://github.com/ant-design/ant-design/pull/59348) [@QDyanbing](https://github.com/QDyanbing) - Tree - 🐞 Fix Tree.DirectoryTree Shift range selection with numeric keys and `defaultExpandAll`. [#59375](https://github.com/ant-design/ant-design/pull/59375) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Tree.DirectoryTree incorrectly selecting nodes with `selectable: false` or `disabled: true` during Shift range selection. [#59341](https://github.com/ant-design/ant-design/pull/59341) [@QDyanbing](https://github.com/QDyanbing) - Carousel - 🐞 Fix Carousel reversing vertical slide order in RTL when `dotPlacement` makes the carousel vertical. [#59436](https://github.com/ant-design/ant-design/pull/59436) [@Chaoqi31](https://github.com/Chaoqi31) - 🤖 Fix Carousel types exposing the ignored `verticalSwiping` prop. [#59366](https://github.com/ant-design/ant-design/pull/59366) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix numeric `0` content rendering across List, Divider, and Drawer. [#59118](https://github.com/ant-design/ant-design/pull/59118) [#59517](https://github.com/ant-design/ant-design/pull/59517) [#59437](https://github.com/ant-design/ant-design/pull/59437) [@nrps9909](https://github.com/nrps9909) [@Ye-YiChen](https://github.com/Ye-YiChen) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 Fix Notification timers not resuming after closing hovered notices. [#59435](https://github.com/ant-design/ant-design/pull/59435) [@zombieJ](https://github.com/zombieJ) - 🐞 Fix DatePicker and TimePicker RangePicker not applying ConfigProvider `locale.DatePicker`. [#59356](https://github.com/ant-design/ant-design/pull/59356) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix TreeSelect and Mentions calling `renderEmpty` with `Select` instead of their component names. [#59364](https://github.com/ant-design/ant-design/pull/59364) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix AutoComplete incorrectly inheriting `allowClear` from ConfigProvider `select`. [#59358](https://github.com/ant-design/ant-design/pull/59358) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Upload ignoring `linkProps.onClick` when clicking a file name link. [#59324](https://github.com/ant-design/ant-design/pull/59324) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Input.OTP focus landing on the wrong cell after paste. [#59479](https://github.com/ant-design/ant-design/pull/59479) [@dogledogle](https://github.com/dogledogle) - 🐞 Fix Typography text editing not working when `onClick` is provided. [#59325](https://github.com/ant-design/ant-design/pull/59325) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Alert close button remaining clickable when `closable.disabled` is true. [#59432](https://github.com/ant-design/ant-design/pull/59432) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Card ignoring `tabProps.defaultActiveKey` when selecting the initial tab. [#59414](https://github.com/ant-design/ant-design/pull/59414) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Breadcrumb dropdown menu links starting with `undefined` when the parent item has no `href` or `path`. [#59423](https://github.com/ant-design/ant-design/pull/59423) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Avatar falling back to its default size when a larger breakpoint matches without a configured size. [#59446](https://github.com/ant-design/ant-design/pull/59446) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Badge truncating fractional horizontal `offset` values. [#59314](https://github.com/ant-design/ant-design/pull/59314) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Button custom loading icons appearing before the loading delay ends. [#59353](https://github.com/ant-design/ant-design/pull/59353) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Tour `nextButtonProps.onClick` and `prevButtonProps.onClick` not receiving mouse events. [#59332](https://github.com/ant-design/ant-design/pull/59332) [@QDyanbing](https://github.com/QDyanbing) - 🤖 Fix Form.Item, Rate, and QRCode TypeScript definitions to exclude unsupported props. [#59373](https://github.com/ant-design/ant-design/pull/59373) [#59379](https://github.com/ant-design/ant-design/pull/59379) [#59408](https://github.com/ant-design/ant-design/pull/59408) [@QDyanbing](https://github.com/QDyanbing) - 🤖 Fix Upload custom request types to expose `abort` handles. [#59382](https://github.com/ant-design/ant-design/pull/59382) [@QDyanbing](https://github.com/QDyanbing) - 🌐 Add missing DatePicker placeholders and Carousel arrow labels in remaining locales. [#59351](https://github.com/ant-design/ant-design/pull/59351) [@shoutoutuoadi325](https://github.com/shoutoutuoadi325) - 🌐 Improve Romanian (ro_RO) locale translations. [#59528](https://github.com/ant-design/ant-design/pull/59528) [@vicuts](https://github.com/vicuts) --- - Table - 🐞 修复 Table 树形数据使用「全选所有」时漏选子孙行的问题。[#59342](https://github.com/ant-design/ant-design/pull/59342) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Table 开启 `preserveSelectedRowKeys` 时 `rowSelection` 的 `onSelect` 对已保留 key 返回 `undefined` 的问题。[#59449](https://github.com/ant-design/ant-design/pull/59449) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 修复 Table `column.filterDropdownProps.popupRender` 不生效的问题。[#59393](https://github.com/ant-design/ant-design/pull/59393) [@ramen2020](https://github.com/ramen2020) - 🐞 修复 Table 仅在 ConfigProvider 中配置 `scroll` 时,翻页或筛选后不会滚动到首行的问题。[#59394](https://github.com/ant-design/ant-design/pull/59394) [@ramen2020](https://github.com/ramen2020) - 🐞 修复 Table 在 v6 逻辑方向属性迁移后,固定列场景下选择列 `z-index` 不生效的问题。[#58609](https://github.com/ant-design/ant-design/pull/58609) [@leshalv](https://github.com/leshalv) - Transfer - 🐞 修复 Transfer 的 `selectAllLabels` 设置为数值 `0` 时回退为默认数量文案的问题。[#59487](https://github.com/ant-design/ant-design/pull/59487) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复单向 Transfer 移除条目后,受控选中状态仍保持勾选的问题。[#59428](https://github.com/ant-design/ant-design/pull/59428) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 修复 Transfer 使用 Shift 连选时选中搜索隐藏项,以及搜索结果变化后连选范围错误的问题。[#59348](https://github.com/ant-design/ant-design/pull/59348) [@QDyanbing](https://github.com/QDyanbing) - Tree - 🐞 修复 Tree.DirectoryTree 使用数字 key 和 `defaultExpandAll` 时 Shift 范围选择失效的问题。[#59375](https://github.com/ant-design/ant-design/pull/59375) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Tree.DirectoryTree 按住 Shift 连选时会选中 `selectable: false` 或 `disabled: true` 节点的问题。[#59341](https://github.com/ant-design/ant-design/pull/59341) [@QDyanbing](https://github.com/QDyanbing) - Carousel - 🐞 修复 Carousel 在 RTL 下因 `dotPlacement` 变为纵向时仍镜像反转幻灯片顺序的问题。[#59436](https://github.com/ant-design/ant-design/pull/59436) [@Chaoqi31](https://github.com/Chaoqi31) - 🤖 修复 Carousel 类型暴露无效的 `verticalSwiping` 属性。[#59366](https://github.com/ant-design/ant-design/pull/59366) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 List、Divider 和 Drawer 无法正确渲染数值 `0` 内容的问题。[#59118](https://github.com/ant-design/ant-design/pull/59118) [#59517](https://github.com/ant-design/ant-design/pull/59517) [#59437](https://github.com/ant-design/ant-design/pull/59437) [@nrps9909](https://github.com/nrps9909) [@Ye-YiChen](https://github.com/Ye-YiChen) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 修复 Notification 关闭悬停通知后,其余通知计时无法恢复的问题。[#59435](https://github.com/ant-design/ant-design/pull/59435) [@zombieJ](https://github.com/zombieJ) - 🐞 修复 DatePicker 和 TimePicker 的 RangePicker 未应用 ConfigProvider `locale.DatePicker` 的问题。[#59356](https://github.com/ant-design/ant-design/pull/59356) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 TreeSelect 和 Mentions 调用 `renderEmpty` 时传入 `Select` 而非各自组件名的问题。[#59364](https://github.com/ant-design/ant-design/pull/59364) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 AutoComplete 错误继承 ConfigProvider `select.allowClear` 的问题。[#59358](https://github.com/ant-design/ant-design/pull/59358) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Upload 点击文件名链接时不触发 `linkProps.onClick` 的问题。[#59324](https://github.com/ant-design/ant-design/pull/59324) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Input.OTP 粘贴后焦点落在错误格子的问题。[#59479](https://github.com/ant-design/ant-design/pull/59479) [@dogledogle](https://github.com/dogledogle) - 🐞 修复 Typography 在提供 `onClick` 时无法进入文字编辑状态的问题。[#59325](https://github.com/ant-design/ant-design/pull/59325) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Alert 在 `closable.disabled` 为 true 时关闭按钮仍可点击的问题。[#59432](https://github.com/ant-design/ant-design/pull/59432) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Card 的 `tabProps.defaultActiveKey` 无法设置初始选中页签的问题。[#59414](https://github.com/ant-design/ant-design/pull/59414) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Breadcrumb 父级未设置 `href` 和 `path` 时,下拉菜单链接以 `undefined` 开头的问题。[#59423](https://github.com/ant-design/ant-design/pull/59423) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Avatar 在匹配更大断点且未配置对应尺寸时意外恢复默认大小的问题。[#59446](https://github.com/ant-design/ant-design/pull/59446) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Badge 截断水平 `offset` 小数值的问题。[#59314](https://github.com/ant-design/ant-design/pull/59314) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Button 自定义加载图标在延迟结束前提前显示的问题。[#59353](https://github.com/ant-design/ant-design/pull/59353) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Tour 的 `nextButtonProps.onClick` 和 `prevButtonProps.onClick` 无法获取鼠标事件的问题。[#59332](https://github.com/ant-design/ant-design/pull/59332) [@QDyanbing](https://github.com/QDyanbing) - 🤖 修正 Form.Item、Rate 和 QRCode 的 TypeScript 类型定义,排除不生效的属性。[#59373](https://github.com/ant-design/ant-design/pull/59373) [#59379](https://github.com/ant-design/ant-design/pull/59379) [#59408](https://github.com/ant-design/ant-design/pull/59408) [@QDyanbing](https://github.com/QDyanbing) - 🤖 修正 Upload 自定义上传请求的类型声明,支持获取 `abort` 取消句柄。[#59382](https://github.com/ant-design/ant-design/pull/59382) [@QDyanbing](https://github.com/QDyanbing) - 🌐 补充剩余语言包中缺失的 DatePicker 占位文案和 Carousel 箭头标签。[#59351](https://github.com/ant-design/ant-design/pull/59351) [@shoutoutuoadi325](https://github.com/shoutoutuoadi325) - 🌐 改进罗马尼亚语(ro_RO)语言包翻译。[#59528](https://github.com/ant-design/ant-design/pull/59528) [@vicuts](https://github.com/vicuts)
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 直接解决 ant-design 开发者版本发布时 changelog 收集整理的明确痛点
- 显著提升发布效率,具有高频刚需特性
- 支持中英文双版本同步更新,符合国际化项目需求
Highlights
- 触发词覆盖合理,包含收集/生成/更新 changelog 等核心场景
- 边界清晰,适用于版本对比等明确场景
Highlights
- Phase/步骤清晰,有完整交互流程设计
- 包含端到端示例和详细的操作指引
- frontmatter完整,文档结构规范
Highlights
- 工具来源明确,使用标准 GitHub CLI 和 git 命令
- 参数正确,覆盖主要异常情况
- 有确认机制,并行处理设计良好提升效率
- 写入后必须运行 lint 校验确保格式正确
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.