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 #1001

Merged
merged 4 commits into from
Feb 12, 2023
Merged

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

merged 4 commits into from
Feb 12, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 18, 2022

Mend Renovate

This PR contains the following updates:

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

Release Notes

ant-design/ant-design

v5.2.0

Compare Source


v5.1.7

Compare Source


v5.1.6

Compare Source


v5.1.5

Compare Source


v5.1.4

Compare Source


v5.1.3

Compare Source


  • Table
    • 🛠 优化 Table shouldCellUpdate 逻辑,提升二次渲染速度。#​40063
    • 🐞 修复 Table columns.render 中如果使用闭包数据,更新闭包数据不会触发重新渲染的问题。#​40004
    • 🐞 修复 Table filter 时,边框会有黑色的问题。#​39938 @​JarvisArt
  • Button
  • 🐞 修复 Menu 自定义展开图标无法隐藏的错误。#​40071 @​Wxh16144
  • 💄 修复横向 Menu 组件暗色模式样式。#​40105
  • 💄 修复圆形 Progress 文本在 rtl 模式下不显示的问题。#​40103
  • 🐞 修复 Cascader notFoundContent 内容无法交互的问题。#​40067
  • 🐞 修复 Transfer 中 CheckBox 在列表为空的时候没有变成 disabled 状态的问题。#​40038 @​li-jia-nan
  • 💄 修复 Checkbox 同时开启 disabledindeterminate 时的样式问题。#​39974 @​ds1371dani
  • 🐞 修复 Alert.ErrorBoundary 内容溢出的问题。#​40033
  • 💄 修复 Tag onClick 为 undefined,鼠标点击也会出现边框样式。#​40023 @​crazyair
  • 💄 修复 Avatar.Group 内 Avatar 外层包裹其他元素时间距样式失效问题。#​39993
  • 🐞 修复 Submenu 箭头过渡动画不正确的问题。#​39945 @​JarvisArt
  • 🐞 修复选择列固定时滚动会被其他单元格遮盖的问题。#​39940 @​kiner-tang
  • 🌐 增加缺失的泰米尔语翻译。#​39936 @​KIRUBASHANKAR26

v5.1.2

Compare Source


  • 🆕 官网主题编辑器添加主题上传功能。#​39621 @​BoyYangzai
  • 💄 重构水波纹视效,现在可以多个水波纹同时触发了。#​39705 @​li-jia-nan
  • Table
    • 🐞 修复 Table column.filtered 更新不生效的问题。#​39883
    • 🐞 修复 Table 排序/筛选的固定列背景色透明的样式异常问题。#​39012 @​kiner-tang
  • 🐞 解决 Image 预览样式会被 TailwindCSS 影响的问题。#​39914
  • 🐞 修复 Dropdown 组件 dangerdisabled 属性同时使用的样式问题。#​39904 @​Wxh16144
  • 🐞 修复 App useAppmodal 确认按钮文案。#​39884 @​BoyYangzai
  • 🐞 修复 Input.Group 在 windows 下缩放屏幕时的错位问题。#​39842 @​heiyu4585
  • 🐞 修复 Slider 展示 Tooltip 时动画丢失的问题。#​39857
  • 🐞 修复 QRCode 过期文案在暗色模式下看不清的问题。#​39849 @​li-jia-nan
  • 🐞 修复 Tree 在暗黑模式下 switcher 背景显示异常问题。#​39838 @​kiner-tang
  • 🐞 修复 Menu 组件滑块在 border 被预设值重置时的样式问题。#​39819
  • 🐞 修复 Checkbox 禁用时不支持 Tooltip 和 Popover 的问题。#​39829

v5.1.1

Compare Source


  • 📦 在构建流程中去掉对 IE 等旧版本浏览器的支持以减少包体积。#​38779
  • ⚡️ 提升 Transfer 在大数据量下勾选和移动节点时的性能。#​39465 @​wqs576222103
  • 🐞 修复组件字体错误问题。#​39806
  • 🐞 修复 Drawer placement open width 等参数为 undefined 时默认值不生效的问题。#​39782
  • 🐞 修复 Menu 切换时图标动画效果不流畅的问题。#​39800 @​JarvisArt
  • 🐞 修复 Image 预览操作条在动态过程中会被高 zIndex 的元素覆盖。#​39788 @​JarvisArt
  • 🐞 修复 List 组件分页器错误参数导致报错问题。#​39681 @​Wxh16144
  • 🐞 修复 Space align="baseline" 不生效的问题。#​39748 @​candy4290
  • Table
    • 🐞 修复 Table 可扩展行标题没有左上边框半径的问题。#​39781 @​chunsch
    • 🐞 修复 Table 列头的圆角丢失问题。#​39723
    • 🐞 修复 Table 组件合并单元格后底部边框消失和边框重叠时颜色变深的问题。#​39729
    • ⌨️ 修正 Table aria-* 属性到 table 元素上以支持更好的可访问性。#​39700
    • ⌨️ 重置 Table 列的 aria-label 属性值。#​39738 @​kiner-tang
    • 💄 为 Table 边框添加过渡动画使其 hover 效果更顺滑。#​39713 @​JarvisArt
  • 🐞 修复 Tabs 添加按钮在暗色模式下不可见的问题。#​39724
  • 🐞 修复 Card 只有 extra 时标题栏高度不足的问题。#​39646 @​JarvisArt
  • 🐞 修复 Row 组件 justifyalign 属性,动态改变不生效的问题。#​39704 @​candy4290
  • 🐞 修复 App 中 children 使用相同 key 的警告。#​39695 @​Kamahl19#​39701 @​li-jia-nan
  • 💄 Image 组件预览交互优化. #​39812 @​JarvisArt
  • 💄 修复 Table 筛选菜单选中背景色和菜单阴影样式。#​39805
  • TypeScript
    • 🤖 修复部分 Design Token 缺少类型提示的问题。#​39754

