From ae7522137ffc3572b0bd6cefbf26cdeec41bd966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=B0=29=29=29=29=E5=BD=A1?= Date: Mon, 4 Jan 2021 11:26:17 +0800 Subject: [PATCH] release(4.0.0): release 4.0.0 (#775) --- CHANGELOG.md | 17 ++++++++++++++ components/package.json | 2 +- docs/changelog.en-US.md | 13 +++++++++++ docs/changelog.zh-CN.md | 13 +++++++++++ package.json | 2 +- scripts/site/_site/src/app/app.component.ts | 18 +++++---------- .../share/nz-codebox/nz-codebox.component.ts | 22 +++++++++---------- 7 files changed, 62 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 995720b9..00629b3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +# [4.0.0](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/compare/3.0.3...4.0.0) (2020-12-31) + + +### Bug Fixes + +* **carousel:** fix when resize active slider error show ([#767](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/767)) ([a6ae246](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/a6ae24679362b70e1f3dc4f5b6516c5b8cbeb46e)) +* **pagination:** add disabled support ([#772](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/772)) ([d798cc9](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/d798cc9c7c1ca508d9fdf3165825577451e1b814)) +* **radio:** fix listitem can't click when not using list wraper ([#756](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/756)) ([9089a24](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/9089a247eebb631b48c24290f65febbbcf860ac8)) +* **steps:** add current support ([#762](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/762)) ([60d6b54](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/60d6b54860b857c12fe08eea9c3aea4d9b84ed81)) + + +### Features + +* **all:** support Angular 11 ([#773](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/773)) ([7917100](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/7917100cfc2d5c81ca18ddc47cbccd748e06de95)) + + + ## [3.0.3](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/compare/3.0.2...3.0.3) (2020-10-21) diff --git a/components/package.json b/components/package.json index 5742d469..caa6ba16 100644 --- a/components/package.json +++ b/components/package.json @@ -1,6 +1,6 @@ { "name": "ng-zorro-antd-mobile", - "version": "3.0.3", + "version": "4.0.0", "description": "An enterprise-class mobile UI components based on Ant Design and Angular", "schematics": "./schematics/collection.json", "keywords": [ diff --git a/docs/changelog.en-US.md b/docs/changelog.en-US.md index 1abe2a27..e035b968 100755 --- a/docs/changelog.en-US.md +++ b/docs/changelog.en-US.md @@ -13,6 +13,19 @@ timeline: true - Monthly release: minor version at the end of every month for new features. - Major version release is not included in this schedule for breadking change and new features. +## 4.0.0(2020-12-31) + +### Features + +* **all:** support Angular 11 ([#773](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/773)) ([7917100](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/7917100cfc2d5c81ca18ddc47cbccd748e06de95)) + +### Bug Fixes + +* **carousel:** fix when resize active slider error show ([#767](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/767)) ([a6ae246](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/a6ae24679362b70e1f3dc4f5b6516c5b8cbeb46e)) +* **pagination:** add disabled support ([#772](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/772)) ([d798cc9](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/d798cc9c7c1ca508d9fdf3165825577451e1b814)) +* **radio:** fix listitem can't click when not using list wraper ([#756](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/756)) ([9089a24](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/9089a247eebb631b48c24290f65febbbcf860ac8)) +* **steps:** add current support ([#762](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/762)) ([60d6b54](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/60d6b54860b857c12fe08eea9c3aea4d9b84ed81)) + ## 3.0.3(2020-10-21) ### Features diff --git a/docs/changelog.zh-CN.md b/docs/changelog.zh-CN.md index 4e74b5ce..9a7b9e81 100755 --- a/docs/changelog.zh-CN.md +++ b/docs/changelog.zh-CN.md @@ -13,6 +13,19 @@ timeline: true - 次版本号:每月发布一个带有新特性的向下兼容的版本。 - 主版本号:含有破坏性更新和新特性,不在发布周期内。 +## 4.0.0(2020-12-31) + +### Features + +* **all:** 升级至 Angular 11 ([#773](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/773)) ([7917100](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/7917100cfc2d5c81ca18ddc47cbccd748e06de95)) + +### Bug Fixes + +* **carousel:** 修复激活slider尺寸自适应引发的错误 ([#767](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/767)) ([a6ae246](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/a6ae24679362b70e1f3dc4f5b6516c5b8cbeb46e)) +* **pagination:** 增加 disabled 支持 ([#772](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/772)) ([d798cc9](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/d798cc9c7c1ca508d9fdf3165825577451e1b814)) +* **radio:** 修复不使用list wrapper时listitem无法点击的问题 ([#756](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/756)) ([9089a24](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/9089a247eebb631b48c24290f65febbbcf860ac8)) +* **steps:** 增加 current 支持 ([#762](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/762)) ([60d6b54](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/60d6b54860b857c12fe08eea9c3aea4d9b84ed81)) + ## 3.0.3(2020-10-21) ### Features diff --git a/package.json b/package.json index 193e8e09..f0c8181c 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "classlist.js": "^1.1.20150312", "codecov": "^3.0.0", "codelyzer": "^6.0.1", - "conventional-changelog-cli": "^2.0.1", + "conventional-changelog-cli": "^2.1.1", "core-js": "^2.5.4", "fs-extra": "~7.0.1", "husky": "^2.1.0", diff --git a/scripts/site/_site/src/app/app.component.ts b/scripts/site/_site/src/app/app.component.ts index d47accae..7e9a1f1e 100644 --- a/scripts/site/_site/src/app/app.component.ts +++ b/scripts/site/_site/src/app/app.component.ts @@ -19,21 +19,15 @@ export class AppComponent implements OnInit, AfterViewInit { docsearch = null; kitchenUrl = window.location.origin + '/#/kitchen-sink?lang=zh-CN'; language = 'zh'; - versionList = ['0.12.x', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.0.6', '2.0.1', '2.0.3', '2.0.7', '3.0.3']; + versionList = ['0.12.x', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.0.6', '2.0.1', '2.0.3', '2.0.7', '3.0.3', '4.0.0']; versionMap = { '0.12.x': '0.12.5', - '1.0.1': '1.0.11', - '1.0.2': '1.0.2', - '1.0.3': '1.0.3', - '1.0.4': '1.0.4', - '1.0.5': '1.0.51', - '1.0.6': '2001.0.6', - '2.0.1': '2.0.100', - '2.0.3': '2012.0.3', - '2.0.7': '2012.0.7', - '3.0.3': '2013.0.3' + '1.x': '2001.0.6', + '2.x': '2012.0.7', + '3.0.3': '2013.0.3', + '4.0.0': '2014.0.0' }; - currentVersion = '3.0.3'; + currentVersion = '4.0.0'; isHomeURL = true; isKitchenURL = false; demoTitle = ''; diff --git a/scripts/site/_site/src/app/share/nz-codebox/nz-codebox.component.ts b/scripts/site/_site/src/app/share/nz-codebox/nz-codebox.component.ts index aa80df0b..dd3a5f8c 100644 --- a/scripts/site/_site/src/app/share/nz-codebox/nz-codebox.component.ts +++ b/scripts/site/_site/src/app/share/nz-codebox/nz-codebox.component.ts @@ -340,19 +340,19 @@ export class AppModule { } description: 'Created with <3 by the StackBlitz SDK!', template: 'angular-cli', dependencies: { - '@angular/animations': '^10.0.14', - '@angular/cdk': '^10.1.3', - '@angular/common': '^10.0.14', - '@angular/compiler': '^10.0.14', - '@angular/core': '^10.0.14', - '@angular/forms': '^10.0.14', - '@angular/platform-browser': '^10.0.14', - '@angular/platform-browser-dynamic': '^10.0.14', - '@angular/router': '^10.0.14', - '@ant-design/icons-angular': '^10.0.1', + '@angular/animations': '^11.0.5', + '@angular/cdk': '^11.0.3', + '@angular/common': '^11.0.5', + '@angular/compiler': '^11.0.5', + '@angular/core': '^11.0.5', + '@angular/forms': '^11.0.5', + '@angular/platform-browser': '^11.0.5', + '@angular/platform-browser-dynamic': '^11.0.5', + '@angular/router': '^11.0.5', + '@ant-design/icons-angular': '^11.0.1', 'rxjs': '~6.6.2', 'zone.js': '~0.10.2', - 'ng-zorro-antd-mobile': '3.0.3' + 'ng-zorro-antd-mobile': '4.0.0' }, tags: ['stackblitz', 'sdk'] });