From 25a6fe0287652c1d9fee52d7addd006ad8b05f42 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 9 Jun 2017 18:24:49 +0800 Subject: [PATCH] update changelog --- CHANGELOG.en-US.md | 20 +++++++++++--------- CHANGELOG.zh-CN.md | 14 ++++++++------ 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index d1542eeef..bfdfc939a 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -21,6 +21,7 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi `2017-06-07` +- New component [Avatar](https://ant.design/components/avatar/). :full_moon_with_face: - 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) @@ -28,8 +29,7 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi - 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) +- Collapse.Panel can be disabled now, which makes 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. @@ -39,13 +39,15 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi - 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) +- Fix `Cannot read property '0' of undefined` issue of DatePicker, TimePicker, and RangePicker. [#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 wrong format of tooltip of date cell. [#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) +- Input[addon] + - Fix that style doesn't work. [#6379](https://github.com/ant-design/ant-design/issues/6379) + - Fix vertical align issue. [#6403](https://github.com/ant-design/ant-design/issues/6403) - 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) @@ -53,7 +55,7 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi - 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) +- Fix broken style of disabled Tree and TreeSelect. [#6320](https://github.com/ant-design/ant-design/issues/6320) ## 2.10.4 @@ -336,7 +338,7 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi - Added a new `Fixed Header` demo. [demo](https://ant.design/components/layout-cn/#components-layout-demo-fixed) - Added `Sider[breakpoint]` to allow config responsive breakpoint. [#4931](https://github.com/ant-design/ant-design/pull/4931) - Form - - Added `layout` to replace the original `horizontal`、`vertical`、`inline`. [#5056](https://github.com/ant-design/ant-design/issues/5056) + - Added `layout` to replace the original `horizontal`, `vertical`, `inline`. [#5056](https://github.com/ant-design/ant-design/issues/5056) - Calendar - Added `dateFullCellRender` and `monthFullCellRender` to allow override the content of cell. [#5138](https://github.com/ant-design/ant-design/pull/5138) [@wonyun](https://github.com/wonyun) - Added `onSelect` for date selection. [demo](https://ant.design/components/calendar-cn/#components-calendar-demo-select) @@ -460,7 +462,7 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi - **Tabs** Fix content missing problem since the second tab pane under IE9. [#4795](https://github.com/ant-design/ant-design/issues/4795) - **rc-pagination** Upgrade to ~1.7.0, add pageSize as onChange's second argument. - **Global optimization** - - Make some bugfixes and optimizations about documentation、link and style. + - Make some bugfixes and optimizations about documentation, link and style. - Use stylelint instead of lesslint, and fix some lint issues. [#2179](https://github.com/ant-design/ant-design/issues/2179) - Unify border radius to 4px. [#4772](https://github.com/ant-design/ant-design/issues/4772) - Support `import { version } from 'antd'`. [#4751](https://github.com/ant-design/ant-design/pull/4751) @@ -518,7 +520,7 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi * Table * Improve Table fixed header's scrollbar style.[#4637](https://github.com/ant-design/ant-design/issues/4637) * Fix issue resulting in Table's header flashes when `loading` is true in Safari.[#4622](https://github.com/ant-design/ant-design/issues/4622) - * Fix multiple border issues. [#4647](https://github.com/ant-design/ant-design/issues/4647)、[#4635](https://github.com/ant-design/ant-design/issues/4635) + * Fix multiple border issues. [#4647](https://github.com/ant-design/ant-design/issues/4647), [#4635](https://github.com/ant-design/ant-design/issues/4635) * Fix `showHeader`'s default value.[#4658](https://github.com/ant-design/ant-design/issues/4658) * Fix missing `TableColumnConfig` type.[#4660](https://github.com/ant-design/ant-design/issues/4660) diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 0887796f2..d63bb3b0e 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -21,6 +21,7 @@ timeline: true `2017-06-07` +- 新增头像组件 [Avatar](https://ant.design/components/avatar/)。:full_moon_with_face: - 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) @@ -28,24 +29,25 @@ timeline: true - 新增意大利语支持。[#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) +- 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) +- 优化 Slider 的可访问性支持。[#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) +- 修复时间类组件的 `Cannot read property '0' of undefined` 报错问题。[#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) + - 修复日期单元格 tooltip 的内容格式问题。[#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) +- Input[addon] + - 修复 style 属性失效的问题。[#6379](https://github.com/ant-design/ant-design/issues/6379) + - 修复垂直对齐的问题。[#6403](https://github.com/ant-design/ant-design/issues/6403) - 修复 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)