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: ✨ release 4.7.0 #27074

Merged
merged 5 commits into from Oct 10, 2020
Merged

docs: ✨ release 4.7.0 #27074

merged 5 commits into from Oct 10, 2020

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Oct 10, 2020

  • 🔥 Input.TextArea support word count. #26952 @zhangchen915
  • 🔥 DatePicker support custom format by passing a function. #26845
  • Form
    • 🔥 Form.Item support tooltip to customize tooltip. #26780
    • 🆕 Form.List support rules validation and add Form.ErrorList to show the errors. #26676
    • 🆕 Form.Item support messageVariables prop. #26597
    • 🐞 Fix Form onValuesChange second param return fully store values instead of validate fields. #26808
  • Upload
    • 🔥 Upload can custom the item of file list by itemRender now. #26333
    • 🆕 Upload custom action icons now supports callback functions. #26684 @mwaddell
  • Table
    • 🆕 Table sticky now support getContainer. #26973
    • 🐞 Fix Table should not render dropdown filter icon when filterDropdown is undefined. #27002 @shangyilim
  • Modal
    • 🛠 Refactor Modal animation code so that it will remove all dom element when closed. #26940
    • 🆕 Modal add modalRender prop which can be used for draggable dialog. #26507 @jhoneybee
  • 🆕 Space add split prop. #26948
  • 🆕 Image preview prop now support visible and onVisibleChange. #26915
  • 🆕 InputNumber will trigger onStep prop when click up/down buttons. #27075
  • 🆕 Avatar size support responsive config. #26244 @willamesoares
  • 🐞 Fix Radio.Button children cannot apply Tooltip. #27050
  • RTL
    • ⬅️ Fix List action button position in RTL mode. #26964
    • ⬅️ Fix Transfer pagination style in RTL mode. #26960
    • ⬅️ Fix Upload style in RTL mode. #26961
    • ⬅️ Optimize Tag style to avoid the interaction between theme and RTL mode. #26955
    • ⬅️ Optimize Cascader and Tree style of the data expansion loading icon in RTL mode. #27010
  • TypeScript
    • 🤖 Fix typo TimeLineItemProps to TimelineItemProps. #27001 @mgcrea
    • 🤖 Fix Slider missing autoFocus prop. #26995 @shangyilim
    • 🤖 Fix Slider step prop not accepting null value. #26984 @shangyilim
    • 🤖 Fix Slider.Range trackStyle and handleStyle should be array. #27033
    • 🤖 Optimize Tag onClose TypeScript definition. #26932
    • 🤖 Improve Form TypeScript definition to support getFieldsValue return generic type without namePath argument. #26791
  • Locale

  • 🔥 Input.TextArea 支持字数统计功能。#26952 @zhangchen915
  • 🔥 DatePicker format 支持传入一个函数以自定义显示内容。#26845
  • Form
    • 🔥 Form.Item 支持 tooltip 属性自定义提示信息。#26780
    • 🆕 Form.List 支持 rules 校验并添加 Form.ErrorList 组件用于展示。#26676
    • 🆕 Form.Item 支持 messageVariables 属性。#26597
    • 🐞 修复 Form onValuesChange 第二个参数返回整个 store 的值而不是有效字段值的问题。#26808
  • Upload
    • 🔥 Upload 添加 itemRender 用于自定义文件列表项。#26333
    • 🆕 Upload removeIcondownloadIcon 现在支持传入一个函数。#26684 @mwaddell
  • Table
    • 🆕 Table sticky 支持 getContainer 以指定滚动容器。#26973
    • 🐞 修复 Table column.filterDropdownundefined 时依旧会展示筛选菜单的问题。#27002 @shangyilim
  • Modal
    • 🛠 重构 Modal 组件动画,现在关闭时将完全清理相关 Dom 节点。#26940
    • 🆕 Modal 新增 modalRender 属性,支持可拖拽的对话框。#26507 @jhoneybee
  • 🆕 Space 增加 split 属性以支持分隔符间隔。#26948
  • 🆕 Image preview 属性扩展支持 visibleonVisibleChange#26915
  • 🆕 InputNumber 点击上下按钮时将触发 onStep#27075
  • 🆕 Avatar size 可以进行响应式的大小配置。#26244 @willamesoares
  • 🐞 修复 Radio.Button 内无法使用 Tooltip 的问题。#27050
  • RTL
    • ⬅️ 修复 List 按钮在 RTL 模式下的样式。#26964
    • ⬅️ 优化 Transfer 分页在 RTL 模式下的样式。#26960
    • ⬅️ 修复 Upload RTL 模式下样式。#26961
    • ⬅️ 优化 Tag 样式避免主题和 RTL 模式互相影响。#26955
    • ⬅️ 优化 Cascader/Tree 组件中数据扩展 loading 按钮在 RTL 模式下的样式。#27010
  • TypeScript
    • 🤖 修复 TimeLineItemPropsTimelineItemProps#27001 @mgcrea
    • 🤖 修复 Slider autoFocus 属性定义。#26995 @shangyilim
    • 🤖 修复 Slider step 属性不接收 null 的问题。#26984 @shangyilim
    • 🤖 修复 Slider.Range trackStylehandleStyle 应该接受数组的问题。#27033
    • 🤖 优化 Tag onClose TypeScript 定义。#26932
    • 🤖 调整 Form 定义,现在当 getFieldsValue 不配置 namePath 时返回类型为 FormValue 的泛型定义。#26791
  • 国际化

