@midwayjs/bootstrap 3.0.0-beta.8 → 3.0.2
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/dist/bootstrap.d.ts +8 -9
- package/dist/bootstrap.js.map +1 -0
- package/dist/index.js.map +1 -0
- package/package.json +14 -13
- package/CHANGELOG.md +0 -884
package/dist/bootstrap.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IMidwayBootstrapOptions, IMidwayContainer } from '@midwayjs/core';
|
|
2
|
-
import { IMidwayLogger } from '@midwayjs/logger';
|
|
3
2
|
export declare function isTypeScriptEnvironment(): boolean;
|
|
4
3
|
export declare class BootstrapStarter {
|
|
5
4
|
protected appDir: string;
|
|
@@ -14,10 +13,10 @@ export declare class BootstrapStarter {
|
|
|
14
13
|
protected getBaseDir(): string;
|
|
15
14
|
}
|
|
16
15
|
export declare class Bootstrap {
|
|
17
|
-
static starter
|
|
18
|
-
static logger
|
|
19
|
-
static configured
|
|
20
|
-
static applicationContext
|
|
16
|
+
private static starter;
|
|
17
|
+
private static logger;
|
|
18
|
+
private static configured;
|
|
19
|
+
private static applicationContext;
|
|
21
20
|
/**
|
|
22
21
|
* set global configuration for midway
|
|
23
22
|
* @param configuration
|
|
@@ -31,14 +30,14 @@ export declare class Bootstrap {
|
|
|
31
30
|
* on bootstrap receive a exit signal
|
|
32
31
|
* @param signal
|
|
33
32
|
*/
|
|
34
|
-
static onSignal
|
|
33
|
+
private static onSignal;
|
|
35
34
|
/**
|
|
36
35
|
* on bootstrap process exit
|
|
37
36
|
* @param code
|
|
38
37
|
*/
|
|
39
|
-
static onExit
|
|
40
|
-
static uncaughtExceptionHandler
|
|
41
|
-
static unhandledRejectionHandler
|
|
38
|
+
private static onExit;
|
|
39
|
+
private static uncaughtExceptionHandler;
|
|
40
|
+
private static unhandledRejectionHandler;
|
|
42
41
|
static getApplicationContext(): IMidwayContainer;
|
|
43
42
|
}
|
|
44
43
|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AAU,GAAG,KAAK,CAAC","sourcesContent":["import {\n IMidwayBootstrapOptions,\n IMidwayContainer,\n initializeGlobalApplicationContext,\n destroyGlobalApplicationContext,\n} from '@midwayjs/core';\nimport { join } from 'path';\nimport { IMidwayLogger, MidwayBaseLogger } from '@midwayjs/logger';\n\nexport function isTypeScriptEnvironment() {\n const TS_MODE_PROCESS_FLAG: string = process.env.MIDWAY_TS_MODE;\n if ('false' === TS_MODE_PROCESS_FLAG) {\n return false;\n }\n // eslint-disable-next-line node/no-deprecated-api\n return TS_MODE_PROCESS_FLAG === 'true' || !!require.extensions['.ts'];\n}\n\nexport class BootstrapStarter {\n protected appDir: string;\n protected baseDir: string;\n protected globalOptions: Partial<IMidwayBootstrapOptions> = {};\n protected globalConfig: any;\n private applicationContext: IMidwayContainer;\n\n public configure(options: IMidwayBootstrapOptions) {\n this.globalOptions = options;\n return this;\n }\n\n public async init() {\n this.appDir = this.globalOptions.appDir || process.cwd();\n this.baseDir = this.getBaseDir();\n\n this.applicationContext = await initializeGlobalApplicationContext({\n ...this.globalOptions,\n appDir: this.appDir,\n baseDir: this.baseDir,\n });\n return this.applicationContext;\n }\n\n public async run() {}\n\n public async stop() {\n await destroyGlobalApplicationContext(this.applicationContext);\n }\n\n protected getBaseDir() {\n if (this.globalOptions.baseDir) {\n return this.globalOptions.baseDir;\n }\n if (isTypeScriptEnvironment()) {\n return join(this.appDir, 'src');\n } else {\n return join(this.appDir, 'dist');\n }\n }\n}\n\nexport class Bootstrap {\n private static starter: BootstrapStarter;\n private static logger: IMidwayLogger;\n private static configured = false;\n private static applicationContext: IMidwayContainer;\n\n /**\n * set global configuration for midway\n * @param configuration\n */\n static configure(configuration: IMidwayBootstrapOptions = {}) {\n this.configured = true;\n if (!this.logger && !configuration.logger) {\n this.logger = new MidwayBaseLogger({\n disableError: true,\n disableFile: true,\n });\n if (configuration.logger === false) {\n this.logger?.['disableConsole']();\n }\n configuration.logger = this.logger;\n } else {\n this.logger = this.logger || (configuration.logger as IMidwayLogger);\n }\n\n // 处理三方框架内部依赖 process.cwd 来查找 node_modules 等问题\n if (configuration.appDir && configuration.appDir !== process.cwd()) {\n process.chdir(configuration.appDir);\n }\n\n this.getStarter().configure(configuration);\n return this;\n }\n\n private static getStarter() {\n if (!this.starter) {\n this.starter = new BootstrapStarter();\n }\n return this.starter;\n }\n\n static async run() {\n if (!this.configured) {\n this.configure();\n }\n // https://nodejs.org/api/process.html#process_signal_events\n // https://en.wikipedia.org/wiki/Unix_signal\n // kill(2) Ctrl-C\n process.once('SIGINT', this.onSignal.bind(this, 'SIGINT'));\n // kill(3) Ctrl-\\\n process.once('SIGQUIT', this.onSignal.bind(this, 'SIGQUIT'));\n // kill(15) default\n process.once('SIGTERM', this.onSignal.bind(this, 'SIGTERM'));\n\n process.once('exit', this.onExit.bind(this));\n\n this.uncaughtExceptionHandler = this.uncaughtExceptionHandler.bind(this);\n process.on('uncaughtException', this.uncaughtExceptionHandler);\n\n this.unhandledRejectionHandler = this.unhandledRejectionHandler.bind(this);\n process.on('unhandledRejection', this.unhandledRejectionHandler);\n\n this.applicationContext = await this.getStarter().init();\n return this.getStarter()\n .run()\n .then(() => {\n this.logger.info('[midway:bootstrap] current app started');\n })\n .catch(err => {\n this.logger.error(err);\n process.exit(1);\n });\n }\n\n static async stop() {\n await this.getStarter().stop();\n process.removeListener('uncaughtException', this.uncaughtExceptionHandler);\n process.removeListener(\n 'unhandledRejection',\n this.unhandledRejectionHandler\n );\n this.reset();\n }\n\n static reset() {\n this.configured = false;\n this.starter = null;\n this.logger.close();\n }\n\n /**\n * on bootstrap receive a exit signal\n * @param signal\n */\n private static async onSignal(signal) {\n this.logger.info('[midway:bootstrap] receive signal %s, closing', signal);\n try {\n await this.stop();\n this.logger.info('[midway:bootstrap] close done, exiting with code:0');\n process.exit(0);\n } catch (err) {\n this.logger.error('[midway:bootstrap] close with error: ', err);\n process.exit(1);\n }\n }\n\n /**\n * on bootstrap process exit\n * @param code\n */\n private static onExit(code) {\n this.logger.info('[midway:bootstrap] exit with code:%s', code);\n }\n\n private static uncaughtExceptionHandler(err) {\n if (!(err instanceof Error)) {\n err = new Error(String(err));\n }\n if (err.name === 'Error') {\n err.name = 'unhandledExceptionError';\n }\n this.logger.error(err);\n }\n\n private static unhandledRejectionHandler(err) {\n if (!(err instanceof Error)) {\n const newError = new Error(String(err));\n // err maybe an object, try to copy the name, message and stack to the new error instance\n if (err) {\n if (err.name) newError.name = err.name;\n if (err.message) newError.message = err.message;\n if (err.stack) newError.stack = err.stack;\n }\n err = newError;\n }\n if (err.name === 'Error') {\n err.name = 'unhandledRejectionError';\n }\n this.logger.error(err);\n }\n\n static getApplicationContext(): IMidwayContainer {\n return this.applicationContext;\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAIqB;AAHnB,oHAAA,uBAAuB,OAAA;AACvB,sGAAA,SAAS,OAAA;AACT,6GAAA,gBAAgB,OAAA","sourcesContent":["export {\n isTypeScriptEnvironment,\n Bootstrap,\n BootstrapStarter,\n} from './bootstrap';\n"]}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/bootstrap",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "midwayjs bootstrap",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"typings": "dist/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
|
"link": "npm link"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
@@ -17,18 +17,19 @@
|
|
|
17
17
|
],
|
|
18
18
|
"files": [
|
|
19
19
|
"dist/**/*.js",
|
|
20
|
-
"dist/**/*.d.ts"
|
|
20
|
+
"dist/**/*.d.ts",
|
|
21
|
+
"dist/**/*.js.map"
|
|
21
22
|
],
|
|
22
23
|
"license": "MIT",
|
|
23
24
|
"devDependencies": {
|
|
24
|
-
"@midwayjs/core": "^3.0.
|
|
25
|
-
"@midwayjs/decorator": "^3.0.
|
|
26
|
-
"@midwayjs/logger": "^
|
|
27
|
-
"@midwayjs/socketio": "^3.0.
|
|
28
|
-
"@midwayjs/web": "^3.0.
|
|
29
|
-
"@types/socket.io-client": "
|
|
30
|
-
"request": "
|
|
31
|
-
"socket.io-client": "
|
|
25
|
+
"@midwayjs/core": "^3.0.2",
|
|
26
|
+
"@midwayjs/decorator": "^3.0.2",
|
|
27
|
+
"@midwayjs/logger": "^2.14.0",
|
|
28
|
+
"@midwayjs/socketio": "^3.0.2",
|
|
29
|
+
"@midwayjs/web": "^3.0.2",
|
|
30
|
+
"@types/socket.io-client": "1.4.36",
|
|
31
|
+
"request": "2.88.2",
|
|
32
|
+
"socket.io-client": "4.4.1"
|
|
32
33
|
},
|
|
33
34
|
"author": "Harry Chen <czy88840616@gmail.com>",
|
|
34
35
|
"repository": {
|
|
@@ -38,5 +39,5 @@
|
|
|
38
39
|
"engines": {
|
|
39
40
|
"node": ">=12"
|
|
40
41
|
},
|
|
41
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "ca77247d229978a736e79bb208579c014ed226fc"
|
|
42
43
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,884 +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.8](https://github.com/midwayjs/midway/compare/v3.0.0-beta.7...v3.0.0-beta.8) (2021-12-08)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Bug Fixes
|
|
10
|
-
|
|
11
|
-
* express routing middleware takes effect at the controller level ([#1364](https://github.com/midwayjs/midway/issues/1364)) ([b9272e0](https://github.com/midwayjs/midway/commit/b9272e0971003443304b0c53815be31a0061b4bd))
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
# [3.0.0-beta.7](https://github.com/midwayjs/midway/compare/v3.0.0-beta.6...v3.0.0-beta.7) (2021-12-03)
|
|
18
|
-
|
|
19
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
# [3.0.0-beta.6](https://github.com/midwayjs/midway/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2021-11-26)
|
|
26
|
-
|
|
27
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
# [3.0.0-beta.5](https://github.com/midwayjs/midway/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2021-11-25)
|
|
34
|
-
|
|
35
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
# [3.0.0-beta.4](https://github.com/midwayjs/midway/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2021-11-24)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
### Bug Fixes
|
|
45
|
-
|
|
46
|
-
* logger close before bootstrap close ([#1370](https://github.com/midwayjs/midway/issues/1370)) ([6cc2720](https://github.com/midwayjs/midway/commit/6cc2720ed3445e8ffccc96d124b80ed7e2517f08))
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
# [3.0.0-beta.3](https://github.com/midwayjs/midway/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2021-11-18)
|
|
53
|
-
|
|
54
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
# [3.0.0-beta.2](https://github.com/midwayjs/midway/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2021-11-16)
|
|
61
|
-
|
|
62
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
# [3.0.0-beta.1](https://github.com/midwayjs/midway/compare/v2.12.4...v3.0.0-beta.1) (2021-11-14)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
### Bug Fixes
|
|
72
|
-
|
|
73
|
-
* serverless app support applicationContext ([#1281](https://github.com/midwayjs/midway/issues/1281)) ([b692001](https://github.com/midwayjs/midway/commit/b692001c451b17a10d26cb6778a8566d5fa569c5))
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
## [2.12.3](https://github.com/midwayjs/midway/compare/v2.12.2...v2.12.3) (2021-08-09)
|
|
80
|
-
|
|
81
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
## [2.12.1](https://github.com/midwayjs/midway/compare/v2.12.0...v2.12.1) (2021-08-01)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
### Bug Fixes
|
|
91
|
-
|
|
92
|
-
* add preload modules options ([#1194](https://github.com/midwayjs/midway/issues/1194)) ([1681f42](https://github.com/midwayjs/midway/commit/1681f42157ceaa0950ab5d548c0ff5f84dd9908e))
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
# [2.12.0](https://github.com/midwayjs/midway/compare/v2.11.7...v2.12.0) (2021-07-30)
|
|
99
|
-
|
|
100
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
## [2.11.6](https://github.com/midwayjs/midway/compare/v2.11.5...v2.11.6) (2021-07-16)
|
|
107
|
-
|
|
108
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
## [2.11.5](https://github.com/midwayjs/midway/compare/v2.11.4...v2.11.5) (2021-07-15)
|
|
115
|
-
|
|
116
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
## [2.11.4](https://github.com/midwayjs/midway/compare/v2.11.3...v2.11.4) (2021-07-06)
|
|
123
|
-
|
|
124
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
## [2.11.3](https://github.com/midwayjs/midway/compare/v2.11.2...v2.11.3) (2021-07-02)
|
|
131
|
-
|
|
132
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
## [2.11.2](https://github.com/midwayjs/midway/compare/v2.11.1...v2.11.2) (2021-06-28)
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
### Bug Fixes
|
|
142
|
-
|
|
143
|
-
* add uncaughtException handler ([#1113](https://github.com/midwayjs/midway/issues/1113)) ([8c32165](https://github.com/midwayjs/midway/commit/8c32165daf688a40be5d9b804eb9ebb1bad0fd53))
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
## [2.11.1](https://github.com/midwayjs/midway/compare/v2.11.0...v2.11.1) (2021-06-19)
|
|
150
|
-
|
|
151
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
# [2.11.0](https://github.com/midwayjs/midway/compare/v2.10.19...v2.11.0) (2021-06-10)
|
|
158
|
-
|
|
159
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
## [2.10.18](https://github.com/midwayjs/midway/compare/v2.10.17...v2.10.18) (2021-05-26)
|
|
166
|
-
|
|
167
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
## [2.10.14](https://github.com/midwayjs/midway/compare/v2.10.13...v2.10.14) (2021-05-11)
|
|
174
|
-
|
|
175
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
## [2.10.13](https://github.com/midwayjs/midway/compare/v2.10.12...v2.10.13) (2021-05-08)
|
|
182
|
-
|
|
183
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
## [2.10.12](https://github.com/midwayjs/midway/compare/v2.10.11...v2.10.12) (2021-05-07)
|
|
190
|
-
|
|
191
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
## [2.10.11](https://github.com/midwayjs/midway/compare/v2.10.10...v2.10.11) (2021-04-29)
|
|
198
|
-
|
|
199
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
## [2.10.10](https://github.com/midwayjs/midway/compare/v2.10.9...v2.10.10) (2021-04-24)
|
|
206
|
-
|
|
207
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
## [2.10.9](https://github.com/midwayjs/midway/compare/v2.10.8...v2.10.9) (2021-04-21)
|
|
214
|
-
|
|
215
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
## [2.10.8](https://github.com/midwayjs/midway/compare/v2.10.7...v2.10.8) (2021-04-21)
|
|
222
|
-
|
|
223
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
## [2.10.7](https://github.com/midwayjs/midway/compare/v2.10.6...v2.10.7) (2021-04-17)
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
### Bug Fixes
|
|
233
|
-
|
|
234
|
-
* add event name args ([#986](https://github.com/midwayjs/midway/issues/986)) ([bfd8232](https://github.com/midwayjs/midway/commit/bfd82320aee8600d8fa30bd2821a0e68c80fd755))
|
|
235
|
-
* format ([#997](https://github.com/midwayjs/midway/issues/997)) ([456cc14](https://github.com/midwayjs/midway/commit/456cc14513bdb000d1aa3130e9719caf7a8a803f))
|
|
236
|
-
* remove reset bootstrap logger ([#993](https://github.com/midwayjs/midway/issues/993)) ([9dc9596](https://github.com/midwayjs/midway/commit/9dc9596fffb6b76897b28ba51d4a1af3e8c6544c))
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
## [2.10.6](https://github.com/midwayjs/midway/compare/v2.10.5...v2.10.6) (2021-04-14)
|
|
243
|
-
|
|
244
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
## [2.10.5](https://github.com/midwayjs/midway/compare/v2.10.4...v2.10.5) (2021-04-13)
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
### Bug Fixes
|
|
254
|
-
|
|
255
|
-
* delay load without layer and egg-cluster ([#985](https://github.com/midwayjs/midway/issues/985)) ([52ba60d](https://github.com/midwayjs/midway/commit/52ba60d67d6e2df7a53609f72ec067dc083317ce))
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
### Features
|
|
259
|
-
|
|
260
|
-
* support getCurrentApplicationContext API ([#981](https://github.com/midwayjs/midway/issues/981)) ([dd6ce11](https://github.com/midwayjs/midway/commit/dd6ce11d6f8eb2884eb1b03b171a069f55aec04f))
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
## [2.10.4](https://github.com/midwayjs/midway/compare/v2.10.3...v2.10.4) (2021-04-10)
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
### Bug Fixes
|
|
270
|
-
|
|
271
|
-
* clear container cache when test ([#978](https://github.com/midwayjs/midway/issues/978)) ([a202075](https://github.com/midwayjs/midway/commit/a202075b52d281e06f1ed7c6139e968fafc960f6))
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
## [2.10.3](https://github.com/midwayjs/midway/compare/v2.10.2...v2.10.3) (2021-04-07)
|
|
278
|
-
|
|
279
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
## [2.10.2](https://github.com/midwayjs/midway/compare/v2.10.1...v2.10.2) (2021-04-05)
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
### Bug Fixes
|
|
289
|
-
|
|
290
|
-
* load config once and support load singleton service before framework start ([#970](https://github.com/midwayjs/midway/issues/970)) ([201dd59](https://github.com/midwayjs/midway/commit/201dd5930bd97f62e5717777b2941b47b54d68c6))
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
# [2.10.0](https://github.com/midwayjs/midway/compare/v2.9.3...v2.10.0) (2021-04-02)
|
|
297
|
-
|
|
298
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
## [2.9.3](https://github.com/midwayjs/midway/compare/v2.9.2...v2.9.3) (2021-03-30)
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
### Bug Fixes
|
|
308
|
-
|
|
309
|
-
* bootstrap cache error framework ([#955](https://github.com/midwayjs/midway/issues/955)) ([59ec100](https://github.com/midwayjs/midway/commit/59ec10096418fd1e7be2dbce8f254bce1073e931))
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
## [2.9.2](https://github.com/midwayjs/midway/compare/v2.9.1...v2.9.2) (2021-03-27)
|
|
316
|
-
|
|
317
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
## [2.9.1](https://github.com/midwayjs/midway/compare/v2.9.0...v2.9.1) (2021-03-24)
|
|
324
|
-
|
|
325
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
# [2.9.0](https://github.com/midwayjs/midway/compare/v2.8.13...v2.9.0) (2021-03-22)
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
### Features
|
|
335
|
-
|
|
336
|
-
* run multi framework in one process ([#925](https://github.com/midwayjs/midway/issues/925)) ([330555f](https://github.com/midwayjs/midway/commit/330555f93b9af2a783771edd58bb9431a325938f))
|
|
337
|
-
* support bootstrap load config first ([#931](https://github.com/midwayjs/midway/issues/931)) ([ae9ed26](https://github.com/midwayjs/midway/commit/ae9ed261aacdb483d3a9a612be79fff384503bcc))
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
## [2.8.13](https://github.com/midwayjs/midway/compare/v2.8.12...v2.8.13) (2021-03-17)
|
|
344
|
-
|
|
345
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
## [2.8.11](https://github.com/midwayjs/midway/compare/v2.8.10...v2.8.11) (2021-03-12)
|
|
352
|
-
|
|
353
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
## [2.8.9](https://github.com/midwayjs/midway/compare/v2.8.8...v2.8.9) (2021-03-08)
|
|
360
|
-
|
|
361
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
## [2.8.8](https://github.com/midwayjs/midway/compare/v2.8.7...v2.8.8) (2021-03-06)
|
|
368
|
-
|
|
369
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
## [2.8.7](https://github.com/midwayjs/midway/compare/v2.8.6...v2.8.7) (2021-03-04)
|
|
376
|
-
|
|
377
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
## [2.8.6](https://github.com/midwayjs/midway/compare/v2.8.5...v2.8.6) (2021-03-03)
|
|
384
|
-
|
|
385
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
## [2.8.5](https://github.com/midwayjs/midway/compare/v2.8.4...v2.8.5) (2021-03-03)
|
|
392
|
-
|
|
393
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
## [2.8.4](https://github.com/midwayjs/midway/compare/v2.8.3...v2.8.4) (2021-03-03)
|
|
400
|
-
|
|
401
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
## [2.8.3](https://github.com/midwayjs/midway/compare/v2.8.2...v2.8.3) (2021-03-01)
|
|
408
|
-
|
|
409
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
## [2.8.2](https://github.com/midwayjs/midway/compare/v2.8.0...v2.8.2) (2021-02-27)
|
|
416
|
-
|
|
417
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
# [2.8.0](https://github.com/midwayjs/midway/compare/v2.7.7...v2.8.0) (2021-02-24)
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
### Features
|
|
427
|
-
|
|
428
|
-
* move context logger to @midwayjs/logger and add createFileL… ([#859](https://github.com/midwayjs/midway/issues/859)) ([49f568f](https://github.com/midwayjs/midway/commit/49f568f372b610494d59fa415f4f241c400c7db0))
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
## [2.7.5](https://github.com/midwayjs/midway/compare/v2.7.4...v2.7.5) (2021-02-08)
|
|
435
|
-
|
|
436
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
# [2.7.0](https://github.com/midwayjs/midway/compare/v2.6.13...v2.7.0) (2021-01-27)
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
### Features
|
|
446
|
-
|
|
447
|
-
* add midway gRPC framework ([#786](https://github.com/midwayjs/midway/issues/786)) ([d90362c](https://github.com/midwayjs/midway/commit/d90362c6bf15c00621ffc2981f19842f216395f8))
|
|
448
|
-
* support entry file in bootstrap ([#819](https://github.com/midwayjs/midway/issues/819)) ([49a5ff6](https://github.com/midwayjs/midway/commit/49a5ff662134bdd42dc3a80738b44a05138f8f7c))
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
## [2.6.13](https://github.com/midwayjs/midway/compare/v2.6.12...v2.6.13) (2021-01-21)
|
|
455
|
-
|
|
456
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
## [2.6.10](https://github.com/midwayjs/midway/compare/v2.6.9...v2.6.10) (2021-01-10)
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
### Bug Fixes
|
|
466
|
-
|
|
467
|
-
* bootstrap missing create logger ([#797](https://github.com/midwayjs/midway/issues/797)) ([f7aac5f](https://github.com/midwayjs/midway/commit/f7aac5fcd9a59a3a36856af58c17ee1d0c9dfca4))
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
## [2.6.9](https://github.com/midwayjs/midway/compare/v2.6.8...v2.6.9) (2021-01-08)
|
|
474
|
-
|
|
475
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
## [2.6.8](https://github.com/midwayjs/midway/compare/v2.6.7...v2.6.8) (2021-01-06)
|
|
482
|
-
|
|
483
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
## [2.6.7](https://github.com/midwayjs/midway/compare/v2.6.6...v2.6.7) (2021-01-05)
|
|
490
|
-
|
|
491
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
## [2.6.6](https://github.com/midwayjs/midway/compare/v2.6.5...v2.6.6) (2021-01-04)
|
|
498
|
-
|
|
499
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
## [2.6.5](https://github.com/midwayjs/midway/compare/v2.6.4...v2.6.5) (2021-01-04)
|
|
506
|
-
|
|
507
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
## [2.6.4](https://github.com/midwayjs/midway/compare/v2.6.3...v2.6.4) (2021-01-02)
|
|
514
|
-
|
|
515
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
## [2.6.3](https://github.com/midwayjs/midway/compare/v2.6.2...v2.6.3) (2020-12-30)
|
|
522
|
-
|
|
523
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
## [2.6.2](https://github.com/midwayjs/midway/compare/v2.6.1...v2.6.2) (2020-12-30)
|
|
530
|
-
|
|
531
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
## [2.6.1](https://github.com/midwayjs/midway/compare/v2.6.0...v2.6.1) (2020-12-29)
|
|
538
|
-
|
|
539
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
# [2.6.0](https://github.com/midwayjs/midway/compare/v2.5.5...v2.6.0) (2020-12-28)
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
### Features
|
|
549
|
-
|
|
550
|
-
* add midway logger ([#743](https://github.com/midwayjs/midway/issues/743)) ([13e8cc7](https://github.com/midwayjs/midway/commit/13e8cc753d994e6f9f073688e22527f75d39984a))
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
## [2.5.5](https://github.com/midwayjs/midway/compare/v2.5.4...v2.5.5) (2020-12-15)
|
|
557
|
-
|
|
558
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
## [2.5.2](https://github.com/midwayjs/midway/compare/v2.5.1...v2.5.2) (2020-12-04)
|
|
565
|
-
|
|
566
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
# [2.5.0](https://github.com/midwayjs/midway/compare/v2.4.8...v2.5.0) (2020-11-28)
|
|
573
|
-
|
|
574
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
## [2.4.7](https://github.com/midwayjs/midway/compare/v2.4.6...v2.4.7) (2020-11-23)
|
|
581
|
-
|
|
582
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
## [2.4.5](https://github.com/midwayjs/midway/compare/v2.4.4...v2.4.5) (2020-11-19)
|
|
589
|
-
|
|
590
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
## [2.4.3](https://github.com/midwayjs/midway/compare/v2.4.2...v2.4.3) (2020-11-16)
|
|
597
|
-
|
|
598
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
## [2.4.2](https://github.com/midwayjs/midway/compare/v2.4.1...v2.4.2) (2020-11-13)
|
|
605
|
-
|
|
606
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
## [2.4.1](https://github.com/midwayjs/midway/compare/v2.4.0...v2.4.1) (2020-11-12)
|
|
613
|
-
|
|
614
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
# [2.4.0](https://github.com/midwayjs/midway/compare/v2.3.23...v2.4.0) (2020-11-11)
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
### Features
|
|
624
|
-
|
|
625
|
-
* support define custom egg framework ([#709](https://github.com/midwayjs/midway/issues/709)) ([f5baba1](https://github.com/midwayjs/midway/commit/f5baba18d10e3dc91ba9651effadd00b8f66cf8b))
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
## [2.3.23](https://github.com/midwayjs/midway/compare/v2.3.22...v2.3.23) (2020-11-03)
|
|
632
|
-
|
|
633
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
## [2.3.22](https://github.com/midwayjs/midway/compare/v2.3.21...v2.3.22) (2020-10-31)
|
|
640
|
-
|
|
641
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
## [2.3.20](https://github.com/midwayjs/midway/compare/v2.3.19...v2.3.20) (2020-10-29)
|
|
648
|
-
|
|
649
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
## [2.3.19](https://github.com/midwayjs/midway/compare/v2.3.18...v2.3.19) (2020-10-28)
|
|
656
|
-
|
|
657
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
## [2.3.18](https://github.com/midwayjs/midway/compare/v2.3.17...v2.3.18) (2020-10-27)
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
### Bug Fixes
|
|
667
|
-
|
|
668
|
-
* configuration inject plugin and more in production environment ([#680](https://github.com/midwayjs/midway/issues/680)) ([41bce5d](https://github.com/midwayjs/midway/commit/41bce5d8a60a6fde61ff62794612eecff2e260ed))
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
## [2.3.17](https://github.com/midwayjs/midway/compare/v2.3.16...v2.3.17) (2020-10-22)
|
|
675
|
-
|
|
676
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
## [2.3.15](https://github.com/midwayjs/midway/compare/v2.3.14...v2.3.15) (2020-10-15)
|
|
683
|
-
|
|
684
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
## [2.3.14](https://github.com/midwayjs/midway/compare/v2.3.13...v2.3.14) (2020-10-15)
|
|
691
|
-
|
|
692
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
## [2.3.13](https://github.com/midwayjs/midway/compare/v2.3.12...v2.3.13) (2020-10-13)
|
|
699
|
-
|
|
700
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
## [2.3.11](https://github.com/midwayjs/midway/compare/v2.3.10...v2.3.11) (2020-10-08)
|
|
707
|
-
|
|
708
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
## [2.3.10](https://github.com/midwayjs/midway/compare/v2.3.9...v2.3.10) (2020-10-08)
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
### Bug Fixes
|
|
718
|
-
|
|
719
|
-
* component inject global object and add case ([#663](https://github.com/midwayjs/midway/issues/663)) ([e768ee8](https://github.com/midwayjs/midway/commit/e768ee872ed9855252346920318a32133328c0fe))
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
## [2.3.9](https://github.com/midwayjs/midway/compare/v2.3.8...v2.3.9) (2020-10-05)
|
|
726
|
-
|
|
727
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
## [2.3.8](https://github.com/midwayjs/midway/compare/v2.3.7...v2.3.8) (2020-10-05)
|
|
734
|
-
|
|
735
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
## [2.3.7](https://github.com/midwayjs/midway/compare/v2.3.6...v2.3.7) (2020-10-04)
|
|
742
|
-
|
|
743
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
## [2.3.6](https://github.com/midwayjs/midway/compare/v2.3.4...v2.3.6) (2020-10-02)
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
### Bug Fixes
|
|
753
|
-
|
|
754
|
-
* implement optional dep for amqplib in mock package ([#654](https://github.com/midwayjs/midway/issues/654)) ([3319872](https://github.com/midwayjs/midway/commit/33198727855ff042db7d96723992b49c632aa25d))
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
## [2.3.2](https://github.com/midwayjs/midway/compare/v2.3.1...v2.3.2) (2020-09-28)
|
|
761
|
-
|
|
762
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
## [2.3.1](https://github.com/midwayjs/midway/compare/v2.3.0...v2.3.1) (2020-09-27)
|
|
769
|
-
|
|
770
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
# [2.3.0](https://github.com/midwayjs/midway/compare/v2.2.10...v2.3.0) (2020-09-27)
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
### Features
|
|
780
|
-
|
|
781
|
-
* add rabbitmq ([#647](https://github.com/midwayjs/midway/issues/647)) ([2c03eb4](https://github.com/midwayjs/midway/commit/2c03eb4f5e979d309048a11f17f7579a1d299ba1))
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
## [2.2.10](https://github.com/midwayjs/midway/compare/v2.2.9...v2.2.10) (2020-09-24)
|
|
788
|
-
|
|
789
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
## [2.2.9](https://github.com/midwayjs/midway/compare/v2.2.8...v2.2.9) (2020-09-24)
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
### Bug Fixes
|
|
799
|
-
|
|
800
|
-
* remove sourcemap and src in dist ([#645](https://github.com/midwayjs/midway/issues/645)) ([e561a88](https://github.com/midwayjs/midway/commit/e561a88f4a70af15d4be3d5fe0bd39487677d4ce))
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
## [2.2.8](https://github.com/midwayjs/midway/compare/v2.2.7...v2.2.8) (2020-09-23)
|
|
807
|
-
|
|
808
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
## [2.2.7](https://github.com/midwayjs/midway/compare/v2.2.6...v2.2.7) (2020-09-20)
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
### Bug Fixes
|
|
818
|
-
|
|
819
|
-
* WebMiddleare to IWebMiddleware ([e69cf28](https://github.com/midwayjs/midway/commit/e69cf286fa76ab3144404806c5cbbe8642cdcd61))
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
## [2.2.6](https://github.com/midwayjs/midway/compare/v2.2.5...v2.2.6) (2020-09-18)
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
### Features
|
|
829
|
-
|
|
830
|
-
* add aop ([#640](https://github.com/midwayjs/midway/issues/640)) ([c3e15b3](https://github.com/midwayjs/midway/commit/c3e15b328c184318e364bf40d32fa4df6be2a30a))
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
## [2.2.5](https://github.com/midwayjs/midway/compare/v2.2.4...v2.2.5) (2020-09-17)
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
### Features
|
|
840
|
-
|
|
841
|
-
* use midway cli replace egg-bin ([#639](https://github.com/midwayjs/midway/issues/639)) ([62bbf38](https://github.com/midwayjs/midway/commit/62bbf3852899476600a0b594cb7dc274b05e29ec))
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
## [2.2.4](https://github.com/midwayjs/midway/compare/v2.2.3...v2.2.4) (2020-09-15)
|
|
848
|
-
|
|
849
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
## [2.2.3](https://github.com/midwayjs/midway/compare/v2.2.2...v2.2.3) (2020-09-14)
|
|
856
|
-
|
|
857
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
## [2.2.2](https://github.com/midwayjs/midway/compare/v2.2.1...v2.2.2) (2020-09-14)
|
|
864
|
-
|
|
865
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
## [2.2.1](https://github.com/midwayjs/midway/compare/v2.2.0...v2.2.1) (2020-09-14)
|
|
872
|
-
|
|
873
|
-
**Note:** Version bump only for package @midwayjs/bootstrap
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
# [2.2.0](https://github.com/midwayjs/midway/compare/v2.1.4...v2.2.0) (2020-09-13)
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
### Features
|
|
883
|
-
|
|
884
|
-
* complete 2.x beta ([#630](https://github.com/midwayjs/midway/issues/630)) ([b23cd00](https://github.com/midwayjs/midway/commit/b23cd00fe9cefc9057a2284d38d5419773539206))
|