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

docs: add 5.1.0 changelog #39667

Merged
merged 6 commits into from Dec 20, 2022
Merged

docs: add 5.1.0 changelog #39667

merged 6 commits into from Dec 20, 2022

Conversation

xrkffgg
Copy link
Member

@xrkffgg xrkffgg commented Dec 19, 2022

  • 🔥 新增 App 包裹组件,提供重置样式和提供消费上下文的默认环境。#39046
  • 🔥 新增 QRCode 二维码组件。#38948
  • 🔥 新增 Watermark 水印组件。#39064 @JarvisArt
  • 🆕 Mentions 新增 options 配置。#38630 @heiyu4585
  • 🆕 FloatButton 新增支持点击外侧自动关闭功能。#39501 @BoyYangzai
  • 🆕 Popconfirm 组件新增 description 属性。#39250 @xhh0223
  • 🆕 Modal.confirm 新增 footer 属性以自定义按钮列表。#39048 @owjs3901
  • 🆕 Anchor 新增 items 数据化配置选项内容,支持通过 children 嵌套。#39034 @foryuki
  • 🆕 Breakpoints 现在会消费主题 token 配置。#39105 @azro352
  • 🆕 Tour 的 prevButtonProps nextButtonProps 新增 styleclassname 设置。#38939 @ONLY-yours
  • 🆕 ConfigProvider 支持配置 select.showSearch#39531 @YinDongFang
  • 🐞 修复 Tabs inkBar 在 StrictMode 下不展示的问题。#39653
  • 🐞 修复 Badge 组件宽度不受父元素影响。#39605 @AydenGen
  • 🐞 修复 React18 中使用 createRoot 渲染 Menu.Submenu 会闪烁的问题。#38855 @JarvisArt
  • 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 组件选中样式。#39439
  • 🛠 LocaleProvider 在 4.x 中已经废弃(使用 <ConfigProvider locale /> 替代),我们在 5.x 里彻底移除了相关目录 antd/es/locale-provider、antd/lib/locale-provider。#39373
  • 🛠 重构 MenuItem 为 Function Component。#38751
  • 🛠 移除 DatePicker locale 非空判断。#39514 @nnnnoel
  • TypeScript
    • 🤖 优化 Button DropDown Modal Popconfirm Select Transfer 鼠标事件类型定义。#39533
    • 🤖 新增导出类型 FloatButtonGroupProps#39553
  • 🌐 国际化

@github-actions
Copy link
Contributor

github-actions bot commented Dec 19, 2022

@github-actions
Copy link
Contributor

github-actions bot commented Dec 19, 2022

🎉 Verify package version passed!

PR package version PR title version
5.1.0 5.1.0

@github-actions
Copy link
Contributor

github-actions bot commented Dec 19, 2022

size-limit report 📦

Path Size
./dist/antd.min.js 377.37 KB
./dist/antd-with-locales.min.js 432.67 KB (+1 B 🔺)

@codecov
Copy link

codecov bot commented Dec 19, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (70f7940) compared to base (b6d8de0).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #39667   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          556       556           
  Lines         9605      9605           
  Branches      2717      2717           
=========================================
  Hits          9605      9605           

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

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.en-US.md Outdated Show resolved Hide resolved
`2022-12-20`

- 🔥 New App Component which provide global style & static function replacement. [#39046](https://github.com/ant-design/ant-design/pull/39046)
- 🔥 New QRCode Component. [#38948](https://github.com/ant-design/ant-design/pull/38948)
Copy link
Contributor

Choose a reason for hiding this comment

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

你有权限, 不用写吧.

`2022-12-20`

- 🔥 新增 App 包裹组件,提供重置样式和提供消费上下文的默认环境。[#39046](https://github.com/ant-design/ant-design/pull/39046)
- 🔥 新增 QRCode 二维码组件。[#38948](https://github.com/ant-design/ant-design/pull/38948)
Copy link
Member

Choose a reason for hiding this comment

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

collaborator 默认不写了

CHANGELOG.en-US.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
@afc163
Copy link
Member

afc163 commented Dec 20, 2022

#39594 感觉也可以写下。

@afc163
Copy link
Member

afc163 commented Dec 20, 2022

https://github.com/ant-design/ant-design/pull/39571/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L147

这里升级了 rc-table,要去底层组件看看有哪些改动要反应到这里。

xrkffgg and others added 3 commits December 20, 2022 20:33
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
- 🆕 FloatButton 新增支持点击外侧自动关闭功能。[#39501](https://github.com/ant-design/ant-design/pull/39501) [@BoyYangzai](https://github.com/BoyYangzai)
- 🆕 Popconfirm 组件新增 `description` 属性。[#39250](https://github.com/ant-design/ant-design/pull/39250) [@xhh0223](https://github.com/xhh0223)
- 🆕 Modal.confirm 新增 `footer` 属性以自定义按钮列表。[#39048](https://github.com/ant-design/ant-design/pull/39048) [@owjs3901](https://github.com/owjs3901)
- 🆕 Table 新增 `rowScope` 以设置列范围。[#39571](https://github.com/ant-design/ant-design/pull/39571)
Copy link
Member

Choose a reason for hiding this comment

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

rowScope antd 文档里也要补一下?

Copy link
Member Author

Choose a reason for hiding this comment

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

ok

@xrkffgg xrkffgg merged commit ea55af1 into master Dec 20, 2022
@xrkffgg xrkffgg deleted the k-changelog branch December 20, 2022 13:15
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.

None yet

5 participants