@zombieJ
Copy link
Member

zombieJ commented Oct 10, 2020

@cyjake, 需要更新一下 antd 的 rc-input-number:react-component/input-number#269

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Oct 10, 2020

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Oct 10, 2020

@yoyo837
Copy link
Contributor

yoyo837 commented Oct 10, 2020

【白俄罗斯】白俄官方发言说应该叫【白罗斯】,这个要不要纠正

http://china.mfa.gov.by/zh/embassy/news/b8b3447550dfb5ec.html

@github-actions
Copy link
Contributor

github-actions bot commented Oct 10, 2020

Size Change: 0 B

Total Size: 792 kB

ℹ️ View Unchanged
Filename Size Change
./dist/antd-with-locales.min.js 313 kB 0 B
./dist/antd.compact.min.css 66.5 kB 0 B
./dist/antd.dark.min.css 67.8 kB 0 B
./dist/antd.min.css 66.5 kB 0 B
./dist/antd.min.js 277 kB 0 B

compressed-size-action

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 10, 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 2ba0c35:

Sandbox Source
antd reproduction template Configuration

@codecov
Copy link

codecov bot commented Oct 10, 2020

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##            master    #27074   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          388       388           
  Lines         7425      7425           
  Branches      2081      2029   -52     
=========================================
  Hits          7425      7425           

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 94cab40...2ba0c35. Read the comment docs.

@zombieJ
Copy link
Member

zombieJ commented Oct 10, 2020

【白俄罗斯】白俄官方发言说应该叫【白罗斯】,这个要不要纠正

http://china.mfa.gov.by/zh/embassy/news/b8b3447550dfb5ec.html

中国不承认这个名字,不用改:https://www.zhihu.com/question/413390780

ref: https://www.fmprc.gov.cn/web/gjhdq_676201/gj_676203/oz_678770/1206_678892/1206x0_678894/

@afc163
Copy link
Member Author

afc163 commented Oct 10, 2020

我改回来。

@yoyo837
Copy link
Contributor

yoyo837 commented Oct 10, 2020

【白俄罗斯】白俄官方发言说应该叫【白罗斯】,这个要不要纠正
http://china.mfa.gov.by/zh/embassy/news/b8b3447550dfb5ec.html

中国不承认这个名字,不用改:https://www.zhihu.com/question/413390780

ref: https://www.fmprc.gov.cn/web/gjhdq_676201/gj_676203/oz_678770/1206_678892/1206x0_678894/

好尴尬 😂

@afc163 afc163 merged commit 340a0a9 into master Oct 10, 2020
@afc163 afc163 deleted the changelog-4.7.0 branch October 10, 2020 11:48
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