From 4dc485c14ec0d67d176ad3904fcdeb1088de6a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=B0=29=29=29=29=E5=BD=A1?= Date: Thu, 6 Dec 2018 19:36:22 +0800 Subject: [PATCH] release(0.9.10): release 0.9.10 (#143) --- CHANGELOG.md | 134 ++++++++++++++++++++++++------------- components/package.json | 2 +- docs/changelog.en-US.md | 89 ++++++++++++++---------- docs/changelog.zh-CN.md | 89 ++++++++++++++---------- scripts/publish/publish.js | 28 +++++--- 5 files changed, 214 insertions(+), 128 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8c764e3..dbeba260 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,53 @@ +## [0.9.10](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/compare/0.9.9...0.9.10) (2018-12-06) + + +### Bug Fixes + +* **calendar:** export calendar module&export local provider module for calendar ([#134](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/134)) ([37f20ae](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/37f20ae)) +* **checkbox&radio:** fix output status error ([#122](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/122)) ([e709b86](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/e709b86)) +* **popover:** fix visible input not use without init ([#127](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/127)) ([05313a4](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/05313a4)) +* **Searchbar:** fix no provider for LocaleProviderService ([#133](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/133)) ([1ac6008](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/1ac6008)) +* **TabBar:** TabsModule import is no needed ([#135](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/135)) ([eab449b](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/eab449b)) + + +### Features + +* **badge:** add span to badge text ([#125](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/125)) ([e362320](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/e362320)) +* **popover:** feat add customClass for customer ([#129](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/129)) ([26bbe53](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/26bbe53)), closes [#120](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/120) +* **PickerView:** import PickerModule and LocaleProviderModule ([#141](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/141)) ([52ebaeb](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/52ebaeb)) +* **popover:** feat add autoClose to set click popover item to close popvoer ([#130](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/130)) ([71ea780](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/71ea780)) + + + +## [0.9.10](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/compare/0.9.9...0.9.10) (2018-12-06) + + +### Bug Fixes + +* **calendar:** export calendar module&export local provider module for calendar ([#134](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/134)) ([37f20ae](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/37f20ae)) +* **checkbox&radio:** fix output status error ([#122](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/122)) ([e709b86](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/e709b86)) +* **popover:** fix visible input not use without init ([#127](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/127)) ([05313a4](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/05313a4)) +* **Searchbar:** fix no provider for LocaleProviderService ([#133](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/133)) ([1ac6008](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/1ac6008)) +* **TabBar:** TabsModule import is no needed ([#135](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/135)) ([eab449b](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/eab449b)) + + +### Features + +* **badge:** add span to badge text ([#125](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/125)) ([e362320](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/e362320)) +* **popover:** feat add customClass for customer ([#129](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/129)) ([26bbe53](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/26bbe53)), closes [#120](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/120) +* **PickerView:** import PickerModule and LocaleProviderModule ([#141](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/141)) ([52ebaeb](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/52ebaeb)) +* **popover:** feat add autoClose to set click popover item to close popvoer ([#130](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/130)) ([71ea780](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/71ea780)) + + + ## [0.9.9](https://github.com/fisherspy/ng-zorro-antd-mobile/compare/0.9.7...0.9.9) (2018-11-27) ### Bug Fixes -* **locale-provider:** make locale-provider available cross modules; ([#113](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/113)) ([e09f0a3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e09f0a3)) -* **picker:** import OverlayModule ([#111](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/111)) ([722ee27](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/722ee27)) -* **grid:** fix when input item more than 13 would trigger bug ([#119](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/119)) ([34e1dd7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/34e1dd7)) +* **locale-provider:** make locale-provider available cross modules; ([#113](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/113)) ([e09f0a3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e09f0a3)) +* **picker:** import OverlayModule ([#111](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/111)) ([722ee27](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/722ee27)) +* **grid:** fix when input item more than 13 would trigger bug ([#119](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/119)) ([34e1dd7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/34e1dd7)) ### Features @@ -23,22 +65,22 @@ ### Bug Fixes -* **action-sheet:** fix click item will response background click event ([#98](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/98)) ([b24bcbc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b24bcbc)) -* **action-sheet:** fix click item without event ([#99](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/99)) ([1697cda](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/1697cda)) -* **badge:** fixed badge test case error ([#83](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/83)) ([43eb155](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/43eb155)) -* **carousel:** fix carouselslide when set one item and vertical:true, width not right ([#86](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/86)) ([bb59fe7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bb59fe7)) -* **date-picker:** fix no locale input will trigger error ([#103](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/103)) ([2aa43aa](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2aa43aa)) -* **input-item:** fix set value by ngzone.run ([#101](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/101)) ([ed2b243](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ed2b243)) -* **LocaleProvider:** export LOCAL_PROVIDER_TOKEN ([#96](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/96)) ([16922a2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/16922a2)) -* **tabs:** fix tabs display error in macos safari ([#106](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/106)) ([ba9e43b](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ba9e43b)) -* **Toast:** fix tasks can reenter the Angular zone via run ([#93](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/93)) ([49d52be](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/49d52be)) -* **showcase:** change expand icon ([#97](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/97)) ([8bcfda5](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8bcfda5)) +* **action-sheet:** fix click item will response background click event ([#98](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/98)) ([b24bcbc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b24bcbc)) +* **action-sheet:** fix click item without event ([#99](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/99)) ([1697cda](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/1697cda)) +* **badge:** fixed badge test case error ([#83](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/83)) ([43eb155](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/43eb155)) +* **carousel:** fix carouselslide when set one item and vertical:true, width not right ([#86](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/86)) ([bb59fe7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bb59fe7)) +* **date-picker:** fix no locale input will trigger error ([#103](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/103)) ([2aa43aa](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2aa43aa)) +* **input-item:** fix set value by ngzone.run ([#101](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/101)) ([ed2b243](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ed2b243)) +* **LocaleProvider:** export LOCAL_PROVIDER_TOKEN ([#96](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/96)) ([16922a2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/16922a2)) +* **tabs:** fix tabs display error in macos safari ([#106](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/106)) ([ba9e43b](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ba9e43b)) +* **Toast:** fix tasks can reenter the Angular zone via run ([#93](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/93)) ([49d52be](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/49d52be)) +* **showcase:** change expand icon ([#97](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/97)) ([8bcfda5](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8bcfda5)) ### Features -* **date-picker-view:** feat indicatorStyle ([#104](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/104)) ([e97acbd](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e97acbd)) -* **picker:** feat create 'Picker' with dynamic ([#105](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/105)) ([90866df](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/90866df)) +* **date-picker-view:** feat indicatorStyle ([#104](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/104)) ([e97acbd](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e97acbd)) +* **picker:** feat create 'Picker' with dynamic ([#105](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/105)) ([90866df](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/90866df)) @@ -48,13 +90,13 @@ ### Bug Fixes -* **carousel:** add stopPropagation when touch action is triggered ([#61](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/61)) ([c44ba59](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/c44ba59)) -* **carousel:** fix carouselslide no width when vertical:false ([#67](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/67)) ([8dd703f](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8dd703f)) -* **carousel:** fix mousemove action when carousel only has two carouselslide ([#56](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/56)) ([bc02951](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bc02951)) -* **icon:** fix icon line-height([#46](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/46)) ([#47](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/47)) ([28d76f2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/28d76f2)) -* **pulltorefresh:** fix drag up touch bug ([#51](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/51)) ([8b905cc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8b905cc)) -* **textarea:** fixed textarea-item test case error ([#50](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/50)) ([f2bbdfb](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/f2bbdfb)) -* **showcase:** replace dingtalk qrcode ([#74](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/74)) ([b4e7483](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b4e7483)) +* **carousel:** add stopPropagation when touch action is triggered ([#61](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/61)) ([c44ba59](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/c44ba59)) +* **carousel:** fix carouselslide no width when vertical:false ([#67](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/67)) ([8dd703f](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8dd703f)) +* **carousel:** fix mousemove action when carousel only has two carouselslide ([#56](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/56)) ([bc02951](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bc02951)) +* **icon:** fix icon line-height([#46](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/46)) ([#47](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/47)) ([28d76f2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/28d76f2)) +* **pulltorefresh:** fix drag up touch bug ([#51](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/51)) ([8b905cc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8b905cc)) +* **textarea:** fixed textarea-item test case error ([#50](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/50)) ([f2bbdfb](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/f2bbdfb)) +* **showcase:** replace dingtalk qrcode ([#74](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/74)) ([b4e7483](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b4e7483)) @@ -63,20 +105,20 @@ ### Bug Fixes -* **codebox:** fix show code window back title always show '返回' ([#35](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/35)) ([0720fdc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/0720fdc)) -* **codebox:** fix StackBlitz with dynamic component ([#41](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/41)) ([8adcbb0](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8adcbb0)) -* **package.json:** delete not use version key ([#27](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/27)) ([fc3cf65](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/fc3cf65)) -* **popover:** add provider for PopoverOptions ([#30](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/30)) ([8f9e1d3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8f9e1d3)) -* **textarea:** fix textarea test case error ([#36](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/36)) ([97639fc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/97639fc)) -* **package.json:** change run start way ([#42](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/42)) ([68a0453](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/68a0453)) -* **codebox:** fix show code window back title always show '返回' ([#29](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/29)) ([96bf9b8](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/96bf9b8)) +* **codebox:** fix show code window back title always show '返回' ([#35](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/35)) ([0720fdc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/0720fdc)) +* **codebox:** fix StackBlitz with dynamic component ([#41](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/41)) ([8adcbb0](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8adcbb0)) +* **package.json:** delete not use version key ([#27](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/27)) ([fc3cf65](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/fc3cf65)) +* **popover:** add provider for PopoverOptions ([#30](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/30)) ([8f9e1d3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8f9e1d3)) +* **textarea:** fix textarea test case error ([#36](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/36)) ([97639fc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/97639fc)) +* **package.json:** change run start way ([#42](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/42)) ([68a0453](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/68a0453)) +* **codebox:** fix show code window back title always show '返回' ([#29](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/29)) ([96bf9b8](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/96bf9b8)) ### Features -* **nav-bar:** add icon string support ([#38](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/38)) ([4a89b0c](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/4a89b0c)) -* **tabs:** disable useOnPan when swipeable is false ([#43](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/43)) ([2d63730](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2d63730)) -* **tabs:** disable useOnPan when swipeable is false ([#44](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/44)) ([a59797e](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/a59797e)) +* **nav-bar:** add icon string support ([#38](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/38)) ([4a89b0c](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/4a89b0c)) +* **tabs:** disable useOnPan when swipeable is false ([#43](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/43)) ([2d63730](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2d63730)) +* **tabs:** disable useOnPan when swipeable is false ([#44](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/44)) ([a59797e](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/a59797e)) @@ -86,20 +128,20 @@ ### Bug Fixes -* **codebox:** fix show code window back title always show '返回' ([#35](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/35)) ([0720fdc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/0720fdc)) -* **codebox:** fix StackBlitz with dynamic component ([#41](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/41)) ([8adcbb0](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8adcbb0)) -* **package.json:** delete not use version key ([#27](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/27)) ([fc3cf65](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/fc3cf65)) -* **popover:** add provider for PopoverOptions ([#30](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/30)) ([8f9e1d3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8f9e1d3)) -* **textarea:** fix textarea test case error ([#36](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/36)) ([97639fc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/97639fc)) -* **package.json:** change run start way ([#42](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/42)) ([68a0453](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/68a0453)) -* **codebox:** fix show code window back title always show '返回' ([#29](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/29)) ([96bf9b8](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/96bf9b8)) +* **codebox:** fix show code window back title always show '返回' ([#35](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/35)) ([0720fdc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/0720fdc)) +* **codebox:** fix StackBlitz with dynamic component ([#41](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/41)) ([8adcbb0](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8adcbb0)) +* **package.json:** delete not use version key ([#27](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/27)) ([fc3cf65](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/fc3cf65)) +* **popover:** add provider for PopoverOptions ([#30](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/30)) ([8f9e1d3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8f9e1d3)) +* **textarea:** fix textarea test case error ([#36](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/36)) ([97639fc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/97639fc)) +* **package.json:** change run start way ([#42](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/42)) ([68a0453](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/68a0453)) +* **codebox:** fix show code window back title always show '返回' ([#29](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/29)) ([96bf9b8](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/96bf9b8)) ### Features -* **nav-bar:** add icon string support ([#38](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/38)) ([4a89b0c](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/4a89b0c)) -* **tabs:** disable useOnPan when swipeable is false ([#43](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/43)) ([2d63730](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2d63730)) -* **tabs:** disable useOnPan when swipeable is false ([#44](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/44)) ([a59797e](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/a59797e)) +* **nav-bar:** add icon string support ([#38](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/38)) ([4a89b0c](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/4a89b0c)) +* **tabs:** disable useOnPan when swipeable is false ([#43](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/43)) ([2d63730](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2d63730)) +* **tabs:** disable useOnPan when swipeable is false ([#44](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/44)) ([a59797e](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/a59797e)) @@ -115,17 +157,17 @@ * **date-picker:** fix invaild date ([6620635](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6620635)) * **demo:** don’t expand code ([6d65ebb](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6d65ebb)) * **pulltorefresh:** fix demo pulltorefresh ([8725c4b](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8725c4b)) -* **input-item:** fixed custom-keyboard hide ([#21](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/21)) ([9b8f3da](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/9b8f3da)) +* **input-item:** fixed custom-keyboard hide ([#21](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/21)) ([9b8f3da](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/9b8f3da)) * **carousel:** fix last panel bug ([2c5cd92](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2c5cd92)) -* **tabs:** unable get offsetWidth & offsetHeight when setInkBarStatus at first time sometime ([#7](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/7)) ([6502082](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6502082)) +* **tabs:** unable get offsetWidth & offsetHeight when setInkBarStatus at first time sometime ([#7](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/7)) ([6502082](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6502082)) * **steps:** udpate setTimeout time ([6da37ab](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6da37ab)) ### Features * **ci:** update ci config ([0b178c4](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/0b178c4)) -* **list-item:** remove classname ([#20](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/20)) ([e0850f6](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e0850f6)) -* **modal:** add modal test ([#18](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/18)) ([7c59b61](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/7c59b61)) +* **list-item:** remove classname ([#20](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/20)) ([e0850f6](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e0850f6)) +* **modal:** add modal test ([#18](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/18)) ([7c59b61](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/7c59b61)) * **template:** support issue and PR template ([bc59939](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bc59939)) diff --git a/components/package.json b/components/package.json index f1f62ccd..79d4a10b 100644 --- a/components/package.json +++ b/components/package.json @@ -1,6 +1,6 @@ { "name": "ng-zorro-antd-mobile", - "version": "0.9.9", + "version": "0.9.10", "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 785b040d..2e110677 100755 --- a/docs/changelog.en-US.md +++ b/docs/changelog.en-US.md @@ -13,13 +13,30 @@ 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. +## 0.9.10 (2018-12-06) + +### Bug Fixes + +* **calendar:** export calendar module&export local provider module for calendar ([#134](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/134)) ([37f20ae](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/37f20ae)) +* **checkbox&radio:** fix output status error ([#122](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/122)) ([e709b86](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/e709b86)) +* **popover:** fix visible input not use without init ([#127](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/127)) ([05313a4](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/05313a4)) +* **Searchbar:** fix no provider for LocaleProviderService ([#133](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/133)) ([1ac6008](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/1ac6008)) +* **TabBar:** TabsModule import is no needed ([#135](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/135)) ([eab449b](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/eab449b)) + +### Features + +* **badge:** add span to badge text ([#125](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/125)) ([e362320](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/e362320)) +* **popover:** feat add customClass for customer ([#129](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/129)) ([26bbe53](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/26bbe53)), closes [#120](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/120) +* **PickerView:** import PickerModule and LocaleProviderModule ([#141](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/141)) ([52ebaeb](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/52ebaeb)) +* **popover:** feat add autoClose to set click popover item to close popvoer ([#130](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/130)) ([71ea780](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/71ea780)) + ## 0.9.9 (2018-11-27) ### Bug Fixes -* **locale-provider:** make locale-provider available cross modules; ([#113](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/113)) ([e09f0a3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e09f0a3)) -* **picker:** import OverlayModule ([#111](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/111)) ([722ee27](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/722ee27)) -* **grid:** fix when input item more than 13 would trigger bug ([#119](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/119)) ([34e1dd7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/34e1dd7)) +* **locale-provider:** make locale-provider available cross modules; ([#113](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/113)) ([e09f0a3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e09f0a3)) +* **picker:** import OverlayModule ([#111](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/111)) ([722ee27](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/722ee27)) +* **grid:** fix when input item more than 13 would trigger bug ([#119](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/119)) ([34e1dd7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/34e1dd7)) ### Features @@ -30,57 +47,57 @@ timeline: true ### Bug Fixes -* **action-sheet:** fix click item will response background click event ([#98](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/98)) ([b24bcbc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b24bcbc)) -* **action-sheet:** fix click item without event ([#99](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/99)) ([1697cda](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/1697cda)) -* **badge:** fixed badge test case error ([#83](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/83)) ([43eb155](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/43eb155)) -* **carousel:** fix carouselslide when set one item and vertical:true, width not right ([#86](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/86)) ([bb59fe7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bb59fe7)) -* **date-picker:** fix no locale input will trigger error ([#103](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/103)) ([2aa43aa](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2aa43aa)) -* **input-item:** fix set value by ngzone.run ([#101](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/101)) ([ed2b243](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ed2b243)) -* **LocaleProvider:** export LOCAL_PROVIDER_TOKEN ([#96](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/96)) ([16922a2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/16922a2)) -* **tabs:** fix tabs display error in macos safari ([#106](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/106)) ([ba9e43b](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ba9e43b)) -* **Toast:** fix tasks can reenter the Angular zone via run ([#93](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/93)) ([49d52be](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/49d52be)) -* **showcase:** change expand icon ([#97](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/97)) ([8bcfda5](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8bcfda5)) +* **action-sheet:** fix click item will response background click event ([#98](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/98)) ([b24bcbc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b24bcbc)) +* **action-sheet:** fix click item without event ([#99](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/99)) ([1697cda](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/1697cda)) +* **badge:** fixed badge test case error ([#83](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/83)) ([43eb155](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/43eb155)) +* **carousel:** fix carouselslide when set one item and vertical:true, width not right ([#86](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/86)) ([bb59fe7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bb59fe7)) +* **date-picker:** fix no locale input will trigger error ([#103](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/103)) ([2aa43aa](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2aa43aa)) +* **input-item:** fix set value by ngzone.run ([#101](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/101)) ([ed2b243](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ed2b243)) +* **LocaleProvider:** export LOCAL_PROVIDER_TOKEN ([#96](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/96)) ([16922a2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/16922a2)) +* **tabs:** fix tabs display error in macos safari ([#106](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/106)) ([ba9e43b](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ba9e43b)) +* **Toast:** fix tasks can reenter the Angular zone via run ([#93](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/93)) ([49d52be](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/49d52be)) +* **showcase:** change expand icon ([#97](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/97)) ([8bcfda5](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8bcfda5)) ### Features -* **date-picker-view:** feat indicatorStyle ([#104](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/104)) ([e97acbd](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e97acbd)) -* **picker:** feat create 'Picker' with dynamic ([#105](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/105)) ([90866df](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/90866df)) +* **date-picker-view:** feat indicatorStyle ([#104](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/104)) ([e97acbd](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e97acbd)) +* **picker:** feat create 'Picker' with dynamic ([#105](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/105)) ([90866df](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/90866df)) ## 0.9.6 (2018-10-24) ### Bug Fixes -* **carousel:** add stopPropagation when touch action is triggered ([#61](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/61)) ([c44ba59](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/c44ba59)) -* **carousel:** fix carouselslide no width when vertical:false ([#67](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/67)) ([8dd703f](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8dd703f)) -* **carousel:** fix mousemove action when carousel only has two carouselslide ([#56](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/56)) ([bc02951](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bc02951)) -* **icon:** fix icon line-height([#46](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/46)) ([#47](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/47)) ([28d76f2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/28d76f2)) -* **pulltorefresh:** fix drag up touch bug ([#51](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/51)) ([8b905cc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8b905cc)) -* **textarea:** fixed textarea-item test case error ([#50](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/50)) ([f2bbdfb](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/f2bbdfb)) -* **showcase:** replace dingtalk qrcode ([#74](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/74)) ([b4e7483](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b4e7483)) +* **carousel:** add stopPropagation when touch action is triggered ([#61](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/61)) ([c44ba59](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/c44ba59)) +* **carousel:** fix carouselslide no width when vertical:false ([#67](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/67)) ([8dd703f](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8dd703f)) +* **carousel:** fix mousemove action when carousel only has two carouselslide ([#56](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/56)) ([bc02951](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bc02951)) +* **icon:** fix icon line-height([#46](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/46)) ([#47](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/47)) ([28d76f2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/28d76f2)) +* **pulltorefresh:** fix drag up touch bug ([#51](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/51)) ([8b905cc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8b905cc)) +* **textarea:** fixed textarea-item test case error ([#50](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/50)) ([f2bbdfb](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/f2bbdfb)) +* **showcase:** replace dingtalk qrcode ([#74](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/74)) ([b4e7483](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b4e7483)) --- ## 0.9.5 (2018-10-15) ### Bug Fixes -* **codebox:** fix show code window back title always show '返回' ([#35](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/35)) ([0720fdc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/0720fdc)) -* **codebox:** fix StackBlitz with dynamic component ([#41](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/41)) ([8adcbb0](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8adcbb0)) -* **package.json:** delete not use version key ([#27](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/27)) ([fc3cf65](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/fc3cf65)) -* **popover:** add provider for PopoverOptions ([#30](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/30)) ([8f9e1d3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8f9e1d3)) -* **textarea:** fix textarea test case error ([#36](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/36)) ([97639fc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/97639fc)) -* **package.json:** change run start way ([#42](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/42)) ([68a0453](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/68a0453)) -* **codebox:** fix show code window back title always show '返回' ([#29](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/29)) ([96bf9b8](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/96bf9b8)) -* **tabs:** disable useOnPan when swipeable is false ([#43](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/43)) ([2d63730](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2d63730)) +* **codebox:** fix show code window back title always show '返回' ([#35](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/35)) ([0720fdc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/0720fdc)) +* **codebox:** fix StackBlitz with dynamic component ([#41](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/41)) ([8adcbb0](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8adcbb0)) +* **package.json:** delete not use version key ([#27](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/27)) ([fc3cf65](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/fc3cf65)) +* **popover:** add provider for PopoverOptions ([#30](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/30)) ([8f9e1d3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8f9e1d3)) +* **textarea:** fix textarea test case error ([#36](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/36)) ([97639fc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/97639fc)) +* **package.json:** change run start way ([#42](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/42)) ([68a0453](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/68a0453)) +* **codebox:** fix show code window back title always show '返回' ([#29](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/29)) ([96bf9b8](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/96bf9b8)) +* **tabs:** disable useOnPan when swipeable is false ([#43](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/43)) ([2d63730](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2d63730)) ### Features -* **nav-bar:** add icon string support ([#38](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/38)) ([4a89b0c](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/4a89b0c)) +* **nav-bar:** add icon string support ([#38](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/38)) ([4a89b0c](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/4a89b0c)) ### Docs -* **README:** add more status indicators in README ([#44](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/44)) ([a59797e](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/a59797e)) +* **README:** add more status indicators in README ([#44](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/44)) ([a59797e](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/a59797e)) --- @@ -96,17 +113,17 @@ timeline: true * **date-picker:** fix invaild date ([6620635](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6620635)) * **demo:** don’t expand code ([6d65ebb](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6d65ebb)) * **pulltorefresh:** fix demo pulltorefresh ([8725c4b](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8725c4b)) -* **input-item:** fixed custom-keyboard hide ([#21](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/21)) ([9b8f3da](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/9b8f3da)) +* **input-item:** fixed custom-keyboard hide ([#21](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/21)) ([9b8f3da](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/9b8f3da)) * **carousel:** fix last panel bug ([2c5cd92](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2c5cd92)) -* **tabs:** unable get offsetWidth & offsetHeight when setInkBarStatus at first time sometime ([#7](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/7)) ([6502082](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6502082)) +* **tabs:** unable get offsetWidth & offsetHeight when setInkBarStatus at first time sometime ([#7](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/7)) ([6502082](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6502082)) * **steps:** udpate setTimeout time ([6da37ab](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6da37ab)) ### Features * **ci:** update ci config ([0b178c4](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/0b178c4)) -* **list-item:** remove classname ([#20](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/20)) ([e0850f6](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e0850f6)) -* **modal:** add modal test ([#18](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/18)) ([7c59b61](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/7c59b61)) +* **list-item:** remove classname ([#20](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/20)) ([e0850f6](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e0850f6)) +* **modal:** add modal test ([#18](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/18)) ([7c59b61](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/7c59b61)) * **template:** support issue and PR template ([bc59939](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bc59939)) ## 0.9.0 (2018-09-29) diff --git a/docs/changelog.zh-CN.md b/docs/changelog.zh-CN.md index 18704a71..d10405ae 100755 --- a/docs/changelog.zh-CN.md +++ b/docs/changelog.zh-CN.md @@ -13,13 +13,32 @@ timeline: true - 次版本号:每月发布一个带有新特性的向下兼容的版本。 - 主版本号:含有破坏性更新和新特性,不在发布周期内。 +## 0.9.10 (2018-12-06) + +### Bug Fixes + +* **calendar:** 引入 LocalProvider Module ([#134](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/134)) ([37f20ae](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/37f20ae)) +* **checkbox&radio:** 修复回调状态错误([#122](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/122)) ([e709b86](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/e709b86)) +* **popover:** 修复 Visable Input 除初始化外无效 ([#127](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/127)) ([05313a4](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/05313a4)) +* **Searchbar:** 修复 LocaleProviderService 依赖问题 ([#133](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/133)) ([1ac6008](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/1ac6008)) +* **TabBar:** 移除对 TabsModule 的依赖([#135](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/135)) ([eab449b](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/eab449b)) + +### Features + +* **badge:** 在 text 文案外层增加 span 标签 ([#125](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/125)) ([e362320](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/e362320)) +* **popover:** 增加自定义样式支持 ([#129](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/129)) ([26bbe53](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/26bbe53)), closes [#120](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/120) +* **PickerView:** 引入 PickerModule 和 LocaleProviderModule +([#141](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/141)) ([52ebaeb](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/52ebaeb)) +* **popover:** 增加是否使用组件内部的点击自动关闭 opover +([#130](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/130)) ([71ea780](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/71ea780)) + ## 0.9.9 (2018-11-27) ### Bug Fixes -* **locale-provider:** 让 locale-provider 跨模块生效; ([#113](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/113)) ([e09f0a3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e09f0a3)) -* **picker:** 引入 OverlayModule ([#111](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/111)) ([722ee27](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/722ee27)) -* **grid:** 修复item数超过数量会出错的bug ([#119](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/119)) ([34e1dd7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/34e1dd7)) +* **locale-provider:** 让 locale-provider 跨模块生效; ([#113](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/113)) ([e09f0a3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e09f0a3)) +* **picker:** 引入 OverlayModule ([#111](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/111)) ([722ee27](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/722ee27)) +* **grid:** 修复item数超过数量会出错的bug ([#119](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/119)) ([34e1dd7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/34e1dd7)) ### Features @@ -31,54 +50,54 @@ timeline: true ### Bug Fixes -* **action-sheet:** 修复点击item事件会响应背景点击事件 ([#98](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/98)) ([b24bcbc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b24bcbc)) -* **action-sheet:** 修复遗漏点击item事件 ([#99](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/99)) ([1697cda](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/1697cda)) -* **badge:** 修复 badge 单测错误 ([#83](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/83)) ([43eb155](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/43eb155)) -* **carousel:** 修复只有一个 item 时宽度不对的问题 ([#86](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/86)) ([bb59fe7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bb59fe7)) -* **date-picker:** 修复没有 locale 输入时报错 ([#103](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/103)) ([2aa43aa](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2aa43aa)) -* **input-item:** 使用 ngzone.run set value ([#101](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/101)) ([ed2b243](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ed2b243)) -* **LocaleProvider:** 导出 LOCAL_PROVIDER_TOKEN ([#96](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/96)) ([16922a2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/16922a2)) -* **tabs:** 修复 MacOS Safari及 iOS 9.3以下版本的显示问题 ([#106](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/106)) ([ba9e43b](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ba9e43b)) -* **Toast:** 修复 toast 在 init 初始化时报错 ([#93](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/93)) ([49d52be](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/49d52be)) -* **showcase:** 更改展开代码 icon ([#97](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/97)) ([8bcfda5](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8bcfda5)) +* **action-sheet:** 修复点击item事件会响应背景点击事件 ([#98](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/98)) ([b24bcbc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b24bcbc)) +* **action-sheet:** 修复遗漏点击item事件 ([#99](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/99)) ([1697cda](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/1697cda)) +* **badge:** 修复 badge 单测错误 ([#83](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/83)) ([43eb155](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/43eb155)) +* **carousel:** 修复只有一个 item 时宽度不对的问题 ([#86](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/86)) ([bb59fe7](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bb59fe7)) +* **date-picker:** 修复没有 locale 输入时报错 ([#103](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/103)) ([2aa43aa](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2aa43aa)) +* **input-item:** 使用 ngzone.run set value ([#101](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/101)) ([ed2b243](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ed2b243)) +* **LocaleProvider:** 导出 LOCAL_PROVIDER_TOKEN ([#96](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/96)) ([16922a2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/16922a2)) +* **tabs:** 修复 MacOS Safari及 iOS 9.3以下版本的显示问题 ([#106](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/106)) ([ba9e43b](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/ba9e43b)) +* **Toast:** 修复 toast 在 init 初始化时报错 ([#93](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/93)) ([49d52be](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/49d52be)) +* **showcase:** 更改展开代码 icon ([#97](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/97)) ([8bcfda5](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8bcfda5)) ### Features -* **date-picker-view:** 增加indicatorStyle参数 ([#104](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/104)) ([e97acbd](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e97acbd)) -* **picker:** 增加动态初始化方式 ([#105](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/105)) ([90866df](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/90866df)) +* **date-picker-view:** 增加indicatorStyle参数 ([#104](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/104)) ([e97acbd](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e97acbd)) +* **picker:** 增加动态初始化方式 ([#105](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/105)) ([90866df](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/90866df)) ## 0.9.6 (2018-10-24) ### Bug Fixes -* **carousel:** 触摸响应时禁止冒泡传递([#61](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/61)) ([c44ba59](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/c44ba59)) -* **carousel:** 当vertical:false时修复走马灯无宽度问题([#67](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/67)) ([8dd703f](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8dd703f)) -* **carousel:** 只有2页幻灯片时修复 mousemove 问题 ([#56](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/56)) ([bc02951](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bc02951)) -* **icon:** 修复 icon 的 line-height ([#46](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/46)) ([#47](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/47)) ([28d76f2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/28d76f2)) -* **pulltorefresh:** 修复 drag up touch 问题 ([#51](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/51)) ([8b905cc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8b905cc)) -* **textarea:** 修复 textarea-item test case 错误 ([#50](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/50)) ([f2bbdfb](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/f2bbdfb)) -* **showcase:** 替换正确的钉钉QR码 ([#74](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/74)) ([b4e7483](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b4e7483)) +* **carousel:** 触摸响应时禁止冒泡传递([#61](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/61)) ([c44ba59](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/c44ba59)) +* **carousel:** 当vertical:false时修复走马灯无宽度问题([#67](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/67)) ([8dd703f](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8dd703f)) +* **carousel:** 只有2页幻灯片时修复 mousemove 问题 ([#56](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/56)) ([bc02951](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bc02951)) +* **icon:** 修复 icon 的 line-height ([#46](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/46)) ([#47](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/47)) ([28d76f2](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/28d76f2)) +* **pulltorefresh:** 修复 drag up touch 问题 ([#51](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/51)) ([8b905cc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8b905cc)) +* **textarea:** 修复 textarea-item test case 错误 ([#50](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/50)) ([f2bbdfb](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/f2bbdfb)) +* **showcase:** 替换正确的钉钉QR码 ([#74](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/74)) ([b4e7483](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/b4e7483)) --- ## 0.9.5 (2018-10-15) ### Bug Fixes -* **codebox:** 修复英文网站中弹出代码框显示中文“返回“bug ([#35](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/35)) ([0720fdc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/0720fdc)) -* **codebox:** 修复StackBliz中的问题 ([#41](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/41)) ([8adcbb0](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8adcbb0)) -* **package.json:** 取消Package Json的版本号 ([#27](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/27)) ([fc3cf65](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/fc3cf65)) -* **popover:** 为 PopoverOptions 加入providers ([#30](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/30)) ([8f9e1d3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8f9e1d3)) -* **textarea:** 修复textarea test case错误 ([#36](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/36)) ([97639fc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/97639fc)) -* **package.json:** 修复npm run start在windows中无法运行的错误 ([#42](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/42)) ([68a0453](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/68a0453)) -* **tabs:** 修复swipeable为false时useOnPan依然生效的问题 ([#43](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/43)) ([2d63730](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2d63730)) +* **codebox:** 修复英文网站中弹出代码框显示中文“返回“bug ([#35](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/35)) ([0720fdc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/0720fdc)) +* **codebox:** 修复StackBliz中的问题 ([#41](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/41)) ([8adcbb0](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8adcbb0)) +* **package.json:** 取消Package Json的版本号 ([#27](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/27)) ([fc3cf65](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/fc3cf65)) +* **popover:** 为 PopoverOptions 加入providers ([#30](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/30)) ([8f9e1d3](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8f9e1d3)) +* **textarea:** 修复textarea test case错误 ([#36](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/36)) ([97639fc](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/97639fc)) +* **package.json:** 修复npm run start在windows中无法运行的错误 ([#42](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/42)) ([68a0453](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/68a0453)) +* **tabs:** 修复swipeable为false时useOnPan依然生效的问题 ([#43](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/43)) ([2d63730](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2d63730)) ### Features -* **nav-bar:** 增加 icon string类型支持 ([#38](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/38)) ([4a89b0c](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/4a89b0c)) +* **nav-bar:** 增加 icon string类型支持 ([#38](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/38)) ([4a89b0c](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/4a89b0c)) ### Docs -* **README:** 在README中增加更多的状态指示 ([#44](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/44)) ([a59797e](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/a59797e)) +* **README:** 在README中增加更多的状态指示 ([#44](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/44)) ([a59797e](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/a59797e)) --- ## 0.9.4 (2018-10-10) @@ -92,17 +111,17 @@ timeline: true * **date-picker:** 修复iOS上无效日期问题 ([6620635](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6620635)) * **demo:** 修复展开代码不可见问题 ([6d65ebb](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6d65ebb)) * **pulltorefresh:** 修复下拉刷新的Demo ([8725c4b](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/8725c4b)) -* **input-item:** 修复custom-keyboard无法隐藏问题 ([#21](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/21)) ([9b8f3da](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/9b8f3da)) +* **input-item:** 修复custom-keyboard无法隐藏问题 ([#21](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/21)) ([9b8f3da](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/9b8f3da)) * **carousel:** 修复走马灯最后一页偶现白屏问题 ([2c5cd92](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/2c5cd92)) -* **tabs:** 修复TabBar与Tabs混用导致第一次加载时Tabs高亮下划线无法正常渲染问题 ([#7](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/7)) ([6502082](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6502082)) +* **tabs:** 修复TabBar与Tabs混用导致第一次加载时Tabs高亮下划线无法正常渲染问题 ([#7](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/7)) ([6502082](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6502082)) * **steps:** 更新setTimeout时间 ([6da37ab](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/6da37ab)) ### Features * **ci:** 更新ci的配置 ([0b178c4](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/0b178c4)) -* **list-item:** 移除className依赖 ([#20](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/20)) ([e0850f6](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e0850f6)) -* **modal:** 增加Modal测试 ([#18](https://github.com/fisherspy/ng-zorro-antd-mobile/issues/18)) ([7c59b61](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/7c59b61)) +* **list-item:** 移除className依赖 ([#20](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/20)) ([e0850f6](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/e0850f6)) +* **modal:** 增加Modal测试 ([#18](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/18)) ([7c59b61](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/7c59b61)) * **template:** 增加issue和PR模板 ([bc59939](https://github.com/fisherspy/ng-zorro-antd-mobile/commit/bc59939)) ## 0.9.0(2018-09-29) diff --git a/scripts/publish/publish.js b/scripts/publish/publish.js index 5082781e..ca1942b2 100644 --- a/scripts/publish/publish.js +++ b/scripts/publish/publish.js @@ -7,13 +7,13 @@ const path = require('path'); const execSync = require('child_process').execSync; const print = console.log; const log = { - info : (msg) => { + info: (msg) => { print(chalk.bgBlue.black('INFO'), chalk.blue(msg)); }, - warn : (msg) => { + warn: (msg) => { print(chalk.bgYellow.black('WARN'), chalk.yellow(msg)); }, - error : (msg) => { + error: (msg) => { print(chalk.bgRed.black('ERROR'), chalk.red(msg)); }, success: (msg) => { @@ -42,16 +42,18 @@ function changeVersion() { log.info('Updating version number...'); const packageJson = path.join(__dirname, '../../components/package.json'); - const appComponent = path.join(__dirname, '../site/_site/src/app/app.component.ts') ; + const appComponent = path.join(__dirname, '../site/_site/src/app/app.component.ts'); const codeBox = path.join(__dirname, '../site/_site/src/app/share/nz-codebox/nz-codebox.component.ts'); - const currentVersion = fs.readFileSync(packageJson, 'utf-8').match(/"version": "([0-9.]+)"/)[ 1 ]; + const currentVersion = fs.readFileSync(packageJson, 'utf-8').match(/"version": "([0-9.]+)"/)[1]; let versionNumberValid = false; let version; function checkVersionNumber(cur, next) { // Must be numbers and dots. - if (!/^[0-9][0-9.]{1,10}[0-9]$/.test(next)) { return false; } + if (!/^[0-9][0-9.]{1,10}[0-9]$/.test(next)) { + return false; + } const curArr = cur.split('.'); const nextArr = next.split('.'); @@ -62,9 +64,15 @@ function changeVersion() { } for (let i = 0; i < length; i++) { - if (curArr[ i ] < nextArr[ i ]) { return true; } - if (curArr[ i ] > nextArr[ i ]) { return false; } - if (i === length - 1 && curArr[ i ] === nextArr[ i ]) { return false; } + if (parseInt(curArr[i]) < parseInt(nextArr[i])) { + return true; + } + if (parseInt(curArr[i]) > parseInt(nextArr[i])) { + return false; + } + if (i === length - 1 && curArr[i] === nextArr[i]) { + return false; + } } } @@ -130,4 +138,4 @@ function checkout() { execSync(`git push origin publish-${nextVersion}`); log.success('Please go to GitHub and make a pull request.'); log.success('Bye!'); -} +} \ No newline at end of file