docs: v4.21.5 (#36353)

* docs: v4.21.5

* chore: add try time

* chore: update changelog
This commit is contained in:
MadCcc 2022-07-03 12:21:40 +08:00 committed by GitHub
parent 40728fb4dc
commit 62313099bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 3 deletions

View File

@ -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`

View File

@ -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`

View File

@ -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": [

View File

@ -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;
}