diff --git a/CHANGELOG.md b/CHANGELOG.md index ff8faf11..61462197 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# [1.0.0](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/compare/1.0.0-rc.0...1.0.0) (2019-09-23) + +### Bug Fixes + +* **picker:** fix select bug when data is a function ([#589](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/589)) ([3e63d20](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/3e63d20)) + +* **picker:** fix select bug when data is a function ([#586](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/586)) ([26a07d7](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/26a07d7)) + # [1.0.0-rc.0](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/compare/1.0.0-beta.2...1.0.0-rc.0) (2019-09-16) ### Bug Fixes diff --git a/components/date-picker/date-picker.component.ts b/components/date-picker/date-picker.component.ts index d5884def..d136cd31 100644 --- a/components/date-picker/date-picker.component.ts +++ b/components/date-picker/date-picker.component.ts @@ -596,7 +596,8 @@ export class DatePickerComponent implements OnInit, OnDestroy, AfterViewInit { if (this.resultArr.length < 3) { this.resultArr.push('1'); } - result = this.resultArr.slice(0, 3) + result = this.resultArr + .slice(0, 3) .map(v => { return this.preZero(parseInt(v, 0)); }) diff --git a/components/package.json b/components/package.json index e041ce9e..d21f5c83 100644 --- a/components/package.json +++ b/components/package.json @@ -1,6 +1,6 @@ { "name": "ng-zorro-antd-mobile", - "version": "1.0.0-rc.0", + "version": "1.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 803d8396..d10b0bdd 100755 --- a/docs/changelog.en-US.md +++ b/docs/changelog.en-US.md @@ -13,6 +13,14 @@ 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. +## 1.0.0(2019-09-23) + +### Bug Fixes + +* **picker:** fix NAN bug when fast scroll ([#589](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/589)) ([3e63d20](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/3e63d20)) + +* **picker:** fix select bug when data is a function ([#586](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/586)) ([26a07d7](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/26a07d7)) + ## 1.0.0-rc.0(2019-09-16) ### Bug Fixes diff --git a/docs/changelog.zh-CN.md b/docs/changelog.zh-CN.md index 6cc1eba2..14694ab1 100755 --- a/docs/changelog.zh-CN.md +++ b/docs/changelog.zh-CN.md @@ -13,6 +13,14 @@ timeline: true - 次版本号:每月发布一个带有新特性的向下兼容的版本。 - 主版本号:含有破坏性更新和新特性,不在发布周期内。 +## 1.0.0(2019-09-23) + +### Bug Fixes + +* **picker:** 修复快速滑动时显示NAN的错误 ([#589](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/589)) ([3e63d20](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/3e63d20)) + +* **picker:** 修复 data input 为一个函数时引发的选择错误 ([#586](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/586)) ([26a07d7](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/26a07d7)) + ## 1.0.0-rc.0(2019-09-16) ### Bug Fixes diff --git a/scripts/site/_site/src/app/app.component.ts b/scripts/site/_site/src/app/app.component.ts index ca12d661..cb7be174 100644 --- a/scripts/site/_site/src/app/app.component.ts +++ b/scripts/site/_site/src/app/app.component.ts @@ -19,9 +19,9 @@ 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.0-beta.0', '1.0.0-beta.2', '1.0.0-rc.0']; - versionMap = {'0.12.x': '0.12.5', '1.0.0-beta.0': '1.0.00', '1.0.0-beta.2': '1.0.07', '1.0.0-rc.0': '1.0.08'}; - currentVersion = '1.0.0-rc.0'; + versionList = ['0.12.x', '1.0.0']; + versionMap = {'0.12.x': '0.12.5', '1.0.0': '1.0.09'}; + currentVersion = '1.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 e8c043fb..ef63c034 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 @@ -357,7 +357,7 @@ export class AppModule { } 'core-js': '^2.5.4', 'rxjs': '^6.3.3', 'zone.js': '^0.9.0', - 'ng-zorro-antd-mobile': '1.0.0-rc.0' + 'ng-zorro-antd-mobile': '1.0.0' }, tags: ['stackblitz', 'sdk'] });