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

fix(deps): update dependency antd to v5 #28

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 20, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
antd (source) 4.21.6 -> 5.21.1 age adoption passing confidence

Release Notes

ant-design/ant-design (antd)

v5.21.1

Compare Source


v5.21.0

Compare Source

v5.20.6

Compare Source


v5.20.5

Compare Source

  • 🛠 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

v5.20.4

Compare Source


v5.20.3

Compare Source

  • 🐞 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

v5.20.2

Compare Source

  • 💄 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

v5.20.1

Compare Source


v5.20.0

Compare Source


  • 🛠 替换 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

v5.19.4

Compare Source


v5.19.3

Compare Source

v5.19.2

Compare Source


  • 🐞 修复 List actions 为空数组时会渲染 0 的问题。#​49842 @​int64ago
  • 🐞 修复 Upload 拖拽上传文件夹时,beforeUpload fileList 不完整的问题。#​49832 @​coderz-w
  • Descriptions
  • 🐞 修复 Spin percentsize 一同使用时,样式不正确的问题。#​49876
  • 🇮🇳 补充 DatePicker 的 kn_IN 本地化文案。#​49860 @​neerajap-01
  • Typescript
    • 🐞 修复 Tree iconswitcherIcon 参数类型未能正确推导的问题。#​49821
    • 🐞 回滚 Cascader multiple 定义更新导致 value 定义丢失的问题。#​49741 @​YangZhi1

v5.19.1

Compare Source


v5.19.0

Compare Source

  • 🆕 ConfigProvider now supports global configuration for variant. #​49535 @​MadCcc
  • QRCode
  • 🆕 Select component's filterSort property now includes searchValue parameter. #​49352 @​MadCcc
  • 🆕 Pagination adds simple property, supports read-only mode, and introduces align property. #​49562 @​coding-ice
  • 🐞 Enhanced Anchor's affix property for more configuration options. #​49295 @​gin-lsl
  • DatePicker
    • 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with placement set to topRight or bottomRight.#​49333
    • 🐞 Fixed missing accessible text for DatePicker switch button, style issue in RTL mode for DatePicker.RangePicker, and crash when entering wrong end value in year selection of DatePicker.RangePicker.#​49333
    • 🐞 Fixed DatePicker.RangePicker resetting selected dates when entering dates via keyboard. #​49333
  • 🐞 Button fixed disabled property not working when used as Dropdown trigger. #​47363
  • 🐞 InputNumber now warns when using type=number with changeOnWheel. #​49648 @​wanpan11
  • Table
    • 🐞 Table fixed issue with locale.emptyText showing default value when set to a non-undefined value. #​49599 @​照明胧
    • 🐞 Fixed Table filter panel not working after customizing global Empty style. #​49548 @​duqigit
  • 🐞 Upload fixed rendering performance issue when listing many files in list mode. #​49598 @​tlkv
  • 💄 Added initial styles for SubMenu node in Menu. #​49643 @​wanpan11
  • 💄 Improved active style for Slider handle. #​49630
  • 💄 Optimized variant=borderless style for DatePicker, TimePicker, Select, TreeSelect, Input, InputNumber, Mentions, now distinguishable when setting status property. #​49608
  • 🐞 Fixed Typography ellipsis not working when parent has nowrap style. #​49667
  • TypeScript:
  • 🌐 Locales

  • 🆕 ConfigProvider 现支持全局配置 variant#​49535 @​MadCcc
  • 🆕 QRCode
  • 🆕 Select 组件的 filterSort 属性现新增获取 searchValue 的参数。#​49352 @​MadCcc
  • 🆕 Pagination 支持 simple={{ readOnly }} 属性和 align 属性。#​49562 @​coding-ice
  • 💄 优化了 Slider 滑块的激活样式。#​49630
  • 🐞 增强了 Anchor 的 affix 属性,支持更多配置项。#​49295 @​gin-lsl
  • DatePicker
    • 🐞 修复了 DatePicker/TimePicker 的 RangePicker 在 placement 设置为 topRightbottomRight 时箭头丢失的问题。#​49333
    • 🐞 修复了 DatePicker 切换按钮缺失可访问性文本的问题,修复了 DatePicker.RangePicker 在 RTL 模式下的样式问题。#​49333
    • 🐞 修复了 DatePicker.RangePicker 年选择器输入结束值错误导致报错的问题。#​49333
    • 🐞 修复了 DatePicker.RangePicker 键盘输入日期时已选日期重置的问题。#​49333
  • 🐞 Button 修复了用作 Dropdown triggerdisabled 属性不生效的问题。#​47363
  • 🐞 InputNumber 在同时使用 type=numberchangeOnWheel 时现在会给出警告提示。#​49648 @​wanpan11
  • 🐞 修复 Dropdown 次级菜单 reset 样式丢失的问题。#​49643 @​wanpan11
  • 💄 优化了 DatePicker、TimePicker、Select、TreeSelect、Input、InputNumber、Mentions 的 variant="borderless" 样式,现在在设置 status 属性时也能够被区分。#​49608
  • Table
    • 🐞 Table 修复了 locale.emptyText 设置为非 undefined 值时仍会显示默认值的问题。#​49599 @​照明胧
    • 🐞 Table 自定义全局组件的 Empty 样式后,Table的过滤面板没生效的问题。#​49548 @​duqigit
  • 🐞 Upload 修复了在列表模式下文件过多时出现的渲染性能问题。#​49598 @​tlkv
  • 🐞 Typography 修复在父元素存在 nowrap 样式时,ellipsis 不生效的问题。#​49667
  • TypeScript:
  • 🌐 国际化

