Browse Source

site: Add diff

pull/8457/head
Wei Zhu 7 years ago
parent
commit
ed44dfaeb8
  1. 8
      CHANGELOG.en-US.md
  2. 8
      CHANGELOG.zh-CN.md

8
CHANGELOG.en-US.md

@ -68,6 +68,14 @@ Learn more in the [Ant Design 3.0 announcement post](https://medium.com/ant-desi
- Since we changed default locale to en_US, LocalProvider is not required any more for English users.
- We don't set `size="large"` to `Input` in `Form` by default any more.
- UMD version of `dist/antd.js` doesn't include moment any more, you need add moment by yourself if you are using the UMD version.
```diff
<html>
<head>
+ <script src="https://unpkg.com/moment@2.19.3/moment.js"></script>
<script src="https://unpkg.com/antd@3.0.0/dist/antd.js"></script>
</head>
</html>
```
### Removed Deprecations

8
CHANGELOG.zh-CN.md

@ -79,6 +79,14 @@ timeline: true
- Form 下的表单控件不再默认为 size="large"。
- UMD 版本的 `dist/antd.js` 不再包含 moment,使用的时候需要自己引入 moment。
```diff
<html>
<head>
+ <script src="https://unpkg.com/moment@2.19.3/moment.js"></script>
<script src="https://unpkg.com/antd@3.0.0/dist/antd.js"></script>
</head>
</html>
```
### 以下在 2.x 中废弃的特性被移除

Loading…
Cancel
Save