From 1a2906941f551028677379ba3c47fbe4e9969a2f Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Mon, 15 May 2023 15:12:57 +0800 Subject: [PATCH] docs: add changelog 5.5.0 (#42339) * docs: add changelog 5.5.0 * Update CHANGELOG.en-US.md Co-authored-by: lijianan <574980606@qq.com> * Update CHANGELOG.zh-CN.md Co-authored-by: lijianan <574980606@qq.com> --------- Co-authored-by: lijianan <574980606@qq.com> --- CHANGELOG.en-US.md | 52 +++++++++++++++++++++++++++++++++++++++------- CHANGELOG.zh-CN.md | 37 +++++++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 82 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 3efa2cc005..3d50926d29 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -15,6 +15,43 @@ timeline: true --- +## 5.5.0 + +`2023-05-15` + +- ๐Ÿ”ฅ New Component ColorPicker. [#41990](https://github.com/ant-design/ant-design/pull/41990) [@RedJue](https://github.com/RedJue) +- ๐Ÿ†• Form `validateFields` support `validateOnly` to not to update UI status. [#42273](https://github.com/ant-design/ant-design/pull/42273) +- ๐Ÿ†• DatePicker support changeOnBlur to trigger change event without clicking confirm. [#42168](https://github.com/ant-design/ant-design/pull/42168) +- ๐Ÿ†• Cascader `options` support `disableCheckbox` prop. [#42024](https://github.com/ant-design/ant-design/pull/42024) [@BoyYangzai](https://github.com/BoyYangzai) +- ๐Ÿ†• Popconfirm add `onPopupClick` prop. [#42272](https://github.com/ant-design/ant-design/pull/42272) [@bolosea](https://github.com/bolosea) +- ๐Ÿ†• QRCode add `bgColor` prop to set background color. [#42214](https://github.com/ant-design/ant-design/pull/42214) [@bolosea](https://github.com/bolosea) +- ๐Ÿ†• Table.Summary.Row component add `onClick` prop. [#42175](https://github.com/ant-design/ant-design/pull/42175) [@Ylg12345](https://github.com/Ylg12345) +- ๐Ÿ†• Space support ref. [#42266](https://github.com/ant-design/ant-design/pull/42266) [@RedJue](https://github.com/RedJue) +- ๐Ÿ†• The `size` of Tab defaults to inherit Card. [#42183](https://github.com/ant-design/ant-design/pull/42183) [@huangkairan](https://github.com/huangkairan) +- ConfigProvider + - ๐Ÿž Fix ConfigProvider `size` prop not work on Pagination. [#42206](https://github.com/ant-design/ant-design/pull/42206) + - ๐Ÿž Fix ConfigProvider `size` prop not work on Steps. [#42278](https://github.com/ant-design/ant-design/pull/42278) [@wanghui2021](https://github.com/wanghui2021) + - ๐Ÿž Fix ConfigProvider `size` prop not work on Descriptions. [#42244](https://github.com/ant-design/ant-design/pull/42244) [@wanghui2021](https://github.com/wanghui2021) + - ๐Ÿž Fix the size is not inherited from ConfigProvider when the `componentSize` is set. [#42199](https://github.com/ant-design/ant-design/pull/42199) [@Ec-tracker](https://github.com/Ec-tracker) +- ๐Ÿž Fix then icon styles for Input are incorrect in Space Compact mode. [#42167](https://github.com/ant-design/ant-design/pull/42167) [@pengyw97](https://github.com/pengyw97) +- ๐Ÿž Fix Popover display empty div when `title` and `content` is null. [#42217](https://github.com/ant-design/ant-design/pull/42217) [@hairgc](https://github.com/hairgc) +- ๐Ÿž Fix the error that Circle Progress does not set `size`. [#41875](https://github.com/ant-design/ant-design/pull/41875) [@notzheng](https://github.com/notzheng) +- ๐Ÿž Fix Progress throws warning `findDOMNode is deprecated in StrictMode`. [#42241](https://github.com/ant-design/ant-design/pull/42241) [@BoyYangzai](https://github.com/BoyYangzai) +- ๐Ÿ’„ Fix the problem that the InputNumber out of range style does not take effect. [#42250](https://github.com/ant-design/ant-design/pull/42250) [@pengyw97](https://github.com/pengyw97) +- ๐Ÿ’„ Fix the problem that Divider cannot be displayed normally due to the overwriting of the dashed line style in the vertical direction. [#40418](https://github.com/ant-design/ant-design/pull/40418) [@buqiyuan](https://github.com/buqiyuan) +- ๐Ÿ’„ Adjust Tooltip motion that will auto detect best match transform origin. [#42225](https://github.com/ant-design/ant-design/pull/42225) +- ๐Ÿ’„ keep Checkbox.Group style the same as v4. [#42103](https://github.com/ant-design/ant-design/pull/42103) [@BoyYangzai](https://github.com/BoyYangzai) +- ๐Ÿ’„ Improve the style when the Menu overflowed. [#42294](https://github.com/ant-design/ant-design/pull/42294) [@dhalenok](https://github.com/dhalenok) +- ๐Ÿ’„ Improve the Segmented mouse active style. [#42249](https://github.com/ant-design/ant-design/pull/42249) +- ๐Ÿค– Spin add warning if use `tip` when not in nest pattern. [#42293](https://github.com/ant-design/ant-design/pull/42293) +- ๐Ÿค– Component Token name canonicalization. [#42184](https://github.com/ant-design/ant-design/pull/42184) +- TypeScript + - ๐Ÿค– Optimize the type definition of Tag. [#42235](https://github.com/ant-design/ant-design/pull/42235) [@gaoqiiii](https://github.com/gaoqiiii) + - ๐Ÿค– Optimize Notification `getContainer` type definition. [#40206](https://github.com/ant-design/ant-design/pull/40206) [@leshalv](https://github.com/leshalv) + - ๐Ÿค– Improved support for generics MenuItemType and MenuItemProps in the Menu component. [#42240](https://github.com/ant-design/ant-design/pull/42240) [@yangyuanxx](https://github.com/yangyuanxx) +- Locales + - ๐Ÿ‡ง๐Ÿ‡ฌ Add bg_BG Form locales. [#42203](https://github.com/ant-design/ant-design/pull/42203) [@tangzixuan](https://github.com/tangzixuan) + ## 5.4.7 `2023-05-06` @@ -175,7 +212,6 @@ timeline: true - ๐Ÿ’„ Fix Tabs more icon color in dark mode. [#41313](https://github.com/ant-design/ant-design/pull/41313) [@PhosphorusP](https://github.com/PhosphorusP) - ๐Ÿ’„ Fix Button focus outline style be covered by Dropdown.Button. [#41282](https://github.com/ant-design/ant-design/pull/41282) [@Yuiai01](https://github.com/Yuiai01) - ๐Ÿ’„ Fix Input.TextArea style problem when focusing. [#41228](https://github.com/ant-design/ant-design/pull/41228) [@MuxinFeng](https://github.com/MuxinFeng) - - RTL - ๐Ÿ’„ Fix Input.TextArea RTL style when enable `showCount`. [#41319](https://github.com/ant-design/ant-design/pull/41319) [@ds1371dani](https://github.com/ds1371dani) - TypeScript @@ -280,8 +316,8 @@ timeline: true `2023-02-13` -- ๐Ÿ›  Rewrite `panelRender` in Tour to function componentใ€‚[#40670](https://github.com/ant-design/ant-design/pull/40670) [@li-jia-nan](https://github.com/li-jia-nan) -- ๐Ÿž Fix `className` property wrongly passed to child nodes in TimeLineใ€‚[#40700](https://github.com/ant-design/ant-design/pull/40700) [@any1024](https://github.com/any1024) +- ๐Ÿ›  Rewrite `panelRender` in Tour to function component. [#40670](https://github.com/ant-design/ant-design/pull/40670) [@li-jia-nan](https://github.com/li-jia-nan) +- ๐Ÿž Fix `className` property wrongly passed to child nodes in TimeLine. [#40700](https://github.com/ant-design/ant-design/pull/40700) [@any1024](https://github.com/any1024) - ๐Ÿž Fix Slider dot to trigger click and hover correctly. [#40679](https://github.com/ant-design/ant-design/pull/40679) [@LongHaoo](https://github.com/LongHaoo) - ๐Ÿž Fix Tour that should support `0` as element. [#40631](https://github.com/ant-design/ant-design/pull/40631) [@li-jia-nan](https://github.com/li-jia-nan) - ๐Ÿ’„ Fix DataPicker.RangePicker hover range style. [#40607](https://github.com/ant-design/ant-design/pull/40607) [@Yuiai01](https://github.com/Yuiai01) @@ -317,7 +353,7 @@ timeline: true - ๐Ÿž Fixed `findDomNode` method warning thrown by the tour component when called in strict mode. [#40160](https://github.com/ant-design/ant-design/pull/40160) [@kiner-tang](https://github.com/kiner-tang) - ๐Ÿ’„ Deleted margin of the last indicator. [#40624](https://github.com/ant-design/ant-design/pull/40624) - ๐Ÿ†• Adds Design token `fontFamilyCode` and apply to Typography `code` `kbd` `pre` elements. [#39823](https://github.com/ant-design/ant-design/pull/39823) -- ๐Ÿ†• ConfigProvider add Form `scrollToFirstError`ใ€‚[#39509](https://github.com/ant-design/ant-design/pull/39509) [@linxianxi](https://github.com/linxianxi) +- ๐Ÿ†• ConfigProvider add Form `scrollToFirstError`. [#39509](https://github.com/ant-design/ant-design/pull/39509) [@linxianxi](https://github.com/linxianxi) - ๐Ÿž Fill rest `rootClassName` for all components. [#40217](https://github.com/ant-design/ant-design/pull/40217) - ๐Ÿž Fix Empty descriptions text color in default theme and dark theme. [#40584](https://github.com/ant-design/ant-design/pull/40584) [@MuxinFeng](https://github.com/MuxinFeng) - Table @@ -473,7 +509,7 @@ timeline: true - Table - ๐Ÿž Fix Table expandable row header has no top left border radius. [#39781](https://github.com/ant-design/ant-design/pull/39781) [@chunsch](https://github.com/chunsch) - ๐Ÿž Fix Table header radius missing when has fixed header and columns. [#39723](https://github.com/ant-design/ant-design/pull/39723) - - ๐Ÿž Fix Table missing `border-bottom` in merged cell and unexpected border color if overlappingใ€‚. [#39729](https://github.com/ant-design/ant-design/pull/39729) + - ๐Ÿž Fix Table missing `border-bottom` in merged cell and unexpected border color if overlapping. [#39729](https://github.com/ant-design/ant-design/pull/39729) - โŒจ๏ธ Improve Table a11y by appling aria-props to table element. [#39700](https://github.com/ant-design/ant-design/pull/39700) - โŒจ๏ธ Reset `aria-label` in Table column. [#39738](https://github.com/ant-design/ant-design/pull/39738) [@kiner-tang](https://github.com/kiner-tang) - ๐Ÿ’„ Adds transition animation for Table border. [#39713](https://github.com/ant-design/ant-design/pull/39713) [@JarvisArt](https://github.com/JarvisArt) @@ -635,11 +671,11 @@ timeline: true - ๐Ÿž Fix Menu SubMenu margin style. [#38714](https://github.com/ant-design/ant-design/pull/38714) [@JarvisArt](https://github.com/JarvisArt) - ๐Ÿž Fix Menu height in dark theme. [#38741](https://github.com/ant-design/ant-design/pull/38741) [@LuciNyan](https://github.com/LuciNyan) - ๐Ÿž Fix Menu SubMenu flicking when expanding. [#38748](https://github.com/ant-design/ant-design/pull/38748) [@JarvisArt](https://github.com/JarvisArt) -- ๐Ÿž Fix that Table expanded icons are not alignedใ€‚[#38823](https://github.com/ant-design/ant-design/pull/38823) [@turdiyev](https://github.com/turdiyev) +- ๐Ÿž Fix that Table expanded icons are not aligned. [#38823](https://github.com/ant-design/ant-design/pull/38823) [@turdiyev](https://github.com/turdiyev) - ๐Ÿž Fix FloatButton.BackTop missing animation. [#38770](https://github.com/ant-design/ant-design/pull/38770) [@li-jia-nan](https://github.com/li-jia-nan) - ๐Ÿ›  Remove `Moment.js` dependency. [#38762](https://github.com/ant-design/ant-design/pull/38762) -- ๐Ÿ›  Fix `CompoundedComponent` ts errorใ€‚[#38666](https://github.com/ant-design/ant-design/pull/38666) [@wangcch](https://github.com/wangcch) -- ๐Ÿ›  Rollback `lib` in packageใ€‚[#38832](https://github.com/ant-design/ant-design/pull/38832) [@chunsch](https://github.com/chunsch) +- ๐Ÿ›  Fix `CompoundedComponent` ts error. [#38666](https://github.com/ant-design/ant-design/pull/38666) [@wangcch](https://github.com/wangcch) +- ๐Ÿ›  Rollback `lib` in package. [#38832](https://github.com/ant-design/ant-design/pull/38832) [@chunsch](https://github.com/chunsch) ## 5.0.0 diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 452b65ef5f..d2bbaa948d 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -15,6 +15,43 @@ timeline: true --- +## 5.5.0 + +`2023-05-15` + +- ๐Ÿ”ฅ ๆ–ฐๅขž้ขœ่‰ฒ้€‰ๆ‹ฉๅ™จ็ป„ไปถใ€‚[#41990](https://github.com/ant-design/ant-design/pull/41990) [@RedJue](https://github.com/RedJue) +- ๐Ÿ†• Form `validateFields` ๆ”ฏๆŒ `validateOnly` ้…็ฝฎไป…ๅšๆ ก้ชŒ่€Œไธๆ”นๅ˜ UI ็Šถๆ€ใ€‚[#42273](https://github.com/ant-design/ant-design/pull/42273) +- ๐Ÿ†• DatePicker ๆ”ฏๆŒ `changeOnBlur` ไปฅๅ…่ฎธไธ็‚นๅ‡ป็กฎ่ฎคๆŒ‰้’ฎ๏ผŒๅœจๅคฑๅŽป็„ฆ็‚นๆ—ถไนŸ่ƒฝ่งฆๅ‘ change ไบ‹ไปถใ€‚[#42168](https://github.com/ant-design/ant-design/pull/42168) +- ๐Ÿ†• Cascader `options` ๆ”ฏๆŒ `disableCheckbox` ๅœจๅคš้€‰ๆ—ถ็ฆ็”จๅ‹พ้€‰ๆก†ใ€‚[#42024](https://github.com/ant-design/ant-design/pull/42024) [@BoyYangzai](https://github.com/BoyYangzai) +- ๐Ÿ†• Popconfirm ๆ–ฐๅขž `onPopupClick` ๅฑžๆ€งใ€‚[#42272](https://github.com/ant-design/ant-design/pull/42272) [@bolosea](https://github.com/bolosea) +- ๐Ÿ†• QRCode ๆ–ฐๅขž `bgColor` ๅฑžๆ€ง่ฎพ็ฝฎ่ƒŒๆ™ฏ่‰ฒใ€‚[#42214](https://github.com/ant-design/ant-design/pull/42214) [@bolosea](https://github.com/bolosea) +- ๐Ÿ†• Table.Summary.Row ็ป„ไปถๅขžๅŠ  `onClick` ๅฑžๆ€งใ€‚[#42175](https://github.com/ant-design/ant-design/pull/42175) [@Ylg12345](https://github.com/Ylg12345) +- ๐Ÿ†• Space ๆ–ฐๅขžๆ”ฏๆŒ refใ€‚[#42266](https://github.com/ant-design/ant-design/pull/42266) [@RedJue](https://github.com/RedJue) +- ๐Ÿ†• Tab ๆ–ฐๅขž้ป˜่ฎค็ปงๆ‰ฟ Card ็š„ `size`ใ€‚[#42183](https://github.com/ant-design/ant-design/pull/42183) [@huangkairan](https://github.com/huangkairan) +- ConfigProvider + - ๐Ÿž ไฟฎๅค ConfigProvider `size` ๅฏน Pagination ๆ— ๆ•ˆ็š„้—ฎ้ข˜ใ€‚[#42206](https://github.com/ant-design/ant-design/pull/42206) + - ๐Ÿž ไฟฎๅค ConfigProvider `size` ๅฏน Steps ๆ— ๆ•ˆ็š„้—ฎ้ข˜ใ€‚[#42278](https://github.com/ant-design/ant-design/pull/42278) [@wanghui2021](https://github.com/wanghui2021) + - ๐Ÿž ไฟฎๅค ConfigProvider `size` ๅฏน Descriptions ๆ— ๆ•ˆ็š„้—ฎ้ข˜ใ€‚[#42244](https://github.com/ant-design/ant-design/pull/42244) [@wanghui2021](https://github.com/wanghui2021) + - ๐Ÿž ไฟฎๅคๅฝ“ ConfigProvider ไธญ `componentSize` ่ขซ่ฎพๅฎšๆ—ถ, Space.Compact ๆฒกๆœ‰็ปงๆ‰ฟ็š„้—ฎ้ข˜ใ€‚[#42199](https://github.com/ant-design/ant-design/pull/42199) [@Ec-tracker](https://github.com/Ec-tracker) +- ๐Ÿž ไฟฎๅค Input ๅœจ Space.Compact ไธ‹ไฝฟ็”จๅ›พๆ ‡็š„ๆ ทๅผ้”™่ฏฏใ€‚[#42167](https://github.com/ant-design/ant-design/pull/42167) [@pengyw97](https://github.com/pengyw97) +- ๐Ÿž ไฟฎๅคๅฝ“ `title` ๅ’Œ `content` ๅฑžๆ€งๅ‡ไธบ็ฉบๅ€ผๆ—ถ๏ผŒPopover ็ป„ไปถๅฑ•็คบ็ฉบ็™ฝๆฐ”ๆณก็š„้—ฎ้ข˜ใ€‚[#42217](https://github.com/ant-design/ant-design/pull/42217) [@hairgc](https://github.com/hairgc) +- ๐Ÿž ไฟฎๅค Circle Progress ๆœช่ฎพ็ฝฎ `size` ็š„ๆŠฅ้”™้—ฎ้ข˜ใ€‚[#41875](https://github.com/ant-design/ant-design/pull/41875) [@notzheng](https://github.com/notzheng) +- ๐Ÿž ไฟฎๅค Progress ๆŠ›ๅ‡บ็š„่ญฆๅ‘Š `findDOMNode is deprecated in StrictMode`ใ€‚[#42241](https://github.com/ant-design/ant-design/pull/42241) [@BoyYangzai](https://github.com/BoyYangzai) +- ๐Ÿ’„ ไฟฎๅค InputNumber ่ถ…ๅ‡บ่Œƒๅ›ดๆ ทๅผไธ็”Ÿๆ•ˆ็š„้—ฎ้ข˜ใ€‚[#42250](https://github.com/ant-design/ant-design/pull/42250) [@pengyw97](https://github.com/pengyw97) +- ๐Ÿ’„ ไฟฎๅค Divider ๅœจๅž‚็›ดๆ–นๅ‘่™š็บฟๆ ทๅผ่ขซ่ฆ†็›–ๅฏผ่‡ดๆ— ๆณ•ๆญฃๅธธๆ˜พ็คบ็š„้—ฎ้ข˜ใ€‚[#40418](https://github.com/ant-design/ant-design/pull/40418) [@buqiyuan](https://github.com/buqiyuan) +- ๐Ÿ’„ ่ฐƒๆ•ด Tooltip ๅŠจ็”ป๏ผŒ็Žฐๅœจๅผนๅ‡บไฝ็ฝฎไผšๅŠจๆ€ไปŽ็ฎญๅคดๆ–นๅ‘ๅผนๅ‡บใ€‚[#42225](https://github.com/ant-design/ant-design/pull/42225) +- ๐Ÿ’„ ่ฐƒๆ•ด Checkbox.Group ๆ ทๅผ้ฃŽๆ ผไธŽ v4 ไฟๆŒไธ€่‡ดใ€‚[#42103](https://github.com/ant-design/ant-design/pull/42103) [@BoyYangzai](https://github.com/BoyYangzai) +- ๐Ÿ’„ ๅฎŒๅ–„ Menu ๆบขๅ‡บๆ—ถๆ ทๅผใ€‚[#42294](https://github.com/ant-design/ant-design/pull/42294) [@dhalenok](https://github.com/dhalenok) +- ๐Ÿ’„ ๅฎŒๅ–„ Segmented ้ผ ๆ ‡ active ๆ ทๅผใ€‚[#42249](https://github.com/ant-design/ant-design/pull/42249) +- ๐Ÿค– Spin ๆทปๅŠ ๅœจ้žๅตŒๅฅ—ไธ‹ไฝฟ็”จ `tip` ็š„่ญฆๅ‘Šๆ็คบใ€‚[#42293](https://github.com/ant-design/ant-design/pull/42293) +- ๐Ÿค– ็ป„ไปถ Token ๅ็งฐ่ง„่ŒƒๅŒ–ใ€‚[#42184](https://github.com/ant-design/ant-design/pull/42184) +- TypeScript + - ๐Ÿค– ๅฎŒๅ–„ Tag ็š„็ฑปๅž‹ๅฎšไน‰ใ€‚[#42235](https://github.com/ant-design/ant-design/pull/42235) [@gaoqiiii](https://github.com/gaoqiiii) + - ๐Ÿค– ๅฎŒๅ–„ Notification `getContainer` ็ฑปๅž‹ๅฎšไน‰ใ€‚[#40206](https://github.com/ant-design/ant-design/pull/40206) [@leshalv](https://github.com/leshalv) + - ๐Ÿค– ๆ”น่ฟ›ไบ† Menu ็ป„ไปถๅฏน MenuItemType ๅ’Œ MenuItemProps ๆณ›ๅž‹็š„ๆ”ฏๆŒใ€‚[#42240](https://github.com/ant-design/ant-design/pull/42240) [@yangyuanxx](https://github.com/yangyuanxx) +- ๅ›ฝ้™…ๅŒ– + - ๐Ÿ‡ง๐Ÿ‡ฌ ่กฅๅ…… bg_BG Form ๆ–‡ๆกˆใ€‚[#42203](https://github.com/ant-design/ant-design/pull/42203) [@tangzixuan](https://github.com/tangzixuan) + ## 5.4.7 `2023-05-06` diff --git a/package.json b/package.json index fbac2d9350..c0882ca251 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "antd", - "version": "5.4.7", + "version": "5.5.0", "description": "An enterprise-class UI design language and React components implementation", "title": "Ant Design", "keywords": [