[Snyk] Upgrade antd from 5.26.4 to 5.27.4 #2
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade antd from 5.26.4 to 5.27.4.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 8 versions ahead of your current version.
The recommended version was released 23 days ago.
Release notes
Package name: antd
-
5.27.4 - 2025-09-17
- Table
- 🐞 Fix Table duplicated filter dropdowns and tooltips when using
- 🐞 Fix Table header not rendering on initial load. #54910 @ afc163
- 🐞 Fix Table column alignment when
- 🐞 Fix Button where the padding of icon-only was affected by the theme. #54970 @ guoyunhe
- 🐞 Fix Splitter
- 🐞 Fix Switch wave effect compatibility with Tailwind CSS
- 🐞 Fix Input.Search hover color changes for the border and icon when the search button is
- Table
- 🐞 修复 Table 在使
- 🐞 修复 Table 表头在首次加载时未正确渲染的问题。#54910 @ afc163
- 🐞 修复 Table 在启用
- 🐞 修复 Button 仅图标(icon-only)按钮的内边距受主题影响的问题。 #54970 @ guoyunhe
- 🐞 修复 Splitter 在非受控模式下初次挂载时,
- 🐞 修复 Switch 波纹效果与 Tailwind CSS disabled 变体的兼容性问题。#54933 @ Jiyur
- 🐞 修复 Input.Search 在搜索按钮为
-
5.27.3 - 2025-09-05
- Table
- 🐞 Fix Table header width compression issues and render flickering issues when
Before ❌
After ✅


- 🐞 Fix Table
- 🐞 Fix Table columns with
- 🐞 Fix Table expand column not being displayed when
- 🐞 Fix Table columns
- 🐞 Fix Pagination style issues with
- 🐞 Fix Button padding issue when
- 🐞 Fix Input.OTP not allowing continuous deletion. #54850 @ 765477020
- 🐞 Fix Dropdown
- 🐞 Fix Carousel component style and button switching issues in RTL mode. #54868 @ EmilyyyLiu
- 🐞 Fix incorrect margin in Typography when editable. #54871 @ Tarun2605
- 🇮🇹 Add missing Italian translations for ColorPicker and QRCode components. #54842 @ nikzanda
- Table
- 🐞 修复 Table 设置
Before ❌
After ✅


