@midwayjs/view-ejs 3.0.0-beta.6 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/config/config.default.d.ts +19 -1
- package/dist/config/config.default.js +22 -1
- package/dist/config/config.local.d.ts +3 -2
- package/dist/config/config.local.js +4 -1
- package/dist/configuration.d.ts +0 -1
- package/dist/configuration.js +2 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.js +11 -0
- package/dist/view.d.ts +9 -0
- package/dist/view.js +64 -0
- package/package.json +12 -15
- package/CHANGELOG.md +0 -488
package/README.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
-
declare const _default: any
|
|
1
|
+
declare const _default: (appInfo: any) => {
|
|
2
|
+
/**
|
|
3
|
+
* @member Config#ejs
|
|
4
|
+
* @property {String} [root=${appDir}/view] - the root directory of ejs files
|
|
5
|
+
* @property {Boolean} [cache=true] - compiled functions are cached, only work using `ctx.render`
|
|
6
|
+
* @property {Boolean} [debug=false] - output generated function body
|
|
7
|
+
* @property {Boolean} [compileDebug=true] - when false no debug instrumentation is compiled
|
|
8
|
+
* @property {String} [delimiter] - character to use with angle brackets for open/close
|
|
9
|
+
* @property {Boolean} [strict=false] - when set to true, generated function is in strict mode
|
|
10
|
+
*/
|
|
11
|
+
ejs: {
|
|
12
|
+
root: string;
|
|
13
|
+
cache: boolean;
|
|
14
|
+
debug: boolean;
|
|
15
|
+
compileDebug: boolean;
|
|
16
|
+
delimiter: any;
|
|
17
|
+
strict: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
2
20
|
export default _default;
|
|
3
21
|
//# sourceMappingURL=config.default.d.ts.map
|
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
3
|
+
const path = require("path");
|
|
4
|
+
exports.default = appInfo => {
|
|
5
|
+
return {
|
|
6
|
+
/**
|
|
7
|
+
* @member Config#ejs
|
|
8
|
+
* @property {String} [root=${appDir}/view] - the root directory of ejs files
|
|
9
|
+
* @property {Boolean} [cache=true] - compiled functions are cached, only work using `ctx.render`
|
|
10
|
+
* @property {Boolean} [debug=false] - output generated function body
|
|
11
|
+
* @property {Boolean} [compileDebug=true] - when false no debug instrumentation is compiled
|
|
12
|
+
* @property {String} [delimiter] - character to use with angle brackets for open/close
|
|
13
|
+
* @property {Boolean} [strict=false] - when set to true, generated function is in strict mode
|
|
14
|
+
*/
|
|
15
|
+
ejs: {
|
|
16
|
+
root: path.join(appInfo.appDir, 'view'),
|
|
17
|
+
cache: true,
|
|
18
|
+
debug: false,
|
|
19
|
+
compileDebug: true,
|
|
20
|
+
delimiter: null,
|
|
21
|
+
strict: false,
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
};
|
|
4
25
|
//# sourceMappingURL=config.default.js.map
|
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
|
@@ -11,21 +11,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ViewEJSConfiguration = void 0;
|
|
13
13
|
const decorator_1 = require("@midwayjs/decorator");
|
|
14
|
-
const mw_util_1 = require("@midwayjs/mw-util");
|
|
15
14
|
const View = require("@midwayjs/view");
|
|
16
15
|
const DefaultConfig = require("./config/config.default");
|
|
17
16
|
const LocalConfig = require("./config/config.local");
|
|
17
|
+
const view_1 = require("./view");
|
|
18
18
|
let ViewEJSConfiguration = class ViewEJSConfiguration {
|
|
19
19
|
async onReady() {
|
|
20
|
-
|
|
21
|
-
mockApp.view = this.viewManager;
|
|
22
|
-
require('egg-view-ejs/app')(mockApp);
|
|
20
|
+
this.viewManager.use('ejs', view_1.EjsView);
|
|
23
21
|
}
|
|
24
22
|
};
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, decorator_1.App)(),
|
|
27
|
-
__metadata("design:type", Object)
|
|
28
|
-
], ViewEJSConfiguration.prototype, "app", void 0);
|
|
29
23
|
__decorate([
|
|
30
24
|
(0, decorator_1.Inject)(),
|
|
31
25
|
__metadata("design:type", View.ViewManager)
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
2
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
13
|
exports.Configuration = void 0;
|
|
4
14
|
var configuration_1 = require("./configuration");
|
|
5
15
|
Object.defineProperty(exports, "Configuration", { enumerable: true, get: function () { return configuration_1.ViewEJSConfiguration; } });
|
|
16
|
+
__exportStar(require("./view"), exports);
|
|
6
17
|
//# sourceMappingURL=index.js.map
|
package/dist/view.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IViewEngine, RenderOptions, ViewManager } from '@midwayjs/view';
|
|
2
|
+
export declare class EjsView implements IViewEngine {
|
|
3
|
+
ejsConfig: any;
|
|
4
|
+
viewManager: ViewManager;
|
|
5
|
+
private renderFile;
|
|
6
|
+
render(name: string, locals?: Record<string, any>, options?: RenderOptions): Promise<string>;
|
|
7
|
+
renderString(tpl: string, locals?: Record<string, any>, options?: RenderOptions): Promise<string>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=view.d.ts.map
|
package/dist/view.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EjsView = void 0;
|
|
13
|
+
const ejs = require("ejs");
|
|
14
|
+
const view_1 = require("@midwayjs/view");
|
|
15
|
+
const decorator_1 = require("@midwayjs/decorator");
|
|
16
|
+
let EjsView = class EjsView {
|
|
17
|
+
async renderFile(filename, locals, config) {
|
|
18
|
+
return new Promise((resolve, reject) => {
|
|
19
|
+
ejs.renderFile(filename, locals, config, (err, result) => {
|
|
20
|
+
if (err) {
|
|
21
|
+
reject(err);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
resolve(result);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
async render(name, locals, options) {
|
|
30
|
+
const config = Object.assign({}, this.ejsConfig, options, { name });
|
|
31
|
+
const html = await this.renderFile(name, locals, config);
|
|
32
|
+
if (!config.layout) {
|
|
33
|
+
return html;
|
|
34
|
+
}
|
|
35
|
+
locals.body = html;
|
|
36
|
+
const layout = await this.viewManager.resolve(config.layout);
|
|
37
|
+
return this.renderFile(layout, locals, config);
|
|
38
|
+
}
|
|
39
|
+
async renderString(tpl, locals, options) {
|
|
40
|
+
// should disable cache when no filename
|
|
41
|
+
const config = Object.assign({}, this.ejsConfig, options, {
|
|
42
|
+
cache: null,
|
|
43
|
+
});
|
|
44
|
+
try {
|
|
45
|
+
return Promise.resolve(ejs.render(tpl, locals, config));
|
|
46
|
+
}
|
|
47
|
+
catch (err) {
|
|
48
|
+
return Promise.reject(err);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, decorator_1.Config)('ejs'),
|
|
54
|
+
__metadata("design:type", Object)
|
|
55
|
+
], EjsView.prototype, "ejsConfig", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, decorator_1.Inject)(),
|
|
58
|
+
__metadata("design:type", view_1.ViewManager)
|
|
59
|
+
], EjsView.prototype, "viewManager", void 0);
|
|
60
|
+
EjsView = __decorate([
|
|
61
|
+
(0, decorator_1.Provide)()
|
|
62
|
+
], EjsView);
|
|
63
|
+
exports.EjsView = EjsView;
|
|
64
|
+
//# sourceMappingURL=view.js.map
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/view-ejs",
|
|
3
|
-
"version": "3.0.0
|
|
4
|
-
"description": "Midway Component for
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "Midway Component for ejs render",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsc",
|
|
9
|
-
"test": "node --require=ts-node/register ../../node_modules/.bin/jest",
|
|
10
|
-
"cov": "node --require=ts-node/register ../../node_modules/.bin/jest --coverage --forceExit",
|
|
9
|
+
"test": "node --require=ts-node/register ../../node_modules/.bin/jest --runInBand",
|
|
10
|
+
"cov": "node --require=ts-node/register ../../node_modules/.bin/jest --runInBand --coverage --forceExit",
|
|
11
11
|
"ci": "npm run test"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
"component",
|
|
16
16
|
"midway-view",
|
|
17
17
|
"view",
|
|
18
|
-
"ejs"
|
|
19
|
-
"egg-view",
|
|
20
|
-
"egg-view-ejs"
|
|
18
|
+
"ejs"
|
|
21
19
|
],
|
|
22
20
|
"author": "",
|
|
23
21
|
"files": [
|
|
@@ -30,15 +28,14 @@
|
|
|
30
28
|
},
|
|
31
29
|
"license": "MIT",
|
|
32
30
|
"dependencies": {
|
|
33
|
-
"@midwayjs/
|
|
34
|
-
"
|
|
35
|
-
"egg-view-ejs": "^2.0.1"
|
|
31
|
+
"@midwayjs/view": "^3.0.0",
|
|
32
|
+
"ejs": "3.1.6"
|
|
36
33
|
},
|
|
37
34
|
"devDependencies": {
|
|
38
|
-
"@midwayjs/core": "^3.0.0
|
|
39
|
-
"@midwayjs/decorator": "^3.0.0
|
|
40
|
-
"@midwayjs/koa": "^3.0.0
|
|
41
|
-
"@midwayjs/mock": "^3.0.0
|
|
35
|
+
"@midwayjs/core": "^3.0.0",
|
|
36
|
+
"@midwayjs/decorator": "^3.0.0",
|
|
37
|
+
"@midwayjs/koa": "^3.0.0",
|
|
38
|
+
"@midwayjs/mock": "^3.0.0"
|
|
42
39
|
},
|
|
43
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "55c26029bccf7bbb739fa1597e8f418dafa2caa0"
|
|
44
41
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,488 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
# [3.0.0-beta.6](https://github.com/midwayjs/midway/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2021-11-26)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @midwayjs/view-ejs
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# [3.0.0-beta.5](https://github.com/midwayjs/midway/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2021-11-25)
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @midwayjs/view-ejs
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# [3.0.0-beta.4](https://github.com/midwayjs/midway/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2021-11-24)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @midwayjs/view-ejs
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
# [3.0.0-beta.3](https://github.com/midwayjs/midway/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2021-11-18)
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
### Features
|
|
34
|
-
|
|
35
|
-
* add component and framework config definition ([#1367](https://github.com/midwayjs/midway/issues/1367)) ([b2fe615](https://github.com/midwayjs/midway/commit/b2fe6157f99659471ff1333eca0b86bb889f61a3))
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
# [3.0.0-beta.2](https://github.com/midwayjs/midway/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2021-11-16)
|
|
42
|
-
|
|
43
|
-
**Note:** Version bump only for package @midwayjs/view-ejs
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
# [3.0.0-beta.1](https://github.com/midwayjs/midway/compare/v2.12.4...v3.0.0-beta.1) (2021-11-14)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
### Features
|
|
53
|
-
|
|
54
|
-
* add view, view-ejs and view-nunjucks ([#1308](https://github.com/midwayjs/midway/issues/1308)) ([a00f44b](https://github.com/midwayjs/midway/commit/a00f44bd769052245cd49d49ab417d621bb89caa))
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
## [2.13.2](https://github.com/midwayjs/midway/compare/v2.13.1...v2.13.2) (2021-09-09)
|
|
61
|
-
|
|
62
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
## [2.13.1](https://github.com/midwayjs/midway/compare/v2.13.0...v2.13.1) (2021-09-08)
|
|
69
|
-
|
|
70
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
# [2.13.0](https://github.com/midwayjs/midway/compare/v2.12.9...v2.13.0) (2021-09-07)
|
|
77
|
-
|
|
78
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
## [2.12.9](https://github.com/midwayjs/midway/compare/v2.12.8...v2.12.9) (2021-09-01)
|
|
85
|
-
|
|
86
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
## [2.12.7](https://github.com/midwayjs/midway/compare/v2.12.6...v2.12.7) (2021-08-22)
|
|
93
|
-
|
|
94
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
## [2.12.5](https://github.com/midwayjs/midway/compare/v2.12.4...v2.12.5) (2021-08-18)
|
|
101
|
-
|
|
102
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
## [2.12.3](https://github.com/midwayjs/midway/compare/v2.12.2...v2.12.3) (2021-08-09)
|
|
109
|
-
|
|
110
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
## [2.12.1](https://github.com/midwayjs/midway/compare/v2.12.0...v2.12.1) (2021-08-01)
|
|
117
|
-
|
|
118
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
# [2.12.0](https://github.com/midwayjs/midway/compare/v2.11.7...v2.12.0) (2021-07-30)
|
|
125
|
-
|
|
126
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
## [2.11.6](https://github.com/midwayjs/midway/compare/v2.11.5...v2.11.6) (2021-07-16)
|
|
133
|
-
|
|
134
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
## [2.11.5](https://github.com/midwayjs/midway/compare/v2.11.4...v2.11.5) (2021-07-15)
|
|
141
|
-
|
|
142
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
## [2.11.4](https://github.com/midwayjs/midway/compare/v2.11.3...v2.11.4) (2021-07-06)
|
|
149
|
-
|
|
150
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
## [2.11.3](https://github.com/midwayjs/midway/compare/v2.11.2...v2.11.3) (2021-07-02)
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
### Bug Fixes
|
|
160
|
-
|
|
161
|
-
* hide real error when user code throw error ([#1128](https://github.com/midwayjs/midway/issues/1128)) ([e728b0b](https://github.com/midwayjs/midway/commit/e728b0b80956c09cfb856ffe082f44fa29cfeb82))
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
## [2.11.2](https://github.com/midwayjs/midway/compare/v2.11.1...v2.11.2) (2021-06-28)
|
|
168
|
-
|
|
169
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
## [2.11.1](https://github.com/midwayjs/midway/compare/v2.11.0...v2.11.1) (2021-06-19)
|
|
176
|
-
|
|
177
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
# [2.11.0](https://github.com/midwayjs/midway/compare/v2.10.19...v2.11.0) (2021-06-10)
|
|
184
|
-
|
|
185
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
## [2.10.18](https://github.com/midwayjs/midway/compare/v2.10.17...v2.10.18) (2021-05-26)
|
|
192
|
-
|
|
193
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
## [2.10.14](https://github.com/midwayjs/midway/compare/v2.10.13...v2.10.14) (2021-05-11)
|
|
200
|
-
|
|
201
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
## [2.10.13](https://github.com/midwayjs/midway/compare/v2.10.12...v2.10.13) (2021-05-08)
|
|
208
|
-
|
|
209
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
## [2.10.12](https://github.com/midwayjs/midway/compare/v2.10.11...v2.10.12) (2021-05-07)
|
|
216
|
-
|
|
217
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
## [2.10.11](https://github.com/midwayjs/midway/compare/v2.10.10...v2.10.11) (2021-04-29)
|
|
224
|
-
|
|
225
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
## [2.10.10](https://github.com/midwayjs/midway/compare/v2.10.9...v2.10.10) (2021-04-24)
|
|
232
|
-
|
|
233
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
## [2.10.9](https://github.com/midwayjs/midway/compare/v2.10.8...v2.10.9) (2021-04-21)
|
|
240
|
-
|
|
241
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
## [2.10.8](https://github.com/midwayjs/midway/compare/v2.10.7...v2.10.8) (2021-04-21)
|
|
248
|
-
|
|
249
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
## [2.10.7](https://github.com/midwayjs/midway/compare/v2.10.6...v2.10.7) (2021-04-17)
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
### Bug Fixes
|
|
259
|
-
|
|
260
|
-
* add event name args ([#986](https://github.com/midwayjs/midway/issues/986)) ([bfd8232](https://github.com/midwayjs/midway/commit/bfd82320aee8600d8fa30bd2821a0e68c80fd755))
|
|
261
|
-
* format ([#997](https://github.com/midwayjs/midway/issues/997)) ([456cc14](https://github.com/midwayjs/midway/commit/456cc14513bdb000d1aa3130e9719caf7a8a803f))
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
### Features
|
|
265
|
-
|
|
266
|
-
* add midway task component ([#995](https://github.com/midwayjs/midway/issues/995)) ([befb81d](https://github.com/midwayjs/midway/commit/befb81dee90f01a20bba2c1835e8685cf85a76e7))
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
## [2.10.6](https://github.com/midwayjs/midway/compare/v2.10.5...v2.10.6) (2021-04-14)
|
|
273
|
-
|
|
274
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
## [2.10.5](https://github.com/midwayjs/midway/compare/v2.10.4...v2.10.5) (2021-04-13)
|
|
281
|
-
|
|
282
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
## [2.10.4](https://github.com/midwayjs/midway/compare/v2.10.3...v2.10.4) (2021-04-10)
|
|
289
|
-
|
|
290
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
## [2.10.3](https://github.com/midwayjs/midway/compare/v2.10.2...v2.10.3) (2021-04-07)
|
|
297
|
-
|
|
298
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
## [2.10.2](https://github.com/midwayjs/midway/compare/v2.10.1...v2.10.2) (2021-04-05)
|
|
305
|
-
|
|
306
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
# [2.10.0](https://github.com/midwayjs/midway/compare/v2.9.3...v2.10.0) (2021-04-02)
|
|
313
|
-
|
|
314
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
## [2.9.3](https://github.com/midwayjs/midway/compare/v2.9.2...v2.9.3) (2021-03-30)
|
|
321
|
-
|
|
322
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
## [2.9.2](https://github.com/midwayjs/midway/compare/v2.9.1...v2.9.2) (2021-03-27)
|
|
329
|
-
|
|
330
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
## [2.9.1](https://github.com/midwayjs/midway/compare/v2.9.0...v2.9.1) (2021-03-24)
|
|
337
|
-
|
|
338
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
# [2.9.0](https://github.com/midwayjs/midway/compare/v2.8.13...v2.9.0) (2021-03-22)
|
|
345
|
-
|
|
346
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
## [2.8.13](https://github.com/midwayjs/midway/compare/v2.8.12...v2.8.13) (2021-03-17)
|
|
353
|
-
|
|
354
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
## [2.8.11](https://github.com/midwayjs/midway/compare/v2.8.10...v2.8.11) (2021-03-12)
|
|
361
|
-
|
|
362
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
## [2.8.9](https://github.com/midwayjs/midway/compare/v2.8.8...v2.8.9) (2021-03-08)
|
|
369
|
-
|
|
370
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
## [2.8.8](https://github.com/midwayjs/midway/compare/v2.8.7...v2.8.8) (2021-03-06)
|
|
377
|
-
|
|
378
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
## [2.8.7](https://github.com/midwayjs/midway/compare/v2.8.6...v2.8.7) (2021-03-04)
|
|
385
|
-
|
|
386
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
## [2.8.6](https://github.com/midwayjs/midway/compare/v2.8.5...v2.8.6) (2021-03-03)
|
|
393
|
-
|
|
394
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
## [2.8.5](https://github.com/midwayjs/midway/compare/v2.8.4...v2.8.5) (2021-03-03)
|
|
401
|
-
|
|
402
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
## [2.8.4](https://github.com/midwayjs/midway/compare/v2.8.3...v2.8.4) (2021-03-03)
|
|
409
|
-
|
|
410
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
## [2.8.3](https://github.com/midwayjs/midway/compare/v2.8.2...v2.8.3) (2021-03-01)
|
|
417
|
-
|
|
418
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
## [2.8.2](https://github.com/midwayjs/midway/compare/v2.8.0...v2.8.2) (2021-02-27)
|
|
425
|
-
|
|
426
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
# [2.8.0](https://github.com/midwayjs/midway/compare/v2.7.7...v2.8.0) (2021-02-24)
|
|
433
|
-
|
|
434
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
## [2.7.7](https://github.com/midwayjs/midway/compare/v2.7.6...v2.7.7) (2021-02-20)
|
|
441
|
-
|
|
442
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
## [2.7.5](https://github.com/midwayjs/midway/compare/v2.7.4...v2.7.5) (2021-02-08)
|
|
449
|
-
|
|
450
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
## [2.7.3](https://github.com/midwayjs/midway/compare/v2.7.2...v2.7.3) (2021-02-02)
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
### Bug Fixes
|
|
460
|
-
|
|
461
|
-
* egg socket io missing session middleware ([#835](https://github.com/midwayjs/midway/issues/835)) ([6e605a1](https://github.com/midwayjs/midway/commit/6e605a15b64bf51182b393b68d66d0867c571b94))
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
## [2.7.2](https://github.com/midwayjs/midway/compare/v2.7.1...v2.7.2) (2021-01-28)
|
|
468
|
-
|
|
469
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
## [2.7.1](https://github.com/midwayjs/midway/compare/v2.7.0...v2.7.1) (2021-01-28)
|
|
476
|
-
|
|
477
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
# [2.7.0](https://github.com/midwayjs/midway/compare/v2.6.13...v2.7.0) (2021-01-27)
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
### Features
|
|
487
|
-
|
|
488
|
-
* support entry file in bootstrap ([#819](https://github.com/midwayjs/midway/issues/819)) ([49a5ff6](https://github.com/midwayjs/midway/commit/49a5ff662134bdd42dc3a80738b44a05138f8f7c))
|