From 3459bfc0be1e72cf8d2487d101e35d9c4c6666f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Mon, 23 Mar 2020 10:57:37 +0800 Subject: [PATCH] docs: `4.0.4` changelog (#22505) * docs: Init changelog * order * grouping * clean up --- CHANGELOG.en-US.md | 79 ++++++++++++++++++++++++++ CHANGELOG.zh-CN.md | 81 ++++++++++++++++++++++++++- components/drawer/style/index.less | 2 +- components/form/style/index.less | 2 +- components/modal/style/index.less | 4 +- components/popover/style/index.less | 2 +- components/progress/style/index.less | 2 +- components/result/style/index.less | 2 +- components/skeleton/style/index.less | 2 +- components/spin/style/index.less | 2 +- components/statistic/style/index.less | 2 +- components/table/style/index.less | 2 +- components/tag/style/index.less | 2 +- components/timeline/style/index.less | 2 +- components/tooltip/style/index.less | 2 +- components/transfer/style/index.less | 2 +- components/tree/style/index.less | 2 +- package.json | 2 +- scripts/print-changelog.js | 6 +- 19 files changed, 180 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index c421b0059e..e71ed250b7 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -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` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 31977004a5..d762ac894a 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -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` @@ -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) diff --git a/components/drawer/style/index.less b/components/drawer/style/index.less index 4a8e99a674..79cde6c2b0 100644 --- a/components/drawer/style/index.less +++ b/components/drawer/style/index.less @@ -2,4 +2,4 @@ @import '../../style/mixins/index'; @import './drawer'; @import './customize'; -@import './rtl.less'; +@import './rtl'; diff --git a/components/form/style/index.less b/components/form/style/index.less index 36a2fbdc0d..8f7b25e882 100644 --- a/components/form/style/index.less +++ b/components/form/style/index.less @@ -225,4 +225,4 @@ } } -@import './rtl.less'; +@import './rtl'; diff --git a/components/modal/style/index.less b/components/modal/style/index.less index afafbaf896..0f128a2e0b 100644 --- a/components/modal/style/index.less +++ b/components/modal/style/index.less @@ -2,5 +2,5 @@ @import '../../style/mixins/index'; @import './modal'; @import './confirm'; -@import './customize.less'; -@import './rtl.less'; +@import './customize'; +@import './rtl'; diff --git a/components/popover/style/index.less b/components/popover/style/index.less index 3bfda88179..586ed649e9 100644 --- a/components/popover/style/index.less +++ b/components/popover/style/index.less @@ -205,4 +205,4 @@ } } -@import './rtl.less'; +@import './rtl'; diff --git a/components/progress/style/index.less b/components/progress/style/index.less index 92b6e93209..ae28e3fab6 100644 --- a/components/progress/style/index.less +++ b/components/progress/style/index.less @@ -196,4 +196,4 @@ } } -@import './rtl.less'; +@import './rtl'; diff --git a/components/result/style/index.less b/components/result/style/index.less index e72f94f3c1..749a800868 100644 --- a/components/result/style/index.less +++ b/components/result/style/index.less @@ -71,4 +71,4 @@ } } -@import './rtl.less'; +@import './rtl'; diff --git a/components/skeleton/style/index.less b/components/skeleton/style/index.less index f53cd90a5d..bee5859c71 100644 --- a/components/skeleton/style/index.less +++ b/components/skeleton/style/index.less @@ -214,4 +214,4 @@ } } -@import './rtl.less'; +@import './rtl'; diff --git a/components/spin/style/index.less b/components/spin/style/index.less index 085225de41..0851c965d4 100644 --- a/components/spin/style/index.less +++ b/components/spin/style/index.less @@ -213,4 +213,4 @@ } } -@import './rtl.less'; +@import './rtl'; diff --git a/components/statistic/style/index.less b/components/statistic/style/index.less index 271d4aeb9e..2c4ffe948f 100644 --- a/components/statistic/style/index.less +++ b/components/statistic/style/index.less @@ -39,4 +39,4 @@ } } -@import './rtl.less'; +@import './rtl'; diff --git a/components/table/style/index.less b/components/table/style/index.less index 80b00c8252..f3ee905406 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -568,5 +568,5 @@ } } -@import './radius.less'; +@import './radius'; @import './rtl'; diff --git a/components/tag/style/index.less b/components/tag/style/index.less index 95b8ae9646..ff3f75f70c 100644 --- a/components/tag/style/index.less +++ b/components/tag/style/index.less @@ -121,4 +121,4 @@ .make-status-color-classes('orange', warning); } -@import './rtl.less'; +@import './rtl'; diff --git a/components/timeline/style/index.less b/components/timeline/style/index.less index 8bb41aba03..3d022bbc1d 100644 --- a/components/timeline/style/index.less +++ b/components/timeline/style/index.less @@ -183,4 +183,4 @@ } } -@import './rtl.less'; +@import './rtl'; diff --git a/components/tooltip/style/index.less b/components/tooltip/style/index.less index 6a664fc65d..0e7c399988 100644 --- a/components/tooltip/style/index.less +++ b/components/tooltip/style/index.less @@ -186,4 +186,4 @@ } } -@import './rtl.less'; +@import './rtl'; diff --git a/components/transfer/style/index.less b/components/transfer/style/index.less index b0b8f79401..2c061d14c7 100644 --- a/components/transfer/style/index.less +++ b/components/transfer/style/index.less @@ -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'; diff --git a/components/tree/style/index.less b/components/tree/style/index.less index d60f2a0b1e..83e4cd35aa 100644 --- a/components/tree/style/index.less +++ b/components/tree/style/index.less @@ -216,4 +216,4 @@ .antTreeFn(@tree-prefix-cls); -@import './rtl.less'; +@import './rtl'; diff --git a/package.json b/package.json index 6bef96aac1..c7b35487ff 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/scripts/print-changelog.js b/scripts/print-changelog.js index 41d83c4458..0453ffd019 100644 --- a/scripts/print-changelog.js +++ b/scripts/print-changelog.js @@ -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]; @@ -131,7 +133,7 @@ async function printLog() { } let authorText = ''; - if (!MAINTAINERS.includes(author)) { + if (!MAINTAINERS.includes(author.toLowerCase())) { authorText = ` [@${author}](https://github.com/${author})`; }