v5.1.0

Compare Source


  • 🔥 新增 App 包裹组件,提供重置样式和提供消费上下文的默认环境。#​39046
  • 🔥 新增 QRCode 二维码组件。#​38948
  • 🔥 新增 Watermark 水印组件。#​39064 @​JarvisArt
  • 🆕 Mentions 新增 options 配置。#​38630 @​heiyu4585
  • 🆕 FloatButton 新增支持点击外侧自动关闭功能。#​39501 @​BoyYangzai
  • 🆕 Popconfirm 组件新增 description 属性。#​39250 @​xhh0223
  • 🆕 Modal.confirm 新增 footer 属性以自定义按钮列表。#​39048 @​owjs3901
  • 🆕 Table 新增 rowScope 以设置列范围。#​39571
  • 🆕 Anchor 新增 items 数据化配置选项内容,支持通过 children 嵌套。#​39034 @​foryuki
  • 🆕 Grid 组件的响应式断点现在会消费主题 token 配置。#​39105 @​azro352
  • 🆕 Tour 的 prevButtonProps nextButtonProps 新增 styleclassname 设置。#​38939 @​ONLY-yours
  • 🆕 ConfigProvider 支持配置 select.showSearch#​39531 @​YinDongFang
  • 🐞 修复 Tabs inkBar 在 StrictMode 下不展示的问题。#​39653
  • 🐞 修复 Badge 组件宽度不受父元素影响。#​39605 @​AydenGen
  • Select
    • 🐞 修复 Select 组件 icon 颜色使用的 token。#​39644
    • 💄 优化 Select 无障碍体验,当 virtual=false 时,将会绑定无障碍访问到实际选项元素上。#​39550
  • 🐞 修复 Tour steps 设置 type="primary" 无效的问题。#​39382 @​heiyu4585
  • 🐞 修复带有 href 的 Button 组件 disabled 时 style 不生效的问题。#​39456 @​BoyYangzai
  • 🐞 修复 Segmented 组件 icon 与文字间距消失的问题。#​39575
  • 🐞 修复 Drawer 组件关于 DefaultProps 的警告。#​39562
  • Menu
    • 🐞 修复 React18 中使用 createRoot 渲染 Menu.Submenu 会闪烁的问题。#​38855 @​JarvisArt
    • 🛠 重构 MenuItem 为 Function Component。#​38751
    • 💄 优化 Menu 组件选中样式。#​39439
  • 🛠 LocaleProvider 在 4.x 中已经废弃(使用 <ConfigProvider locale /> 替代),我们在 5.x 里彻底移除了相关目录 antd/es/locale-provider、antd/lib/locale-provider。#​39373
  • 🛠 简化 lodash 方法引用。#​39599 #​39602
  • TypeScript
    • 🤖 优化 Button DropDown Modal Popconfirm Select Transfer 鼠标事件类型定义。#​39533
    • 🤖 新增导出类型 FloatButtonGroupProps#​39553
  • 🌐 国际化

v5.0.7

Compare Source

  • 🐞 Fix Slider's Tooltip missing animation. #​39463 @​YinDongFang
  • 🐞 Fix Table unexpected horizontal scroll bar when empty and bordered. #​39455 @​zjfresh
  • 🐞 Fix Popover arrow background color with customized color. #​39517
  • 🐞 Fix Modal hooks not pass ConfigProvider config correctly. #​39513
  • 🐞 Fix Radio align issue with custom size. #​39476

  • 🐞 修复 Slider 组件 Tooltip 动画丢失问题。#​39463 @​YinDongFang
  • 🐞 修复 Table 组件有边框且为空时出现横向滚动条的问题。#​39455 @​zjfresh
  • 🐞 修复 Popover 组件箭头背景色不随自定义颜色改变的问题。#​39517
  • 🐞 修复 Modal hooks 没有完全传递 ConfigProvider 配置的问题。#​39513
  • 🐞 修复 Radio 组件尺寸修改后不对齐的问题。#​39476

