Skip to content

[Snyk] Upgrade antd from 5.20.3 to 5.24.7 #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

JBAhire
Copy link
Collaborator

@JBAhire JBAhire commented May 7, 2025

snyk-top-banner

Snyk has created this PR to upgrade antd from 5.20.3 to 5.24.7.

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

  • The recommended version was released 23 days ago.

Release notes
Package name: antd
  • 5.24.7 - 2025-04-14
    • 🐞 Fix Input causing incorrect Popover positioning when a suffix is present. #53475
    • 🐞 Fix Table filter menu selection state loss when column.filterDropdown is set to undefined. #53421
    • 🇨🇳 ColorPicker add zh_HK zh_TW locales. #53440 @ mjsong07

    • 🐞 修复 Input 存在 suffix 的情况下 Popover 弹出位置错乱的问题。#53475
    • 🐞 修复 Table column.filterDropdown 指定为 undefined 导致筛选菜单选中状态丢失的问题。#53421
    • 🇨🇳 补充 ColorPicker 的 zh_HK zh_TW 本地化文案。#53440 @ mjsong07
  • 5.24.6 - 2025-04-01
    • 🐞 Fix Modal show loading with async call, still can close with click outer space. #53227 @ jin19980928
    • 🐞 Fix when Table size is small, the theme config will take effect on the sub Pagination. #52829 @ Can-Chen

    • 🐞 修复 Modal 通过异步方法显示 loading 态时,点击外侧仍能触发关闭的问题。#53227 @ jin19980928
    • 🐞 修复 Table 在 sizesmall 时,主题配置 Pagination 无效的问题。#52829 @ Can-Chen
  • 5.24.5 - 2025-03-24
    • 🐞 Fixed the issue that the suffix of InputNumber moves left after the mouse enters when it is disabled. #53184 @ yellowryan
    • 💄 Fix Form syntax errors of style selector. #53236 @ Wxh16144
    • 💄 Refactor TextArea resize logic when set resize: both style to fit with React life cycle. #53235 @ zombieJ
    • 🇮🇷 Add missing translations and fix typos for Farsi language (fa_IR). #53251 @ AliReza-Kamkar

    • 🐞 修复 InputNumber 在禁用状态下鼠标划入后 suffix 出现左移的问题。#53184 @ yellowryan
    • 💄 修复 Form 组件样式选择器语法错误。#53236 @ Wxh16144
    • 💄 重构 TextArea 对 resize: both 时处理尺寸的逻辑以更符合 React 生命周期。#53235 @ zombieJ
    • 🇮🇷 添加缺失的波斯语 (fa_IR) 翻译并修正拼写错误。#53251 @ AliReza-Kamkar
  • 5.24.4 - 2025-03-17
    • 🐞 Fix Input.TextArea width synchronization issue during resizing. #53024 @ triyys
    • 🐞 Fix Typography type color not follow color[Status]Text instead of color[Status]. #53086 @ zombieJ
    • 🐞 Fix Affix abnormal onChange event behavior in React versions below 18. #53038 @ waiter
    • 🐞 Fix Form requiredMark not working when component is false. #52950 @ Wxh16144
    • 🇹🇷 Add Turkish (tr_TR) localization support for the Tour component. #53117 @ hakankosdag

    • 🐞 修复 Input.TextArea 调整大小时宽度同步问题。#53024 @ triyys
    • 🐞 修复 Typography type 颜色没有跟随 token color[Status]Text 而是 color[Status] 的问题。#53086 @ zombieJ
    • 🐞 修复 Affix 组件在 React 18 以下版本中 onChange 参数值异常的问题。#53038 @ waiter
    • 🐞 修复 Form requiredMarkcomponent=false 时不起作用的问题。#52950 @ Wxh16144
    • 🇹🇷 新增 Tour 组件的土耳其语(tr_TR)本地化支持。#53117 @ hakankosdag
  • 5.24.3 - 2025-03-05
    • Input
      • 🐞 Fix the next element was not correctly selected after pressing the Tab key when allowClear was turned on for Input. #52977 @ wanpan11
      • 💄 Fix the border display issue when hovering in the disabled state when Input has variant="underlined" turned on. #52959 @ ustcfury
    • 💄 Fix DatePicker header buttons misalignment caused by unexpected spacing. #53007 @ DDDDD12138
    • 💄 Fix the text in AutoComplete was not centered when size="large". #52819 @ aojunhao123
    • 🇩🇪 Add missing de_DE translations for Transfer. #53047 @ chrisinick

    • Input
      • 🐞 修复 Input 开启 allowClear 后按下 Tab 键后没有正确选中下个元素的问题。#52977 @ wanpan11
      • 💄 修复 Input 开启 variant="underlined"disabled 状态下 hover 时边框显示问题。#52959 @ ustcfury
    • 💄 修复 DatePicker 头部按钮意外间距导致的未对齐问题。#53007 @ DDDDD12138
    • 💄 修复 AutoComplete 在 size="large" 时文字未居中对齐的问题。#52819 @ aojunhao123
    • 🇩🇪 完善 de_DE Transfer 本地化. #53047 @ chrisinick
  • 5.24.2 - 2025-02-24
    • Input
      • 🐞 Fix Input with component token inputFontSize breaks the height of controlHeight. #52865 @ zombieJ
      • 🐞 Fix Input.Search has a border that is not aligned with the bottom of the search button when configure variable as underlined. #52861 @ ustcfury
      • 🛠 Improve Input.OTP logic for create default state. #52878 @ Dandelion-F
      • 🛠 Improve Input.OTP implementation for render separator. #52841 @ li-jia-nan
    • Watermark
      • 🐞 Fix Watermark may cause page unresponsive when re-rendering. #52897 @ 765477020
      • 🆕 Improve Watermark rendering logic to avoid disable it via developer tools and hidden attribute. #52891 @ arronlai
    • 🐞 Fix DatePicker.RangePicker arrow position not correctly when sometime reopened. #52854 @ zombieJ
    • 🐞 Fix Layout.Sider content overflow issue when collapsedWidth={0}. #52862 @ afc163
    • 🛠 Refactor Grid internal useBreakpoint logic to be same as other component, this will not affect usage. #52870 @ zombieJ
    • 💄 Fix Button styles for hyperlink mode. #52888 @ DDDDD12138
    • 💄 Fix Table sortable column headers could not wrap automatically. #52899 @ 765477020
    • ⚡️ Improve Menu re-rendering performance when pass function to expandIcon property. #52863 @ wanpan11
    • ⚡️ Improve Carousel indicator animation performance. #52881 @ li-jia-nan
    • RTL

    • Input
      • 🐞 修复 Input 配置 inputFontSize component token 时,controlHeight 会不生效的问题。#52865 @ zombieJ
      • 🐞 修复 Input.Search 在设置 variantunderlined 时下边框与搜索按钮底部没对齐的问题。#52861 @ ustcfury
      • 🛠 优化 Input.OTP 的默认状态创建逻辑。#52878 @ Dandelion-F
      • 🛠 优化 Input.OTP 的分隔符渲染实现。#52841 @ li-jia-nan
    • Watermark
      • 🐞 修复 Watermark 重新渲染时可能导致页面卡死的问题。#52897 @ 765477020
      • 🆕 调整 Watermark 渲染逻辑,防止通过开发者工具添加 hidden 属性来去掉水印。#52891 @ arronlai
    • 🐞 修复 DatePicker.RangePicker 在弹层重新打开的时候,有可能出现箭头位置不正确的问题。#52854 @ zombieJ
    • 🐞 修复 Layout.Sider 当 collapsedWidth={0} 时的内容溢出的问题。#52862 @ afc163
    • 🛠 重构 Grid 内部响应式逻辑以复用其他组件类似的逻辑,该更新不会于使用上有所变化。#52870 @ zombieJ
    • 💄 修复 Button 超链接模式的样式。#52888 @ DDDDD12138
    • 💄 修复 Table 可排序列头不自动换行的问题。#52899 @ 765477020
    • ⚡️ 优化 Menu 在 expandIcon 属性传入函数时重新渲染的性能。#52863 @ wanpan11
    • ⚡️ 优化 Carousel 指示器的动画性能。#52881 @ li-jia-nan
    • RTL
      • 💄 修复 DatePicker 在 RTL 模式下图标方向错误的问题。#52896 @ li-jia-nan
      • 💄 修复 Dropdown 在 RTL 模式下多级菜单箭头方向错误的问题。#52885 @ yellowryan
  • 5.24.1 - 2025-02-17

    • 🐞 修复 Button 配置 colorprimary 并且 varianttextlink 时,没有取用正确的色板的问题。#52812 @ zombieJ
    • 💄 修复 Input.Group 与 Input.OTP 由于 css 变量未定义导致样式异常的问题。#52799 @ afc163
    • 🐞 修复 DatePicker 的 prefix 内容多时会换行的问题。#52776 @ guoyunhe
    • 🐞 修复 Table 列标题在排序时丢失 aria-label 的问题。#52772 @ mellis481
    • 🐞 修复 Alert.ErrorBoundary 在 @ types/[email protected] 中无法作为 JSX 组件使用的类型错误问题。#52766 @ afc163
    • 💄 修复 Segmented 设置 size 时,shape 不生效的问题。#52757 @ yellowryan
  • 5.24.0 - 2025-02-11

    • 🆕 Notification 支持 actions 属性并废弃 btn 属性。#52703 @ thinkasany
    • 🆕 Carousel 支持展示指示点进度。#52672 @ yellowryan
    • 🆕 Input.OTP 支持 separator 属性。#52668 @ HaceraI
    • 🆕 Descriptions 增加 labelColor 组件 token。#52700 @ guoyunhe
    • 🆕 Segmented 支持 shape="round" 的胶囊形状的样式。#52685 @ afc163
    • 🆕 ConfigProvider 支持 Card 组件的 variant 配置。#52552 @ thinkasany
    • 🆕 Progress/Step 支持使用 rounding 属性自定义取整方法。#52017 @ yanghoxom
    • 🆕 Divider 的 orientation 属性支持 startend.#52567 @ li-jia-nan
    • 🆕 为 Input、InputNumber、Mentions、Form、Select、Cascader、TreeSelect、DatePicker、TimePicker 组件的 variant 添加 underlined 属性。#52546 @ ustcfury
    • 🆕 ConfigProvider 支持 Modal centered 全局配置。#52343 @ guoyunhe
    • 🆕 为 Checkbox 和 Radio 增加 label 类名。#52322 @ guoyunhe
    • 🐞 修复 Tooltip/Popover/Popconfirm/Dropdown 在 React 19 下 children 为自定义组件时弹层位置错乱的问题。react-component/util#623 @ zombieJ
    • 🐞 修复 DatePicker.RangePicker 弹出窗体自动调整位置时,面板的箭头位置不正确的问题。#52719 @ zombieJ
    • 🐞 修正 locale 中 filterCheckallfilterCheckAll#52517 @ thinkasany
    • 🐞 修复 Form scrollToFieldscrollToFirstError 无法聚焦 antd 组件的问题。#52726 @ Wxh16144
    • 💄 修复 Button 预设值按钮的阴影色在暗色背景下显示突兀的问题。#52701 @ afc163
    • 💄 修复 Segmented 组件在暗黑模式下的动画过渡效果不自然的问题。#52708 @ yellowryan
    • 💄 拆分 Input 和 TextArea 样式。#52570 @ guoyunhe
    • 💄 修复 Input 和 Select 在 css var 模式下的样式问题。#52554 @ li-jia-nan
    • ⌨️ Form field error 移除 role="alert" 以提升可访问性。#52661 @ mellis481
    • ⌨️ 优化无障碍体验,为空表头和面板按钮添加本地化标签。#52689 @ aojunhao123
    • ⌨️ 优化 Tabs 组件的可访问性,修复 Certain ARIA roles must contain particular children 的报错。#52677 @ afc163
    • ⌨️ 为 Tooltip 添加读屏器支持。#52293 @ aojunhao123
    • TypeScript
  • 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
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.20.3 to 5.24.7.

See this package in npm:
antd

See this project in Snyk:
https://app.snyk.io/org/jbahire/project/856e73f0-e00e-4934-90cc-0cd733be909f?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