Skip to content

Commit

Permalink
release(10.0.0): release 10.0.0 (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-yogurt authored Jan 5, 2024
1 parent 31e8ca5 commit a6ff148
Show file tree
Hide file tree
Showing 16 changed files with 93 additions and 74 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
task: [test-headless, pre-release]

steps:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# [10.0.0](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/compare/9.0.0...10.0.0) (2024-01-04)


### Features

* **all:** support Angular 17 ([#886](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/886)) ([31e8ca5](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/31e8ca5869140768b6a10c8a4e8e362c99b62c78))



# [9.0.0](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/compare/8.0.0...9.0.0) (2023-06-20)


Expand Down
2 changes: 1 addition & 1 deletion README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

## Angular 支持

现在支持 Angular `^16.0.0`.
现在支持 Angular `^17.0.0`.

## 安装

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This is the **Angular** implementation of **Ant Design Mobile** specification, s

## Angular Support

Now Supports Angular `^16.0.0`.
Now Supports Angular `^17.0.0`.

## Installation

Expand Down
34 changes: 17 additions & 17 deletions components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-zorro-antd-mobile",
"version": "9.0.0",
"version": "10.0.0",
"description": "An enterprise-class mobile UI components based on Ant Design and Angular",
"schematics": "./schematics/collection.json",
"keywords": [
Expand All @@ -22,26 +22,26 @@
"url": "https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues"
},
"dependencies": {
"@angular/animations": "^16.0.0",
"@angular/cdk": "^16.0.0",
"@angular/common": "^16.0.0",
"@angular/compiler": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/forms": "^16.0.0",
"@angular/platform-browser": "^16.0.0",
"@angular/platform-browser-dynamic": "^16.0.0",
"@angular/router": "^16.0.0",
"@ant-design/icons-angular": "^16.0.0"
"@angular/animations": "^17.0.0",
"@angular/cdk": "^17.0.0",
"@angular/common": "^17.0.0",
"@angular/compiler": "^17.0.0",
"@angular/core": "^17.0.0",
"@angular/forms": "^17.0.0",
"@angular/platform-browser": "^17.0.0",
"@angular/platform-browser-dynamic": "^17.0.0",
"@angular/router": "^17.0.0",
"@ant-design/icons-angular": "^17.0.0"
},
"devDependencies": {
"@angular/upgrade": "^16.0.0",
"@angular-devkit/build-angular": "^16.0.0",
"@angular/cli": "^16.0.0",
"@angular/compiler-cli": "^16.0.0",
"@angular/platform-server": "^16.0.0",
"@angular/upgrade": "^17.0.0",
"@angular-devkit/build-angular": "^17.0.0",
"@angular/cli": "^17.0.0",
"@angular/compiler-cli": "^17.0.0",
"@angular/platform-server": "^17.0.0",
"tslib": "^2.4.1",
"tslint": "~6.1.3",
"typescript": "~5.0.4"
"typescript": "~5.2.4"
},
"lint-staged": {
"{src,docs}/**/*.{scss}": [
Expand Down
7 changes: 7 additions & 0 deletions docs/changelog.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ 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.

## 10.0.0(2024-01-04)


### Features

* **all:** support Angular 17 ([#886](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/886)) ([31e8ca5](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/31e8ca5869140768b6a10c8a4e8e362c99b62c78))

## 9.0.0(2023-06-20)

### Bug Fixes
Expand Down
8 changes: 8 additions & 0 deletions docs/changelog.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ timeline: true
- 次版本号:每月发布一个带有新特性的向下兼容的版本。
- 主版本号:含有破坏性更新和新特性,不在发布周期内。

## 10.0.0(2024-01-04)


### Features

* **all:** 升级支持 Angular 17 ([#886](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues/886)) ([31e8ca5](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/31e8ca5869140768b6a10c8a4e8e362c99b62c78))


## 9.0.0(2023-06-20)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion docs/introduce.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ This is the **Angular** implementation of **Ant Design Mobile** specification, s

## Angular Support

Now Supports Angular `^16.0.0`.
Now Supports Angular `^17.0.0`.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/introduce.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ title: Ant Design Mobile of Angular <div class="github-btn"><a class="gh-btn" hr

## 支持 Angular 版本

目前支持 Angular `^16.0.0` 版本。
目前支持 Angular `^17.0.0` 版本。

## 安装

Expand Down
70 changes: 35 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,30 +45,30 @@
"frontend"
],
"dependencies": {
"@angular/animations": "^16.0.0",
"@angular/cdk": "^16.0.0",
"@angular/common": "^16.0.0",
"@angular/compiler": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/forms": "^16.0.0",
"@angular/platform-browser": "^16.0.0",
"@angular/platform-browser-dynamic": "^16.0.0",
"@angular/pwa": "^16.0.0",
"@angular/router": "^16.0.0",
"@ant-design/icons-angular": "^16.0.0",
"@angular/animations": "^17.0.0",
"@angular/cdk": "^17.0.0",
"@angular/common": "^17.0.0",
"@angular/compiler": "^17.0.0",
"@angular/core": "^17.0.0",
"@angular/forms": "^17.0.0",
"@angular/platform-browser": "^17.0.0",
"@angular/platform-browser-dynamic": "^17.0.0",
"@angular/pwa": "^17.0.0",
"@angular/router": "^17.0.0",
"@ant-design/icons-angular": "^17.0.0",
"antd-mobile-demo-data": "^0.3.0",
"ng-zorro-antd": "^16.0.0"
"ng-zorro-antd": "^17.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.0.0",
"@angular-devkit/core": "^16.0.0",
"@angular-devkit/schematics": "^16.0.0",
"@angular/cli": "^16.0.0",
"@angular/compiler-cli": "^16.0.0",
"@angular/platform-server": "^16.0.0",
"@angular/service-worker": "^16.0.0",
"@angular/upgrade": "^16.0.0",
"@schematics/angular": "^16.0.0",
"@angular-devkit/build-angular": "^17.0.0",
"@angular-devkit/core": "^17.0.0",
"@angular-devkit/schematics": "^17.0.0",
"@angular/cli": "^17.0.0",
"@angular/compiler-cli": "^17.0.0",
"@angular/platform-server": "^17.0.0",
"@angular/service-worker": "^17.0.0",
"@angular/upgrade": "^17.0.0",
"@schematics/angular": "^17.0.0",
"@stackblitz/sdk": "^1.8.1",
"@types/estree": "^1.0.0",
"@types/jasmine": "~2.8.8",
Expand All @@ -77,17 +77,17 @@
"antd-theme-generator": "1.2.2",
"codecov": "^3.8.3",
"codelyzer": "^6.0.2",
"conventional-changelog-cli": "^2.1.1",
"conventional-changelog-cli": "^4.1.0",
"core-js": "~3.26.1",
"eslint": "^8.28.0",
"eslint-config-prettier": "~8.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-header": "~3.1.1",
"eslint-plugin-import": "~2.25.3",
"eslint-plugin-jsdoc": "~46.2.6",
"eslint-plugin-jsdoc": "^48.0.2",
"eslint-plugin-prefer-arrow": "~1.2.2",
"eslint-plugin-prettier": "~4.0.0",
"eslint-plugin-prettier": "^5.1.2",
"fs-extra": "~11.1.0",
"husky": "^6.0.0",
"husky": "^8.0.3",
"jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.9.2",
"jasmine-spec-reporter": "~4.2.1",
Expand All @@ -98,29 +98,29 @@
"karma-jasmine-html-reporter": "^0.2.2",
"less": "^4.1.3",
"less-plugin-clean-css": "^1.5.1",
"marked": "^4.2.3",
"ng-packagr": "^16.1.0",
"ngx-color": "^8.0.3",
"ngx-infinite-scroll": "^16.0.0",
"marked": "^10.0.0",
"ng-packagr": "^17.0.0",
"ngx-color": "^9.0.0",
"ngx-infinite-scroll": "^17.0.0",
"node-prismjs": "^0.1.2",
"pre-commit": "^1.2.2",
"prettier": "^2.8.1",
"prettier": "^3.1.1",
"prismjs": "^1.29.0",
"protractor": "^7.0.0",
"raw-loader": "^4.0.2",
"readline-sync": "^1.4.9",
"remark": "^13.0.0",
"rollup": "~1.10.1",
"rollup-plugin-node-resolve": "~4.2.3",
"rollup": "^1.10.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "~2.2.0",
"rollup-plugin-sourcemaps": "~0.4.2",
"rollup-plugin-uglify": "~6.0.0",
"rxjs": "~7.6.0",
"ts-node": "~10.9.1",
"tslib": "^2.4.1",
"typescript": "~5.0.4",
"typescript": "~5.2.0",
"yaml-front-matter": "^4.1.1",
"zone.js": "~0.13.0"
"zone.js": "~0.14.0"
},
"lint-staged": {
"{src,docs}/**/*.{scss}": [
Expand Down
5 changes: 2 additions & 3 deletions schematics/utils/testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const collectionPath = join('./node_modules/@schematics/angular/collection.json'
export async function createTestApp(): Promise<UnitTestTree> {
const baseRunner = new SchematicTestRunner('schematics', collectionPath);
return await baseRunner
.runSchematicAsync('application', {
.runSchematic('application', {
directory: '',
name: 'app',
prefix: 'app',
Expand All @@ -22,6 +22,5 @@ export async function createTestApp(): Promise<UnitTestTree> {
style: 'scss',
skipTests: false,
minimal: false
})
.toPromise();
});
}
7 changes: 4 additions & 3 deletions scripts/site/_site/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ 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.6', '2.0.7', '3.0.3', '4.0.0', '5.0.3', '6.0.2', '7.0.1', '8.0.0', '9.0.0'];
versionList = ['0.12.x', '1.0.6', '2.0.7', '3.0.3', '4.0.0', '5.0.3', '6.0.2', '7.0.1', '8.0.0', '9.0.0', '10.0.0'];
versionMap = {
'0.12.x': '0.12.5',
'1.0.6': '2001.0.6',
Expand All @@ -33,9 +33,10 @@ export class AppComponent implements OnInit, AfterViewInit {
'6.0.2': '2016.0.2',
'7.0.1': '2017.0.1',
'8.0.0': '2018.0.11',
'9.0.0': '2019.0.0'
'9.0.0': '2019.0.0',
'10.0.0': '2020.0.0'
};
currentVersion = '9.0.0';
currentVersion = '10.0.0';
isHomeURL = true;
isKitchenURL = false;
demoTitle = '';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export class AppModule { }
'@ant-design/icons-angular': '^16.0.0',
rxjs: '~7.6.0',
'zone.js': '~0.13.0',
'ng-zorro-antd-mobile': '9.0.0'
'ng-zorro-antd-mobile': '10.0.0'
},
tags: ['stackblitz', 'sdk']
});
Expand Down
7 changes: 1 addition & 6 deletions scripts/site/_site/src/test.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files

import 'zone.js/dist/long-stack-trace-zone';
import 'zone.js/dist/proxy.js';
import 'zone.js/dist/sync-test';
import 'zone.js/dist/jasmine-patch';
import 'zone.js/dist/async-test';
import 'zone.js/dist/fake-async-test';
import 'zone.js';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
Expand Down
4 changes: 2 additions & 2 deletions scripts/site/utils/generate-demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const camelCase = require('./camelcase');
const PrismAngular = require('./angular-language-marked');
module.exports = function (showCaseComponentPath, result) {
const demoTemplate = generateTemplate(result);
fs.writeFileSync(path.join(showCaseComponentPath, `zh.html`), demoTemplate.zh);
fs.writeFileSync(path.join(showCaseComponentPath, `en.html`), demoTemplate.en);
fs.writeFileSync(path.join(showCaseComponentPath, `zh.html`), demoTemplate.zh.replaceAll('@', '&#64;'));
fs.writeFileSync(path.join(showCaseComponentPath, `en.html`), demoTemplate.en.replaceAll('@', '&#64;'));
const demoComponent = generateDemoComponent(result);
fs.writeFileSync(path.join(showCaseComponentPath, `zh.component.ts`), demoComponent.zh);
fs.writeFileSync(path.join(showCaseComponentPath, `en.component.ts`), demoComponent.en);
Expand Down
4 changes: 2 additions & 2 deletions scripts/site/utils/generate-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ function generateTemplate(docsPath, name, zh, en) {
generateTitle(zh.meta.title, '', zh.path),
angularNonBindAble(zh.content, name),
generateStyle(zh.content)
)
).replaceAll('@', '&#64;')
);
fs.writeFileSync(path.join(docsPath, `${name}-en.html`), wrapperDocs(
generateToc(en.meta, en.raw),
generateTitle(en.meta.title, '', en.path),
angularNonBindAble(en.content, name),
generateStyle(en.content)
),
).replaceAll('@', '&#64;'),
);
}

Expand Down

0 comments on commit a6ff148

Please sign in to comment.