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 changelog for 5.4.0 #41587

Merged
merged 10 commits into from
Apr 3, 2023
Merged

docs: add changelog for 5.4.0 #41587

merged 10 commits into from
Apr 3, 2023

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Apr 1, 2023

  • 🗑 Remove antd/es/locale-provider antd/lib/locale-provider directory since LocaleProvider was replaced by ConfigProvider and removed in 4.x version years before. #41289 @li-jia-nan
  • 🆕 DatePicker/TimePicker/Calendar could change date-library to luxon now. #41580 @hihuz
  • 🆕 Add Form.Item.useStatus hook to get error messages. #41554 @Yuiai01
  • 🆕 Input and Input.TextArea support classNames and styles props. #41493
  • 🆕 Tag add bordered={false} to support border-less style. #41305 @li-jia-nan
  • 🆕 FloatButton support badge prop. #41040 @li-jia-nan
  • 🆕 Select add title property. #41280
  • 🆕 Image component supports preview.rootClassName. #41265 @Yuiai01
  • 🆕 Modal added afterOpenChange prop. #41253 @MuxinFeng
  • 🆕 Form.useWatch could watch field change at preserve mode. #41191 @li-jia-nan
  • 🛠 Refactor some components by using useMemo. #41533 #41550 @li-jia-nan
  • 🛠 Refactor Checkbox with hooks and new types. #41117
  • 🛠 Refactor Input.TextArea that move count into affixWrapper element. #41450
  • 🆕 DatePicker/Calendar add cellRender for custom cells and deprecated properties dateRender and monthCellRender in DatePicker, deprecated properties dateCellRendermonthCellRenderdateFullCellRendermonthFullCellRender in Calendar. #41584 @kiner-tang
  • 🐞 Fix Tour double arrow problem. #41578 @acyza
  • 🐞 Fix Checkbox with customize controlHeight token not align in center with text. #41566
  • 🐞 Fix Form.Item not rendering correctly in Modal when it has help. #40519 @Yuiai01
  • 🐞 Fix Form wrong UI status when using hasFeedback. #41594 @Yuiai01
  • 🐞 Fix Slider throws warning [antd: Tooltip] forcePopupAlign is align to forceAlign instead. #41540 @MuxinFeng
  • 🐞 Fix checkable Table checking not working when click on the edge of checkbox. #41519
  • Locales

  • 🗑 移除 antd/es/locale-provider antd/lib/locale-provider 目录,LocaleProvider 已在 4.x 版本移除,使用 ConfigProvider 作为替代。#41289 @li-jia-nan
  • 🆕 DatePicker 等时间类组件可以定制 luxon 作为日期库。#41580 @hihuz
  • 🆕 新增 Form.Item.useStatus 以支持获取错误状态信息。#41554 @Yuiai01
  • 🆕 Input 和 Input.TextArea 组件支持 classNamesstyles 属性,用于更细粒度的样式自定义。#41493
  • 🆕 Tag 新增无边框模式。#41305 @li-jia-nan
  • 🆕 FloatButton 支持用 badge 属性开启角标功能。#41040 @li-jia-nan
  • 🆕 Select 支持 title 属性以便覆盖一些自带的 title 提示。#41280
  • 🆕 Image 组件支持设置 preview.rootClassName#41265 @Yuiai01
  • 🆕 Modal 组件支持 afterOpenChange 属性。#41253 @MuxinFeng
  • 🆕 Form.useWatch 新增 preserve 参数,支持在 Form.Item 未注册的情况下 setFieldValue 时触发监听。#41191 @li-jia-nan
  • 🛠 使用 useMemo 重构部分组件代码。#41533 #41550 @li-jia-nan
  • 🛠 使用 React hooks 重构 Checkbox,并优化了 TS 定义。#41117
  • 🛠 重构 Input.TextArea 文字计数实现方式,移至 affixWrapper 元素中。#41450
  • 🆕 DatePicker/Calendar 组件新增 cellRender 用于自定义日期单元格,同时在 DatePicker 中废弃 dateRendermonthRender 等属性,在 Calendar 中废弃 dateCellRendermonthCellRenderdateFullCellRendermonthFullCellRender 等属性。#41584 @kiner-tang
  • 🐞 修复 Tour 出现两个箭头的问题。#41578 @acyza
  • 🐞 修复 Checkbox 配置 controlHeight token 时勾选框与文字不对齐的问题。#41566
  • 🐞 修复 Form.Item 存在 help 值时在 Modal 中没有正确渲染元素。#40519 @Yuiai01
  • 🐞 修复 Form 使用 hasFeedback 时表单状态不对的问题。#41594 @Yuiai01
  • 🐞 修复 Slider 组件显示 Warning: [antd: Tooltip] forcePopupAlign is align to forceAlign instead 警告信息的问题。#41540 @MuxinFeng
  • 🐞 修复可选择 Table 的勾选框在边缘点击的时候无法触发勾选的问题。#41519
  • 国际化

