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 ^4.20.0 #287

Merged
merged 1 commit into from
Apr 24, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 24, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
antd (source) ^4.19.5 -> ^4.20.0 age adoption passing confidence

Release Notes

ant-design/ant-design

v4.20.0

Compare Source

  • 🔥 React 18 Support
    • 🐞 Fix Form with React 18 StrictMode missing error message update. #​35096
    • 🐞 Fix Notification and Message throw createRoot warning in React 18. #​35030
    • 🐞 Fix BackTop not working in StrictMode. #​34858 @​tmkx
  • 🔥 New component Segmented. #​34319
    • 🛠 Since v4.20.0 Segemented props onChange callback function parameter adjusted from ChangeEvent (v4.20.0-alpha.0, v4.20.0-alpha.1) to value to simplify API. #​35187 @​vagusX
  • Form
    • 🔥 Form support useWatch to get current field value. #​35036
    • 🆕 Form support useFormInstance to get current context form instance. #​35039
    • 💄 Fix Form broken layout when set labelCol={{ sm: 24 }} and wrapperCol={{ sm: 24 }}. #​34907
  • 🛎 Menu support items for perf prepare, and children will be removed in next major version. #​34559
  • 🆕 Image PreviewGroup Support top progress rendering. #​35038 @​zpc7
  • Upload
  • Table
    • 🆕 Support reset to the default value rather than empty, when click reset in Table column filter. #​34355 @​heiyu4585
    • 💄 Fix Table head background and selection column width styling issues when size="small". #​34963
    • 🇩🇪 Improve German translations for Table. #​34836 @​pfedan
    • ⚡️ Optimize Table filter calculation perfromance. #​35064 @​nieyuyao
    • 💄 Improve small and middle size Table selection dropdown margin style. #​35173
  • Tree
  • Breadcrumb
  • Anchor
  • Cascader
  • 🆕 Click event object can be accessed in onCopy function of Typography. #​34655 @​yzwxk
  • 🆕 Grid supports justify="space-evenly". #​34606 @​gp5251
  • 🆕 Support rootClassName property for Dialog and Image. #​34574 @​heiyu4585
  • 🐞 Fix error Nothing was returned from render when Skeleton use falsy loading props without children. #​34872 @​AlbertAZ1992
  • 💄 Optimize Switch disabled color to fit colorful background. #​35103
  • 💄 Remove Tabs overflow: hidden style to fix Select and sticky Table display problem inside Tabs. #​35195
  • 💄 Fix Steps style issues in RTL mode. #​35088 @​zpc7
  • 💄 Fix animation for standalone Badge in RTL mode. #​34899 @​hmz22
  • 🛠 Optimize Modal id generate logic to improve accessibility experience. #​35072
  • 🐞 Fix Select and AutoComplete scroll abnormal behavior when navigate via keyboard.。#​35025
  • Spin
    • 💄 Fix Spin animation style being abnormally parsed in Parcel. #​35005
    • ⌨️ Spin add aria attribute to improve accessibility. #​34408 @​heiyu4585
  • ⌨️ Dropdown support select option by keyboard. #​34738
  • 🐞 Fix Title, Text, Paragraph components cannot get ref bug. #​34847 @​MQuy
  • Input
    • 💄 Input.Group prevent components from getting style from Form.Item. #​34764
    • 💄 Adjust TextArea style in Form. #​34714
  • ⌨️ Fix aria-checked attribute for Checkbox, to avoid screen reader getting an incorrect status. #​34862 @​SpaNb4
  • Less
  • TypeScript

  • 🔥 支持 React 18 以及严格模式。
    • 🐞 修复 Form 在 React 18 的 StrictMode 下,错误信息无法更新的问题。#​35096
    • 🐞 修复 Notification 和 Message 在 React 18 下抛出使用 createRoot 的警告信息。#​35030
    • 🐞 修复 BackTop 组件在严格模式下不能正常工作的问题。#​34858 @​tmkx
  • 🔥 新增 Segmented 分段控制器组件。#​34319
    • 🛠 4.20.0 正式版后,Segemented 的 onChange 回调函数的参数从 ChangeEvent 调整为 value。如果你使用了 4.20.0-alpha.0 4.20.0-alpha.1,请注意这个变化。#​35187 @​vagusX
  • Form
    • 🔥 Form 添加 useWatch 支持获取当前字段值。#​35036
    • 🆕 Form 支持 useFormInstance 以获取当前上下文中的 Form 实例。#​35039
    • 💄 修复 Form labelCol={{ sm: 24 }}wrapperCol={{ sm: 24 }} 时样式错乱的问题。#​34907
  • 🛎 Menu 添加 items 数据化菜单项支持以为将来性能提升做准备,并且 children 将会在下个大版本中废弃。#​34559
  • 🆕 Image PreviewGroup 支持顶部进度渲染。#​35038 @​zpc7
  • Upload
  • Table
    • 🆕 Table 列筛选条件重置时,支持重置为默认值而非空值。#​34355 @​heiyu4585
    • 💄 修复 Table size="small" 时列头背景色和选择列宽度的样式问题。#​34963
    • 🇩🇪 补全 Table 的德语国际化文案。#​34836 @​pfedan
    • ⚡️ 优化 Table 过滤列表的计算性能。#​35064 @​nieyuyao
    • 💄 优化 Table size="small"size="middle" 时选择下拉菜单的边距样式。#​35173
  • Tree
    • 🆕 Tree 组件的 switcherIcon 属性支持 render-prop。#​34470 @​zqran
    • 🆕 Tree 支持 rootClassName and rootStyle#​34578
  • Breadcrumb
  • Anchor
  • Cascader
  • 🆕 Typography 的 onCopy 方法支持获取点击事件对象。#​34655 @​yzwxk
  • 🆕 Grid 支持 justify="space-evenly"#​34606 @​gp5251
  • 🆕 Dialog 及 Image 支持 rootClassName 属性。#​34574 @​heiyu4585
  • 🐞 修复 Skeleton 在没有 children 并设置 loading 为 false 时提示 Nothing was returned from render 的问题。#​34872 @​AlbertAZ1992
  • 💄 优化 Switch 禁用色以更好适应非白底背景。#​35103
  • 💄 移除 Tabs overflow: hidden 样式以修复 Select 和 sticky Table 在 Tabs 中的展现问题。#​35195
  • 💄 修正 Steps 在 RTL 模式下样式问题。#​35088 @​zpc7
  • 💄 修复 Badge 在 RTL 模式下、独立使用时的动画效果。#​34899 @​hmz22
  • 🛠 优化 Modal id 生成逻辑,以优化无障碍体验。#​35072
  • 🐞 修复 Select 和 AutoComplete 使用键盘向下滚动时行为异常的问题。#​35025
  • Spin
  • ⌨️ Dropdown 支持方向键切换选项。#​34738
  • 🐞 修复 Title、Text、Paragraph 组件不支持 ref 的问题。#​34847 @​MQuy
  • Input
  • ⌨️ 修复 Checkbox 缺少 aria-checked 属性导致屏幕阅读器识别错误的问题。#​34862 @​SpaNb4
  • Less
  • TypeScript