v5.18.3

Compare Source


v5.18.2

Compare Source

  • 🐞 Fix the bug where the icon and the text aren't strictly centered in message. #​49429 @​nova1751
  • 🐞 Fix Table sorter argument of onChange with unexpected value for #​49134. #​49289 @​Zyf665
  • 🐞 Add aria-label for expand icon in Collapse. #​49395 @​wanpan11
  • 🐞 Fix token inputFontSizeSM and inputFontSizeLG not working in InputNumber. #​49369
  • 💄 Fix Empty sometimes doesn't take colorTextDescription as description text color. #​49408
  • 💄 Resolve Badge processing status style conflict with Tailwind CSS. #​49379
  • 🌐 Locales

  • 🐞 修复了 message 图标与文本内容没有严格居中对齐的问题。#​49429 @​nova1751
  • 🐞 修复 #​49134 #​49289 中提到的 Table 组件的 onChange 事件中排序器参数的问题。@​Zyf665
  • 🐞 为 Collapse 组件中展开/折叠图标 添加具有语义的 aria-label 属性值。#​49395 @​wanpan11
  • 🐞 修复 InputNumber 组件中 token inputFontSizeSMinputFontSizeLG 不生效的问题。#​49369
  • 💄 修复 Empty 部分样式下,描述的 colorTextDescription 不生效的问题。#​49408
  • 💄 解决 Badge processing 与 Tailwind CSS 样式冲突的问题。#​49379
  • 🌐 国际化

v5.18.1

Compare Source


  • Typography
    • 🐞 修复 Typography 组件的 ellipsispre 标签中没有正常工作的问题。#​49168 @​nova1751
    • 🐞 修复 Typography ellipsis 在 Safari 中有时不生效的问题。#​49221
  • 🐞 修复 Space size 设置 0 不生效的问题。#​49192 @​coding-ice
  • 🐞 修复 Progress 文本的 padding 在 cssinjs 下单位失效问题。#​49250 @​vagusX
  • 🐞 修复 Modal 关闭按钮的 zIndexcssVar 模式下不正确的问题。#​49238
  • 🐞 修复 Image width height 被应用到预览图片上的问题。#​49259 @​nova1751
  • 🐞 修复 Pagination 页码切换器 hover 时图标消失的问题。#​49262
  • 🐞 修复 Mentions 当 loading=true 时不响应 Enter 事件的问题。#​49292 @​wanpan11
  • 🐞 修复 Notification 没有继承 App config 属性的问题。#​49339 @​hemengke1997
  • 💄 修复 Drawer 在暗黑模式下,文本颜色不正确的问题。#​49217
  • 💄 修复 Spin 自定义 indicator 时,样式不可见以及 percent 进度没有传递的问题。#​49211 @​wanpan11
  • DatePicker
    • 🐞 修复 DatePicker/TimePicker placement 属性失效的问题。#​49303
    • 💄 修复 DatePicker 头部区域内容不居中对齐的问题。#​49332
  • TypeScript
  • 🌐 国际化

