Browse Source

docs: 4.0.0-rc.3 changelog (#21111)

* docs: 4.0.0-rc.3 changelog

* re-order
pull/21112/head 4.0.0-rc.3
二货机器人 5 years ago
committed by GitHub
parent
commit
f67f81bac9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      CHANGELOG.en-US.md
  2. 15
      CHANGELOG.zh-CN.md
  3. 2
      package.json
  4. 4
      scripts/print-changelog.js

14
CHANGELOG.en-US.md

@ -15,6 +15,20 @@ timeline: true
---
## 4.0.0-rc.3
`2020-01-27`
- 🛠 Use native Date instead of moment to get timestamp in Countdown component. [#21108](https://github.com/ant-design/ant-design/pull/21108) [@morenyang](https://github.com/morenyang)
- 🐞 Fix Input `suffix / prefix` style issue with `addonBefore / addonAfter`. [#21105](https://github.com/ant-design/ant-design/pull/21105) [@zombieJ](https://github.com/zombieJ)
- 💄 Improved Timeline component style in RTL mode. [#21068](https://github.com/ant-design/ant-design/pull/21068) [@xrkffgg](https://github.com/xrkffgg)
- 💄 Update `clearfix` mixin to remove legacy `zoom` descriptor. [#21109](https://github.com/ant-design/ant-design/pull/21109) [@morenyang](https://github.com/morenyang)
- 💄Card component use `@font-size-base` instead of inline `14px`. [#21107](https://github.com/ant-design/ant-design/pull/21107) [@morenyang](https://github.com/morenyang)
- 💄 Adjust Layout component to let `className` get higher priority. [#21074](https://github.com/ant-design/ant-design/pull/21074) [@yoyo837](https://github.com/yoyo837)
- Typescript
- 🐞 Fix Tree wrong event type of AntTreeNodeMouseEvent. [#21102](https://github.com/ant-design/ant-design/pull/21102) [@Jirka-Lhotka](https://github.com/Jirka-Lhotka)
- 🐞 Fix Form.Item return type define. [#21067](https://github.com/ant-design/ant-design/pull/21067) [@zombieJ](https://github.com/zombieJ)
## 4.0.0-rc.2
`2020-01-21`

15
CHANGELOG.zh-CN.md

@ -15,6 +15,21 @@ timeline: true
---
## 4.0.0-rc.3
`2020-01-27`
- 🛠 移除 Countdown 组件的 `moment` 依赖。[#21108](https://github.com/ant-design/ant-design/pull/21108) [@morenyang](https://github.com/morenyang)
- 🐞 修复 Input `suffix / prefix` 样式与 `addonBefore / addonAfter` 冲突的问题。[#21105](https://github.com/ant-design/ant-design/pull/21105) [@zombieJ](https://github.com/zombieJ)
- 💄 完善 Timeline 组件 RTL 模式下样式。[#21068](https://github.com/ant-design/ant-design/pull/21068) [@xrkffgg](https://github.com/xrkffgg)
- 💄 更新基本样式 `clearfix` 移除过时的 `zoom` 属性。[#21109](https://github.com/ant-design/ant-design/pull/21109) [@morenyang](https://github.com/morenyang)
- 💄Card 组件使用 `@font-size-base` 变量以代替固定的 `14px`。[#21107](https://github.com/ant-design/ant-design/pull/21107) [@morenyang](https://github.com/morenyang)
- 💄 调整 Layout 组件传入的 `className` 到最后以提高其优先级。[#21074](https://github.com/ant-design/ant-design/pull/21074) [@yoyo837](https://github.com/yoyo837)
- Typescript
- 🐞 修复 Tree 中 AntTreeNodeMouseEvent 的定义问题。[#21102](https://github.com/ant-design/ant-design/pull/21102) [@Jirka-Lhotka](https://github.com/Jirka-Lhotka)
- 🐞 修复 Form.Item 返回的类型定义。[#21067](https://github.com/ant-design/ant-design/pull/21067) [@zombieJ](https://github.com/zombieJ)
## 4.0.0-rc.2
`2020-01-21`

2
package.json

@ -1,6 +1,6 @@
{
"name": "antd",
"version": "4.0.0-rc.2",
"version": "4.0.0-rc.3",
"description": "An enterprise-class UI design language and React components implementation",
"keywords": [
"ant",

4
scripts/print-changelog.js

@ -147,11 +147,13 @@ async function printLog() {
}
// Chinese
console.log(chalk.yellow('Chinese changelog:'));
printPR('chinese', chinese => (chinese[chinese.length - 1] === '。' ? chinese : `${chinese}`));
console.log('-----');
console.log('\n-----\n');
// English
console.log(chalk.yellow('English changelog:'));
printPR('english', english => {
english = english.trim();
if (english[english.length - 1] !== '.') {

Loading…
Cancel
Save