v5.0.6

Compare Source

  • 🐞 Fix FloatButton tooltip property is not support 0 value. #​39425 @​li-jia-nan
  • 🐞 Fix Space wrapped Select not display clear icon problem when mouse hover. #​39468 @​foryuki
  • 💄 Fix Cascader ul has unexpected margin value. #​39436 @​ZN1996
  • 💄 Fix Input has unexpected padding problem in compact mode. #​39428
  • 💄 Optimize Message padding in compact mode. #​39428
  • 💄 Fix Radio.Button has unexpected text color in dark mode. #​39428
  • 💄 Fix Select has unexpected padding problem in compact mode. #​39428
  • 💄 Fix Slider has unexpected size for marking dot. #​39428
  • 💄 Optimize Switch color in dark mode. #​39428

  • 🐞 修复 FloatButton 的 toolip 属性不支持设置为 0 的问题。#​39425 @​li-jia-nan
  • 🐞 修复 Space 组件包裹的 Select 系列组件在 hover 时清除图标不展示的问题。#​39468 @​foryuki
  • 💄 修复 Cascader 内部 ul 的 margin 值异常的问题。#​39436 @​ZN1996
  • 💄 修复 Input 组件在紧凑模式下内边距异常的问题。#​39428
  • 💄 优化 Message 组件在紧凑模式下的内边距。#​39428
  • 💄 修复 Radio.Button 组件在暗色模式下的文字颜色。#​39428
  • 💄 修复 Select 组件在紧凑模式下内边距异常的问题。#​39428
  • 💄 修复 Slider 组件标签原点样式问题。#​39428
  • 💄 优化 Switch 组件暗色模式下的颜色。#​39428

v5.0.5

Compare Source


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Asia/Shanghai, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 18, 2022
@vercel
Copy link

vercel bot commented Nov 18, 2022

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

Name Status Preview Comments Updated
blog ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 12, 2023 at 3:42AM (UTC)

@renovate renovate bot requested a review from sabertazimi November 18, 2022 18:06
@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 2022

Lighthouse Report

https://blog-6fjhmn35m-sabertaz.vercel.app/

🚀 Vercel preview deployment
Lighthouse report

Category Score
🟢 performance 93
🟢 accessibility 100
🟢 best-practices 100
🟢 seo 100
🟢 pwa 100

https://blog-6fjhmn35m-sabertaz.vercel.app/posts

🚀 Vercel preview deployment
Lighthouse report

Category Score
🟢 performance 92
🟢 accessibility 100
🟢 best-practices 100
🟢 seo 100
🟢 pwa 100

https://blog-6fjhmn35m-sabertaz.vercel.app/tags

🚀 Vercel preview deployment
Lighthouse report

Category Score
🟢 performance 96
🟢 accessibility 100
🟢 best-practices 100
🟢 seo 100
🟢 pwa 100

https://blog-6fjhmn35m-sabertaz.vercel.app/books

🚀 Vercel preview deployment
Lighthouse report

Category Score
🟢 performance 99
🟢 accessibility 100
🟢 best-practices 100
🟢 seo 100
🟢 pwa 100

https://blog-6fjhmn35m-sabertaz.vercel.app/about

🚀 Vercel preview deployment
Lighthouse report

Category Score
🟢 performance 98
🟢 accessibility 100
🟢 best-practices 100
🟢 seo 100
🟢 pwa 100

@renovate
Copy link
Contributor Author

renovate bot commented Feb 12, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@pull-request-quantifier-deprecated

This PR has 31 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       : +15 -16
Percentile : 12.4%

Total files changed: 29

Change summary by file extension:
.tsx : +12 -13
.ts : +1 -1
.snap : +0 -0
.json : +1 -1
.css : +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 detected.
  • 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.

@codecov
Copy link

codecov bot commented Feb 12, 2023

Codecov Report

Merging #1001 (08ce1cf) into main (4359802) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1001      +/-   ##
==========================================
- Coverage   99.42%   99.42%   -0.01%     
==========================================
  Files         176      176              
  Lines        1039     1038       -1     
  Branches       88       88              
==========================================
- Hits         1033     1032       -1     
  Misses          5        5              
  Partials        1        1              
Impacted Files Coverage Δ
components/Anchor/Anchor.tsx 100.00% <100.00%> (ø)
components/Anchor/index.ts 100.00% <100.00%> (ø)
components/Article/ArticleToc.tsx 100.00% <100.00%> (ø)
components/BackTop/BackTop.tsx 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@sabertazimi sabertazimi merged commit 9247681 into main Feb 12, 2023
@sabertazimi sabertazimi deleted the renovate/antd-5.x branch February 12, 2023 03:46
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.

None yet

1 participant