From 97fb038dde437153ec5858fcd5f6e7b774fc2e5a Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Wed, 7 Jun 2017 10:06:21 +0800 Subject: [PATCH] docs: add change log for 2.11.0 --- CHANGELOG.en-US.md | 38 ++++++++++++++++++++++++++++++++++++++ CHANGELOG.zh-CN.md | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 43abb9dcd..d1542eeef 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -17,6 +17,44 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi --- +## 2.11.0 + +`2017-06-07` + +- LocaleProvider + - Supporting Bulgarian. [#6297](https://github.com/ant-design/ant-design/pull/6297) [@dimitrov-adrian](https://github.com/dimitrov-adrian) + - Supporting Polish. [#6326](https://github.com/ant-design/ant-design/pull/6326) [@longersson](https://github.com/longersson) + - Supporting Britain English. [#6344](https://github.com/ant-design/ant-design/pull/6344) [@damiangreen](https://github.com/damiangreen) + - Supporting Italian. [#6344](https://github.com/ant-design/ant-design/pull/6344) [@damiangreen](https://github.com/damiangreen) + - Supporting French. [#6344](https://github.com/ant-design/ant-design/pull/6344) [@damiangreen](https://github.com/damiangreen) + - Supporting Belgian. [#6344](https://github.com/ant-design/ant-design/pull/6344) [@damiangreen](https://github.com/damiangreen) +- New component [Avatar](https://ant.design/components/avatar/). +- Collapse.Panel can be disabled now, it means that users cannot toggle panel with mouse/keyboard. [#6119](https://github.com/ant-design/ant-design/issues/6119) [demo](https://ant.design/components/collapse/#components-collapse-demo-basic) +- DatePicker and RangePicker support customized footer. [#6122](https://github.com/ant-design/ant-design/issues/6122) [#5188](https://github.com/ant-design/ant-design/issues/5188) [demo](https://ant.design/components/date-picker/#components-date-picker-demo-extra-footer) +- InputNumber can set precision with property `precision`, this means that precision need not to follow `step`. [#5998](https://github.com/ant-design/ant-design/issues/5998) +- TreeSelect supports `allowClear` in multiple mode. + +- Improve keyboard support of Pagination. [rc-pagination#83](https://github.com/react-component/pagination/pull/83) [@geramirez](https://github.com/geramirez) +- Improve style of Progress. [#6354](https://github.com/ant-design/ant-design/issues/6354) +- Improve ARIA support of Slider. [#6301](https://github.com/ant-design/ant-design/pull/6301) + +- Fix that animating elements should not be clickable. [#6314](https://github.com/ant-design/ant-design/issues/6314) +- Fix ES2015 module support of antd. [#6334](https://github.com/ant-design/ant-design/issues/6334) +- DatePicker + - Fix misplaced popup. [#6347](https://github.com/ant-design/ant-design/issues/6347) + - Fix wrong format of tips of date panel. [#5724](https://github.com/ant-design/ant-design/issues/5724) [@zefj](https://github.com/zefj) + - Fix that disabled date is selectable while using keyboard. [#6345](https://github.com/ant-design/ant-design/issues/6345) +- Fix nested fields support of Form `validateFieldsAndScroll`. [#5410](https://github.com/ant-design/ant-design/issues/5410) +- Fix that style doesn't work in Input with addon. [#6379](https://github.com/ant-design/ant-design/issues/6379) +- Fix that confirm button not clickable when the returned promise of Modal.confirm is rejected. [#6183](https://github.com/ant-design/ant-design/issues/6183) +- Fix style of input of Pagination. [#6339](https://github.com/ant-design/ant-design/issues/6339) +- Fix that user input of Select should not be trimed in search mode. [#6382](https://github.com/ant-design/ant-design/issues/6382) +- Fix that timers of Spin should be removed correctly. [#6383](https://github.com/ant-design/ant-design/issues/6383) +- Fix onClick support of Switch. [#6373](https://github.com/ant-design/ant-design/issues/6373) +- Fix wrong TypeScript definition of Table.Column which will cause `error TS2304: Cannot find name 'T'`. [#6313](https://github.com/ant-design/ant-design/issues/6313) +- Fix missing TypeScript definition of Timeline.Item. [#6356](https://github.com/ant-design/ant-design/issues/6356) +- Fix broken style of disabled Tree、TreeSelect. [#6320](https://github.com/ant-design/ant-design/issues/6320) + ## 2.10.4 `2017-06-01` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 57952cbe7..0887796f2 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -17,6 +17,44 @@ timeline: true --- +## 2.11.0 + +`2017-06-07` + +- LocaleProvider + - 新增保加利亚语支持。[#6297](https://github.com/ant-design/ant-design/pull/6297) [@dimitrov-adrian](https://github.com/dimitrov-adrian) + - 新增波兰语支持。[#6326](https://github.com/ant-design/ant-design/pull/6326) [@longersson](https://github.com/longersson) + - 新增英式英语支持。[#6344](https://github.com/ant-design/ant-design/pull/6344) [@damiangreen](https://github.com/damiangreen) + - 新增意大利语支持。[#6344](https://github.com/ant-design/ant-design/pull/6344) [@damiangreen](https://github.com/damiangreen) + - 新增法语支持。[#6344](https://github.com/ant-design/ant-design/pull/6344) [@damiangreen](https://github.com/damiangreen) + - 新增比利时语支持。[#6344](https://github.com/ant-design/ant-design/pull/6344) [@damiangreen](https://github.com/damiangreen) +- 新增头像组件 [Avatar](https://ant.design/components/avatar/)。 +- Collapse.Panel 现在可以被禁用,意味着无法通过用户交互改变面板打开/关闭状态。[#6119](https://github.com/ant-design/ant-design/issues/6119) [demo](https://ant.design/components/collapse/#components-collapse-demo-basic) +- DatePicker 与 RangePicker 现在支持在弹层中渲染自定义 footer。[#6122](https://github.com/ant-design/ant-design/issues/6122) [#5188](https://github.com/ant-design/ant-design/issues/5188) [demo](https://ant.design/components/date-picker/#components-date-picker-demo-extra-footer) +- InputNumber 现在可以通过 `precision` 单独设置精度,即精度与 `step` 可以不再绑定。[#5998](https://github.com/ant-design/ant-design/issues/5998) +- TreeSelect 多选模式支持 `allowClear` 展示清除按钮。 + +- 优化 Pagination 对键盘操作的支持。[rc-pagination#83](https://github.com/react-component/pagination/pull/83) [@geramirez](https://github.com/geramirez) +- 优化 Progress 样式。[#6354](https://github.com/ant-design/ant-design/issues/6354) +- 优化 Slider 对 ARIA 的支持。[#6301](https://github.com/ant-design/ant-design/pull/6301) + +- 修复正在执行动画的元素可点击的问题。[#6314](https://github.com/ant-design/ant-design/issues/6314) +- 修复 antd 对 ES2015 module 的支持。[#6334](https://github.com/ant-design/ant-design/issues/6334) +- DatePicker + - 修复弹层错位的问题。[#6347](https://github.com/ant-design/ant-design/issues/6347) + - 修复日期面板 tips 内容格式问题。[#5724](https://github.com/ant-design/ant-design/issues/5724) [@zefj](https://github.com/zefj) + - 修复能通过键盘操作选择 disabled 日期的问题。[#6345](https://github.com/ant-design/ant-design/issues/6345) +- 修复 Form `validateFieldsAndScroll` 不支持 nested fields 的问题。[#5410](https://github.com/ant-design/ant-design/issues/5410) +- 修复带 addon 的 Input style 属性失效的问题。[#6379](https://github.com/ant-design/ant-design/issues/6379) +- 修复 Modal.confirm onOk 返回的 Promise rejected 后用户无法重试的问题。[#6183](https://github.com/ant-design/ant-design/issues/6183) +- 修复 Pagination 简单模式下输入框过小的问题。[#6339](https://github.com/ant-design/ant-design/issues/6339) +- 修复 Select 在搜索模式下用户输入的内容被截断的问题。[#6382](https://github.com/ant-design/ant-design/issues/6382) +- 修复 Spin 定时器没有被正确移除的问题。[#6383](https://github.com/ant-design/ant-design/issues/6383) +- 修复 Switch 对 onClick 的支持。[#6373](https://github.com/ant-design/ant-design/issues/6373) +- 修复 Table.Column TypeScript definition 导致 `error TS2304: Cannot find name 'T'` 的问题。[#6313](https://github.com/ant-design/ant-design/issues/6313) +- 修复 Timeline.Item TypeScript definition 丢失的问题。[#6356](https://github.com/ant-design/ant-design/issues/6356) +- 修复 Tree、TreeSelect disabled 样式问题。[#6320](https://github.com/ant-design/ant-design/issues/6320) + ## 2.10.4 `2017-06-01`