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: changelog 4.5.0 #25820

Merged
merged 19 commits into from
Jul 27, 2020
Merged

docs: changelog 4.5.0 #25820

merged 19 commits into from
Jul 27, 2020

Conversation

07akioni
Copy link
Contributor

@07akioni 07akioni commented Jul 26, 2020

  • 🆕 Input and Input.TextArea support bordered prop. #25617
  • 🆕 Add useMessage hook for Message to support context access. #25422
  • 🆕 Tree support titleRender to customize all nodes' content. #25624
  • 🆕 Descriptions add extra prop. #25512 @zzz111
  • 🆕 Add Modal.config to set rootPrefixCls for Modal statis methods. #25613
  • 🆕 Drawer support push prop for multi-Drawer linkage. #25445 @jinxin0112
  • 🆕 Add Badge.Ribbon component. #25456
  • 🆕 Steps support percent prop to show step icon progress. #25839
  • 💄 Menu.Item's blue indicator line and dropdown width are the same as its content's width in horizontal mode. #25622
  • Avatar
    • 🆕 Add Avatar.Group for showing a set of avatars. #25192
    • 🐞 Fix Avatar not fallback correctly when src is invalid. #25806
  • DatePicker
    • 🆕 DatePicker support date-fns. #25822 @fireairforce
    • 🆕 Improve DatePicker hovering experience, the placeholder will change to format value of target-date when hovering a date cell. (#25050). #25784 @Kermit-Xuan
    • 🆕 RangePicker onCalendarChange add range param to indicate currently activated pane. #25568 @Kim-Wing-Fung
    • 🆕 DatePicker support panelRender to customize panel. #25488
    • 🐞 Fix QuarterPicker not working, remove DatePicker.XxxPicker and recommend picker='xxx' usage instead. #25768
  • Form
    • 🆕 Form.List support array in remove method. #25638 @fireairforce
    • 🆕 Form.Item supports dependencies to control updating logic with render props children. #25408
    • 🆕 Adjust Form.Item validateFist to validate in order. Origin logic use parallel to validate. #25321
    • 🐞 Fix Form.Item sometime not clean up prev error message. #25737
    • 🐞 Fix Form.Item not collect validateStatus when children Form.Item with noStyle has an error. #25734
    • 🐞 Fix Form.Item setting labelCol={{ offset: number }} doesn't work if layout is vertical. #25713 @zhangchen915
    • ⌨️ Form add role="alert" attribute on validation message node to import accessibility. #25735 @AlbertAZ1992
  • Calendar
  • 🐞 Fix Table indeterminate returned by getCheckboxProps not working. #25649
  • 🐞 Fix Select clear icon position in Form.Item. #25728
  • 🐞 Fix Pagination mouse style of the page turning button. #25772
  • 🐞 Fix TreeSelect treeNodeLabelProp affect tree node render result. #25755
  • 🐞 Fix Carousel findDOMNode warning in strict mode. #25744
  • 🐞 Fix Radio causing SSR build errors with webpack@4.44.0. 25821 @Kermit-Xuan
  • 🐞 Fix Tabs focus & active state color when disabled. 25827 hsuanxyz
  • 💄 Card action pane color is unified with body color. #25722
  • ⌨️ Improve Alert/message/notification accessibility by adding role attribute. #25774
  • 🇭🇰 Add zh_HK localization. #25731 @wuchu
  • 🇩🇪 Improve de_DE localization. #25823 @LukeTimeWalker

  • 🆕 Input 和 Input.TextArea 支持 bordered 属性。#25617
  • 🆕 Message 新增 useMessage hook,以支持 context 访问。#25422
  • 🆕 Tree 添加 titleRender 以支持定制所有节点内容。#25624
  • 🆕 Descriptions 新增 extra 属性。#25512 @zzz111
  • 🆕 新增 Modal.config 用于全局配置 Modal 静态方法的 rootPrefixCls#25613
  • 🆕 Drawer 增加 push 属性用于自定义多层级 Drawer 之间的联动。#25445 @jinxin0112
  • 🆕 新增 Badge.Ribbon 缎带组件。#25456
  • 🆕 Steps 新增 percent 属性来展示步骤图标的进度。#25839
  • 💄 Menu.Item 水平模式的蓝色指示线和下拉菜单宽度现在和其文字内容宽度一致。#25622
  • Avatar
    • 🆕 新增 Avatar.Group 用于展现一组头像集合。#25192
    • 🐞 修复 Avatar src 图片地址失效时没有正确 fallback 的问题。#25806
  • DatePicker
    • 🆕 DatePicker 支持 date-fns 日期库。#25822 @fireairforce
    • 🆕 提升日期组件悬停体验,当悬停在某个日期上时占位符将变为对应的日期格式化后的值。(#25050)。#25784 @Kermit-Xuan
    • 🆕 RangePicker onCalendarChange 参数中增加 range 用于指示当前触发面板。#25568 @Kim-Wing-Fung
    • 🆕 DatePicker 支持 panelRender 以自定义渲染面板。#25488
    • 🐞 修复 QuarterPicker 无法使用的问题,同时更新官网示例将 XxxPicker 调整为 picker='xxx',这是 v4 更推荐的写法。#25768
  • Form
    • 🆕 Form.List 中的 remove 方法支持数组类型。#25638 @fireairforce
    • 🆕 Form.Item 在 children 形为 render props 时支持使用 dependencies 控制更新逻辑。#25408
    • 🆕 调整 Form.Item validateFirst 属性为依次执行校验,原并行逻辑改由配置 parallel 开启。#25321
    • 🐞 修复 Form.Item 有时候没有清理之前的错误信息的问题。#25737
    • 🐞 修复 Form.Item 在子 Form.Item 设置 noStyle 并校验失败时没有更新 validateStatus 的问题。#25734
    • 🐞 修复 Form 垂直布局时 Form.Item 设置 labelCol={{ offset: number }} 不生效的问题。#25713 @zhangchen915
    • ⌨️ Form 错误信息节点增加属性 role="alert" 以增强可访问性。#25735 @AlbertAZ1992
  • Calendar
    • 🐞 修复 Calendar 组件的 validRange 导致 disabledDate 不生效 。#25626 @zhangchen915
    • 🐞 修复 Calendar validRange 对月份下拉菜单不生效的问题。#25626 @zhangchen915
  • 🐞 修复 Table getCheckboxProps 返回的 indeterminate 不生效。#25649
  • 🐞 修复 Select 清除按钮在 Form.Item 下位置不对的问题。#25728
  • 🐞 修复 Pagination 翻页按钮的鼠标样式。#25772
  • 🐞 修复 TreeSelect treeNodeLabelProp 会影响树节点展示内容的问题。#25755
  • 🐞 修复 Carousel 在 React 严格模式下的 findDOMNode 废弃警告。#25744
  • 🐞 修复 Radio 在 webpack@4.44.0 SSR 构建出错的问题。25821 @Kermit-Xuan
  • 🐞 修复 Tabs 禁用时 focus & active 状态的颜色。25827 hsuanxyz
  • 💄 Card 操作面板颜色与主体颜色统一。#25722
  • ⌨️ 提升 Alert/message/notification 组件的可访问性。#25774
  • 🇭🇰 新增 zh_HK 本地化。#25731 @wuchu
  • 🇩🇪 改进 de_DE 本地化。#25823 @LukeTimeWalker

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Jul 26, 2020

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Jul 26, 2020

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 26, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ce87c45:

Sandbox Source
antd reproduction template Configuration

@codecov
Copy link

codecov bot commented Jul 26, 2020

Codecov Report

Merging #25820 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #25820   +/-   ##
=======================================
  Coverage   99.52%   99.52%           
=======================================
  Files         374      374           
  Lines        7309     7309           
  Branches     2041     2039    -2     
=======================================
  Hits         7274     7274           
  Misses         35       35           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 21e5fff...ce87c45. Read the comment docs.

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

afc163 commented Jul 27, 2020

重要的改动放在前面。

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
@afc163
Copy link
Member

afc163 commented Jul 27, 2020

#25823
#25821

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.zh-CN.md Outdated Show resolved Hide resolved
CHANGELOG.en-US.md Outdated Show resolved Hide resolved
@zombieJ
Copy link
Member

zombieJ commented Jul 27, 2020

@zombieJ
Copy link
Member

zombieJ commented Jul 27, 2020

@kermit-xuan 搭一个?
react-component/picker#109

@kerm1it
Copy link
Member

kerm1it commented Jul 27, 2020

@kermit-xuan 搭一个?
react-component/picker#109

#25826

开了,这个不用更新changeLog,之前已经有了,现在是优化。

@afc163
Copy link
Member

afc163 commented Jul 27, 2020

package.json 里改一下版本号。

@afc163
Copy link
Member

afc163 commented Jul 27, 2020

react-component/steps#118 检查检查有没有要发 feature 的,别错过车了。

@07akioni
Copy link
Contributor Author

react-component/steps#118 检查检查有没有要发 feature 的,别错过车了。

这个还没做完,不能发。别的我会查一下

@afc163
Copy link
Member

afc163 commented Jul 27, 2020

#25827

- 💄 Card 操作面板颜色与主体颜色统一。[#25722](https://github.com/ant-design/ant-design/pull/25722)
- ⌨️ 提升 Alert/message/notification 组件的可访问性。[#25774](https://github.com/ant-design/ant-design/pull/25774)
- 🇭🇰 新增 zh_HK 本地化。[#25731](https://github.com/ant-design/ant-design/pull/25731) [@wuchu](https://github.com/wuchu)
- 🇩🇪 改进 de_DE 本地化。[#25823](https://github.com/ant-design/ant-design/pull/25823) [@LukeTimeWalker](https://github.com/LukeTimeWalker)
Copy link
Member

Choose a reason for hiding this comment

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

Form 国际化这个的写法都可以参考

image

@07akioni 07akioni requested a review from afc163 July 27, 2020 14:36
@07akioni 07akioni merged commit 4491c81 into master Jul 27, 2020
@07akioni 07akioni deleted the release-4.5.0 branch July 27, 2020 15:05
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.

7 participants