v5.18.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Nov 20, 2022
@renovate renovate bot force-pushed the renovate/antd-5.x branch 2 times, most recently from 97fb8b7 to c272232 Compare March 28, 2023 13:40
@renovate renovate bot force-pushed the renovate/antd-5.x branch 2 times, most recently from 8d83344 to 2659cdf Compare May 30, 2023 07:27
@renovate renovate bot force-pushed the renovate/antd-5.x branch 2 times, most recently from d521d4b to 23a23a5 Compare June 7, 2023 18:19
@renovate renovate bot force-pushed the renovate/antd-5.x branch 2 times, most recently from e8c8869 to ceed8df Compare June 25, 2023 10:25
@renovate renovate bot force-pushed the renovate/antd-5.x branch 3 times, most recently from 7eb61c7 to f6a3fdb Compare July 24, 2023 18:05
@renovate renovate bot force-pushed the renovate/antd-5.x branch 3 times, most recently from e902b7d to 38b013c Compare August 4, 2023 06:26
@renovate renovate bot force-pushed the renovate/antd-5.x branch 2 times, most recently from dbd9348 to 567f8fd Compare September 2, 2023 16:30
@renovate renovate bot force-pushed the renovate/antd-5.x branch 2 times, most recently from c29bc70 to 9fd36fb Compare September 15, 2023 08:39
@renovate renovate bot force-pushed the renovate/antd-5.x branch 2 times, most recently from a98f337 to 7752134 Compare September 25, 2023 07:41
@renovate renovate bot force-pushed the renovate/antd-5.x branch 2 times, most recently from f9a6852 to e36ba8b Compare May 3, 2024 11:55
@renovate renovate bot force-pushed the renovate/antd-5.x branch 3 times, most recently from 842ee73 to 6704092 Compare May 19, 2024 14:20
@renovate renovate bot force-pushed the renovate/antd-5.x branch 3 times, most recently from 3cacb84 to 03228c1 Compare June 19, 2024 07:06
@renovate renovate bot force-pushed the renovate/antd-5.x branch 2 times, most recently from 4031192 to ba4a91b Compare July 5, 2024 10:35
@renovate renovate bot force-pushed the renovate/antd-5.x branch 2 times, most recently from cc1c0da to 58014e5 Compare July 19, 2024 10:31
Copy link

coderabbitai bot commented Jul 30, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The primary change involves updating the antd dependency in the package.json file from version 4.21.6 to 5.20.3. This upgrade is expected to bring enhancements and potential fixes associated with the Ant Design library. It is crucial to evaluate the implications of these updates to ensure compatibility and optimal performance across the application.

Changes

File Change Summary
package.json Updated antd version from 4.21.6 to 5.20.3

Poem

In the garden of code where the updates bloom,
A leap from four to five dispels the gloom.
Ant Design's charm in vibrant hues,
Enhances the interface, brings forth the news!
With each new version, our dreams take flight,
Coding like rabbits, oh what a delight! 🐇✨


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 4920d0f and 8f901dd.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • package.json (1 hunks)
Additional comments not posted (1)
package.json (1)

21-21: Verify the impact of the antd update on the codebase.

The update from antd version 4.21.6 to 5.20.1 may introduce breaking changes or new features that require adjustments in the codebase. Ensure that all components and features using antd are tested for compatibility with the new version.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 8f901dd and 8e0c1ce.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • package.json (1 hunks)
Additional comments not posted (1)
package.json (1)

21-21: Verify compatibility and conduct thorough testing with antd version 5.20.2.

The antd dependency has been updated from 4.21.6 to 5.20.2. This update may introduce new features, improvements, and potentially breaking changes. It is crucial to review the release notes for this version and ensure that the application is compatible with these changes. Conduct thorough testing to verify that all components function as expected with the updated library.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 8e0c1ce and 4e004d1.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • package.json (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants