Skip to content

Commit

Permalink
docs: 4.0.4 changelog (ant-design#22505)
Browse files Browse the repository at this point in the history
* docs: Init changelog

* order

* grouping

* clean up
  • Loading branch information
zombieJ authored Mar 23, 2020
1 parent e744cf5 commit 3459bfc
Show file tree
Hide file tree
Showing 19 changed files with 180 additions and 20 deletions.
79 changes: 79 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,85 @@ timeline: true

---

## 4.0.4

`2020-03-23`

- 🐞 Fix AutoComplete clear icon overlap issue on search icon. [#22310](https://github.com/ant-design/ant-design/pull/22310)
- 🐞 Fix Button align issue when is `disabled` and wrapped by Tooltip. [#22461](https://github.com/ant-design/ant-design/pull/22461)
- 🐞 Fix Cascader search need to press down arrow twice to select item(#16762). [#22216](https://github.com/ant-design/ant-design/pull/22216) [@Kermit-Xuan](https://github.com/Kermit-Xuan)
- 🐞 Fix ConfigProvider `componentSize` not works on DatePicker.RangePicker. [#22486](https://github.com/ant-design/ant-design/pull/22486)
- 🐞 Fix Descriptions cannot fit to small container width. [#22407](https://github.com/ant-design/ant-design/pull/22407)
- ⚡️ Optimization Form.Item with multiple noStyle children Form.Item message collection performance. [#22410](https://github.com/ant-design/ant-design/pull/22410)
- 🐞 Fix Grid broken style using Col without `span`. [#22455](https://github.com/ant-design/ant-design/pull/22455)
- 💄 Add InputNumber RTL style. [#22434](https://github.com/ant-design/ant-design/pull/22434)
- Menu
- 🛠 Menu inherit `line-height` from header. [#16142](https://github.com/ant-design/ant-design/pull/16142) [@sheerun](https://github.com/sheerun)
- 🐞 Fix Menu unexpected scrollbar when show and hide. [#22248](https://github.com/ant-design/ant-design/pull/22248)
- 🐞 Fix Progress Dashboard won't allow `gapDeg` to be `0`. [#22462](https://github.com/ant-design/ant-design/pull/22462) [@thisrabbit](https://github.com/thisrabbit)
- 🛠 Adjust Radio.Group logic that `value` is `undefined` should be uncontrolled mode. [#22245](https://github.com/ant-design/ant-design/pull/22245)
- ⚡️ Reduce Row unnecessary render when `gutter` is array. [#22475](https://github.com/ant-design/ant-design/pull/22475) [@dolfje](https://github.com/dolfje)
- 💄 Tweak RangePicker arrow shadow style. [#22406](https://github.com/ant-design/ant-design/pull/22406)
- 🐞 Fix Select dropdown menu vertical padding. [#22251](https://github.com/ant-design/ant-design/pull/22251)
- 🐞 Fix Slider tooltip crash when with `nullable` value. [#22482](https://github.com/ant-design/ant-design/pull/22482)
- Table
- 🐞 Fix Table ColumnGroup with controlled `sorterOrder` not working issue. [#22450](https://github.com/ant-design/ant-design/pull/22450)
- 🐞 Fix Table border radius style. [#22413](https://github.com/ant-design/ant-design/pull/22413) [@akshatmittal](https://github.com/akshatmittal)
- 🐞 Fix Table fixed column height issue. [#22367](https://github.com/ant-design/ant-design/pull/22367)
- 🐞Fix Table row expand icon show error in ipad. [#22334](https://github.com/ant-design/ant-design/pull/22334) [@BugHiding](https://github.com/BugHiding)
- 🛠 Table `column.filter` support `boolean` value. [#22277](https://github.com/ant-design/ant-design/pull/22277) [@xudongdev](https://github.com/xudongdev)
- 🐞 Fix Table filter no working when only set `onFilter`. [#22317](https://github.com/ant-design/ant-design/pull/22317)
- 🐞 Fix TreeSelect `treeIcon` not working. [#22437](https://github.com/ant-design/ant-design/pull/22437)
- 🐞 Refactor DirectoryTree to fix deprecated warning. [#22318](https://github.com/ant-design/ant-design/pull/22318)
- 🐞 Fix Typography nest list style issue. [#22284](https://github.com/ant-design/ant-design/pull/22284)
- 🐞 Adjust Upload `onChange` return `fileList` is immutable data to avoid render issue. [#22322](https://github.com/ant-design/ant-design/pull/22322)
- 💄 Move RTL style to single less file.
- Alert [#22339](https://github.com/ant-design/ant-design/pull/22339)
- Badge [#22320](https://github.com/ant-design/ant-design/pull/22320)
- Breadcrumb [#22258](https://github.com/ant-design/ant-design/pull/22258)
- Button [#22384](https://github.com/ant-design/ant-design/pull/22384) [#22260](https://github.com/ant-design/ant-design/pull/22260) [#22252](https://github.com/ant-design/ant-design/pull/22252)
- Carousel [#22330](https://github.com/ant-design/ant-design/pull/22330)
- Comment [#22320](https://github.com/ant-design/ant-design/pull/22320)
- Collapse [#22320](https://github.com/ant-design/ant-design/pull/22320)
- DatePicker [#22414](https://github.com/ant-design/ant-design/pull/22414)
- Descriptions [#22330](https://github.com/ant-design/ant-design/pull/22330)
- Drawer [#22354](https://github.com/ant-design/ant-design/pull/22354)
- Dropdown [#22258](https://github.com/ant-design/ant-design/pull/22258)
- Empty [#22330](https://github.com/ant-design/ant-design/pull/22330)
- Form [#22389](https://github.com/ant-design/ant-design/pull/22389)
- Grid [#22384](https://github.com/ant-design/ant-design/pull/22384) [#22252](https://github.com/ant-design/ant-design/pull/22252)
- Input [#22399](https://github.com/ant-design/ant-design/pull/22399)
- List [#22384](https://github.com/ant-design/ant-design/pull/22384) [#22331](https://github.com/ant-design/ant-design/pull/22331)
- Menu [#22271](https://github.com/ant-design/ant-design/pull/22271)
- Modal [#22354](https://github.com/ant-design/ant-design/pull/22354)
- PageHeader [#22271](https://github.com/ant-design/ant-design/pull/22271)
- Pagination [#22271](https://github.com/ant-design/ant-design/pull/22271)
- Popover [#22331](https://github.com/ant-design/ant-design/pull/22331)
- Progress [#22354](https://github.com/ant-design/ant-design/pull/22354)
- Radio [#22405](https://github.com/ant-design/ant-design/pull/22405)
- Rate [#22294](https://github.com/ant-design/ant-design/pull/22294)
- Result [#22354](https://github.com/ant-design/ant-design/pull/22354)
- Statistic [#22331](https://github.com/ant-design/ant-design/pull/22331)
- Select [#22384](https://github.com/ant-design/ant-design/pull/22384) [#22307](https://github.com/ant-design/ant-design/pull/22307)
- Skeleton [#22388](https://github.com/ant-design/ant-design/pull/22388)
- Slider [#22294](https://github.com/ant-design/ant-design/pull/22294)
- Spin [#22388](https://github.com/ant-design/ant-design/pull/22388)
- Steps [#22384](https://github.com/ant-design/ant-design/pull/22384) [#22290](https://github.com/ant-design/ant-design/pull/22290)
- Switch [#22294](https://github.com/ant-design/ant-design/pull/22294)
- Table [#22402](https://github.com/ant-design/ant-design/pull/22402) [#22339](https://github.com/ant-design/ant-design/pull/22339)
- Tag [#22339](https://github.com/ant-design/ant-design/pull/22339)
- Timeline [#22335](https://github.com/ant-design/ant-design/pull/22335)
- Tooltip [#22335](https://github.com/ant-design/ant-design/pull/22335)
- Transfer [#22307](https://github.com/ant-design/ant-design/pull/22307)
- Tree [#22335](https://github.com/ant-design/ant-design/pull/22335)
- Typography [#22252](https://github.com/ant-design/ant-design/pull/22252)
- Upload [#22307](https://github.com/ant-design/ant-design/pull/22307)
- 🌎 Localization
- 🇩🇪 Updated German locale. [#22270](https://github.com/ant-design/ant-design/pull/22270) [@iChebbi](https://github.com/iChebbi)
- 🇫🇷 Update French locale. [#22238](https://github.com/ant-design/ant-design/pull/22238) [@abenhamdine](https://github.com/abenhamdine)
- Typescript
- 🐞 Omit Table `getCheckboxProps` typeof `checked`. [#22391](https://github.com/ant-design/ant-design/pull/22391) [@geekrainy](https://github.com/geekrainy)

## 4.0.3

`2020-03-14`
Expand Down
81 changes: 80 additions & 1 deletion CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,85 @@ timeline: true

---

## 4.0.4

`2020-03-23`

- 🐞 修复 AutoComplete 下使用 Search 时清除图标和搜索图标重叠样式异常的问题。[#22310](https://github.com/ant-design/ant-design/pull/22310)
- 🐞 修复 Button 为 `disabled` 时被 Tooltip 包裹时的对齐问题。[#22461](https://github.com/ant-design/ant-design/pull/22461)
- 🐞 修复 Cascader 搜索时需要按两次向下箭头才能选中问题(#16762)。[#22216](https://github.com/ant-design/ant-design/pull/22216) [@Kermit-Xuan](https://github.com/Kermit-Xuan)
- 🐞 修复 ConfigProvider `componentSize` 对 DatePicker.RangePicker 无效的问题。[#22486](https://github.com/ant-design/ant-design/pull/22486)
- 🐞 修复 Descriptions 在小尺寸下无法自适应的问题。[#22407](https://github.com/ant-design/ant-design/pull/22407)
- 🐞 修复 Grid 下使用不带 `span` 的 Col 时样式错乱的问题。[#22455](https://github.com/ant-design/ant-design/pull/22455)
- ⚡️ 优化 Form.Item 有多个 `noStyle` 子 Form.Item 时信息收集性能。[#22410](https://github.com/ant-design/ant-design/pull/22410)
- 💄 增加 InputNumber RTL 模式样式。[#22434](https://github.com/ant-design/ant-design/pull/22434)
- Menu
- 🛠 Menu 继承标题的 `line-height`[#16142](https://github.com/ant-design/ant-design/pull/16142) [@sheerun](https://github.com/sheerun)
- 🐞 修复 Menu 子菜单展开/收起时会出现滚动条的问题。[#22248](https://github.com/ant-design/ant-design/pull/22248)
- 🐞 修复 Progress 仪表盘状进度条传入 `gapDeg``0` 时仍然有缺口的问题。[#22462](https://github.com/ant-design/ant-design/pull/22462) [@thisrabbit](https://github.com/thisrabbit)
- 🛠 调整 Radio.Group 逻辑,`value``undefined` 时为非受控状态。[#22245](https://github.com/ant-design/ant-design/pull/22245)
- 💄 微调 RangePicker 箭头阴影样式。[#22406](https://github.com/ant-design/ant-design/pull/22406)
- ⚡️ 减少 Row 在 `gutter` 是数组时非必要的额外渲染。[#22475](https://github.com/ant-design/ant-design/pull/22475) [@dolfje](https://github.com/dolfje)
- 🐞 修复 Select 下拉菜单的上下 padding。[#22251](https://github.com/ant-design/ant-design/pull/22251)
- 🐞 修复 Slider 使用 `nullable` 值时弹出提示会崩溃的问题。[#22482](https://github.com/ant-design/ant-design/pull/22482)
- Table
- 🐞 修复 Table ColumnGroup 使用受控 `sorterOrder` 无效的问题。[#22450](https://github.com/ant-design/ant-design/pull/22450)
- 🐞 修复 Table 边框圆角样式问题。[#22413](https://github.com/ant-design/ant-design/pull/22413) [@akshatmittal](https://github.com/akshatmittal)
- 🐞 修复 Table 固定列高度样式问题。[#22367](https://github.com/ant-design/ant-design/pull/22367)
- 🐞 修复 Table 展开行按钮在 ipad 下的样式问题。[#22334](https://github.com/ant-design/ant-design/pull/22334) [@BugHiding](https://github.com/BugHiding)
- 🐞 修复 Table 在只设置 `onFilter` 时过滤无效的问题。[#22317](https://github.com/ant-design/ant-design/pull/22317)
- 🛠 Table `column.filter` 的 value 定义可以支持 `boolean`[#22277](https://github.com/ant-design/ant-design/pull/22277) [@xudongdev](https://github.com/xudongdev)
- 🐞 重构 DirectoryTree 以修复废弃 API 警告信息。[#22318](https://github.com/ant-design/ant-design/pull/22318)
- 🐞 修复 TreeSelect `treeIcon` 无效的问题。[#22437](https://github.com/ant-design/ant-design/pull/22437)
- 🐞 修复 Typography 嵌套列表的样式问题。[#22284](https://github.com/ant-design/ant-design/pull/22284)
- 🐞 调整 Upload `onChange` 返回参数 `fileList` 为不可变数据以解决渲染问题。[#22322](https://github.com/ant-design/ant-design/pull/22322)
- 💄 抽离 RTL 样式到独立的 less 文件中。
- Alert [#22339](https://github.com/ant-design/ant-design/pull/22339)
- Badge [#22320](https://github.com/ant-design/ant-design/pull/22320)
- Breadcrumb [#22258](https://github.com/ant-design/ant-design/pull/22258)
- Button [#22384](https://github.com/ant-design/ant-design/pull/22384) [#22260](https://github.com/ant-design/ant-design/pull/22260) [#22252](https://github.com/ant-design/ant-design/pull/22252)
- Carousel [#22330](https://github.com/ant-design/ant-design/pull/22330)
- Comment [#22320](https://github.com/ant-design/ant-design/pull/22320)
- Collapse [#22320](https://github.com/ant-design/ant-design/pull/22320)
- DatePicker [#22414](https://github.com/ant-design/ant-design/pull/22414)
- Descriptions [#22330](https://github.com/ant-design/ant-design/pull/22330)
- Drawer [#22354](https://github.com/ant-design/ant-design/pull/22354)
- Dropdown [#22258](https://github.com/ant-design/ant-design/pull/22258)
- Empty [#22330](https://github.com/ant-design/ant-design/pull/22330)
- Form [#22389](https://github.com/ant-design/ant-design/pull/22389)
- Grid [#22384](https://github.com/ant-design/ant-design/pull/22384) [#22252](https://github.com/ant-design/ant-design/pull/22252)
- Input [#22399](https://github.com/ant-design/ant-design/pull/22399)
- List [#22384](https://github.com/ant-design/ant-design/pull/22384) [#22331](https://github.com/ant-design/ant-design/pull/22331)
- Menu [#22271](https://github.com/ant-design/ant-design/pull/22271)
- Modal [#22354](https://github.com/ant-design/ant-design/pull/22354)
- PageHeader [#22271](https://github.com/ant-design/ant-design/pull/22271)
- Pagination [#22271](https://github.com/ant-design/ant-design/pull/22271)
- Popover [#22331](https://github.com/ant-design/ant-design/pull/22331)
- Progress [#22354](https://github.com/ant-design/ant-design/pull/22354)
- Radio [#22405](https://github.com/ant-design/ant-design/pull/22405)
- Rate [#22294](https://github.com/ant-design/ant-design/pull/22294)
- Result [#22354](https://github.com/ant-design/ant-design/pull/22354)
- Statistic [#22331](https://github.com/ant-design/ant-design/pull/22331)
- Select [#22384](https://github.com/ant-design/ant-design/pull/22384) [#22307](https://github.com/ant-design/ant-design/pull/22307)
- Skeleton [#22388](https://github.com/ant-design/ant-design/pull/22388)
- Slider [#22294](https://github.com/ant-design/ant-design/pull/22294)
- Spin [#22388](https://github.com/ant-design/ant-design/pull/22388)
- Steps [#22384](https://github.com/ant-design/ant-design/pull/22384) [#22290](https://github.com/ant-design/ant-design/pull/22290)
- Switch [#22294](https://github.com/ant-design/ant-design/pull/22294)
- Table [#22402](https://github.com/ant-design/ant-design/pull/22402) [#22339](https://github.com/ant-design/ant-design/pull/22339)
- Tag [#22339](https://github.com/ant-design/ant-design/pull/22339)
- Timeline [#22335](https://github.com/ant-design/ant-design/pull/22335)
- Tooltip [#22335](https://github.com/ant-design/ant-design/pull/22335)
- Transfer [#22307](https://github.com/ant-design/ant-design/pull/22307)
- Tree [#22335](https://github.com/ant-design/ant-design/pull/22335)
- Typography [#22252](https://github.com/ant-design/ant-design/pull/22252)
- Upload [#22307](https://github.com/ant-design/ant-design/pull/22307)
- 🌎 国际化
- 🇩🇪 更新德语国际化。[#22270](https://github.com/ant-design/ant-design/pull/22270) [@iChebbi](https://github.com/iChebbi)
- 🇫🇷 更新法语国际化。[#22238](https://github.com/ant-design/ant-design/pull/22238) [@abenhamdine](https://github.com/abenhamdine)
- Typescript
- 🐞 移除 Table `getCheckboxProps``checked` 类型定义。[#22391](https://github.com/ant-design/ant-design/pull/22391) [@geekrainy](https://github.com/geekrainy)

## 4.0.3

`2020-03-14`
Expand All @@ -32,7 +111,7 @@ timeline: true
- 🐞 修复 ConfigProvider 没有作用在 Table 过滤弹框上的问题。[#22133](https://github.com/ant-design/ant-design/pull/22133)
- 🐞 修复 Table 树形结构下展开与固定列配合的样式问题。[#22131](https://github.com/ant-design/ant-design/pull/22131)
- 🐞 修复 Table 选择列固定时展开列不固定的问题。[#22087](https://github.com/ant-design/ant-design/pull/22087)
- 🐞 修复 Table 过滤菜单重置失效的问题。[#22079](https://github.com/ant-design/ant-design/pull/22079) [@shaodahong](https://github.com/shaodahong)
- 🐞 修复 Table 过滤菜单重置失效的问题。[#22079](https://github.com/ant-design/ant-design/pull/22079)
- 🐞 修复 Table 筛选子菜单高度溢出屏幕的问题。[#22230](https://github.com/ant-design/ant-design/pull/22230)
- Form
- 💄 优化 Form 的响应式和盒模型表现。[#21907](https://github.com/ant-design/ant-design/pull/21907) [@shaodahong](https://github.com/shaodahong)
Expand Down
2 changes: 1 addition & 1 deletion components/drawer/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
@import '../../style/mixins/index';
@import './drawer';
@import './customize';
@import './rtl.less';
@import './rtl';
2 changes: 1 addition & 1 deletion components/form/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@
}
}

@import './rtl.less';
@import './rtl';
4 changes: 2 additions & 2 deletions components/modal/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
@import '../../style/mixins/index';
@import './modal';
@import './confirm';
@import './customize.less';
@import './rtl.less';
@import './customize';
@import './rtl';
2 changes: 1 addition & 1 deletion components/popover/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,4 @@
}
}

@import './rtl.less';
@import './rtl';
2 changes: 1 addition & 1 deletion components/progress/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,4 @@
}
}

@import './rtl.less';
@import './rtl';
2 changes: 1 addition & 1 deletion components/result/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
}
}

@import './rtl.less';
@import './rtl';
2 changes: 1 addition & 1 deletion components/skeleton/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,4 @@
}
}

@import './rtl.less';
@import './rtl';
2 changes: 1 addition & 1 deletion components/spin/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,4 @@
}
}

@import './rtl.less';
@import './rtl';
2 changes: 1 addition & 1 deletion components/statistic/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
}
}

@import './rtl.less';
@import './rtl';
2 changes: 1 addition & 1 deletion components/table/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -568,5 +568,5 @@
}
}

@import './radius.less';
@import './radius';
@import './rtl';
2 changes: 1 addition & 1 deletion components/tag/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@
.make-status-color-classes('orange', warning);
}

@import './rtl.less';
@import './rtl';
2 changes: 1 addition & 1 deletion components/timeline/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@
}
}

@import './rtl.less';
@import './rtl';
2 changes: 1 addition & 1 deletion components/tooltip/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,4 @@
}
}

@import './rtl.less';
@import './rtl';
2 changes: 1 addition & 1 deletion components/transfer/style/index.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@import '../../checkbox/style/mixin';
@import './customize.less';
@import './customize';

@transfer-prefix-cls: ~'@{ant-prefix}-transfer';

Expand Down
2 changes: 1 addition & 1 deletion components/tree/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,4 @@

.antTreeFn(@tree-prefix-cls);

@import './rtl.less';
@import './rtl';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "antd",
"version": "4.0.3",
"version": "4.0.4",
"description": "An enterprise-class UI design language and React components implementation",
"keywords": [
"ant",
Expand Down
6 changes: 4 additions & 2 deletions scripts/print-changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ const $ = jQuery(window);
const QUERY_TITLE = '.gh-header-title .js-issue-title';
const QUERY_DESCRIPTION_LINES = '.comment-body table tbody tr';
const QUERY_AUTHOR = '.timeline-comment-header-text .author:first';
const MAINTAINERS = ['zombiej', 'zombieJ', 'afc163', 'chenshuai2144'];
const MAINTAINERS = ['zombiej', 'afc163', 'chenshuai2144', 'shaodahong', 'xrkffgg'].map(author =>
author.toLowerCase(),
);

const fromVersion = process.argv[process.argv.length - 2];
const toVersion = process.argv[process.argv.length - 1];
Expand Down Expand Up @@ -131,7 +133,7 @@ async function printLog() {
}

let authorText = '';
if (!MAINTAINERS.includes(author)) {
if (!MAINTAINERS.includes(author.toLowerCase())) {
authorText = ` [@${author}](https://github.com/${author})`;
}

Expand Down

0 comments on commit 3459bfc

Please sign in to comment.