Skip to content

[Snyk] Upgrade antd from 5.18.0 to 5.27.6#17

Open
VV1NN wants to merge 6 commits intomainfrom
snyk-upgrade-5d1020fbf60c7ff6e033f707a78a932f
Open

[Snyk] Upgrade antd from 5.18.0 to 5.27.6#17
VV1NN wants to merge 6 commits intomainfrom
snyk-upgrade-5d1020fbf60c7ff6e033f707a78a932f

Conversation

@VV1NN
Copy link
Owner

@VV1NN VV1NN commented Nov 14, 2025

snyk-top-banner

Snyk has created this PR to upgrade antd from 5.18.0 to 5.27.6.

ℹ️ 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 66 versions ahead of your current version.

  • The recommended version was released 25 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BABELRUNTIME-10044504
452 Proof of Concept
Release notes
Package name: antd
  • 5.27.6 - 2025-10-20
    • Table
      • 🐞 Fix Table pagination.align is not working. #55316
      • 🛠 Add Table missing useMemo capability to spinProps. #55344
    • 🛠 Refactor Modal useMemo of ConfirmDialog to resolve useMemo invalid where Object.values ​​generates a new array. #55376
    • TypeScript
      • 🤖 Add ConfigProvider the Window type definition in getTargetContainer of . #55313
      • 🤖 Add ConfigProvider the ShadowRoot type definition in getTargetContainer and getPopupContainer. #55278 @ leshalv
      • 🤖 Improve Modal type definition. #55371

    • Table
      • 🐞 修复 Table pagination.align 属性失效的问题。#55316
      • 🛠 补充 Table 中 spinProps 的 useMemo 缺失能力。#55344
    • 🛠 重构 Modal 中 ConfirmDialog 的 useMemo,以解决 Object.values 生成新数组导致 useMemo 失效的问题。#55376
    • TypeScript
      • 🤖 补充 ConfigProvider getTargetContainerWindow 类型定义。#55313
      • 🤖 补充 ConfigProvider 的 getTargetContainergetPopupContainerShadowRoot 类型定义。#55278 @ leshalv
      • 🤖 优化 Modal 中类型定义。#55371
  • 5.27.5 - 2025-10-14
    • 🐞 Fix Tour positioning when the target is a Table with fixed headers. #55124 @ afc163
    • 💄 Fix Card body extra padding when adding gap style. #54974 @ QdabuliuQ
    • 💄 Fix DatePicker design token for text color. #55065 @ 765477020
    • 💄 Fix List overflow problem when bordered. #55075 @ Jiyur
    • ⌨️ Fix Modal.confirm aria-labelledby accessibility attribute missing problem. #55266 @ Jiyur
    • ⚡️ Improve Cascader rendering for loading icon. #55285 @ li-jia-nan
    • TypeScript

    • 🐞 修复 Tour 指定 target 为 Table 固定列头时定位错误的问题。#55124 @ afc163
    • 💄 修复 Card body 增加 gap 样式时有多余 padding 的问题。#54974 @ QdabuliuQ
    • 💄 修复 DatePicker 文本颜色 token 错误的问题。#55065 @ 765477020
    • 💄 修复 List 启用边框时会内容溢出的问题。#55075 @ Jiyur
    • ⌨️ 修复 Modal.confirm 缺失 aria-labelledby 可访问性属性的问题。#55266 @ Jiyur
    • ⚡️ 优化 Cascader 加载中图标的渲染。#55285 @ li-jia-nan
    • TypeScript
  • 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
  • 5.26.7 - 2025-07-29
  • 5.26.6 - 2025-07-20
  • 5.26.5 - 2025-07-15
  • 5.26.4 - 2025-07-07
  • 5.26.3 - 2025-06-30
  • 5.26.2 - 2025-06-24
  • 5.26.1 - 2025-06-16
  • 5.26.0 - 2025-06-10
  • 5.26.0-alpha.0 - 2025-06-03
  • 5.25.4 - 2025-05-31
  • 5.25.3 - 2025-05-26
  • 5.25.2 - 2025-05-19
  • 5.25.1 - 2025-05-09
  • 5.25.0 - 2025-05-07
  • 5.24.9 - 2025-04-29
  • 5.24.8 - 2025-04-21
  • 5.24.7 - 2025-04-14
  • 5.24.6 - 2025-04-01
  • 5.24.5 - 2025-03-24
  • 5.24.4 - 2025-03-17
  • 5.24.3 - 2025-03-05
  • 5.24.2 - 2025-02-24
  • 5.24.1 - 2025-02-17
  • 5.24.0 - 2025-02-11
  • 5.23.4 - 2025-02-05
  • 5.23.3 - 2025-01-28
  • 5.23.2 - 2025-01-20
  • 5.23.1 - 2025-01-13
  • 5.23.0 - 2025-01-06
  • 5.22.7 - 2024-12-27
  • 5.22.6 - 2024-12-23
  • 5.22.5 - 2024-12-14
  • 5.22.4 - 2024-12-09
  • 5.22.3 - 2024-12-02
  • 5.22.2 - 2024-11-20
  • 5.22.1 - 2024-11-13
  • 5.22.0 - 2024-11-11
  • 5.21.6 - 2024-10-28
  • 5.21.5 - 2024-10-21
  • 5.21.4 - 2024-10-14
  • 5.21.3 - 2024-10-09
  • 5.21.2 - 2024-09-30
  • 5.21.1 - 2024-09-25
  • 5.21.0 - 2024-09-22
  • 5.20.6 - 2024-09-09
  • 5.20.5 - 2024-09-03
  • 5.20.4 - 2024-09-02
  • 5.20.3 - 2024-08-26
  • 5.20.2 - 2024-08-19
  • 5.20.1 - 2024-08-11
  • 5.20.0 - 2024-08-03
  • 5.19.4 - 2024-07-30
  • 5.19.3 - 2024-07-19
  • 5.19.2 - 2024-07-15
  • 5.19.1 - 2024-07-05
  • 5.19.0 - 2024-07-01
  • 5.18.3 - 2024-06-19
  • 5.18.2 - 2024-06-17
  • 5.18.1 - 2024-06-12
  • 5.18.0 - 2024-06-03
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.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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:

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