[Snyk] Upgrade antd from 5.17.3 to 5.28.1 #629
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.17.3 to 5.28.1.
ℹ️ 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 70 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-BABELRUNTIME-10044504
Release notes
Package name: antd
-
5.28.1 - 2025-11-11
- Carousel
- 🐞 Fix Carousel style issue in vertical mode. #55615 @ wanpan11
- 🐞 Fix Carousel dots animation missing when first render. #55589 @ wanpan11
- 🐞 Fix Descriptions where content style wrongly used
- 💄 Adjust the height of the Select component to 32px when
- 💄 When the
- 🛠 Flex
- 🌐 Add missing TimePicker translations for locales: ar_EG, en_GB, gl_ES, bg_BG, ca_ES, cs_CZ, el_GR, es_ES, eu_ES, fi_FI, he_IL, hu_HU, is_IS, kn_IN, kmr_IQ, lv_LV, mk_MK, mn_MN, ms_MY, pl_PL, pt_BR, pt_PT, ro_RO, sk_SK, sl_SI, sv_SE, ta_IN, th_TH, zh_TW, et_EE. #55656 @ li-jia-nan
- Carousel
- 🐞 修复 Carousel 组件纵向样式问题。#55615 @ wanpan11
- 🐞 修复 Carousel 首次渲染时指示点动画丢失。#55589 @ wanpan11
- 🐞 修复 Popconfirm 在
- 🐞 修复 Descriptions 组件内容样式错误使用
- 💄 修正
- 💄 为
- 🛠 Flex
- 🌐 补充 TimePicker 多语言翻译,覆盖以下语言:ar_EG、en_GB、gl_ES、bg_BG、ca_ES、cs_CZ、el_GR、es_ES、eu_ES、fi_FI、he_IL、hu_HU、is_IS、kn_IN、kmr_IQ、lv_LV、mk_MK、mn_MN、ms_MY、pl_PL、pt_BR、pt_PT、ro_RO、sk_SK、sl_SI、sv_SE、ta_IN、th_TH、zh_TW、et_EE。#55656 @ li-jia-nan
-
5.28.0 - 2025-11-01
- 🆕 Drawer supports
- 🆕 Image component supports
- 🆕 QRCode component supports
- 🆕 Splitter supports
- 🆕 Statistic displays animation effect by default when set to
- 🆕 TreeSelect supports global configuration for switcher icon. #54821 @ Jiyur
- Segmented
- 💄 Segmented theme variable
- 🐞 Fix Segmented abnormal animation after React DevTools upgrade. #55438 @ afc163
- 🐞 Fix Tree and Transfer components
- 🐞 Fix Tree.DirectoryTree
- Upload
- 🆕 Upload component adds
- 💄 Upload component supports
- 💄 Notification supports configuring background color token. #54802 @ thinkasany
- 💄 Pagination supports modifying the text color of active items through
- 🐞 Fix Select, DatePicker, TreeSelect, Cascader and other components not showing default suffix icon when
- 🐞 Fix Mentions component not inheriting
- 🐞 Fix Watermark component crashing when wrapping Modal with
- 🗑 Input component deprecates
- 🤖 Row component
- 🆕 Drawer 支持
- 🆕 Image 组件支持
- 🆕 QRCode 组件支持
- 🆕 Splitter 支持
- 🆕 Statistic 设置为
- 🆕 TreeSelect 支持切换器图标的全局配置。#54821 @ Jiyur
- Segmented
- 💄 Segmented 的主题变量
- 🐞 修复 Segmented 切换动画总是从第一项移动闪烁的问题。#55438 @ afc163
- 🐞 修复 Tree 和 Transfer 组件的
- 🐞 修复 Tree.DirectoryTree 定义
- Upload
- 🆕 Upload 组件
- 💄 Upload 组件支持
- 💄 Notification 支持配置背景颜色的 token。#54802 @ thinkasany
- 💄 Pagination 支持通过
- 🐞 修复 Select、DatePicker、TreeSelect、Cascader 等组件
- 🐞 修复 Mentions 组件没有继承外部 Form 的
- 🐞 修复 Watermark 组件内包裹 Modal 使用
- 🗑 Input 组件废弃
- 🤖 Row 组件
-
5.27.6 - 2025-10-20
- Table
- 🐞 Fix Table
- 🛠 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
- 🤖 Add ConfigProvider the
- 🤖 Improve Modal type definition. #55371
- Table
- 🐞 修复 Table
- 🛠 补充 Table 中 spinProps 的 useMemo 缺失能力。#55344
- 🛠 重构 Modal 中 ConfirmDialog 的 useMemo,以解决 Object.values 生成新数组导致 useMemo 失效的问题。#55376
- TypeScript
- 🤖 补充 ConfigProvider
- 🤖 补充 ConfigProvider 的
- 🤖 优化 Modal 中类型定义。#55371
-
5.27.5 - 2025-10-14
- 🐞 Fix Tour positioning when the
- 💄 Fix Card body extra padding when adding
- 💄 Fix DatePicker design token for text color. #55065 @ 765477020
- 💄 Fix List overflow problem when bordered. #55075 @ Jiyur
- ⌨️ Fix Modal.confirm
- ⚡️ Improve Cascader rendering for loading icon. #55285 @ li-jia-nan
- TypeScript
- 🤖 Fix FloatButton type definition missing for
- 🐞 修复 Tour 指定
- 💄 修复 Card body 增加
- 💄 修复 DatePicker 文本颜色 token 错误的问题。#55065 @ 765477020
- 💄 修复 List 启用边框时会内容溢出的问题。#55075 @ Jiyur
- ⌨️ 修复 Modal.confirm 缺失
- ⚡️ 优化 Cascader 加载中图标的渲染。#55285 @ li-jia-nan
- TypeScript
- 🤖 修复 FloatButton
-
5.27.4 - 2025-09-17
-
5.27.3 - 2025-09-05
-
5.27.2 - 2025-09-02
-
5.27.1 - 2025-08-19
-
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
-
5.17.4 - 2024-05-27
-
5.17.3 - 2024-05-19
from antd GitHub release noteslabelStyle. #55572 @ li-jia-nanvariant="underlined". #55607 @ ustcfuryunderlinedproperty is enabled for the Input component, the border color changes on mouse hover. #55609 @ ustcfurygapprop support number type. #55591 @ ayangwebactionFn出错时未重置 ref 的问题。#55519 @ Taoister39labelStyle的问题。#55572 @ li-jia-nanunderlined变体的 Select 组件高度为 32px。#55607 @ ustcfuryunderlined变体的 Input 组件补全 hover 边框颜色样式。#55609 @ ustcfurygap属性支持 number 类型。#55591 @ ayangwebclosable.placementprop to specify the position of the close button. #54067 @ davidhsingfallbackglobal configuration. #54702 @ JiyurboostLevelprop. #55063 @ li-jia-nanonCollapseprop. #54673 @ ug-heroloading. #55398 @ afc163itemSelectedBgsupports background gradient. #55391 @ zanchengdisabledinheritance issue. #54831 @ cactuser-LudefaultExpandAllnot working whenfieldNamesis defined. #55420 @ Wxh16144info.defaultRequestincustomRequestparameters. #55146 @ EmilyyyLiupictureCardSizetoken. #54756 @ wanpan11itemActiveColoranditemActiveColorHovertokens. #55195 @ RenderzsuffixIconis configured as undefined. #54790 @ EmilyyyLiudisabledfrom external Form. #54829 @ EmilyyyLiumodalRender. #55435 @ ug-heroaddonAfterandaddonBeforeprops, use Space.Compact instead. #55315 @ EmilyyyLiugutterprop supports string type definition. #54628 @ ug-heroclosable.placement属性,用于指定关闭按钮的位置。#54067 @ davidhsingfallback全局配置。#54702 @ JiyurboostLevel属性。#55063 @ li-jia-nanonCollapse属性。#54673 @ ug-heroloading时默认展现动画效果。#55398 @ afc163itemSelectedBg支持背景渐变。#55391 @ zanchengdisabled继承问题。#54831 @ cactuser-LufieldNames时defaultExpandAll不生效的问题。#55420 @ Wxh16144customRequest参数中增加info.defaultRequest。#55146 @ EmilyyyLiupictureCardSizetoken。#54756 @ wanpan11itemActiveColor和itemActiveColorHovertoken 修改高亮项的文字颜色。#55195 @ RenderzsuffixIcon配置值为 undefined 时没有默认后缀图标的问题。#54790 @ EmilyyyLiudisabled的问题。#54829 @ EmilyyyLiumodalRender会导致崩溃的问题。#55435 @ ug-heroaddonAfter和addonBefore属性,使用 Space.Compact 替换。#55315 @ EmilyyyLiugutter属性支持 string 类型定义。#54628 @ ug-heropagination.alignis not working. #55316Windowtype definition ingetTargetContainerof . #55313ShadowRoottype definition ingetTargetContainerandgetPopupContainer. #55278 @ leshalvpagination.align属性失效的问题。#55316getTargetContainer中Window类型定义。#55313getTargetContainer和getPopupContainer中ShadowRoot类型定义。#55278 @ leshalvtargetis a Table with fixed headers. #55124 @ afc163gapstyle. #54974 @ QdabuliuQaria-labelledbyaccessibility attribute missing problem. #55266 @ Jiyurdisabledproperty. #55156 @ deathemperortarget为 Table 固定列头时定位错误的问题。#55124 @ afc163gap样式时有多余 padding 的问题。#54974 @ QdabuliuQaria-labelledby可访问性属性的问题。#55266 @ Jiyurdisabled属性类型缺失的问题。#55156 @ deathemperorImportant
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: