diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index dcba67ce82..34c45f1003 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -14,6 +14,18 @@ timeline: true - Major version release is not included in this schedule for breaking change and new features. --- + +## 4.21.5 + +`2022-07-03` + +- 🐞 Fix Checkbox cannot be disabled by Form `disabled` prop. [#36345](https://github.com/ant-design/ant-design/pull/36345) +- 🐞 Fix Button `loading` prop with `null` value. [#36288](https://github.com/ant-design/ant-design/pull/36288) [@kejianfeng](https://github.com/kejianfeng) +- 🐞 Fix popover arrow compatibility problem on some browsers. [#36266](https://github.com/ant-design/ant-design/pull/36266) +- 🐞 Fix extra shadow in nested Table. [#36277](https://github.com/ant-design/ant-design/pull/36277) +- 🐞 Fix that some class name in Divider cannot be customized. [#36271](https://github.com/ant-design/ant-design/pull/36271) [@alanhaledc](https://github.com/alanhaledc) +- 🇧🇾 Update Belarusian locale. [#36265](https://github.com/ant-design/ant-design/pull/36265) + ## 4.21.4 `2022-06-27` @@ -35,7 +47,6 @@ timeline: true - 🤖 Fix type incompatibility. [#36189](https://github.com/ant-design/ant-design/pull/36189) [@Dunqing](https://github.com/Dunqing) - 🤖 exporting `UploadFile` from `Upload`. [#34733](https://github.com/ant-design/ant-design/pull/34733) [@chentsulin](https://github.com/chentsulin) - ## 4.21.3 `2022-06-17` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 6e448cc249..c168d1a8a3 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -15,6 +15,17 @@ timeline: true --- +## 4.21.5 + +`2022-07-03` + +- 🐞 修复 Checkbox 不会被 Form `disabled` 属性禁用的问题。[#36345](https://github.com/ant-design/ant-design/pull/36345) +- 🐞 修复 Button `loading` 属性传入 `null` 时错误问题。[#36288](https://github.com/ant-design/ant-design/pull/36288) [@kejianfeng](https://github.com/kejianfeng) +- 🐞 修复弹出框箭头在某些浏览器上的兼容性问题。[#36266](https://github.com/ant-design/ant-design/pull/36266) +- 🐞 修复 Table 滚动阴影在内嵌表格内出现的问题。[#36277](https://github.com/ant-design/ant-design/pull/36277) +- 🐞 修复 Divider 部分类名无法自定义的问题。[#36271](https://github.com/ant-design/ant-design/pull/36271) [@alanhaledc](https://github.com/alanhaledc) +- 🇧🇾 调整白俄罗斯国际化语言。[#36265](https://github.com/ant-design/ant-design/pull/36265) + ## 4.21.4 `2022-06-27` diff --git a/package.json b/package.json index e0f8b54394..e4759f13bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "antd", - "version": "4.21.4", + "version": "4.21.5", "description": "An enterprise-class UI design language and React components implementation", "title": "Ant Design", "keywords": [ diff --git a/scripts/print-changelog.js b/scripts/print-changelog.js index 4e16f81254..dfd69e1e8f 100644 --- a/scripts/print-changelog.js +++ b/scripts/print-changelog.js @@ -111,7 +111,20 @@ async function printLog() { const pr = prs[j]; // Use jquery to get full html page since it don't need auth token - const res = await fetch(`https://github.com/ant-design/ant-design/pull/${pr}`); + let res; + let tryTimes = 0; + const fetchPullRequest = async () => { + try { + res = await fetch(`https://github.com/ant-design/ant-design/pull/${pr}`); + } catch (err) { + tryTimes++; + if (tryTimes < 5) { + console.log(chalk.red(`😬 Fetch error, retrying...`)); + await fetchPullRequest(); + } + } + }; + await fetchPullRequest(); if (res.url.includes('/issues/')) { continue; }