- 🐞 修复 Table 在虚拟滚动时,
- 🐞 修复 Table 的列配置了
- 🐞 修复 Table 配置
- 🐞 修复 Table 虚拟化时列
- 🐞 修复 Pagination 在
- 🐞 修复 Button
- 🐞 修复 Input.OTP 不允许连续删除的问题。#54850 @ 765477020
- 🐞 修复 Dropdown
- 🐞 修复 Carousel 组件在 RTL 模式下的样式和按钮切换问题。#54868 @ EmilyyyLiu
- 🐞 修复 Typography 在可编辑状态下的错误边距。#54871 @ Tarun2605
- 🇮🇹 补充 ColorPicker 和 QRCode 的意大利语翻译。#54842 @ nikzanda
-
5.27.2 - 2025-09-02
- Button
- 🐞 Fix custom
- 🐞 Fix accessibility issue when Button
- 🐞 Fix the Badge
- 💄 Optimize Table to no longer display "no data" when initialized with
- 💄 Fix Tabs removal icon not being vertically centered. #54794 @ Jiyur
- 💄 Fix Typography hover underline style not taking effect. #54763 @ guoyunhe
- 💄 Fix Radio.Group display having jagged edges and the first element overflowing on the left after wrapping. #54661 @ 765477020
- 💄 Fix inconsistent hover colors for Tree.DirectoryTree. #54725 @ Meet-student
- 🇻🇳 Add the missing Vietnamese translations for ColorPicker/QRCode/Typography.Text. #54748 @ Jiyur
- Button
- 🐞 修复 Button 在
- 🐞 修复 Button
- 🐞 修复 Badge 的
- 💄 优化 Table 在初始化
- 💄 修复 Tabs 移除图标未垂直居中对齐的样式问题。#54794 @ Jiyur
- 💄 修复 Typography hover 下划线不生效的样式问题。#54763 @ guoyunhe
- 💄 修复 Radio.Group 展示出现锯齿和换行后第一个元素左侧溢出问题。#54661 @ 765477020
- 💄 修复 Tree.DirectoryTree hover 颜色不符的样式问题。#54725 @ Meet-student
- 🇻🇳 补充 ColorPicker、QRCode、Typography.Text 越南语翻译。#54748 @ Jiyur
-
5.27.1 - 2025-08-19
- 🐞 Fix Form with nest Form that parent Form.Item
- 🐞 Fix Table header Checkbox flickering issue. #54713 @ QdabuliuQ
- 💄 Optimize Collapse clickable expand area with mouse cursor to improve user experience. #54706 @ Copilot
- 🐞 Fix Pagination button and input size with
- 🌐 Add Vietnamese translation. #54644 @ doandevhere
- 🐞 修复 Form 嵌套场景下,父级 Form.Item 的
- 🐞 修复 Table 组件的头部 Checkbox 会出现闪烁的问题。#54713 @ QdabuliuQ
- 💄 优化 Collapse 可点击展开区域的鼠标样式以优化用户体验。#54706 @ Copilot
- 🐞 修复 Pagination
- 🌐 添加越南语支持。#54644 @ doandevhere
-
5.27.0 - 2025-08-11
- ConfigProvider
- 🆕 ConfigProvider support FloatButton
- 🆕 ConfigProvider support config Empty
- 🆕 ConfigProvider support Upload
- 🆕 ConfigProvider support Button
- Tabs
- 🐞 Fix Tabs
- 🆕 Tabs support middle mouse click to close in editable mode. #54462 @ Wxh16144
- Button
- 💄 Button support
- 🐞 Fix Button hover/active text color of button with
- Input
- 🐞 Fix Input.OTP caretColor is wrong when customize
- 🐞 Input.Password support
- 🆕 Table support
- 🆕 Tooltip support adjusting the text color based on configured
- 🆕 Tag.CheckableTag supports
- 🆕 Splitter support
- 🐞 Fix the issue where the
- 🐞 Fix Typography
- 🐞 Fixed Avatar component to properly apply font size design tokens. #54187 @ doandevhere
- 🐞 Fix Modal and Drawer
- 💄 DatePicker remove
- 💄 Fixed Form.Item layout disorder when
- 💄 Fix Space.Compact border cropping issue. #54596 @ 765477020
- 💄 Adjusted the Carousel dot background to prevent white gaps during animation. #54529 @ Limoer96
- 💄 MISC: Add new CSS variables for the "size" series. #54621 @ 765477020
- 💄 Fix Select, TreeSelect and Cascader unexpected compact style inside popup. #54544 @ EmilyyyLiu
- 🇻🇳 Add missing transfer component localization text of vi-VN. #54638 @ Jiyur
- 🛠 MISC: Remove unnecessary object spread syntax for
- 🛎 Fix Button and Splitter warn in SSR. #54517 @ Meet-student
- TypeScript
- 🤖 Optimize Menu
- 🤖 Upload
- ConfigProvider
- 🆕 ConfigProvider 支持 FloatButton 组件
- 🆕 ConfigProvider 支持全局配置 empty 图片。#54502 @ guoyunhe
- 🆕 ConfigProvider 支持 Upload 组件
- 🆕 ConfigProvider 支持 Button 组件
- Tabs
- 🐞 修复 Tabs
- 🆕 Tabs 可编辑状态下支持鼠标中键关闭。#54462 @ Wxh16144
- Button
- 💄 Button 增加
- 🐞 修复 Button 在
- Input
- 🐞 修复自定义
- 🐞 Input.Password 支持
- 🆕 Table 标题中复选框增加
- 🆕 Tooltip 支持根据背景色自动调整文本颜色。#54552 @ EmilyyyLiu
- 🆕 Tag.CheckableTag 支持传入
- 🆕 Splitter 支持通过
- 🐞 修复 InputNumber 在只读状态下鼠标划入后
- 🐞 修复 Typography 组件
- 🐞 修复 Avatar 组件未正确应用字体大小设计令牌的问题。#54187 @ doandevhere
- 🐞 修复 Modal 和 Drawer
- 💄 DatePicker 移除
- 💄 修复 Form
- 💄 修复 Space.Compact 边框裁剪问题。#54596 @ 765477020
- 💄 修复 Carousel 动画中的白缝问题。#54529 @ Limoer96
- 💄 杂项:新增 size 系列 css 变量。#54621 @ 765477020
- 💄 修复 TreeSelect 和 Cascader 组件弹窗内错误套用 compact 样式的问题。#54544 @ EmilyyyLiu
- 🛠 杂项:移除
- 🛎 修复 Button 和 Splitter 组件在 SSR 下的 Warning。#54517 @ Meet-student
- 🇻🇳 添加 vi-VN 缺失的 Transfer 组件本地化文本。#54638 @ Jiyur
- TypeScript
- 🤖 优化 Menu 组件
- 🤖 Upload 组件
-
5.26.7 - 2025-07-29
- 🐞 Fixed Card
- 🐞 Fixed the issue where the cursor position was incorrect after pasting text into TextArea. #72 @ QdabuliuQ
- ⚡️ Optimized the size of the Result component icon. #54455 @ 765477020
- ⚡️ Optimized the calculation performance of internal methods of Dropdown, Tooltip, Tour. #54443 Meet-student
- TypeScript
- 🤖 Fixed Tabs
- 🐞 修复 Card 的
- 🐞 修复了 TextArea 在 Firefox 浏览器下粘贴文本后光标位置错误的问题。#72 @ QdabuliuQ
- ⚡️ 优化了 Result 组件的图标的体积。#54455 @ 765477020
- ⚡️ 优化了 Dropdown、Tooltip、Tour 等弹层类组件的内部方法的计算性能。#54443 Meet-student
- TypeScript
- 🤖 修正了 Tabs 的
-
5.26.6 - 2025-07-20
- 🐞 Fix Input
- 🐞 Fix InputNumber
- 🐞 Fix Flex component
- 🐞 Fix Menu component not supporting
- 🐞 Fix Mentions component clear and feedback icons overlap. #54390 @ QdabuliuQ
- 🐞 修复 Input
- 🐞 修复 InputNumber
- 🐞 修复 Flex 组件
- 🐞 修复 Menu 组件不支持
- 🐞 修复 Mentions 组件清除图标和反馈图标重叠的问题。#54390 @ QdabuliuQ
-
5.26.5 - 2025-07-15
- 🐞 Fix Tag
- 🐞 Fix Splitter mask was not removed after dragging. #54320 @ QdabuliuQ
- 🐞 Fix Modal configuration responsive
- 💄 Optimize the style issue when Notification
- 💄 Fix the border style issue when the FloatButton popup direction is horizontal and is
- TypeScript
- 🤖 Added Dropdown
- 🐞 修复 Tag
- 🐞 修复 Splitter 蒙层拖拽后未被移除的问题。#54320 @ QdabuliuQ
- 🐞 修复 Modal 配置响应式
- 💄 优化 Notification
- 💄 修复 FloatButton 弹出方向为水平方向为
- TypeScript
- 🤖 补充 Dropdown
-
5.26.4 - 2025-07-07
from antd GitHub release notesstickyheaders orscroll.y. #54910 @ afc163scroll.xis enabled. #54899 @ afc163minSizeandmaxSizenot taking effect on initial mount in uncontrolled mode. #54939 @ zombieJdisabledvariant. #54933 @ Jiyurdisabled. #54892 @ Jiyursticky表头或设置scroll.y时,筛选下拉与 Tooltip 重复显示的问题。#54910 @ afc163scroll.x时,固定列的对齐问题。#54899 @ afc163minSize和maxSize未生效的问题。#54939 @ zombieJdisabled时,悬停仍会导致边框和图标变色的问题。#54892 @ Jiyurscroll.yorstickyis set. #54824 @ afc163scroll.scrollToFirstRowOnChangenot working with virtual scroll. #54734 @ Wxh16144childrennot working withfixed: 'right'. #51812 @ ryantang247expandable.fixedis set to true. @ inottnminWidthprops not working when virtualized. #54856 @ cactuser-Lusimpleandsmallsize props. #54837 @ MrWangJustToDoshape="round". #54845 @ guoyunheonOpenChangeclosure issue. #54880 @ zombieJscroll.y或者sticky时表头列宽度被挤压或渲染闪烁的问题。#54824 @ afc163scroll.scrollToFirstRowOnChange配置不生效的问题。#54734 @ Wxh16144children时,无法fixed: 'right'的问题。#51812 @ ryantang247expandable.fixed时,展开列没有显示的问题。@ inottnminWidth属性不生效的问题。#54856 @ cactuser-Lusimple和small尺寸下的样式问题。#54837 @ MrWangJustToDoshape="round"时的 padding 样式问题。#54845 @ guoyunheonOpenChange闭包问题。#54880 @ zombieJtoken.paddingInlinenot taking effect when the Button'sshapeisround. #54787hrefis disabled. #54738 @ doandevheretextproperty did not support the number 0. #54747 @ davidhsingdataSource=nullandloading. #54606@ Wxh16144shape="round"时自定义token.paddingInline不生效的问题。#54787href已禁用时无障碍访问性不正确的问题。#54738 @ doandevheretext属性不支持数字 0 的问题。#54747 @ davidhsingdataSource=null并且loading时不再会显示“没有数据”。#54606@ Wxh16144statuswill pass to sub Fom'snoStyleForm.Item. #54715 @ zombieJsimplemode. #54652 @ guoyunhestatus会传递给子级noStyleForm.Item 的问题。#54715 @ zombieJsimple样式下,按钮和输入框的尺寸异常问题。#54652 @ guoyunhebackTopIconglobal config. #54493 @ guoyunheimageglobally. #54502 @ guoyunhecustomRequestglobal config. #54474 @ guoyunheshapeglobal config. #54463 @ guoyunherefprop not working. #54636 @ JiyuriconGapcomponent token. #54629 @ guoyunhevariant="filled"andhrefset. #54614 @ KomoszekprefixCls. #54588 @ 765477020suffixprop. #54342 @ QdabuliuQgetHeaderCheckboxPropsmethod to the checkbox in the table title. #54600 @ EmilyyyLiucolor. #54552 @ EmilyyyLiuiconprop. #54298 @ QdabuliuQshowCollapsibleIconto control if hiding collapse icon. #54154 @ rxy001suffixshifts to the left after the mouse hovers over InputNumber in read-only mode. #54585 @ Wxh16144copyablecause react maximum render error in some cases. #54449 @ Meet-studentpanelRefprop not work. #54619 @ dengfuping!importantstyle. #54634 @ Jiyurlayout="vertical"is set tolayout="horizontal". #54611 @ crazyairgenFocusOutlinecalls. #54622 @ afc163data-*attributes to support more types. #54539 @ gregor-muellershowUploadListsupport generic. #54540 @ li-jia-nanbackTopIcon全局配置。#54493 @ guoyunhecustomRequest全局配置。#54474 @ guoyunheshape全局配置。#54463 @ guoyunheref属性不起作用的问题。#54636 @ JiyuriconGap组件 token。#54629 @ guoyunhevariant="filled"且设置href时的悬停/点击文本颜色异常。#54614 @ KomoszekprefixCls时 Input.OTP 光标颜色不对的问题。#54588 @ 765477020suffix属性。#54342 @ QdabuliuQgetHeaderCheckboxProps方法。#54600 @ EmilyyyLiuicon属性。#54298 @ QdabuliuQshowCollapsibleIcon控制可折叠图标显隐。#54154 @ rxy001suffix出现左移的问题。#54585 @ Wxh16144copyable在某些情况下导致 react 渲染过多的问题。#54449 @ Meet-studentpanelRef属性不生效的问题。#54619 @ dengfuping!important样式。#54634 @ Jiyurlayout="horizontal"时layout="vertical"的 Form.Item 布局错乱的问题。#54611 @ crazyairgenFocusOutline多余的 spread 语法。#54622 @ afc163data-*属性以支持更多类型。#54539 @ gregor-muellershowUploadList支持泛型。#54540 @ li-jia-nantabBarExtraContenttyping to support bothReact.ReactNodeand{ left?: React.ReactNode; right?: React.ReactNode }usingTabBarExtraContentfromrc-tabs. #54470 @ puedingTabPanePropstype to be compatible with deprecated APIs. #54482 @ leshalvtabBarExtraContent类型定义,仅支持React.ReactNode的问题。现在支持完整的rc-tabs类型,包括{ left?: React.ReactNode; right?: React.ReactNode }。#54470 @ puedingTabPaneProps类型以兼容废弃 api。#54482 @ leshalvvariant=underlinednot usingactiveBorderColortoken. #54409 @ Meet-studentfontSizeSMandfontSizeLGtokens not working. #54396 @ guoyunhechildrenprop is now optional instead of required. #54399 @ Wxh16144data-*attributes for menu items. #54393 @ salihyavuzvariant=underlined未使用activeBorderColortoken 的问题。#54409 @ Meet-studentfontSizeSM和fontSizeLGtoken 不生效的问题。#54396 @ guoyunhechildren属性现在为可选而不是必需的问题。#54399 @ Wxh16144data-*属性的问题。#54393 @ salihyavuzcloseIconnot being passed correctly. #54370 @ Meet-studentwidthdid not take effect correctly. #54349descriptionis empty. #54344 @ dengfupingsquare. #54261 @ WwwHhhYranactiveKeytype definition. #54314 @ wanpan11closeIcon未正确传递的问题。#54370 @ Meet-studentwidth没有正确生效的问题。#54349description为空时间距样式问题。#54344 @ dengfupingsquare时的边框样式问题。#54261 @ WwwHhhYranactiveKey类型定义。#54314 @ wanpan11Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: