Skip to content

Conversation

@jiangjiji
Copy link
Owner

snyk-top-banner

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 sticky headers or scroll.y. #54910 @ afc163
      • 🐞 Fix Table header not rendering on initial load. #54910 @ afc163
      • 🐞 Fix Table column alignment when scroll.x is enabled. #54899 @ afc163
    • 🐞 Fix Button where the padding of icon-only was affected by the theme. #54970 @ guoyunhe
    • 🐞 Fix Splitter minSize and maxSize not taking effect on initial mount in uncontrolled mode. #54939 @ zombieJ
    • 🐞 Fix Switch wave effect compatibility with Tailwind CSS disabled variant. #54933 @ Jiyur
    • 🐞 Fix Input.Search hover color changes for the border and icon when the search button is disabled. #54892 @ Jiyur

    • Table
      • 🐞 修复 Table 在使 sticky 表头或设置 scroll.y 时,筛选下拉与 Tooltip 重复显示的问题。#54910 @ afc163
      • 🐞 修复 Table 表头在首次加载时未正确渲染的问题。#54910 @ afc163
      • 🐞 修复 Table 在启用 scroll.x 时,固定列的对齐问题。#54899 @ afc163
    • 🐞 修复 Button 仅图标(icon-only)按钮的内边距受主题影响的问题。 #54970 @ guoyunhe
    • 🐞 修复 Splitter 在非受控模式下初次挂载时,minSizemaxSize 未生效的问题。#54939 @ zombieJ
    • 🐞 修复 Switch 波纹效果与 Tailwind CSS disabled 变体的兼容性问题。#54933 @ Jiyur
    • 🐞 修复 Input.Search 在搜索按钮为 disabled 时,悬停仍会导致边框和图标变色的问题。#54892 @ Jiyur
  • 5.27.3 - 2025-09-05
    • Table
      • 🐞 Fix Table header width compression issues and render flickering issues when scroll.y or sticky is set. #54824 @ afc163
        Before ❌ After ✅
        before fix after fix
      • 🐞 Fix Table scroll.scrollToFirstRowOnChange not working with virtual scroll. #54734 @ Wxh16144
      • 🐞 Fix Table columns with children not working with fixed: 'right'. #51812 @ ryantang247
      • 🐞 Fix Table expand column not being displayed when expandable.fixed is set to true. @ inottn
      • 🐞 Fix Table columns minWidth props not working when virtualized. #54856 @ cactuser-Lu
    • 🐞 Fix Pagination style issues with simple and small size props. #54837 @ MrWangJustToDo
    • 🐞 Fix Button padding issue when shape="round". #54845 @ guoyunhe
    • 🐞 Fix Input.OTP not allowing continuous deletion. #54850 @ 765477020
    • 🐞 Fix Dropdown onOpenChange closure issue. #54880 @ zombieJ
    • 🐞 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 设置 scroll.y 或者 sticky 时表头列宽度被挤压或渲染闪烁的问题。#54824 @ afc163
        Before ❌ After ✅
        before fix after fix
      • 🐞 修复 Table 在虚拟滚动时,scroll.scrollToFirstRowOnChange 配置不生效的问题。#54734 @ Wxh16144
      • 🐞 修复 Table 的列配置了 children 时,无法 fixed: 'right' 的问题。#51812 @ ryantang247
      • 🐞 修复 Table 配置 expandable.fixed 时,展开列没有显示的问题。@ inottn
      • 🐞 修复 Table 虚拟化时列 minWidth 属性不生效的问题。#54856 @ cactuser-Lu
    • 🐞 修复 Pagination 在 simplesmall 尺寸下的样式问题。#54837 @ MrWangJustToDo
    • 🐞 修复 Button shape="round" 时的 padding 样式问题。#54845 @ guoyunhe
    • 🐞 修复 Input.OTP 不允许连续删除的问题。#54850 @ 765477020
    • 🐞 修复 Dropdown onOpenChange 闭包问题。#54880 @ zombieJ
    • 🐞 修复 Carousel 组件在 RTL 模式下的样式和按钮切换问题。#54868 @ EmilyyyLiu
    • 🐞 修复 Typography 在可编辑状态下的错误边距。#54871 @ Tarun2605
    • 🇮🇹 补充 ColorPicker 和 QRCode 的意大利语翻译。#54842 @ nikzanda
  • 5.27.2 - 2025-09-02
    • Button
      • 🐞 Fix custom token.paddingInline not taking effect when the Button's shape is round. #54787
      • 🐞 Fix accessibility issue when Button href is disabled. #54738 @ doandevhere
    • 🐞 Fix the Badge text property did not support the number 0. #54747 @ davidhsing
    • 💄 Optimize Table to no longer display "no data" when initialized with dataSource=null and loading. #54606@ Wxh16144
    • 💄 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 在 shape="round" 时自定义 token.paddingInline 不生效的问题。#54787
      • 🐞 修复 Button href 已禁用时无障碍访问性不正确的问题。#54738 @ doandevhere
    • 🐞 修复 Badge 的 text 属性不支持数字 0 的问题。#54747 @ davidhsing
    • 💄 优化 Table 在初始化 dataSource=null 并且 loading 时不再会显示“没有数据”。#54606@ Wxh16144
    • 💄 修复 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 status will pass to sub Fom's noStyle Form.Item. #54715 @ zombieJ
    • 🐞 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 simple mode. #54652 @ guoyunhe
    • 🌐 Add Vietnamese translation. #54644 @ doandevhere

    • 🐞 修复 Form 嵌套场景下,父级 Form.Item 的 status 会传递给子级 noStyle Form.Item 的问题。#54715 @ zombieJ
    • 🐞 修复 Table 组件的头部 Checkbox 会出现闪烁的问题。#54713 @ QdabuliuQ
    • 💄 优化 Collapse 可点击展开区域的鼠标样式以优化用户体验。#54706 @ Copilot
    • 🐞 修复 Pagination simple 样式下,按钮和输入框的尺寸异常问题。#54652 @ guoyunhe
    • 🌐 添加越南语支持。#54644 @ doandevhere
  • 5.27.0 - 2025-08-11
    • ConfigProvider
    • Tabs
    • Button
      • 💄 Button support iconGap component token. #54629 @ guoyunhe
      • 🐞 Fix Button hover/active text color of button with variant="filled" and href set. #54614 @ Komoszek
    • Input
    • 🆕 Table support getHeaderCheckboxProps method to the checkbox in the table title. #54600 @ EmilyyyLiu
    • 🆕 Tooltip support adjusting the text color based on configured color. #54552 @ EmilyyyLiu
    • 🆕 Tag.CheckableTag supports icon prop. #54298 @ QdabuliuQ
    • 🆕 Splitter support showCollapsibleIcon to control if hiding collapse icon. #54154 @ rxy001
    • 🐞 Fix the issue where the suffix shifts to the left after the mouse hovers over InputNumber in read-only mode. #54585 @ Wxh16144
    • 🐞 Fix Typography copyable cause react maximum render error in some cases. #54449 @ Meet-student
    • 🐞 Fixed Avatar component to properly apply font size design tokens. #54187 @ doandevhere
    • 🐞 Fix Modal and Drawer panelRef prop not work. #54619 @ dengfuping
    • 💄 DatePicker remove !important style. #54634 @ Jiyur
    • 💄 Fixed Form.Item layout disorder when layout="vertical" is set to layout="horizontal". #54611 @ crazyair
    • 💄 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 genFocusOutline calls. #54622 @ afc163
    • 🛎 Fix Button and Splitter warn in SSR. #54517 @ Meet-student
    • TypeScript

    • ConfigProvider
      • 🆕 ConfigProvider 支持 FloatButton 组件 backTopIcon 全局配置。#54493 @ guoyunhe
      • 🆕 ConfigProvider 支持全局配置 empty 图片。#54502 @ guoyunhe
      • 🆕 ConfigProvider 支持 Upload 组件 customRequest 全局配置。#54474 @ guoyunhe
      • 🆕 ConfigProvider 支持 Button 组件 shape 全局配置。#54463 @ guoyunhe
    • Tabs
    • Button
      • 💄 Button 增加 iconGap 组件 token。#54629 @ guoyunhe
      • 🐞 修复 Button 在 variant="filled" 且设置 href 时的悬停/点击文本颜色异常。#54614 @ Komoszek
    • Input
    • 🆕 Table 标题中复选框增加 getHeaderCheckboxProps 方法。#54600 @ EmilyyyLiu
    • 🆕 Tooltip 支持根据背景色自动调整文本颜色。#54552 @ EmilyyyLiu
    • 🆕 Tag.CheckableTag 支持传入 icon 属性。#54298 @ QdabuliuQ
    • 🆕 Splitter 支持通过 showCollapsibleIcon 控制可折叠图标显隐。#54154 @ rxy001
    • 🐞 修复 InputNumber 在只读状态下鼠标划入后 suffix 出现左移的问题。#54585 @ Wxh16144
    • 🐞 修复 Typography 组件 copyable 在某些情况下导致 react 渲染过多的问题。#54449 @ Meet-student
    • 🐞 修复 Avatar 组件未正确应用字体大小设计令牌的问题。#54187 @ doandevhere
    • 🐞 修复 Modal 和 Drawer panelRef 属性不生效的问题。#54619 @ dengfuping
    • 💄 DatePicker 移除 !important 样式。#54634 @ Jiyur
    • 💄 修复 Form layout="horizontal"layout="vertical" 的 Form.Item 布局错乱的问题。#54611 @ crazyair
    • 💄 修复 Space.Compact 边框裁剪问题。#54596 @ 765477020
    • 💄 修复 Carousel 动画中的白缝问题。#54529 @ Limoer96
    • 💄 杂项:新增 size 系列 css 变量。#54621 @ 765477020
    • 💄 修复 TreeSelect 和 Cascader 组件弹窗内错误套用 compact 样式的问题。#54544 @ EmilyyyLiu
    • 🛠 杂项:移除 genFocusOutline 多余的 spread 语法。#54622 @ afc163
    • 🛎 修复 Button 和 Splitter 组件在 SSR 下的 Warning。#54517 @ Meet-student
    • 🇻🇳 添加 vi-VN 缺失的 Transfer 组件本地化文本。#54638 @ Jiyur
    • TypeScript
  • 5.26.7 - 2025-07-29
    • 🐞 Fixed Card tabBarExtraContent typing to support both React.ReactNode and { left?: React.ReactNode; right?: React.ReactNode } using TabBarExtraContent from rc-tabs. #54470 @ pueding
    • 🐞 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 TabPaneProps type to be compatible with deprecated APIs. #54482 @ leshalv

    • 🐞 修复 Card 的 tabBarExtraContent 类型定义,仅支持 React.ReactNode 的问题。现在支持完整的 rc-tabs 类型,包括 { left?: React.ReactNode; right?: React.ReactNode }#54470 @ pueding
    • 🐞 修复了 TextArea 在 Firefox 浏览器下粘贴文本后光标位置错误的问题。#72 @ QdabuliuQ
    • ⚡️ 优化了 Result 组件的图标的体积。#54455 @ 765477020
    • ⚡️ 优化了 Dropdown、Tooltip、Tour 等弹层类组件的内部方法的计算性能。#54443 Meet-student
    • TypeScript
      • 🤖 修正了 Tabs 的 TabPaneProps 类型以兼容废弃 api。#54482 @ leshalv
  • 5.26.6 - 2025-07-20
    • 🐞 Fix Input variant=underlined not using activeBorderColor token. #54409 @ Meet-student
    • 🐞 Fix InputNumber fontSizeSM and fontSizeLG tokens not working. #54396 @ guoyunhe
    • 🐞 Fix Flex component children prop is now optional instead of required. #54399 @ Wxh16144
    • 🐞 Fix Menu component not supporting data-* attributes for menu items. #54393 @ salihyavuz
    • 🐞 Fix Mentions component clear and feedback icons overlap. #54390 @ QdabuliuQ

    • 🐞 修复 Input variant=underlined 未使用 activeBorderColor token 的问题。#54409 @ Meet-student
    • 🐞 修复 InputNumber fontSizeSMfontSizeLG token 不生效的问题。#54396 @ guoyunhe
    • 🐞 修复 Flex 组件 children 属性现在为可选而不是必需的问题。#54399 @ Wxh16144
    • 🐞 修复 Menu 组件不支持 data-* 属性的问题。#54393 @ salihyavuz
    • 🐞 修复 Mentions 组件清除图标和反馈图标重叠的问题。#54390 @ QdabuliuQ
  • 5.26.5 - 2025-07-15
    • 🐞 Fix Tag closeIcon not being passed correctly. #54370 @ Meet-student
    • 🐞 Fix Splitter mask was not removed after dragging. #54320 @ QdabuliuQ
    • 🐞 Fix Modal configuration responsive width did not take effect correctly. #54349
    • 💄 Optimize the style issue when Notification description is empty. #54344 @ dengfuping
    • 💄 Fix the border style issue when the FloatButton popup direction is horizontal and is square. #54261 @ WwwHhhYran
    • TypeScript

    • 🐞 修复 Tag closeIcon 未正确传递的问题。#54370 @ Meet-student
    • 🐞 修复 Splitter 蒙层拖拽后未被移除的问题。#54320 @ QdabuliuQ
    • 🐞 修复 Modal 配置响应式 width 没有正确生效的问题。#54349
    • 💄 优化 Notification description 为空时间距样式问题。#54344 @ dengfuping
    • 💄 修复 FloatButton 弹出方向为水平方向为 square 时的边框样式问题。#54261 @ WwwHhhYran
    • TypeScript
  • 5.26.4 - 2025-07-07
from antd GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade antd from 5.26.4 to 5.27.4.

See this package in npm:
antd

See this project in Snyk:
https://app.snyk.io/org/jiangjiji/project/8da35716-bd37-4a55-948f-44d9d2c3749a?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants