diff --git a/docs/changelog.md b/docs/changelog.md index 02e0a1a1f7..a63873a679 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -6,6 +6,23 @@ title: type: Other --- +### 0.6.0-rc.3 (@next) + +`2018-1-11` + +- ng-alain 脚手架 + - 新增 `@delon/abc` 全局配置示例代码 + - 优化 `DefaultInterceptor` 更友好的处理逻辑 +- @delon/theme + - 修复无法移除空快捷菜单数据,[#196](https://github.com/cipchk/ng-alain/issues/196) +- @delon/abc + - `simple-table` 变更: + - 新增 `pi` 允许全局设置且最小可为 `0`,[#194](https://github.com/cipchk/ng-alain/issues/194) + - 修复无法获取 `total` 值,[#200](https://github.com/cipchk/ng-alain/issues/200) + - 优化包体大小 +- @delon/cli + - 基于 Angular Cli 向上构建的针对 ng-alain 脚手架的命令行工具,[Document](http://ng-alain.com/docs/cli) + ### 0.6.0-rc.2 (@next) `2018-1-9` @@ -26,9 +43,9 @@ type: Other - @delon/theme - 优化 `MenuService` 自动处理 `acl` 属性值 - @delon/acl - - 新增通用ACL路由守卫方法,[Document](//ng-alain.com/docs/acl) + - 新增通用ACL路由守卫方法,[Document](http://ng-alain.com/docs/acl) - @delon/cache - - 缓存类型,解决字典、城市等缓存问题,[Document](//ng-alain.com/docs/cache) + - 缓存类型,解决字典、城市等缓存问题,[Document](http://ng-alain.com/docs/cache) ### 0.5.0 @@ -39,9 +56,9 @@ type: Other - @delon/theme - 修复快捷菜单项 `externalLink` 属性无效值问题,[#169](https://github.com/cipchk/ng-alain/issues/169) - @delon/abc - - 新增 `full-content` 全屏工作区组件,[Document](//ng-alain.com/components/full-content) - - 新增 `zip` 组件,[Document](//ng-alain.com/components/zip) - - 新增 `xlsx` 组件,[Document](//ng-alain.com/components/xlsx) + - 新增 `full-content` 全屏工作区组件,[Document](http://ng-alain.com/components/full-content) + - 新增 `zip` 组件,[Document](http://ng-alain.com/components/zip) + - 新增 `xlsx` 组件,[Document](http://ng-alain.com/components/xlsx) - `simple-table` 变更: - **BREAKING CHANGES** 列描述 `url` 属性由 `data` 代替,数据源统一一个属性名,`0.6.0` 后将移除 `url` 属性 - 新增列描述 `i18n` 属性,支持国际化 @@ -50,7 +67,7 @@ type: Other - 新增 `export()` 支持指定数组数据,[#162](https://github.com/cipchk/ng-alain/issues/162) - 优化 `tag-cloud` 云词组件 - @delon/mock - - Angular 里 Mock Http数据,适用于所有 Angular 项目,[Document](//ng-alain.com/docs/mock) + - Angular 里 Mock Http数据,适用于所有 Angular 项目,[Document](http://ng-alain.com/docs/mock) - @delon/auth - 修复Angular模块暂不支持正则参数([#14187](https://github.com/angular/angular/issues/14187))问题,[#170](https://github.com/cipchk/ng-alain/issues/170) @@ -102,7 +119,7 @@ type: Other `2017-12-24` - ng-alain 脚手架 - - 新增 [blank](//github.com/cipchk/ng-alain/tree/blank) 基础版分支,如何使用见[文档](//ng-alain.com/docs/getting-started) + - 新增 [blank](//github.com/cipchk/ng-alain/tree/blank) 基础版分支,如何使用见[文档](http://ng-alain.com/docs/getting-started) - 新增 [reuse-tab](https://cipchk.github.io/ng-alain/)、[simple-talbe](https://cipchk.github.io/ng-alain/tables/simple-table)、[UEditor](https://cipchk.github.io/ng-alain/editor/ueditor)、[Tinymce](https://cipchk.github.io/ng-alain/editor/tinymce)、[拆分视图](https://cipchk.github.io/ng-alain/other/split)、[剪贴板](https://cipchk.github.io/ng-alain/other/clipboard) 示例页 - 修复无法启动 HMR 问题,[#130](https://github.com/cipchk/ng-alain/issues/130) [Commit](https://github.com/cipchk/ng-alain/commit/fca17fe7f74303e70ee2cfbac4dac0e032d426f4) - 修复i18n加载顺序问题,[#138](https://github.com/cipchk/ng-alain/issues/138) diff --git a/docs/getting-started.en-US.md b/docs/getting-started.en-US.md index 5bb57da0ea..0b906fd5ed 100644 --- a/docs/getting-started.en-US.md +++ b/docs/getting-started.en-US.md @@ -31,7 +31,7 @@ There are two ways to install: Depend on `@delon/cli`, [How install?](http://ng-alain.com/docs/cli) ```bash -ng new --collection=@delon/cli my-app +ng new -c=@delon/cli my-app ``` ### Clone the Git Repository diff --git a/docs/getting-started.zh-CN.md b/docs/getting-started.zh-CN.md index 266564a4a4..9aea9f667a 100644 --- a/docs/getting-started.zh-CN.md +++ b/docs/getting-started.zh-CN.md @@ -31,7 +31,7 @@ ng-alain 是一个基于 ng-zorro-antd 的企业级中后台前端脚手架, 需要依赖于 `@delon/cli`,[如何安装?](http://ng-alain.com/docs/cli) ```bash -ng new --collection=@delon/cli my-app +ng new -c=@delon/cli my-app ``` ### 直接 clone git 仓库 diff --git a/package.json b/package.json index da23a746b4..dad4da1d72 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "delon", - "version": "0.6.0-rc.2", + "version": "0.6.0-rc.3", "version_laster": "0.5.0", - "version_next": "0.6.0-rc.2", + "version_next": "0.6.0-rc.3", "typings": "index.d.ts", "description": "Delon is a set of essential modules for ng-alain.", "repository": { @@ -45,12 +45,13 @@ "site:404": "cd ./site/dist && cpy index.html --rename=404.html ./", "site:deploy": "gh-pages -d site/dist", "site:release": "npm-run-all -s site:build site:404 site:deploy", - "build:package": "npm-run-all -s clean:tmp:lib build:copy-sources build:ts build:inline-resources build:bundle clean:tmp cli", + "build:package": "npm-run-all -s clean:tmp:lib build:copy-sources build:ts build:inline-resources build:bundle clean:tmp build:cli", "build:ts": "tsc -p tsconfig.publish.json && ngc -p tsconfig.publish.json", "build:prod": "npm run build -- --prod", "build:copy-sources": "gulp copy-sources", "build:inline-resources": "gulp inline-resources", "build:bundle": "gulp bundle", + "build:cli": "gulp cli", "build:ci": "exit 0", "clean:tmp": "rimraf .ng_build .ng_compiled", "clean:tmp:lib": "npm run clean:tmp && rimraf .lib", diff --git a/scaffold b/scaffold index 571d3e416b..49f5dc5964 160000 --- a/scaffold +++ b/scaffold @@ -1 +1 @@ -Subproject commit 571d3e416b3b476aacdd6904f75b412a5b0fa3b3 +Subproject commit 49f5dc5964f6c93ff88dcca3e84ccf540562f682 diff --git a/src/core/abc/package.json b/src/core/abc/package.json index 3836004d46..6e1111fd28 100644 --- a/src/core/abc/package.json +++ b/src/core/abc/package.json @@ -1,6 +1,6 @@ { "name": "@delon/abc", - "version": "0.6.0-rc.2", + "version": "0.6.0-rc.3", "description": "@delon/abc", "main": "./bundles/abc.umd.js", "module": "./index.js", diff --git a/src/core/acl/package.json b/src/core/acl/package.json index d86008be3b..af5a99f122 100644 --- a/src/core/acl/package.json +++ b/src/core/acl/package.json @@ -1,6 +1,6 @@ { "name": "@delon/acl", - "version": "0.6.0-rc.2", + "version": "0.6.0-rc.3", "description": "@delon/acl", "main": "./bundles/acl.umd.js", "module": "./index.js", diff --git a/src/core/auth/package.json b/src/core/auth/package.json index 7f21ad735c..a4966fd65c 100644 --- a/src/core/auth/package.json +++ b/src/core/auth/package.json @@ -1,6 +1,6 @@ { "name": "@delon/auth", - "version": "0.6.0-rc.2", + "version": "0.6.0-rc.3", "description": "@delon/auth", "main": "./bundles/auth.umd.js", "module": "./index.js", diff --git a/src/core/auth/rollup.config.js b/src/core/auth/rollup.config.js index 6aae2e1b2f..838dc4cf87 100644 --- a/src/core/auth/rollup.config.js +++ b/src/core/auth/rollup.config.js @@ -12,6 +12,7 @@ const globals = { 'rxjs/Observer': 'Rx', 'rxjs/BehaviorSubject': 'Rx', 'rxjs/operators': 'Rx.Observable.prototype', + 'rxjs/observable/of': 'Rx.Observable', 'rxjs/observable/fromEvent': 'Rx.Observable', 'rxjs/observable/FromEventObservable': 'Rx.Observable', 'rxjs/observable/ErrorObservable': 'Rx.Observable' diff --git a/src/core/cache/package.json b/src/core/cache/package.json index ad6763c7f0..8e3f0d9fd8 100644 --- a/src/core/cache/package.json +++ b/src/core/cache/package.json @@ -1,6 +1,6 @@ { "name": "@delon/cache", - "version": "0.6.0-rc.2", + "version": "0.6.0-rc.3", "description": "@delon/cache", "main": "./bundles/cache.umd.js", "module": "./index.js", diff --git a/src/core/cli/package.json b/src/core/cli/package.json index 600c738eb4..2f30a93204 100644 --- a/src/core/cli/package.json +++ b/src/core/cli/package.json @@ -1,6 +1,6 @@ { "name": "@delon/cli", - "version": "0.0.0-alpha.10", + "version": "0.6.0-rc.3", "description": "Schematics for ng-alain", "main": "./bundles/cli.umd.js", "module": "./index.js", diff --git a/src/core/mock/package.json b/src/core/mock/package.json index de8de4063a..38954b49a5 100644 --- a/src/core/mock/package.json +++ b/src/core/mock/package.json @@ -1,6 +1,6 @@ { "name": "@delon/mock", - "version": "0.6.0-rc.2", + "version": "0.6.0-rc.3", "description": "@delon/mock", "main": "./bundles/mock.umd.js", "module": "./index.js", diff --git a/src/core/theme/package.json b/src/core/theme/package.json index 47c459257d..8a6e5e447b 100644 --- a/src/core/theme/package.json +++ b/src/core/theme/package.json @@ -1,6 +1,6 @@ { "name": "@delon/theme", - "version": "0.6.0-rc.2", + "version": "0.6.0-rc.3", "description": "@delon/theme", "main": "./bundles/theme.umd.js", "module": "./index.js",