* chore: bump version to 6.2.3 * docs: update AGENTS.md with comprehensive development guidelines * Update CHANGELOG.zh-CN.md Co-authored-by: lijianan <574980606@qq.com> Signed-off-by: afc163 <afc163@gmail.com> * Update CHANGELOG.en-US.md Signed-off-by: afc163 <afc163@gmail.com> * Update CHANGELOG.zh-CN.md Signed-off-by: afc163 <afc163@gmail.com> --------- Signed-off-by: afc163 <afc163@gmail.com> Co-authored-by: lijianan <574980606@qq.com>
59 KiB
order, title, timeline, tag
| order | title | timeline | tag |
|---|---|---|---|
| 6 | 更新日志 | true | vVERSION |
antd 遵循 Semantic Versioning 2.0.0 语义化版本规范。
发布周期
- 修订版本号:每周末会进行日常 bugfix 更新。(如果有紧急的 bugfix,则任何时候都可发布)
- 次版本号:每月发布一个带有新特性的向下兼容的版本。
- 主版本号:含有破坏性更新和新特性,不在发布周期内。
6.2.3
2026-02-02
- Button
- 🐞 修复 Input.TextArea ref 缺少
nativeElement属性的问题。#56803 @smith3816 - 🐞 修复 Flex 使用
orientation时默认align不生效的问题。#55950 @YingtaoMo - 🐞 修复 Typography 链接选择器特异性过低导致样式被覆盖的问题。#56759 @QDyanbing
- 🐞 修复 ColorPicker HEX 输入框可以输入无效字符的问题。#56752 @treephesians
6.2.2
2026-01-26
- 🐞 修复被 Typography 包裹的带 href 的 Button 显示错误颜色和 hover 时 outline 闪烁的问题。#56619 @QdabuliuQ
- 🐞 修复 Button
type="text"时组件 Token 不生效的问题。#56291 @QDyanbing - 🐞 修复 Popover 内组件被 Form.Item 状态关联影响的问题。#56728
- 🐞 修复 Select 多选时占位符显示异常的问题。#56675
- 💄 修复 Pagination 全局
fontSize变大时各元素上下错位的问题。#56715 @QDyanbing - 💄 修复 Drawer 在 rtl 模式下 dragger 位置错误的样式问题。#56693 @QdabuliuQ
6.2.1
2026-01-20
- 🐞 修复 Button 子元素为包含两个中文字符的标签时,原有
className被清空的问题。#56593 @QdabuliuQ - 🐞 修复 DatePicker 在设置
suffixIcon为null后不会更新 DOM 的问题。#56637 @AlanQtten - 🐞 修复 Table 容器设置圆角时,内部内容区域圆角不一致的问题。#56478 @QDyanbing
- 💄 修复 Card Body 区域有非预期圆角值的问题。#56653 @ug-hero
- 💄 杂项:修复
undefined和null值被注入到 CSS 的问题。#56636 @li-jia-nan - 💄 杂项:优化所有组件中的
background过渡为background-color。#56598 @li-jia-nan - 🛠 优化 Grid 使用
genCssVar方法以生成更加稳定的 CSS 变量名。#56635 @li-jia-nan - 🛠 优化 @ant-design/icons 引入方式为独立图标引入,避免被 externals 增加前置依赖。#56639 @ShenHongFei
6.2.0
2026-01-13
- 🛠 Button、Masonry、Mentions、Select、Space、Splitter、Steps 等组件批量使用
genCssVar方法以生成更加稳定的 css 变量名。#56562 #56559 #56557 #56555 #56550 #56547 #56546 #56529 @li-jia-nan - 🆕 QRCode 新增
marginSize属性用于展示二维码留白区。#56569 @afc163 - 🆕 Tour 新增
keyboard属性以配置键盘操作。#56581 @cactuser-Lu - Tooltip
- 🆕 Tooltip 增加
maxWidthdesign token。#56540 @guoyunhe - 🆕 Tooltip/Popover/Popconfirm 默认情况下可以通过 ESC 关闭。#56492 @aojunhao123
- 🆕 Tooltip 增加
- 🛠 Steps 移除无用的样式。#56565 @li-jia-nan
- 🆕 Form 支持
tel类型校验。#56533 @guoyunhe - 🐞 修复 Badge 在使用
text属性时,ref无效的问题。#56532 @zombieJ - 🆕 Calendar 和 DatePicker 的
locale配置现在支持只填充部分内容。#56376 @QDyanbing - 🐞 修复 ConfigProvider 配置
theme.cssVar对图标无效的问题。#56504 @seanparmelee - 🐞 修复 Collapse
items语义化属性无效的问题。#56517 @zombieJ - Modal
- ConfigProvider
- 🆕 ConfigProvider 支持
pagination配置totalBoundary与showSizeChanger属性。#56475 @chiaweilee - 🆕 ConfigProvider 支持配置 Alert 全局图标。#56241 @guoyunhe
- 🆕 ConfigProvider 支持
- Drawer
- 🐞 修复 Image 嵌套在 Modal 内时,Esc无法顺序关闭。#56386 @aojunhao123
- 🆕 Pagination 支持
size属性。#56009 @guoyunhe - 🆕 Breadcrumb 支持
dropdownIcon自定义。#56250 @guoyunhe - 🆕 Checkbox.Group 支持
role配置。#56126 @Pareder - 💄 Mentions 修复不同尺寸下
padding: undefined的无效样式。#56564 @li-jia-nan - 🐞 修复 Select 在
size="small"时,清除按钮位置对齐问题。#56525 @QDyanbing
6.1.4
2026-01-05
- 🐞 修复 Select 配置
aria-属性时,会同时给多个 DOM 添加的问题。#56451 @zombieJ - 🐞 修复 Table 配置
scroll.y属性时,隐藏的测量表头挂载筛选下拉组件并参与事件判断,导致筛选下拉意外关闭的问题。 #56425 @QDyanbing
6.1.3
2025-12-29
- 🐞 修复 Drawer.PurePanel 无法响应鼠标交互的问题。#56387 @wanpan11
- 🐞 修复 Select options 属性透传至原生 DOM 导致 React 未知属性警告的问题。#56341 @afc163
6.1.2
2025-12-24
- 🐞 修复 Wave 组件水波纹消失的问题,以及 Button 组件在配置 Dropdown 后,点击触发再次
hover时无法立刻显示 Dropdown 的问题。#56273 @zombieJ - 🐞 修复 Form.List 使用
useWatch时,删除项会触发两次渲染,第一次为不正确的中间状态的问题。#56319 @QDyanbing - 💄 修复 Breadcrumb 组件自定义
itemRender时的链接颜色异常的问题。#56253 @guoyunhe - Transfer
- 💄 修复 Transfer 组件在禁用时不存在选择状态样式类的问题。#56316 @zenggpzqbx
- 🐞 优化 Transfer 组件逻辑,确保优先使用
disabled属性。#56280 #56093 @zenggpzqbx
- Select
- 🐞 修复 Select 组件缺少语义化 DOM 名称的问题。#56322 @seanparmelee
- 🐞 修复 Select 组件在搜索状态下鼠标手型样式不对的问题。#56130 @fpsqdb
- 🐞 修复 Select 在同时设置
showSearch和disabled时鼠标样式不为禁用的问题。#56340 @QDyanbing
- 💄 修复 Card 组件在使用 Card.Grid 且未设置头部内容时,边框圆角显示异常的问题。#56214 @DDDDD12138
- 💄 Tag 加深默认背景,提升无边框状态的对比度。#56326 @QDyanbing
- 🐞 修复 Segmented 组件中多余的
role属性和aria属性。#56278 @aojunhao123
6.1.1
2025-12-15
- 🐞 修复 DatePicker 不兼容 webpack 4 的问题:Can't resolve '@rc-component/picker/locale/en_US'。#56219 @afc163
- 🐞 修复 ColorPicker 弹层内输入框高度不一致问题。#56220 @ug-hero
- 🐞 修复 notification 在 cssVar 未启用时默认背景色不为白色的问题。#56169 @wanpan11
- 🐞 修复 Input 在 Space.Compact 下配置
allowClear时聚焦边框丢失的问题。#56105 @tuzixiangs - 🐞 修复 Splitter 在 RTL + 垂直模式下折叠方向错误的问题,RTL 逻辑现在仅在横向布局下生效。#56179 @QDyanbing
- 🐞 修复 Result 未向根节点透传
data-*与aria-*属性的问题。#56165 @QDyanbing - 🐞 MISC: 修复:
theme.cssVar.prefix与theme.cssVar.key不支持传入空字符串的问题。#56146 @QDyanbing - 💄 提升 Breadcrumb 链接样式优先级以避免被全局样式覆盖。#56137 @guoyunhe
- 🐞 修复 ConfigProvider
closable.placement配置失效的问题。#55985 @meet-student - 🐞 修复 Form
onValuesChange对存在嵌套数据的 Form.List 缺失内容的问题。#56129 @zombieJ - 🐞 修复 Select
selectorBgtoken 不生效的问题。#56052 @ug-hero - 🐞 修复 Upload 进度条位置样式错误的问题。#56194 @QDyanbing
6.1.0
2025-12-08
- 🆕 ConfigProvider 新增支持配置 Tooltip、Popover 和 Popconfirm 的
trigger属性。#55932 @aojunhao123 - 🆕 Alert 新增语义化关闭按钮元素。#55815 @coding-ice
- Drawer
- 🆕 Drawer 新增语义化关闭按钮元素。#55816 @coding-ice
- 🆕 Drawer 新增
resizable的布尔类型设置。#55861 @cactuser-Lu
- Select
- 🐞 修复 Table
cellFontSizeSM和cellFontSizeLGtoken 不生效的问题。#55770 @guoyunhe - 🐞 修复 Button 部分 Token(primaryColor, dangerColor, defaultHoverBg, defaultActiveBg)在特定变体(solid, outlined, dashed)下不生效的问题。#55934 @tuzixiangs
- 💄 修复 Menu 组件 item 中定义的 style 不生效错误。#56041 @Wxh16144
- 🛠 杂项:更新
@ant-design/react-slick版本以删除classnames。#56080 @yoyo837 - 🛠 杂项:迁移
rc-overflow到@rc-component/overflow、rc-virtual-list到@rc-component/virtual-list以删除rc-util。#56074 @yoyo837 - TypeScript
6.0.1
2025-12-02
- Flex
- 🐞 修复 Flex 的
flex属性不能设置为0的问题。#55829 @li-jia-nan - 🐞 修复 Flex 的
gap属性不能设置为0的问题。#55803 @li-jia-nan
- 🐞 修复 Flex 的
- Input
- 🐞 修复 Input
colorTexttoken 在无前后缀的filled变体下不工作的问题。#56019 @ug-hero - 🐞 修复 Input.OTP 在输入时可跳过空位的问题。#56001 @aojunhao123
- 🐞 修复 Input
- 🐞 修复 Anchor 快速点击同一链接时的滚动问题。#55814 @tuzixiangs
- 🐞 修复 Button 在
solid变体下悬浮态的文字颜色。#55825 @andriib-ship-it - 🐞 修复 Cascader 使用 defaultValue 时首次打开会滚动到页面顶部的问题。#55890 @tuzixiangs
- 🐞 修复 DatePicker
borderRadiusSM和borderRadiusLGtoken 未生效问题。#56018 @ug-hero - 🐞 修复 InputNumber 在 ColorPicker 中使用时文字被裁切的问题。#55966 @DDDDD12138
- 🐞 修复 Select 在深色模式下的搜索框文本颜色。#55914 @divyeshagrawal
- 🐞 修复 Splitter 在 Panel 总占比不为 1 时出现占不满的情况。 #56025 @zombieJ
- 🐞 修复 Wave 可能由于 RAF 未清理引发内存泄露的风险。#55962 @Copilot
- 🐞 修复 Modal/Image/Drawer 组件
colorBgMasktoken 不生效的问题。#56031 @ug-hero - 💄 修复 ConfigProvider 默认没有配置
theme.hashed为true,从而会导致多版本混用样式冲突的问题。#55880 @zombieJ - 💄 修复 Layout.Sider 在 zeroRuntime 开启时样式缺失的问题。#55864 @wanpan11
- 🛠 杂项:修复版本无法在 pnpm
hoist: false下通过 vite 编译。#55938 @afc163 - TypeScript
- 🤖 修复 ConfigProvider 的 Table
classNames及styles配置类型缺失的问题。#55984 @meet-student - 🤖 修复 DatePicker 多个属性的类型定义。#55826 @divyeshagrawal
- 🤖 修复 ConfigProvider 的 Table
6.0.0
2025-11-22
🏆 Ant Design 6.0.0 已发布!
升级必读
🌟 如果你想升级到 Ant Design 6.0,请仔细查阅我们的迁移文档。
主要变化
-
🔥 组件语义化结构,阅读《语义化发现组件精致的美》了解更多。
🔥 antd 组件支持语义化结构以及 ConfigProvider 配置,由 @thinkasany 主导。
- feat(Result): support
classNamesandstylesfor component and ConfigProvider #52171 - feat(Statistic): support
classNamesandstylesfor component and ConfigProvider #52141 - feat(Collapse): support
classNamesandstylesfor component and ConfigProvider #52258 - feat(Badge.Ribbon): support ConfigProvider #52303
- feat(Segmented): support
classNamesandstylesfor component and ConfigProvider #52376 - feat(Modal): support
classNamesandstylesfor component and ConfigProvider #52340 - feat(Alert): support
classNamesandstylesfor component and ConfigProvider #52669 - feat(Skeleton): support
classNamesandstyles#52470 @coding-ice - feat(Notification): support
classNamesandstylesfor component and ConfigProvider #52759 - feat(Tag): support
classNamesandstylesfor component and ConfigProvider #52764 - feat(Affix): support
classNamesandstylesfor component and ConfigProvider #52745 - feat(Checkbox): support
classNamesandstylesfor component and ConfigProvider #52781 - feat(Radio): support
classNamesandstylesfor component and ConfigProvider #52780 - feat(Message): support
classNamesandstylesfor component and ConfigProvider #52793 - feat(Watermark): support
classNamesandstylesfor component and ConfigProvider #52811 - feat(Spin): support
classNamesandstylesfor component and ConfigProvider #52823 - feat(Switch): support
classNamesandstylesfor component and ConfigProvider #52849 - feat(Breadcrumb): support
classNamesandstylesfor component and ConfigProvider #52859 - feat(Anchor): support
classNamesandstylesfor component and ConfigProvider #52866 - feat(Pagination): support
classNamesandstylesfor component and ConfigProvider #52893 - feat(Tabs): support
classNamesandstylesfor component and ConfigProvider #52895 - feat(Timeline): support
classNamesandstylesfor component and ConfigProvider #52976 - feat(Mentions): support
classNamesandstylesfor component and ConfigProvider #52961 - feat(Upload): support
classNamesandstylesfor component and ConfigProvider #52972 - feat(Tour): support ConfigProvider #52250
- feat(Button): support
classNamesandstylesfor component and ConfigProvider #53055 - feat(Select): support
classNamesandstylesfor component and ConfigProvider #52948 - feat(Image): support
classNamesandstylesfor component and ConfigProvider #53028 - feat(Tree): support
classNamesandstylesfor component and ConfigProvider #53174 - feat(AutoComplete): support
classNamesandstylesfor component and ConfigProvider #53150 - feat(Splitter): support
classNamesandstyles#53225 @wanpan11 - feat(Form): support
classNamesandstylesfor component and ConfigProvider #53226 - feat(Calendar): support
classNamesandstylesfor component and ConfigProvider #53159 - feat(TreeSelect): support
classNamesandstylesfor component and ConfigProvider #53229 - feat(ColorPicker): support
classNamesandstylesfor component and ConfigProvider #53303 - feat(Transfer): support
classNamesandstylesfor component and ConfigProvider #53429 @zombieJ - feat(QRCode): support ConfigProvider #52172
- feat(Progress): support
classNamesandstylesfor component and ConfigProvider #53535 @zombieJ - feat(TimePicker, DatePicker): support
classNamesandstylesfor components and ConfigProvider #53489 - feat(Menu): support
classNamesandstylesfor component and ConfigProvider #53324 - feat(Dropdown): support
classNamesandstylesfor component and ConfigProvider #53272 - feat(Cascader): support
classNamesandstylesfor component and ConfigProvider #53694 - feat(InputNumber): support
classNamesandstylesfor component and ConfigProvider #53698 - feat(Steps): support
classNamesandstylesfor component and ConfigProvider #53789 @zombieJ - feat(Table): support
classNamesandstylesfor component and ConfigProvider #53659 - feat(Divider): support
classNamesandstylesfor component and ConfigProvider #53890 - feat(Input): support semantic DOM #53958 @aojunhao123
- feat(FloatButton): support semantic structure and support ConfigProvider to pass related props #54145 @zombieJ
- refactor(Select): support semantic structure #55430 @zombieJ
🔥 antd 组件支持通过函数动态生成语义化结构,由 @meet-student 主导。
- feat(button): Support better customization with semantic classNames/styles as function #54813
- feat(input): Support better customization with semantic classNames/styles as function #54919
- feat(float-button): Support better customization with semantic classNames/styles as function #54917
- feat(divider): Support better customization with semantic classNames/styles as function #54949
- feat(breadcrumb): Support better customization with semantic classNames/styles as function #54950
- feat(anchor): Support better customization with semantic classNames/styles as function #54948
- feat(masonry): Support better customization with semantic classNames/styles as function #55032
- feat(Progress): Support better customization with semantic classNames & styles #55058 @li-jia-nan
- feat(menu): Support better customization with semantic classNames/styles as function #54955
- feat(space): Support better customization with semantic classNames/styles as function #55031 @hcjlxl
- feat(tabs): Support better customization with semantic classNames/styles as function #54958
- feat(splitter): Support better customization with semantic classNames/styles as function #55013 @hcjlxl
- feat(pagination): Support better customization with semantic classNames/styles as function #54957
- feat(steps): Support better customization with semantic classNames/styles as function #54956
- feat(dropdown): Support better customization with semantic classNames/styles as function #55114 @Arktomson
- feat(checkbox_radio): Support better customization with semantic classNames/styles as function #55056
- feat(auto-complete): Support better customization with semantic classNames/styles as function #54959
- feat(form): Support better customization with semantic classNames/styles as function #55126
- feat(date-picker_time-picker): Support better customization with semantic classNames/styles as function #54969
- feat(InputNumber): Support better customization with semantic classNames/styles as function #54996 @zjr222
- feat(input-otp_textarea_search): Support better customization with semantic classNames/styles as function #55109 @Arktomson
- feat(mentions): Support better customization with semantic classNames/styles as function #54963
- feat(select): Support better customization with semantic classNames/styles as function #55101 @Linkodt
- feat(slider): Support better customization with semantic classNames/styles as function #54965
- feat(switch): Support better customization with semantic classNames/styles as function #54994 @xkhanhan
- feat(transfer): Support better customization with semantic classNames/styles as function #54966
- feat(upload): Support better customization with semantic classNames/styles as function #54968
- feat(calendar): Support better customization with semantic classNames/styles as function #54978
- feat(descriptions): Support better customization with semantic classNames/styles #55118 @tanjiahao24
- feat(empty): Support better customization with semantic classNames/styles as function #55007 @Susuperli
- refactor: semantic of Descriptions #55190
- feat(qr-code): Support better customization with semantic classNames/styles as function #54982
- feat(statistic): Support better customization with semantic classNames/styles as function #55117 @Arktomson
- feat(table): Support better customization with semantic classNames/styles as function #54983
- feat(tag): Support better customization with semantic classNames/styles as function #54984
- feat(alert): Support better customization with semantic classNames/styles #55060 @ccc1018
- feat(result): Support better customization with semantic classNames/styles as function #55044 @ccc1018
- feat(Drawer): Support better customization with semantic classNames & styles #55096 @li-jia-nan
- feat(Modal): Support better customization with semantic classNames & styles #55081 @li-jia-nan
- feat(notification): Support better customization with semantic classNames/styles as function #55021 @GinWU05
- feat(spin): Support better customization with semantic classNames/styles as function #55157 @Susuperli
- feat(card): Support better customization with semantic classNames/styles as function #55161 @lovelts
- feat(collapse): Support better customization with semantic classNames/styles as function #54979
- feat(message): support better customization with semantic classNames/styles #55054 @nmsn
- feat(image): Support better customization with semantic classNames/styles as function #54980
- feat(segmented): Support better customization with semantic classNames/styles as function #55119 @Arktomson
- feat(timeline): Support better customization with semantic classNames/styles as function #54985
- refactor: semantic of message and notification #55199
- feat(tour): Support better customization with semantic classNames/styles as function #54987
- feat(tree): Support better customization with semantic classNames/styles as function #54988
- feat(Popover/Tooltip/Popconfirm): Support better customization with semantic classNames/styles as function #54986
- feat(Skeleton): Support better customization with semantic classNames & styles #55099 @li-jia-nan
- feat(cascader): Support better customization with semantic classNames/styles as function #54960
- feat(color-picker): Support better customization with semantic classNames/styles as function #54962
- feat(badge): Support better customization with semantic classNames/styles as function #54977
- feat(tree-select): Support better customization with semantic classNames/styles as function #54967
- feat(CheckableTagGroup): Support better customization with semantic classNames/styles as function #55796
- feat(Result): support
-
ConfigProvider
- 🆕 ConfigProvider 支持 Table
rowKey全局配置。#52751 @guoyunhe - 🆕 ConfigProvider 支持 Card.Meta 的配置。#52214 @thinkasany
- 🆕 ConfigProvider 支持Tooltip / Popover / Popconfirm 组件的箭头配置。#52434 @thinkasany
- 🆕 ConfigProvider 支持 Space 组件
root配置。#52248 @thinkasany
- 🆕 ConfigProvider 支持 Table
-
Tooltip
-
Input
- 🔥 InputNumber 增加
mode="spinner"拨轮模式。#55592 @guoyunhe - 🗑 Input.Search 重构废弃内部
addon*的使用,用 Space.Compact 替换。#55705 @EmilyyyLiu - 🐞 修复 Input.TextArea 的
styles.textarea无法覆盖内置样式的问题。#55579 @meet-student
- 🔥 InputNumber 增加
-
Mentions
- 🛠 重构 Mentions DOM 结构并支持
suffix语义化结构以及size属性。#55638 @zombieJ - 🐞 修复 Mentions 的
autoResize=false时,无法拖拽缩放尺寸的问题。#54039 @jin19980928
- 🛠 重构 Mentions DOM 结构并支持
-
🆕 Watermark 新增
onRemove以支持被用户手工删除的事件触发。#55551 @984507092 -
🆕 Breadcrumb 支持 ConfigProvider
separator全局配置。#54680 @guoyunhe -
🆕 Alert
closable支持 onClose 和 afterClose 方法。#54735 @EmilyyyLiu -
🆕 Radio.Group 支持
vertical纵向排列语法糖。#54727 @EmilyyyLiu -
Cascader
- 🆕 Cascader 支持
aria-*和data-*属性。#53910 @kiner-tang - 🆕 Cascader.Panel 添加 optionRender 允许自定义渲染选项。#54843 @EmilyyyLiu
- 🆕 Cascader 支持
-
Rate
-
Form
-
🆕 Flex 增加
orientation属性用于布局,原vertical语法糖仍然保留。#53648 @EmilyyyLiu -
DatePicker
- 🆕 DatePicker 语义化结构新增面板
container支持。#55388 @meet-student - 🆕 DatePicker 新增
previewValue,以控制鼠标悬停在选项时是否输入框展示预览值。#55258 @meet-student - 🐞 修复 DatePicker 在清空时,
onChange参数dateString返回值错误的问题。#55155 @EmilyyyLiu
- 🆕 DatePicker 语义化结构新增面板
-
Drawer
- 🆕 Drawer 新增
resizable支持拖拽能力。#54883 @cactuser-Lu - 💄 Drawer 遮罩添加模糊效果。#54707 @EmilyyyLiu
- 🆕 Drawer 新增
-
Collapse
- 🆕 Collapse
expandIconPosition替换为expandIconPlacement,并使用逻辑位置以优化 RTL 体验。#54311 @EmilyyyLiu - 🐞 修复 Collapse 语义化结构
icon作用元素不正确的问题。#55499 @thinkasany - 🐞 修复 Collapse 动态修改语义化 icon 不生效的问题。#55452 @thinkasany
- 🆕 Collapse
-
Table
- 🆕 Table
scrollTo方法支持offset以设置滚动偏移量。#54385 @zombieJ - 🆕 Table
pagination.position替换为pagination.placement。#54338 @EmilyyyLiu - ⌨️ ⌨️ 优化 Table
column为sortable时的aria-description可访问性属性。#53087 @jon-cullison - 🆕 重构 Table
column.fixed用start和end的逻辑位置以支持 RTL。#53114 @zombieJ - 🐞 修复 Table 在使用
sticky或scroll.y时出现重复的筛选下拉框和提示气泡显示的问题。修复 Table 渲染初始阶段列头不显示的问题。#54910 @afc163 - 🐞 修复 Table 在动态修改
childrenColumnName时,数据不会刷新的问题。#55559 @li-jia-nan
- 🆕 Table
-
Progress
- 🆕 Progress
gapPosition替换为gapPlacement,并使用位置描述值start和end取代left和right。#54329 @EmilyyyLiu - 🐞 修复 Progress 在变更 props 时,指示内容不会更新的问题。#55554 @thinkasany
- 🆕 Progress
-
🛠 Grid 使用 CSS 逻辑位置以支持 RTL 体验。#52560 @li-jia-nan
-
Notification
- 🛠 Notification 提供
closable属性将onClose与closeIcon收敛至其中。#54645 @EmilyyyLiu - 🆕 Notification 支持自定义进度条颜色。#52964 @yellowryan
- 🆕 Notification 新增
title属性用以替代message属性,同时废弃message属性。#52759 @thinkasany
- 🛠 Notification 提供
-
Image
- 🆕 Image 的预览遮罩
cover支持设置遮罩位置。#54492 @kiner-tang - 🛠 Image 移除默认的查看图标和文案(仍然可以通过
cover配置)。#54379 @765477020 - 🐞 修复 Image 在 RTL 下预览文案的展示问题。#53596 @aojunhao123
- 🆕 Image 的预览遮罩
-
Modal
- 🆕 Modal
closable支持onClose属性以任意方式关闭时触发。#54607 @EmilyyyLiu - 🆕 ConfigProvider 支持配置 Modal 的
okButtonProps和cancelButtonProps。#53684 @guoyunhe - 🛠 Modal 调整 DOM
className以与语义化结构规范保持一致。#54472 @thinkasany - ⌨️ 将 Modal 在
closable对象中配置的aria-*属性应用到关闭按钮上。#53289 @EmilyyyLiu - 🐞 修复 Modal 快速切换
open状态时,屏幕交互会被锁定的问题。#52753 @zombieJ
- 🆕 Modal
-
Tabs
- 🆕 Tabs
tabPosition替换为tabPlacement,并使用位置描述值start和end取代left和right。#54358 @EmilyyyLiu - 💄 Tabs 移除激活态文字阴影。#53617 @guoyunhe
- 🐞 Tabs 修复空内容 TabPane 的焦点行为,提升无障碍体验。#52856 @aojunhao123
- 🛠 移除 Tabs 废弃 API。#52768 @aojunhao123
- 🆕 Tabs
-
Theme
- 🔥 支持通过 ConfigProvider 的
theme中开启zeroRuntime,屏蔽 cssinjs 样式生成。#54334 @MadCcc - 🆕 杂项:CSS-in-JS 支持配置
autoPrefixTransformer添加浏览器样式前缀。#54427 @zombieJ - 🆕 Design Token: 在
useToken中透出 css 变量。#53195 @MadCcc - 💄 杂项:从 reset.css 中移除 mark 样式。#52974 @afc163
- 🔥 杂项:默认使用 CSS 变量。#52671 @MadCcc
- 💄 Design Token 新增
colorBorderDisabledtoken 以统一禁用状态下的边框颜色。#52421 @aojunhao123
- 🔥 支持通过 ConfigProvider 的
-
Segmented
- 🆕 Segmented 支持
items.tooltip属性以配置提示信息。#54273 @EmilyyyLiu - 🆕 Segmented 增加
orientation属性用于布局,原vertical语法糖仍然保留。#53664 @EmilyyyLiu - 🛠 改善 Segmented 组件可访问性。#52618 @aojunhao123
- 🆕 Segmented 支持
-
🛠 重命名 Steps 的
labelPlacement为titlePlacement以统一 API。#53873 @zombieJ -
Space
- 🛠 Space 使用
separator代替split。#53983 @thinkasany - 🛠 Space 使用
orientation代替direction属性。#53669 @EmilyyyLiu
- 🛠 Space 使用
-
Splitter
- 🆕 Splitter 使用
orientation代替layout,并增加vertical属性。#53670 @EmilyyyLiu - 🆕 Splitter 新增自定义拖拽图标。#52216 @wanpan11
- 🆕 Splitter 使用
-
Tour
- 🐞 修复 Tour 在滚动时,弹层不跟随的问题。#53140 @dependabot
- 🐞 修复 Tour dom 结构中
panel的className拼写错误。#55178 @thinkasany
-
Button
- 🆕 Button
iconPosition替换为iconPlacement并支持逻辑位置描述。#54279 @EmilyyyLiu - 🛠 Button
variant与color样式重构为 css variables 版本以降低尺寸。#54100 @zombieJ - 🆕 Button 新增自定义普通、虚线类型的按钮在禁用状态下的背景颜色。#52839 @yellowryan
- 🆕 Button
-
Tag
- 🆕 Tag 新增 CheckableTagGroup 子组件。#53256 @guoyunhe
- 🆕 Tag 自定义颜色支持变体。#53097 @guoyunhe
- 🆕 Tag 新增
disabled和href属性。#52229 @aojunhao123 - 🐞 修复 Tag 通过 ConfigProvider 修改
variant时,Tag 不会更新的问题。#55555 @thinkasany - 💄 移除 Tag
margin样式。#52123 @li-jia-nan
-
Timeline
-
🆕 TimeLine
items.position替换为items.placement并使用逻辑位置以优化 RTL 体验。#54382 @EmilyyyLiu -
🆕 Carousel
dotPosition替换为dotPlacement,使用位置描述值start和end取代left和right。#54294 @EmilyyyLiu -
🆕 Divider 使用
orientation替换type,并且支持vertical语法糖。#53645 @EmilyyyLiu -
🛠 AutoComplete 将搜索相关属性合并至
showSearch属性。#54184 @EmilyyyLiu -
🆕 Message 支持
pauseOnHover以配置用户在悬浮时暂停倒计时。#53785 @EmilyyyLiu -
💄
reset.css移除对 IE 的兼容。#55108 @thinkasany -
🛠 Slider 支持
orientation用于配置布局方向。#53671 @EmilyyyLiu -
💄 Image 遮罩添加模糊效果。#54714 @EmilyyyLiu
-
💄 Modal 遮罩添加模糊效果。#54670 @EmilyyyLiu
-
🐞 修复 Statistic.Timer 在页面进入非激活态时,
onFinish和onChange未触发的问题。#53894 @Psiphonc -
🛠 BackTop 完成生命周期已被移除。#52206 @li-jia-nan
-
🗑 Icon 占位组件完成生命周期已被移除。#52241 @li-jia-nan
-
🛠 移除 Dropdown.Button,请使用 Space.Compact。#53793 @Meet-student
-
🛠 Badge 重构
offset样式偏移为 CSS 逻辑位置。#55245 @li-jia-nan -
🛠 杂项:移除 MediaQueryList 针对旧版浏览器的兼容代码。#55396 @li-jia-nan
-
🛠 杂项:移除 React 19 兼容代码,现在 antd 默认支持 React 19。#55274 @li-jia-nan
-
🛠 杂项:移除
copy-to-clipboard依赖。#54448 @765477020 -
🔥 杂项:在打包产物
antd.js以及antd.min.js中启用了React Compiler以优化性能,对使用 CJS/ESM 场景的用户可自行选择开启,参考React 官方文档。 #55781 @li-jia-nan -
🌐 添加马拉地语国际化翻译。#55179 @divyeshagrawal
-
TypeScript
5.x
去 GitHub 查看 5.x 的 Change Log。
4.x
去 GitHub 查看 4.x 的 Change Log。
3.x
去 GitHub 查看 3.x 的 Change Log。
2.x
去 GitHub 查看 2.x 的 Change Log。
1.11.4
去 GitHub 查看 0.x 到 1.x 的 Change Log。