@midwayjs/typegoose 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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../src/configuration.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAQ6B;AAC7B,+CAA+C;AAC/C,2CAA+C;AAC/C,oDAAwD;AACxD,kCAAkC;AAClC,yCAA4E;AAM5E,IAAa,sBAAsB,GAAnC,MAAa,sBAAsB;IAAnC;QAIE,eAAU,GAAG,KAAK,CAAC;QAQnB,aAAQ,GAAG,IAAI,OAAO,EAAE,CAAC;IAkD3B,CAAC;IA/CC,KAAK,CAAC,IAAI;QACR,IAAI,CAAC,gBAAgB,CAAC,uBAAuB,CAC3C,4BAAgB,EAChB,CACE,YAAY,EACZ,IAGC,EACD,EAAE;YACF,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC1C,CAAC,CACF,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,SAAS;;QACrB,MAAM,iBAAiB,GAAG,MAAM,SAAS,CAAC,QAAQ,CAChD,QAAQ,CAAC,gCAAgC,CAC1C,CAAC;QACF,MAAM,MAAM,GAAG,IAAA,sBAAU,EAAC,4BAAgB,CAAC,CAAC;QAC5C,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;YAC1B,MAAM,QAAQ,GAAG,MAAA,IAAA,4BAAgB,EAAC,4BAAgB,EAAE,KAAK,CAAC,mCAAI,EAAE,CAAC;YACjE,MAAM,cAAc,GAAG,MAAA,QAAQ,CAAC,cAAc,mCAAI,SAAS,CAAC;YAC5D,MAAM,IAAI,GAAG,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;YACnD,IAAI,IAAI,EAAE;gBACR,MAAM,KAAK,GAAG,IAAA,4BAAgB,EAAC,KAAK,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC,CAAC;gBACpE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;aACjC;iBAAM;gBACL,MAAM,IAAI,KAAK,CAAC,mBAAmB,QAAQ,CAAC,cAAc,YAAY,CAAC,CAAC;aACzE;SACF;QAED,QAAQ;QACR,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE;YACxD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;YACvB,MAAM,KAAK,CAAC,OAAO,CACjB,IAAI,CAAC,iBAAiB,CAAC,GAAG,EAC1B,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAC/B,CAAC;SACH;IACH,CAAC;IAED,KAAK,CAAC,MAAM;QACV,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;SAC1B;IACH,CAAC;CACF,CAAA;AA5DC;IADC,IAAA,kBAAM,EAAC,UAAU,CAAC;;iEACD;AAKlB;IADC,IAAA,eAAG,GAAE;;mDACkB;AAGxB;IADC,IAAA,kBAAM,GAAE;8BACS,6BAAsB;gEAAC;AAKzC;IADC,IAAA,gBAAI,GAAE;;;;kDAcN;AA5BU,sBAAsB;IAJlC,IAAA,yBAAa,EAAC;QACb,SAAS,EAAE,WAAW;QACtB,OAAO,EAAE,CAAC,QAAQ,CAAC;KACpB,CAAC;GACW,sBAAsB,CA8DlC;AA9DY,wDAAsB","sourcesContent":["import {\n Config,\n Configuration,\n getClassMetadata,\n Init,\n Inject,\n listModule,\n App,\n} from '@midwayjs/decorator';\nimport * as mongoose from '@midwayjs/mongoose';\nimport { ENTITY_MODEL_KEY } from './interface';\nimport { getModelForClass } from '@typegoose/typegoose';\nimport * as mongo from 'mongoose';\nimport { IMidwayApplication, MidwayDecoratorService } from '@midwayjs/core';\n\n@Configuration({\n namespace: 'typegoose',\n imports: [mongoose],\n})\nexport class TypegooseConfiguration {\n @Config('mongoose')\n oldMongooseConfig;\n\n legacyMode = false;\n\n @App()\n app: IMidwayApplication;\n\n @Inject()\n decoratorService: MidwayDecoratorService;\n\n modelMap = new WeakMap();\n\n @Init()\n async init() {\n this.decoratorService.registerPropertyHandler(\n ENTITY_MODEL_KEY,\n (\n propertyName,\n meta: {\n modelKey: any;\n connectionName: string;\n }\n ) => {\n return this.modelMap.get(meta.modelKey);\n }\n );\n }\n\n async onReady(container) {\n const connectionFactory = await container.getAsync(\n mongoose.MongooseConnectionServiceFactory\n );\n const Models = listModule(ENTITY_MODEL_KEY);\n for (const Model of Models) {\n const metadata = getClassMetadata(ENTITY_MODEL_KEY, Model) ?? {};\n const connectionName = metadata.connectionName ?? 'default';\n const conn = connectionFactory.get(connectionName);\n if (conn) {\n const model = getModelForClass(Model, { existingConnection: conn });\n this.modelMap.set(Model, model);\n } else {\n throw new Error(`connection name ${metadata.connectionName} not found`);\n }\n }\n\n // 兼容老代码\n if (Models.length === 0 && this.oldMongooseConfig['uri']) {\n this.legacyMode = true;\n await mongo.connect(\n this.oldMongooseConfig.uri,\n this.oldMongooseConfig.options\n );\n }\n }\n\n async onStop() {\n if (this.legacyMode) {\n await mongo.disconnect();\n }\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entityModel.js","sourceRoot":"","sources":["../../src/decorator/entityModel.ts"],"names":[],"mappings":";;;AAAA,mDAAoE;AACpE,4CAA+D;AAE/D,SAAgB,WAAW,CAAC,OAAuB;IACjD,OAAO,CAAC,MAAW,EAAE,EAAE;QACrB,IAAA,sBAAU,EAAC,4BAAgB,EAAE,MAAM,CAAC,CAAC;QACrC,IAAA,6BAAiB,EAAC,4BAAgB,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACvD,CAAC,CAAC;AACJ,CAAC;AALD,kCAKC","sourcesContent":["import { saveClassMetadata, saveModule } from '@midwayjs/decorator';\nimport { ENTITY_MODEL_KEY, EntityOptions } from '../interface';\n\nexport function EntityModel(options?: EntityOptions): ClassDecorator {\n return (target: any) => {\n saveModule(ENTITY_MODEL_KEY, target);\n saveClassMetadata(ENTITY_MODEL_KEY, options, target);\n };\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"injectEntityModel.js","sourceRoot":"","sources":["../../src/decorator/injectEntityModel.ts"],"names":[],"mappings":";;;AAAA,mDAAoE;AACpE,4CAAgD;AAEhD,SAAgB,iBAAiB,CAAC,QAAa;IAC7C,OAAO,IAAA,yCAA6B,EAAC,4BAAgB,EAAE;QACrD,QAAQ;KACT,CAAC,CAAC;AACL,CAAC;AAJD,8CAIC","sourcesContent":["import { createCustomPropertyDecorator } from '@midwayjs/decorator';\nimport { ENTITY_MODEL_KEY } from '../interface';\n\nexport function InjectEntityModel(modelKey: any) {\n return createCustomPropertyDecorator(ENTITY_MODEL_KEY, {\n modelKey,\n });\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,iDAA0E;AAAjE,8GAAA,sBAAsB,OAAiB;AAChD,0DAAwC;AACxC,gEAA8C","sourcesContent":["export { TypegooseConfiguration as Configuration } from './configuration';\nexport * from './decorator/entityModel';\nexport * from './decorator/injectEntityModel';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface.js","sourceRoot":"","sources":["../src/interface.ts"],"names":[],"mappings":";;;AAIa,QAAA,gBAAgB,GAAI,iBAAiB,CAAC","sourcesContent":["export interface EntityOptions {\n connectionName: string;\n}\n\nexport const ENTITY_MODEL_KEY = 'TYPEGOOSE:MODEL';\n"]}
|
package/package.json
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/typegoose",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Midway Component for typegoose",
|
|
5
5
|
"main": "dist/index.js",
|
|
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
|
"ci": "npm run test"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [],
|
|
14
14
|
"author": "",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist/**/*.js",
|
|
17
|
-
"dist/**/*.d.ts"
|
|
17
|
+
"dist/**/*.d.ts",
|
|
18
|
+
"dist/**/*.js.map"
|
|
18
19
|
],
|
|
19
20
|
"engines": {
|
|
20
21
|
"node": ">=12"
|
|
21
22
|
},
|
|
22
23
|
"license": "MIT",
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"@midwayjs/mongoose": "^3.0.
|
|
25
|
+
"@midwayjs/mongoose": "^3.0.2"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
|
-
"@midwayjs/core": "^3.0.
|
|
28
|
-
"@midwayjs/decorator": "^3.0.
|
|
29
|
-
"@midwayjs/mock": "^3.0.
|
|
30
|
-
"@typegoose/typegoose": "
|
|
31
|
-
"mongoose": "
|
|
28
|
+
"@midwayjs/core": "^3.0.2",
|
|
29
|
+
"@midwayjs/decorator": "^3.0.2",
|
|
30
|
+
"@midwayjs/mock": "^3.0.2",
|
|
31
|
+
"@typegoose/typegoose": "9.5.0",
|
|
32
|
+
"mongoose": "6.1.7"
|
|
32
33
|
},
|
|
33
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "ca77247d229978a736e79bb208579c014ed226fc"
|
|
34
35
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,464 +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
|
-
* mongoose remote config bug ([#1399](https://github.com/midwayjs/midway/issues/1399)) ([e37602d](https://github.com/midwayjs/midway/commit/e37602d54ae503aeee48afa320709aae3d18b329))
|
|
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/typegoose
|
|
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/typegoose
|
|
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/typegoose
|
|
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
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
# [3.0.0-beta.3](https://github.com/midwayjs/midway/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2021-11-18)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
### Features
|
|
53
|
-
|
|
54
|
-
* add component and framework config definition ([#1367](https://github.com/midwayjs/midway/issues/1367)) ([b2fe615](https://github.com/midwayjs/midway/commit/b2fe6157f99659471ff1333eca0b86bb889f61a3))
|
|
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/typegoose
|
|
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
|
-
* remove connection key ([#1337](https://github.com/midwayjs/midway/issues/1337)) ([6ac219e](https://github.com/midwayjs/midway/commit/6ac219e786792b32d19a364bffbe9e6318c2f9e1))
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
### Features
|
|
77
|
-
|
|
78
|
-
* add mongoose component and support multi-instance for typegoose ([#1334](https://github.com/midwayjs/midway/issues/1334)) ([ca0b73f](https://github.com/midwayjs/midway/commit/ca0b73fec77e8871e4001b4c9d3e45397ce32450))
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
## [2.12.3](https://github.com/midwayjs/midway/compare/v2.12.2...v2.12.3) (2021-08-09)
|
|
85
|
-
|
|
86
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
## [2.12.1](https://github.com/midwayjs/midway/compare/v2.12.0...v2.12.1) (2021-08-01)
|
|
93
|
-
|
|
94
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
# [2.12.0](https://github.com/midwayjs/midway/compare/v2.11.7...v2.12.0) (2021-07-30)
|
|
101
|
-
|
|
102
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
## [2.11.6](https://github.com/midwayjs/midway/compare/v2.11.5...v2.11.6) (2021-07-16)
|
|
109
|
-
|
|
110
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
## [2.11.5](https://github.com/midwayjs/midway/compare/v2.11.4...v2.11.5) (2021-07-15)
|
|
117
|
-
|
|
118
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
## [2.11.4](https://github.com/midwayjs/midway/compare/v2.11.3...v2.11.4) (2021-07-06)
|
|
125
|
-
|
|
126
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
## [2.11.3](https://github.com/midwayjs/midway/compare/v2.11.2...v2.11.3) (2021-07-02)
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
### Bug Fixes
|
|
136
|
-
|
|
137
|
-
* hide real error when user code throw error ([#1128](https://github.com/midwayjs/midway/issues/1128)) ([e728b0b](https://github.com/midwayjs/midway/commit/e728b0b80956c09cfb856ffe082f44fa29cfeb82))
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
## [2.11.2](https://github.com/midwayjs/midway/compare/v2.11.1...v2.11.2) (2021-06-28)
|
|
144
|
-
|
|
145
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
## [2.11.1](https://github.com/midwayjs/midway/compare/v2.11.0...v2.11.1) (2021-06-19)
|
|
152
|
-
|
|
153
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
# [2.11.0](https://github.com/midwayjs/midway/compare/v2.10.19...v2.11.0) (2021-06-10)
|
|
160
|
-
|
|
161
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
## [2.10.18](https://github.com/midwayjs/midway/compare/v2.10.17...v2.10.18) (2021-05-26)
|
|
168
|
-
|
|
169
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
## [2.10.14](https://github.com/midwayjs/midway/compare/v2.10.13...v2.10.14) (2021-05-11)
|
|
176
|
-
|
|
177
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
## [2.10.13](https://github.com/midwayjs/midway/compare/v2.10.12...v2.10.13) (2021-05-08)
|
|
184
|
-
|
|
185
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
## [2.10.12](https://github.com/midwayjs/midway/compare/v2.10.11...v2.10.12) (2021-05-07)
|
|
192
|
-
|
|
193
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
## [2.10.11](https://github.com/midwayjs/midway/compare/v2.10.10...v2.10.11) (2021-04-29)
|
|
200
|
-
|
|
201
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
## [2.10.10](https://github.com/midwayjs/midway/compare/v2.10.9...v2.10.10) (2021-04-24)
|
|
208
|
-
|
|
209
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
## [2.10.9](https://github.com/midwayjs/midway/compare/v2.10.8...v2.10.9) (2021-04-21)
|
|
216
|
-
|
|
217
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
## [2.10.8](https://github.com/midwayjs/midway/compare/v2.10.7...v2.10.8) (2021-04-21)
|
|
224
|
-
|
|
225
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
## [2.10.7](https://github.com/midwayjs/midway/compare/v2.10.6...v2.10.7) (2021-04-17)
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
### Bug Fixes
|
|
235
|
-
|
|
236
|
-
* add event name args ([#986](https://github.com/midwayjs/midway/issues/986)) ([bfd8232](https://github.com/midwayjs/midway/commit/bfd82320aee8600d8fa30bd2821a0e68c80fd755))
|
|
237
|
-
* format ([#997](https://github.com/midwayjs/midway/issues/997)) ([456cc14](https://github.com/midwayjs/midway/commit/456cc14513bdb000d1aa3130e9719caf7a8a803f))
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
### Features
|
|
241
|
-
|
|
242
|
-
* add midway task component ([#995](https://github.com/midwayjs/midway/issues/995)) ([befb81d](https://github.com/midwayjs/midway/commit/befb81dee90f01a20bba2c1835e8685cf85a76e7))
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
## [2.10.6](https://github.com/midwayjs/midway/compare/v2.10.5...v2.10.6) (2021-04-14)
|
|
249
|
-
|
|
250
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
## [2.10.5](https://github.com/midwayjs/midway/compare/v2.10.4...v2.10.5) (2021-04-13)
|
|
257
|
-
|
|
258
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
## [2.10.4](https://github.com/midwayjs/midway/compare/v2.10.3...v2.10.4) (2021-04-10)
|
|
265
|
-
|
|
266
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
## [2.10.3](https://github.com/midwayjs/midway/compare/v2.10.2...v2.10.3) (2021-04-07)
|
|
273
|
-
|
|
274
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
## [2.10.2](https://github.com/midwayjs/midway/compare/v2.10.1...v2.10.2) (2021-04-05)
|
|
281
|
-
|
|
282
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
# [2.10.0](https://github.com/midwayjs/midway/compare/v2.9.3...v2.10.0) (2021-04-02)
|
|
289
|
-
|
|
290
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
## [2.9.3](https://github.com/midwayjs/midway/compare/v2.9.2...v2.9.3) (2021-03-30)
|
|
297
|
-
|
|
298
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
## [2.9.2](https://github.com/midwayjs/midway/compare/v2.9.1...v2.9.2) (2021-03-27)
|
|
305
|
-
|
|
306
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
## [2.9.1](https://github.com/midwayjs/midway/compare/v2.9.0...v2.9.1) (2021-03-24)
|
|
313
|
-
|
|
314
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
# [2.9.0](https://github.com/midwayjs/midway/compare/v2.8.13...v2.9.0) (2021-03-22)
|
|
321
|
-
|
|
322
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
## [2.8.13](https://github.com/midwayjs/midway/compare/v2.8.12...v2.8.13) (2021-03-17)
|
|
329
|
-
|
|
330
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
## [2.8.11](https://github.com/midwayjs/midway/compare/v2.8.10...v2.8.11) (2021-03-12)
|
|
337
|
-
|
|
338
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
## [2.8.9](https://github.com/midwayjs/midway/compare/v2.8.8...v2.8.9) (2021-03-08)
|
|
345
|
-
|
|
346
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
## [2.8.8](https://github.com/midwayjs/midway/compare/v2.8.7...v2.8.8) (2021-03-06)
|
|
353
|
-
|
|
354
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
## [2.8.7](https://github.com/midwayjs/midway/compare/v2.8.6...v2.8.7) (2021-03-04)
|
|
361
|
-
|
|
362
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
## [2.8.6](https://github.com/midwayjs/midway/compare/v2.8.5...v2.8.6) (2021-03-03)
|
|
369
|
-
|
|
370
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
## [2.8.5](https://github.com/midwayjs/midway/compare/v2.8.4...v2.8.5) (2021-03-03)
|
|
377
|
-
|
|
378
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
## [2.8.4](https://github.com/midwayjs/midway/compare/v2.8.3...v2.8.4) (2021-03-03)
|
|
385
|
-
|
|
386
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
## [2.8.3](https://github.com/midwayjs/midway/compare/v2.8.2...v2.8.3) (2021-03-01)
|
|
393
|
-
|
|
394
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
## [2.8.2](https://github.com/midwayjs/midway/compare/v2.8.0...v2.8.2) (2021-02-27)
|
|
401
|
-
|
|
402
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
# [2.8.0](https://github.com/midwayjs/midway/compare/v2.7.7...v2.8.0) (2021-02-24)
|
|
409
|
-
|
|
410
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
## [2.7.7](https://github.com/midwayjs/midway/compare/v2.7.6...v2.7.7) (2021-02-20)
|
|
417
|
-
|
|
418
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
## [2.7.5](https://github.com/midwayjs/midway/compare/v2.7.4...v2.7.5) (2021-02-08)
|
|
425
|
-
|
|
426
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
## [2.7.3](https://github.com/midwayjs/midway/compare/v2.7.2...v2.7.3) (2021-02-02)
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
### Bug Fixes
|
|
436
|
-
|
|
437
|
-
* egg socket io missing session middleware ([#835](https://github.com/midwayjs/midway/issues/835)) ([6e605a1](https://github.com/midwayjs/midway/commit/6e605a15b64bf51182b393b68d66d0867c571b94))
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
## [2.7.2](https://github.com/midwayjs/midway/compare/v2.7.1...v2.7.2) (2021-01-28)
|
|
444
|
-
|
|
445
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
## [2.7.1](https://github.com/midwayjs/midway/compare/v2.7.0...v2.7.1) (2021-01-28)
|
|
452
|
-
|
|
453
|
-
**Note:** Version bump only for package @midwayjs/typegoose
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
# [2.7.0](https://github.com/midwayjs/midway/compare/v2.6.13...v2.7.0) (2021-01-27)
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
### Features
|
|
463
|
-
|
|
464
|
-
* support entry file in bootstrap ([#819](https://github.com/midwayjs/midway/issues/819)) ([49a5ff6](https://github.com/midwayjs/midway/commit/49a5ff662134bdd42dc3a80738b44a05138f8f7c))
|