Skip to content
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

[Snyk] Upgrade antd from 5.11.3 to 5.23.1 #43

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

Conversation

Mobius1234Aque
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade antd from 5.11.3 to 5.23.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 67 versions ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: antd
  • 5.23.1 - 2025-01-13
    • 🆕 Add Tree leaf node className for differentiate node type. #52274 @ EmilyyyLiu
    • 🐞 Fix DatePicker switch buttons is not hidden when superPrevIcon/superNextIcon/prevIcon/nextIcon is null. #52327 @ afc163
    • 🐞 Fix Select throws error not a valid selector in Jest tests. #51844 @ renovate
    • 🐞 Fix Layout.Sider under ConfigProvider directly, the theme not working. #52302 @ zombieJ
    • 🐞 Fix Splitter lost previous state when re-expanding. #52222 @ jjlstruggle
    • 🐞 Fix Table unexpected row selections when set checkStrictly to false in tree mode. #52338 @ LeeSSHH
    • Button
      • 🐞 Fix Button alignment and icon centering by adjusting the icon size for icon-only Buttons. #52353 @ afc163
      • 💄 Fix Button missing box-shadow style. #52304 @ zombieJ
    • RTL

    • 🆕 新增 Tree 组件叶子节点的 className 用于区分节点类型。#52274 @ EmilyyyLiu
    • 🐞 修复 DatePicker superPrevIcon/superNextIcon/prevIcon/nextIcon 设置为 null 时切换按钮依旧存在的问题。#52327 @ afc163
    • 🐞 修复 Select 组件在 jest 测试中报错 not a valid selector 的问题。#51844 @ renovate
    • 🐞 修复 Layout.Sider 直接嵌套在 ConfigProvider 下时,theme 配置无效的问题。#52302 @ zombieJ
    • 🐞 修复 Splitter 二次展开时丢失上一次状态的问题。#52222 @ jjlstruggle
    • 🐞 修复 Table 树形展示且设置 checkStrictly 为 false 时,某些行被错误选中的问题。#52338 @ LeeSSHH
    • Button
      • 🐞 调整 Button 纯图标的大小从而修复按钮对齐和图标居中问题。#52353 @ afc163
      • 💄 修复 Button 丢失阴影样式的问题。#52304 @ zombieJ
    • RTL
  • 5.23.0 - 2025-01-06

    • 🔥 TreeSelect 新增 maxCount 属性以限制最大选择数量。#51759 @ aojunhao123
    • 🔥 Modal width 支持响应式尺寸。#51653 @ zombieJ
    • 🔥 Splitter 增加 lazy 模式。#51557 @ OysterD3
    • 🔥 Button color 属性支持完整色板。#51550 @ OysterD3
    • Button Colors
    • 🆕 Button 组件新增 loadingIcon 以自定义加载图标。#51758 @ zhangchao-wooc
    • Menu
      • 🆕 Menu 新增 token subMenuItemSelectedColor,避免 itemSelectedColor 覆盖子菜单标题样式。#52182 @ afc163
      • 🐞 修复 Menu extra 字体大小和垂直居中对齐问题。#52217 @ guoyunhe
    • 🆕 语义化
      • 🆕 ConfigProvider 支持 Empty 组件语义化 classNamesstyles#52208 @ thinkasany
      • 🆕 ConfigProvider 支持 Slider 组件语义化 classNamesstyles#52185 @ thinkasany
      • 🆕 ConfigProvider 支持 Popconfirm 组件语义化 classNamesstyles#52126 @ thinkasany
      • 🆕 ConfigProvider 支持 Popover 组件语义化 classNamesstyles#52110 @ thinkasany
      • 🆕 ConfigProvider 支持 Tooltip 组件语义化 classNamesstyles#51872 @ thinkasany
      • 🆕 ConfigProvider 支持 Descriptions 组件语义化 classNamesstyles#52120 @ thinkasany
    • Tree
      • 🛠 重构 Tree 部分代码为 Function Component 以为 React 19 做更好性能准备。#52209 @ li-jia-nan
      • 💄 优化 Tree disabledselected 节点状态下的颜色展示。#52173 @ EmilyyyLiu
    • 🆕 Transfer 支持 showSearch 配置 defaultValueplaceholder#52125 @ EmilyyyLiu
    • 🆕 Calendar 支持 showWeek 属性用于显示周数列。#52072 @ afc163
    • 🆕 Mentions 新增 onPopupScroll 属性。#51858 @ OysterD3
    • 🆕 Card 增加 bodyPaddingSMheaderPaddingSMbodyPaddingheaderPadding 组件 token。#51762 @ thinkasany
    • 🆕 ColorPicker presets 支持传入 key#51794 @ li-jia-nan
    • 🆕 Cascader 新增 optionSelectedColor token。#51769 @ thinkasany
    • 🐞 修复 Layout.Sider trigger 样式不正确的问题。46a8eff @ Wxh16144
    • Table
      • 🐞 修复 Table expandable 中设置 fixed:right 不生效的问题。#52176 @ afc163
      • 🐞 修复 Table sticky 模式下水平固定滚动条在 rtl 模式下不生效的问题。#52176 @ afc163
    • 💄 优化 Flex 使其在自定义渲染组件时总是重置 marginpadding 样式。#52170 @ li-jia-nan
    • 🐞 修复 DatePicker.RangePicker needConfirm 模式偶尔在不确认仍然可以切换面板的问题。#52102 @ Zyf665
    • 🐞 修复 Slider 当 tipFormatter 未定义时导致崩溃的问题。#52184 @ thinkasany
    • 💄 优化 Collapse 聚焦样式以及折叠项圆角。#52086 @ aojunhao123
    • ⌨️ 为 Radio.Group 添加默认 name 属性以提升无障碍体验。#52076 @ aojunhao123
    • ⌨️ Input.Search添加默认 type=search 类型。#52083 @ Kaikiat1126
    • ⌨️ 优化 Tabs 键盘操作时的焦点样式。#52002 @ aojunhao123
    • Segmented
    • 📦 MISC: 用 @ ant-design/fast-color 替换 @ ctrl/tinycolor 以降低打包体积。#52190 #52157 @ aojunhao123
    • ⌨️ 调整 Input、InputNumber、Mentions、Textarea 组件清除图标从 span 元素更改为 button 元素,提高了可访问性和交互性。#52180 @ li-jia-nan
    • 🐞 MISC: 修复 React 19 下构建报错的问题。#52168 @ zombieJ
    • TypeScript
  • 5.22.7 - 2024-12-27
    • 🐞 Fix Button text and icon not align. #52132 @ afc163
    • 🐞 Fix Button throws reactRender is not a function under React 19. #52105 @ afc163
    • TypeScript
      • 🤖 Fix Menu interface type error from external module. #51715 @ msyavuz

    • 🐞 修复 Button 文字和图标不对齐的问题。#52132 @ afc163
    • 🐞 修复在 React 19 下点击 Button 时抛出 reactRender is not a function 错误的问题。#52105 @ afc163
    • TypeScript
  • 5.22.6 - 2024-12-23
    • 🐞 Align Button with and without icons consistently. #52070
    • 🐞 Fix Splitter collapsible icon z-index too low. #52065 @ wanpan11
    • 🐞 Fix Button motion not smooth when set loading. #52059 @ zombieJ
    • 🐞 Fix Button issue where solid default button text disappears on hover in dark mode. #52024 @ DDDDD12138

    • 🐞 修复 Button 有图标和无图标按钮对齐差一像素的问题。#52070
    • 🐞 修复 Splitter 组件折叠图标 z-index 层级过低问题。#52065 @ wanpan11
    • 🐞 修复 Button 启用 loading 时,动画不够顺滑的问题。#52059 @ zombieJ
    • 🐞 修复 Button 暗色模式下默认填充按钮文本在悬停时消失的问题。#52024 @ DDDDD12138
  • 5.22.5 - 2024-12-14
    • 🛠 Refactor Wave/Menu/Form ref check logic to resolve React 19 ref conflict (Note, this is not finally support React 19 but we will resolve step by step in future version). #51952 @ zombieJ
    • 🐞 Fix Dropdown cannot accept ReactNode as children. #50174 @ coding-ice
    • 🐞 Fix Carousel cannot display correctly in Modal without icon. #51988 @ quan060798
    • 🐞 Fix Select label overflow issue. #52011 @ OysterD3
    • 🐞 Fix Form setFieldValue not reset field validation. #51993 @ zombieJ
    • 🐞 Fix Pagination with setting showSizeChanger.showSearch not working. #51962 @ zombieJ
    • 🇰🇷 Improve Korean locales for DatePicker. #51983 @ DevLeti
    • 🤖 Export CheckboxChangeEvent from antd. #52008 @ SpecLad

    • 🛠 重构 Wave/Menu/Form ref 检查逻辑以解决 React 19 ref 部分冲突(注:该更新不会完全解决 React 19 兼容问题,后续将会持续更新)。#51952 @ zombieJ
    • 🐞 修复 Dropdown children 不支持传入 ReactNode 的问题。#50174 @ coding-ice
    • 🐞 修复 Carousel 某些情况下在 Modal 中无法正确展示的问题。#51988 @ quan060798
    • 🐞 修复 Select 选中文本溢出的问题 。#52011 @ OysterD3
    • 🐞 修复 Form setFieldValue 没有重置字段校验信息的问题。#51993 @ zombieJ
    • 🐞 修复 Pagination 配置 showSizeChanger.showSearch 无效的问题。#51962 @ zombieJ
    • 🇰🇷 优化 DatePicker 韩语本地化文案。#51983 @ DevLeti
    • 🤖 从 antd 里导出 CheckboxChangeEvent 类型。#52008 @ SpecLad
  • 5.22.4 - 2024-12-09
    • Transfer
      • 🐞 Fix the background overflow when Transfer selects the last item on the current page. #51884 @ ayangweb
      • 🐞 Fix Transfer toggle button being enabled when all items are disabled. #51784 @ WwwHhhYran
    • 🐞 Fix the arrow would be outside the container when the Tooltip content was too small. #51904
    • 🐞 Fix where clicking the Radio or Checkbox under Upload would trigger the popup window twice. #51874
    • 💄 Fix Menu icon alignment when using collapsedIconSize. #51863 @ Gnomeek
    • 💄 Fix incorrect styling of Tabs component when type="editable-card". #51935 @ aojunhao123
    • 💄 Fix insufficient trigger style priority in Layout.Sider component in zero-width mode. #51936 @ aojunhao123
    • 💄 MISC: Fix the icon styles were created repeatedly. #51897 @ YumoImer
    • 💄 MISC: Inline styles refactored to cssinjs. #51843

    • Transfer
      • 🐞 修复 Transfer 选中当前页最后一项时背景溢出的问题。#51884 @ ayangweb
      • 🐞 修正 Transfer 切换按钮当所有 item 禁用时依然可用的问题。#51784 @ WwwHhhYran
    • 🐞 修复 Tooltip 内容过少时,箭头会在容器外的问题。#51904
    • 🐞 修复点击 Upload 下的 Radio 或 Checkbox 会触发两次弹窗的问题。#51874
    • 💄 修复 Menu 在使用 collapsedIconSize 时图标对齐的问题。#51863 @ Gnomeek
    • 💄 修复 Tabs 组件在 type="editable-card" 时样式不正确的问题。#51935 @ aojunhao123
    • 💄 修复 Layout.Sider 组件在 zero-width 模式下触发器样式优先级不足的问题。#51936 @ aojunhao123
    • 💄 MISC: 修复 icon 样式被重复创建的问题。#51897 @ YumoImer
    • 💄 MISC: 行内样式重构为 cssinjs。#51843
  • 5.22.3 - 2024-12-02
    • 🐞 Fix Select clear button may has incorrect position within Form.item. #51649 @ dislido
    • 🐞 Fix InputNumber handleVisible token not work as expected. #51728 @ dengfuping
    • 🐞 Fix ColorPicker error when pass ReactNode to label field of presets property. #51808 @ li-jia-nan
    • 🐞 Fix Menu inlineCollapsed property not works bug within Layout. #51775 @ coderz-w
    • 🐞 Fix Table onHeaderCell provided part style can not override. #51793 @ Wxh16144
    • ⌨️ Improve Collapse accessibility. #51836 @ aojunhao123
    • TypeScript
      • 🤖 Add Table argument type for clearFilters function property. #51754 @ fubd
      • 🤖 Fix Form.List with nest field will miss value with remove when set Form preserve to false. #51796 @ zombieJ

    • 🐞 修复 Select 清除按钮在 Form.Item 中位置可能错误的问题。#51649 @ dislido
    • 🐞 修复 InputNumber handleVisible token 不生效的问题。#51728 @ dengfuping
    • 🐞 修复 ColorPicker 的 presets 属性中的 label 字段传入 ReactNode 会报错的问题。#51808 @ li-jia-nan
    • 🐞 修复 Menu 的 inlineCollapsed 属性在 Layout 中不生效的问题。#51775 @ coderz-w
    • 🐞 修复 Table onHeaderCell 提供的 style 无法被覆盖的问题。#51793 @ Wxh16144
    • ⌨️ 优化 Collapse 组件的可访问性。#51836 @ aojunhao123
    • TypeScript
      • 🤖 增加 Table 属性中 clearFilters 函数的入参类型。#51754 @ fubd
      • 🤖 修复 Form 设置 preservefalse 时,Form.List 中嵌套的字段卸载会丢失值的问题。#51796 @ zombieJ
  • 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
  • 5.17.2 - 2024-05-14
  • 5.17.1 - 2024-05-14
  • 5.17.0 - 2024-05-02
  • 5.16.5 - 2024-04-28
  • 5.16.4 - 2024-04-22
  • 5.16.3 - 2024-04-21
  • 5.16.2 - 2024-04-15
  • 5.16.1 - 2024-04-05
  • 5.16.0 - 2024-03-31
  • 5.15.4 - 2024-03-25
  • 5.15.3 - 2024-03-16
  • 5.15.2 - 2024-03-11
  • 5.15.1 - 2024-03-06
  • 5.15.0 - 2024-03-02
  • 5.14.2 - 2024-02-23
  • 5.14.1 - 2024-02-13
  • 5.14.0 - 2024-02-03
  • 5.13.3 - 2024-01-28
  • 5.13.2 - 2024-01-19
  • 5.13.1 - 2024-01-15
  • 5.13.0 - 2024-01-13
  • 5.12.8 - 2024-01-05
  • 5.12.7 - 2024-01-02
  • 5.12.6 - 2023-12-30
  • 5.12.5 - 2023-12-22
  • 5.12.4 - 2023-12-19
  • 5.12.3 - 2023-12-18
  • 5.12.2 - 2023-12-11
  • 5.12.1 - 2023-12-04
  • 5.12.0 - 2023-12-04
  • 5.11.5 - 2023-11-27
  • 5.11.4 - 2023-11-24
  • 5.11.3 - 2023-11-22
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.11.3 to 5.23.1.

See this package in npm:
antd

See this project in Snyk:
https://app.snyk.io/org/mobius1234aque/project/243f207b-2742-4911-8165-a71139e0802a?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

vercel bot commented Feb 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
repo-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 10, 2025 6:51am

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