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.3.2 to 5.20.5 #325

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

Conversation

nvmitsme
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade antd from 5.3.2 to 5.20.5.

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

  • The recommended version was released on 22 days ago.

Release notes
Package name: antd
  • 5.20.5 - 2024-09-03
    • 🛠 Adjust Tree & TreeSelect defaultExpandAll logic to only add internal expandedKeys which treeNode has children instead to avoid perf issue when with large data or loadData case. #50689 @ zombieJ
    • 🐞 Fix Cascader not show parent option in search when using multiple. #50689
    • 🐞 Fix Typography ellipsis.tooltip.title with ReactNode will cause dead loop. #50688 @ zombieJ

    • 🛠 调整 Tree 与 TreeSelect 的 defaultExpandAll 的行为,仅将有子节点的 treeNode 加入 expandedKeys 以防止在大数据与 loadData 异步的情况下引发的性能问题。#50689 @ zombieJ
    • 🐞 修复 Cascader 在 multiple 下搜索不会显示父节点作为选项的问题。#50689
    • 🐞 修复 Typography ellipsis.tooltip.title 配置 ReactNode 会导致死循环的问题。#50688 @ zombieJ
  • 5.20.4 - 2024-09-02

    • Menu
      • 🐞 修复 Menu 的 itemPaddingInline token 不生效的问题。#50663 @ coding-ice
      • 🐞 修复 Menu hover 时背景色切换渐变效果丢失的问题。#50624 @ afc163
    • 💄 给 Badge 增加一个动画缓动效果。#50607 @ afc163
    • 💄 修复 Table 列头切换状态时多余的的移动缓动动画。#50605 @ afc163
    • 🛠 重构 Typography 代码以优化内部实现逻辑。#50561 @ afc163
    • 🐞 当表单被禁用时,禁用 Form.Item 中的 Rate 组件。#50594 @ nikzanda
    • 🌐 补充土耳其 Transfer.deselectAll 本地化文本。#50672 @ coding-ice
  • 5.20.3 - 2024-08-26
    • 🐞 Refactor Typography native css ellipsis measure logic to handle precision edge case. #50514 @ zombieJ
    • 🐞 Fix ColorPicker onChangeComplete not correct when click directly without move on the picker panel. #50501 @ zombieJ
    • 🐞 Fix FloatButton.Group with controlled mode warning for nest updating issue. #50500 @ zombieJ

    • 🐞 重构 Typography 在使用 css 原生省略时的检查逻辑,以解决屏幕缩放等情况下的精度问题。#50514 @ zombieJ
    • 🐞 修复 ColorPicker 组件在面板上不拖拽直接点击的时候,onChangeComplete 返回值不正确的问题。#50501 @ zombieJ
    • 🐞 修复 FloatButton.Group 在受控模式下 React 会警告递归更新的问题。#50500 @ zombieJ
  • 5.20.2 - 2024-08-19
    • 💄 Fix the suffix style problem of InputNumber without control. #50450 @ coding-ice
    • 🆕 Form rule.message supports skipping variable substitution through \\${}. #50412 @ zombieJ
    • 🐞 Fixed the issue where the rounded corners of the trigger element are missing when the FloatButton component has shape="square" and in menu mode when the menu pops up. #50408 @ li-jia-nan
    • 🐞 Fixed the problem that Upload.Dragger does not work when dragging and dropping upload folders. #50394 @ huiliangShen
    • 🐞 Fixed the issue where the arrow icon disappears after hovering when Select specifies getPopcontainer={node=node.parentNode}. #50382 @ afc163
    • 🐞 Fixed the arrow misalignment error when Popover sets the arrow.pointAtCenter property. #50260 @ Wxh16144
    • 📖 Transfer adds Russian and Ukrainian localization copy. #50429 @ alexlag
    • TypeScript
      • 🤖 Roll back the Table partial generic constraint object to any to reduce break changes caused by #50351. #50372 @ crazyair

    • 💄 修复 InputNumber 没有控件的后缀样式问题。#50450 @ coding-ice
    • 🆕 Form rule.message 支持通过 \\${} 跳过变量替换。#50412 @ zombieJ
    • 🐞 修复了 FloatButton 组件当 shape=“square” 时,并且在菜单模式下,菜单弹出时 trigger 元素圆角缺失的问题。#50408 @ li-jia-nan
    • 🐞 修复 Upload.Dragger 拖拽上传文件夹时不工作问题。#50394 @ huiliangShen
    • 🐞 修复 Select 指定 getPopcontainer={node=node.parentNode} 时箭头图标 hover 后会消失的问题。#50382 @ afc163
    • 🐞 修复 Popover 设置 arrow.pointAtCenter 属性时箭头未对齐错误。#50260 @ Wxh16144
    • 📖 Transfer 补充俄罗斯语和乌克兰语本地化文案。#50429 @ alexlag
    • TypeScript
      • 🤖 将 Table 部分泛型约束 object 回滚为 any,以减少 #50351 造成的 break change。#50372 @ crazyair
  • 5.20.1 - 2024-08-11
    • ColorPicker
      • 🐞 Fix ColorPicker compile error of @ ant-design/fast-color. #50293 @ afc163
      • 💄 Fix ColorPicker not adjust border style when under Space.Compact. #50291 @ zombieJ
    • 💄 Fix Table zIndexTableFixed token not support CSS var. #50355 @ li-jia-nan
    • 🐞 Fix FloatButton don't support zIndexPopupBase token. #50349 @ Yuzu-io
    • 🐞 Fix Typography tooltip not show with precision issue of ellipsis. #50315 @ zombieJ
    • 🐞 Fix Form preserve={false} should not trigger shouldUpdate rerender. #50283 @ zombieJ
    • 🐞 Fix Tour default z-index not follow zIndexPopup token issue. #50300 @ zombieJ
    • 🐞 Fix Calendar locale should override locale from ConfigProvider. #50236 @ Asanio06
    • 🐞 Fix Spin align issue when setting percent. #50277 @ Wxh16144
    • 🐞 Fix Tree switcher position not ping at top when title break the line. #50313 @ zombieJ
    • 🌐 Locales
    • TypeScript

    • ColorPicker
      • 🐞 修复 ColorPicker 出现 @ ant-design/fast-color 编译报错问题。#50293 @ afc163
      • 💄 修复 ColorPicker 在 Space.Compact 下圆角样式不会调整的问题。#50291 @ zombieJ
    • 💄 修复 Table zIndexTableFixed token 不支持传入 CSS 变量的问题。#50355 @ li-jia-nan
    • 🐞 修复 FloatButton 不支持 zIndexPopupBase token 的问题。#50349 @ Yuzu-io
    • 🐞 修复 Typography 的 ellipsis 因为精度问题导致 tooltip 无法显示的问题。#50315 @ zombieJ
    • 🐞 修复 Form preserve={false} 会触发 shouldUpdate rerender 的问题。#50283 @ zombieJ
    • 🐞 修复 Tour 默认 z-index 没有使用 zIndexPopup token 的问题。#50300 @ zombieJ
    • 🐞 修复 Calendar locale 没有正确覆盖 ConfigProvider locale 的问题。#50236 @ Asanio06
    • 🐞 修复 Spin 组件设置 percent 时未水平居中的问题。#50277 @ Wxh16144
    • 🐞 修复 Tree 展开按钮在标题折行时没有顶上对齐的问题。#50313 @ zombieJ
    • 🌐 本地化
    • TypeScript
      • 🤖 优化 Table 中所有的 Record 类型从 any 约束为 Object 类型。#50351 @ li-jia-nan
  • 5.20.0 - 2024-08-03
    • 🛠 Replace ColorPicker internal @ ctrl/tiny-color with @ ant-design/fast-color. #49846
    • 🆕 ConfigProvider support indicator property for Spin. #50183 @ coding-ice
    • 🆕 Upload showUploadList support extra for additional content. #50098 @ guoyunhe
    • 🆕 Tree support custom loading icon for tree nodes with new prop switcherLoadingIcon. #49716 @ coding-ice
    • 🆕 Slider support range.editable to dynamic add/remove handles. #49923
    • 🆕 Slider range.editable support minCount and maxCount. #49987
    • 🆕 Support custom status render in QRCode. #49563 @ kiner-tang
    • 🆕 Table component supports custom Filter dropdown box empty status. #49613 @ Wxh16144
    • 🆕 Allow user to add the Divider style of dashed, dotted or solid. #49654 @ pinaki-08
    • 🆕 InputNumber supports suffix prop. #49674 @ coding-ice
    • 🆕 ColorPicker support gradient color type and fix controlled mode not working. #50050
    • 🆕 Input/TextArea/Mentions support onClear prop. #49905 @ li-jia-nan
    • ⌨️ Optimize Input be changed repeatedly when hold the enter key in multi-mode. rc-input#72 @ crazyair
    • 🐞 Fix the issue where line-height is not effective in cssinjs mode for ColorPicker. #50220 @ vagusX
    • 🐞 Fix cursor disabled state for ColorPicker. #50217 @ coding-ice
    • 🐞 Fix grouping columns does not apply sorting for Table. #50086 @ Zyf665
    • 🐞 Fix Popover/PopConfirm/Tooltip with topLeft, topRight, bottomLeft, bottomRight zoom in transform origin not correct when target element width is too large. #50134
    • 💄 Fix Tree filter node style lost. #49773 @ wanpan11
    • 💄 Optimize ColorPicker when selecting a color from the transparent state, it defaults to using a bright color instead of black color to enhance the user interaction experience. #50148
    • TypeScript
    • 🌐 Locales

    • 🛠 替换 ColorPicker 内部使用的 @ ctrl/tiny-color@ ant-design/fast-color#49846
    • 🆕 ConfigProvider 支持配置 Spin 的 indicator 属性。#50183 @ coding-ice
    • 🆕 Upload showUploadList 添加 extra 以支持渲染额外信息。#50098 @ guoyunhe
    • 🆕 Tree 新增 switcherLoadingIcon 属性以支持自定义树节点的加载图标#49716 @ coding-ice
    • 🆕 Slider 支持 range.editable 以动态添加/删除节点。#49923
    • 🆕 Slider range.editable 支持 minCountmaxCount 以配置可编辑节点树。#49987
    • 🆕 在 QRCode 中支持自定义状态渲染。#49563 @ kiner-tang
    • 🆕 Table 组件支持自定义过滤器下拉框空状态。 #49613 @ Wxh16144
    • 🆕 Divider 支持添加 dashed(虚线)、dotted(点线)或 solid(实线)的样式。#49654 @ pinaki-08
    • 🆕 InputNumber 支持 suffix 属性。#49674 @ coding-ice
    • 🆕 ColorPicker 支持渐变色选择,并修复受控模式不生效的问题。#50050
    • 🆕 Input/TextArea/Mentions 组件支持 onClear 回调,便于区分点击 x 清除和手动清除这两个行为。#49905 @ li-jia-nan
    • ⌨️ 优化 Input 下长按回车会不断触发变更的问题。rc-input#72 @ crazyair
    • 🐞 修复 ColorPicker 在 cssinjs 模式下 line-height 失效的问题。#50220 @ vagusX
    • 🐞 修复 ColorPicker 在 disabled 状态下的光标问题. #50217 @ coding-ice
    • 🐞 修复 Table 中列存在分组时,排序不生效的问题。#50086 @ Zyf665
    • 🐞 修复 Popover/PopConfirm/Tooltip 在目标元素宽度过大时,使用 topLeft, topRight, bottomLeft, bottomRight 的弹出动画起始缩放中心有所偏移的问题。#50134
    • 💄 修复 Tree 组件 filter-node 节点高亮样式丢失。#49773 @ wanpan11
    • 💄 优化 ColorPicker 当从 transparent 状态进行颜色选取时,默认使用亮色以代替原本的纯黑色以提升用户交互体验。#50148
    • TypeScript
    • 🌐 Locales
  • 5.19.4 - 2024-07-30
    • 🐞 Fix the internal elements of Form.Item did not inherit the row height. #50020 @ Wanpan
    • 🐞 Fix Overlay is still displayed when both Popover title and content do not exist. #50064 @ LLmoskk
    • 🐞 Fix the Token of Empty setting opacityImage does not take effect. #50066 @ thinkasany
    • 💄 Fix Tour overflowed the screen on mobile devices. #50082
    • 💄 Fix hover style of Checkbox indeterminate state. #50083
    • 💄 Fix DatePicker selection style is not intuitive under rtl. #50045 @ Layouwen
    • 💄 Fix Descriptions overflowing the container in bordered mode. #49946 @ leefinder
    • 🛠 MISC: Migrate common style tools to @ ant-design/cssinjs-utils. #50030 @ YumoImer
    • 🌐 Locales

    • 🐞 修复 Form.Item 内部元素没有继承行高的问题。#50020 @ Wanpan
    • 🐞 修复 Popover titlecontent 都不存在时 Overlay 仍显示的问题。#50064 @ LLmoskk
    • 🐞 修复 Empty Token 设置 opacityImage 不生效的问题。#50066 @ thinkasany
    • 💄 修复 Tour 在移动端下溢出屏幕的问题。#50082
    • 💄 修复 Checkbox indeterminate 状态的 hover 样式。#50083
    • 💄 修复 DatePicker 在 rtl 下选择样式不符直觉。#50045 @ Layouwen
    • 💄 修复 Descriptions 在 bordered 模式下溢出容器的问题。#49946 @ leefinder
    • 🛠 MISC:将通用样式工具迁移到 @ ant-design/cssinjs-utils#50030 @ YumoImer
    • 🌐 国际化
  • 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
  • 5.11.3-alpha.0 - 2023-11-22
  • 5.11.2 - 2023-11-17
  • 5.11.1 - 2023-11-09
  • 5.11.0 - 2023-11-03
  • 5.10.3 - 2023-10-30
  • 5.10.2 - 2023-10-20
  • 5.10.1 - 2023-10-15
  • 5.10.0 - 2023-10-10
  • 5.9.4 - 2023-09-28
  • 5.9.3 - 2023-09-25
  • 5.9.2 - 2023-09-19
  • 5.9.1 - 2023-09-15
  • 5.9.0 - 2023-09-08
  • 5.8.6 - 2023-09-02
  • 5.8.5 - 2023-08-28
  • 5.8.4 - 2023-08-18
  • 5.8.3 - 2023-08-11
  • 5.8.2 - 2023-08-04
  • 5.8.1 - 2023-08-02
  • 5.8.0 - 2023-08-01
  • 5.7.3 - 2023-07-24
  • 5.7.2 - 2023-07-20
  • 5.7.1 - 2023-07-19
  • 5.7.0 - 2023-07-11
  • 5.6.4 - 2023-07-03
  • 5.6.3 - 2023-06-25
  • 5.6.2 - 2023-06-19
  • 5.6.2-alpha.0 - 2023-06-15
  • 5.6.1 - 2023-06-07
  • 5.6.0 - 2023-06-06
  • 5.6.0-alpha.0 - 2023-05-22
  • 5.5.2 - 2023-05-30
  • 5.5.1 - 2023-05-22
  • 5.5.0 - 2023-05-15
  • 5.4.7 - 2023-05-06
  • 5.4.6 - 2023-04-26
  • 5.4.5 - 2023-04-23
  • 5.4.4 - 2023-04-20
  • 5.4.3 - 2023-04-19
  • 5.4.2 - 2023-04-11
  • 5.4.1 - 2023-04-11
  • 5.4.0 - 2023-04-03
  • 5.3.3 - 2023-03-28
  • 5.3.2 - 2023-03-20
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.3.2 to 5.20.5.

See this package in npm:
antd

See this project in Snyk:
https://app.snyk.io/org/linjiayi11/project/5c498f4d-1a32-4464-a10e-9025ad9647fb?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