333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
 
1.23.2 / 2019-04-08
==================
 
**fixes**
  * [[`de95e90`](http://github.com/eggjs/egg-cluster/commit/de95e907637aa6aa3b143e37fcccf457d9f53df8)] - fix: should destroy socket when receives an RST after the three-way handshake. (#89) (ngot <<zhuanghengfei@gmail.com>>)
 
1.23.1 / 2019-03-12
==================
 
**others**
  * [[`45d956f`](http://github.com/eggjs/egg-cluster/commit/45d956f9f29610da9316e5c5e8335c608e985739)] - chore: update all dependencies (#88) (Yiyu He <<dead_horse@qq.com>>)
 
1.23.0 / 2019-03-04
==================
 
**features**
  * [[`8740538`](http://github.com/eggjs/egg-cluster/commit/874053871bd8f28d27c8f82aae1bc3a1b8f4e98d)] - feat: save pid file (#87) (TZ | 天猪 <<atian25@qq.com>>)
 
1.22.2 / 2018-12-04
==================
 
**fixes**
  * [[`99d0c6b`](http://github.com/eggjs/egg-cluster/commit/99d0c6b6927add7536f505ba7e128a3c5c33475d)] - fix: master should not send to parent when egg-script is closed (#84) (killa <<killa123@126.com>>)
 
**others**
  * [[`5920799`](http://github.com/eggjs/egg-cluster/commit/5920799dd7db9ea107723dd4794c2223463c2d8c)] - docs: remove `options.typescript` (#82) (吖猩 <<whxaxes@qq.com>>)
 
1.22.1 / 2018-10-19
===================
 
  * fix: should not start app when agent start fail (#81)
 
1.22.0 / 2018-10-10
==================
 
**features**
  * [[`2b662a5`](http://github.com/eggjs/egg-cluster/commit/2b662a5d5a86cebf1096648afe473a96ce09b498)] - feat: kill all sub processes when exit (#79) (Yiyu He <<dead_horse@qq.com>>)
 
1.21.0 / 2018-09-28
===================
 
  * feat: graceful exit when boot failed (#78)
 
1.20.0 / 2018-09-17
===================
 
  * feat: kill agent after workers are killed (#76)
  * docs: fix typo (#77)
 
1.19.1 / 2018-08-27
==================
 
**fixes**
  * [[`b0c8d19`](http://github.com/eggjs/egg-cluster/commit/b0c8d19e08495c596045eada460590562a4150be)] - fix: fix messenger#sendTo (#74) (killa <<killa123@126.com>>)
 
1.19.0 / 2018-07-26
===================
 
  * feat: support options.require (#73)
  * feat: replace worker file from outside (#72)
 
1.18.0 / 2018-06-12
===================
 
  * feat: support config agent debug port (#70)
 
1.17.0 / 2018-06-06
==================
 
**features**
  * [[`134bd4c`](http://github.com/eggjs/egg-cluster/commit/134bd4c15361018747f6bc6c13748a8e60fc8b62)] - feat: not start check in local (#71) (Axes <<whxaxes@qq.com>>)
 
1.16.1 / 2018-05-16
===================
 
  * fix: use --inspect-port after 8.x (#69)
  * fix: remove useless unittest (#65)
  * fix: master close log print timeout error (#64)
 
1.16.0 / 2018-03-28
===================
 
  * fix: wait 5s when master exit (#60)
  * feat: add typescript support (#61)
 
1.15.0 / 2018-03-05
==================
 
**features**
  * [[`7f0be22`](http://github.com/eggjs/egg-cluster/commit/7f0be221808a29fd049fac4c0c53da8d48ce6e6e)] - feat: support beforeClose on other env (#59) (Haoliang Gao <<sakura9515@gmail.com>>)
 
**others**
  * [[`e0deece`](http://github.com/eggjs/egg-cluster/commit/e0deece60a04bdeeb9841fbb751d49d94a5b0828)] - test: fix unstable test (#58) (Haoliang Gao <<sakura9515@gmail.com>>)
 
1.14.0 / 2018-02-05
==================
 
**features**
  * [[`102a0ad`](http://github.com/eggjs/egg-cluster/commit/102a0adc8577ada8ff8383ba935f7973f215999f)] - feat: https options (#57) (TZ | 天猪 <<atian25@qq.com>>)
 
1.13.1 / 2018-01-05
==================
 
**others**
  * [[`53ed359`](http://github.com/eggjs/egg-cluster/commit/53ed359e32b395105d859de7ea4bc564fe3e9af1)] - chore: log runtime versions (#56) (TZ | 天猪 <<atian25@qq.com>>)
 
1.13.0 / 2017-12-05
==================
 
**features**
  * [[`366d9bb`](http://github.com/eggjs/egg-cluster/commit/366d9bbb40db2b920258210f51b0a15fe224974c)] - feat: add worker manager and check worker/agent status (#54) (Yiyu He <<dead_horse@qq.com>>)
 
1.12.6 / 2017-11-21
==================
 
**fixes**
  * [[`ccdbf9f`](http://github.com/eggjs/egg-cluster/commit/ccdbf9f34a9eb38333a7a12ab0ec22e3b1bea344)] - fix: should send current worker pids when agent restart (#53) (Haoliang Gao <<sakura9515@gmail.com>>)
 
1.12.5 / 2017-11-16
==================
 
**fixes**
  * [[`c683b67`](http://github.com/eggjs/egg-cluster/commit/c683b678c2474fca1e9dad8101525c9661177486)] - fix: crash when socket destroyed during connecting (#50) (Hengfei Zhuang <<zhuanghengfei@gmail.com>>)
 
**others**
  * [[`242835e`](http://github.com/eggjs/egg-cluster/commit/242835e4948b2b2f76352683aeee4bb2bd84186c)] - test: `don't fork` has been printed to stdout (#52) (Haoliang Gao <<sakura9515@gmail.com>>)
 
1.12.4 / 2017-10-29
==================
 
**others**
  * [[`b768018`](http://github.com/eggjs/egg-cluster/commit/b768018b77e1c6f80e8cfd9e9c38e63ec44a473d)] - refactor: use utility to read json (#49) (Haoliang Gao <<sakura9515@gmail.com>>)
 
1.12.3 / 2017-10-12
==================
 
**fixes**
  * [[`4b80f33`](http://github.com/eggjs/egg-cluster/commit/4b80f33d272b374e005f3dd2f9dc39865f0d3688)] - fix: master should exit when EADDRINUSE error (#48) (Haoliang Gao <<sakura9515@gmail.com>>)
 
1.12.2 / 2017-09-28
===================
 
**fixes**
  * [[`0c886a4`](https://github.com/eggjs/egg-cluster/commit/0c886a43ecac25e79de910cb04778efc77aab9a4)] - fix: should disable worker refork (#46) (fengmk2 <<fengmk2@gmail.com>>)
 
1.12.1 / 2017-09-22
==================
 
**fixes**
  * [[`30d120d`](http://github.com/eggjs/egg-cluster/commit/30d120dd292d79a25113c951664d18480dde2a00)] - fix: should send egg-ready when app/agent restarted after launched (#45) (Haoliang Gao <<sakura9515@gmail.com>>)
 
1.12.0 / 2017-09-14
==================
 
**features**
  * [[`56bff0d`](http://github.com/eggjs/egg-cluster/commit/56bff0dda04074cbd7259b2652954832647a9a61)] - feat: agent debugPort 5856 -> 5800 (TZ <<atian25@qq.com>>)
 
1.11.2 / 2017-09-13
==================
 
**features**
  * [[`61b5b66`](http://github.com/eggjs/egg-cluster/commit/61b5b660146b5ef3795f7f2fe4d61195ca6d93c1)] - feat: simplify debug error when kill by vscode (TZ <<atian25@qq.com>>)
  * [[`308d9fd`](http://github.com/eggjs/egg-cluster/commit/308d9fde230122dd1d85d9563dd64c5103f8a7df)] - feat: debug & egg-ready message (TZ <<atian25@qq.com>>)
  * [[`a4fa5f5`](http://github.com/eggjs/egg-cluster/commit/a4fa5f5171226354d02760edbfc20db8eca3f9e1)] - feat: delete default port options that has defined in egg (#40) (Haoliang Gao <<sakura9515@gmail.com>>)
  * [[`09ccc5a`](http://github.com/eggjs/egg-cluster/commit/09ccc5ab62bbac2a214d80589dcc1695adfb6b90)] - feat: revert to 1.9.2 (TZ <<atian25@qq.com>>)
 
**others**
  * [[`ab76a19`](http://github.com/eggjs/egg-cluster/commit/ab76a19a8275906df757d2a9e585ccd89c62f6a5)] - test: improve cov (TZ <<atian25@qq.com>>)
 
1.11.1 / 2017-09-11
==================
 
**fixes**
  * [[`8d46f20`](http://github.com/eggjs/egg-cluster/commit/8d46f20c04967647a1991736d2db2db0202790a2)] - fix: only set options.debugProtocol at debug mode (#42) (TZ | 天猪 <<atian25@qq.com>>)
 
1.11.0 / 2017-09-08
==================
 
**features**
  * [[`49bd949`](http://github.com/eggjs/egg-cluster/commit/49bd949a5271f0db86de6c4111fefbd6613017e1)] - feat: delete default port options that has defined in egg (#40) (Haoliang Gao <<sakura9515@gmail.com>>)
 
**others**
  * [[`0561ce7`](http://github.com/eggjs/egg-cluster/commit/0561ce7bd69151dd66b1e24352f4f0b632591a39)] - refactor: support debug options (#41) (TZ | 天猪 <<atian25@qq.com>>)
 * [new tag]         1.10.0     -> 1.10.0
 
 
1.10.0 / 2017-09-07
==================
 
**others**
  * [[`0561ce7`](http://github.com/eggjs/egg-cluster/commit/0561ce7bd69151dd66b1e24352f4f0b632591a39)] - refactor: support debug options (#41) (TZ | 天猪 <<atian25@qq.com>>)
 
1.9.2 / 2017-08-30
==================
 
**fixes**
  * [[`7277b00`](http://github.com/eggjs/egg-cluster/commit/7277b00516905f0e26c78c063b7f84044c069b6d)] - fix: debug status detect should support inspect (#39) (TZ | 天猪 <<atian25@qq.com>>)
 
1.9.1 / 2017-08-28
==================
 
  * fix: sleep 100ms to make sure SIGTERM send to the child processes (#37)
  * test: fix test that should mock the default port (#38)
 
1.9.0 / 2017-07-27
==================
 
  * feat: add listen config (#34)
  * refactor: disable console (#36)
  * deps: upgrade eslint (#35)
  * refactor: set agent worker and app worker console level (#33)
  * deps: upgrade dependencies (#32)
 
1.8.0 / 2017-06-12
==================
 
  * feat: use graceful-process to refactor app and agent worker (#30)
  * test: sleep 20s to wait for agent process start (#29)
 
1.7.0 / 2017-06-09
==================
 
  * feat: reduce info logs on local env (#28)
 
1.6.4 / 2017-05-28
==================
 
  * fix: agent should exit on disconnect event whatever master kill with SIGKILL (#27)
 
1.6.3 / 2017-05-22
==================
 
  * fix: fix typo (#24)
  * fix: start error should log what happend (#26)
  * fix: fix deperated api (#25)
  * deps: upgrade dependencies (#22)
 
1.6.2 / 2017-03-22
==================
 
  * fix: should print logger when agent start error (#20)
 
1.6.1 / 2017-03-03
==================
 
  * fix: sticky logic error (#19)
  * feat: use egg-utils (#18)
 
1.6.0 / 2017-03-01
==================
 
  * feat: add options framework (#17)
 
1.5.0 / 2017-02-21
==================
 
  * feat: exit when error emitted during start (#16)
 
1.4.0 / 2017-02-13
==================
 
  * feat:add sticky cluster mode (#14)
  * test: add test for agent debug port (#13)
 
1.3.0 / 2017-01-20
==================
 
  * feat: get clusterPort (#12)
 
1.2.0 / 2016-12-26
==================
 
  * feat: npm publish files limit (#10)
 
1.1.0 / 2016-12-20
==================
 
  * deps: upgrade dependencies
  * refactor: options should be passed through
  * feat: print env when start (#8)
 
1.0.0 / 2016-10-12
==================
 
  * feat: exit if worker start timeout (#6)
 
0.2.0 / 2016-10-12
==================
 
  * feat: when debug mode, master should exit when worker die (#7)
  * test: fix testcase (#5)
 
0.1.0 / 2016-08-16
==================
 
  * feat: [BREAKING_CHANGE] master won't load config  (#4)
  * test: add test cases (#3)
 
0.0.4 / 2016-07-16
==================
 
  * fix: remove antx loader (#2)
 
0.0.3 / 2016-07-16
==================
 
  * fix: loader version (#1)
  * fix: logger
 
0.0.2 / 2016-07-15
==================
 
  * init code