🚀 Summary

🤖 Generated by Copilot at 7c8b32c

This pull request updates the changelogs and the package.json file for the 5.4.0 release of antd. It adds new features, improvements and bug fixes to the changelogs and fixes a dependency issue with open.

🔍 Walkthrough

🤖 Generated by Copilot at 7c8b32c

  • Update the version number of the antd package to 5.4.0 in package.json (link)
  • Add a new section for the 5.4.0 release in the English and Chinese changelogs, with the release date and the list of new features, improvements and bug fixes (link, link)
  • Remove the GitHub usernames of the contributors from the English and Chinese changelogs, to make them consistent and concise (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)
  • Add a new feature that the Modal component supports the afterOpenChange prop in the English changelog (link)
  • Downgrade the open dependency from 9.0.0 to 8.4.2, to fix a compatibility issue with Node 10 in package.json (link)

@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2023

@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2023

🎉 Verify package version passed!

PR package version PR title version
5.4.0 5.4.0

@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2023

size-limit report 📦

Path Size
./dist/antd.min.js 375.55 KB
./dist/antd-with-locales.min.js 434.29 KB

@codecov
Copy link

codecov bot commented Apr 1, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (bf9eff6) 100.00% compared to head (0ee48b4) 100.00%.

❗ Current head 0ee48b4 differs from pull request most recent head e8e605e. Consider uploading reports for the commit e8e605e to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #41587   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          613       613           
  Lines        10489     10489           
  Branches      2872      2872           
=========================================
  Hits         10489     10489           

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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@li-jia-nan
Copy link
Member

这么快发 5.4.0 啦,我还以为下周末才发 👏

@socket-security
Copy link

New dependency changes detected. Learn more about Socket for GitHub ↗︎


👍 No new dependency issues detected in pull request

Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

Pull request alert summary
Issue Status
Install scripts ✅ 0 issues
Native code ✅ 0 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues

📊 Modified Dependency Overview:

🚮 Removed packages: open@9.1.0

@li-jia-nan
Copy link
Member

li-jia-nan commented Apr 1, 2023

@afc163 afc163 marked this pull request as ready for review April 1, 2023 17:17
CHANGELOG.en-US.md Outdated Show resolved Hide resolved
CHANGELOG.zh-CN.md Outdated Show resolved Hide resolved
@afc163
Copy link
Member Author

afc163 commented Apr 2, 2023

@yoyo837
Copy link
Contributor

yoyo837 commented Apr 3, 2023

@yoyo837
Copy link
Contributor

yoyo837 commented Apr 3, 2023

分支还是应该一个人操作, 我们不该动, 因为分支一个-f就互斥了, 除非 reset origin

@yoyo837
Copy link
Contributor

yoyo837 commented Apr 3, 2023

#41584 log搞丢了

CHANGELOG.en-US.md Outdated Show resolved Hide resolved
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
@afc163 afc163 merged commit df45971 into master Apr 3, 2023
@afc163 afc163 deleted the changelog-5.4.0 branch April 3, 2023 05:28
RedJue pushed a commit to RedJue/ant-design that referenced this pull request Apr 25, 2023
* docs: add changelog for 5.4.0

* chore: revert open version

* docs: add changelog

* docs: add changelog

* docs: add changelog

* docs: add changelog

* docs: changelog

* docs: update changelog date

* docs: add changelog

* Update CHANGELOG.en-US.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
RedJue pushed a commit to RedJue/ant-design that referenced this pull request Apr 25, 2023
* docs: add changelog for 5.4.0

* chore: revert open version

* docs: add changelog

* docs: add changelog

* docs: add changelog

* docs: add changelog

* docs: changelog

* docs: update changelog date

* docs: add changelog

* Update CHANGELOG.en-US.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
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.

5 participants