Configuration

📅 Schedule: "every weekend" in timezone Asia/Shanghai.

🚦 Automerge: Enabled.

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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Apr 24, 2022
@pull-request-quantifier-deprecated

This PR has 2 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!


Quantification details

Label      : Extra Small
Size       : +1 -1
Percentile : 0.8%

Total files changed: 2

Change summary by file extension:
.json : +1 -1
.lock : +0 -0

Change counts above are quantified counts, based on the PullRequestQuantifier customizations.

Why proper sizing of changes matters

Optimal pull request sizes drive a better predictable PR flow as they strike a
balance between between PR complexity and PR review overhead. PRs within the
optimal size (typical small, or medium sized PRs) mean:

  • Fast and predictable releases to production:
    • Optimal size changes are more likely to be reviewed faster with fewer
      iterations.
    • Similarity in low PR complexity drives similar review times.
  • Review quality is likely higher as complexity is lower:
    • Bugs are more likely to be detected.
    • Code inconsistencies are more likely to be detetcted.
  • Knowledge sharing is improved within the participants:
    • Small portions can be assimilated better.
  • Better engineering practices are exercised:
    • Solving big problems by dividing them in well contained, smaller problems.
    • Exercising separation of concerns within the code changes.

What can I do to optimize my changes

  • Use the PullRequestQuantifier to quantify your PR accurately
    • Create a context profile for your repo using the context generator
    • Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the Excluded section from your prquantifier.yaml context profile.
    • Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your prquantifier.yaml context profile.
    • Only use the labels that matter to you, see context specification to customize your prquantifier.yaml context profile.
  • Change your engineering behaviors
    • For PRs that fall outside of the desired spectrum, review the details and check if:
      • Your PR could be split in smaller, self-contained PRs instead
      • Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR).

How to interpret the change counts in git diff output

  • One line was added: +1 -0
  • One line was deleted: +0 -1
  • One line was modified: +1 -1 (git diff doesn't know about modified, it will
    interpret that line like one addition plus one deletion)
  • Change percentiles: Change characteristics (addition, deletion, modification)
    of this PR in relation to all other PRs within the repository.


Was this comment helpful? 👍  :ok_hand:  :thumbsdown: (Email)
Customize PullRequestQuantifier for this repository.

@sabertazimi sabertazimi merged commit 8a253e8 into main Apr 24, 2022
@sabertazimi sabertazimi deleted the renovate/dependencies branch April 24, 2022 10:21
github-actions bot added a commit that referenced this pull request Apr 24, 2022
Co-authored-by: Renovate Bot <bot@renovateapp.com> 8a253e8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Extra Small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants