Skip to content

Commit 73c44d2

Browse files
authored
fix: avoid serialize-json encoder error (#63)
1 parent f211299 commit 73c44d2

20 files changed

+282
-291
lines changed

.github/workflows/nodejs.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,10 @@ on:
77
pull_request:
88
branches: [ master ]
99

10-
schedule:
11-
- cron: '0 2 * * *'
12-
13-
workflow_dispatch: {}
14-
1510
jobs:
1611
Job:
1712
name: Node.js
18-
uses: artusjs/github-actions/.github/workflows/node-test.yml@v1
13+
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
1914
with:
2015
os: 'ubuntu-latest, macos-latest, windows-latest'
21-
version: '14, 16, 18'
16+
version: '14, 16, 18, 20'

.github/workflows/release.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
name: Release
22

33
on:
4-
# 合并后自动发布
54
push:
65
branches: [ master ]
76

8-
# 手动发布
9-
workflow_dispatch: {}
10-
117
jobs:
128
release:
139
name: Node.js
14-
uses: artusjs/github-actions/.github/workflows/node-release.yml@v1
10+
uses: node-modules/github-actions/.github/workflows/node-release.yml@master
1511
secrets:
1612
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1713
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}

AUTHORS

-17
This file was deleted.

CHANGELOG.md

+205
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,208 @@
2020
### Bug Fixes
2121

2222
* Auto release on action ([#59](https://github.com/node-modules/cluster-client/issues/59)) ([eb1655e](https://github.com/node-modules/cluster-client/commit/eb1655e196aa196413e3a169f9ff636cbf83d2c9))
23+
24+
---
25+
26+
27+
3.3.1 / 2022-11-23
28+
==================
29+
30+
**fixes**
31+
* [[`9d9b965`](http://github.com/node-modules/cluster-client/commit/9d9b965a50e148bff78c8763bcd4dea7e2998e57)] - fix: should not emit timeout when has cache (#58) (killa <<[email protected]>>)
32+
33+
3.3.0 / 2022-11-14
34+
==================
35+
36+
**features**
37+
* [[`8ed198d`](http://github.com/node-modules/cluster-client/commit/8ed198db8d64eb76e018699093faed7c88f8c412)] - feat: add options isCheckHeartbeat of whether check heartbeat (#57) (sinkhaha <<[email protected]>>)
38+
39+
3.2.0 / 2022-10-18
40+
==================
41+
42+
**features**
43+
* [[`c9f389d`](http://github.com/node-modules/cluster-client/commit/c9f389d277abf75a5b3274626b326b6642b208f1)] - feat: impl subscribeTimeout (#56) (killa <<[email protected]>>)
44+
45+
3.1.1 / 2022-06-22
46+
==================
47+
48+
**fixes**
49+
* [[`f4cc11b`](http://github.com/node-modules/cluster-client/commit/f4cc11bb539f58cc4926f1ce10db6b4ae1e7769c)] - fix: subscribe is not working on single thread mode (#51) (钟典 Desmond <<[email protected]>>)
50+
51+
3.1.0 / 2021-11-21
52+
==================
53+
54+
**features**
55+
* [[`a21dde4`](http://github.com/node-modules/cluster-client/commit/a21dde4e7e20b232fe62c44266a0391b4eb4e46a)] - feat: connectTimeout support env, default 10s (#55) (mansonchor.github.com <<[email protected]>>)
56+
57+
3.0.1 / 2019-03-01
58+
==================
59+
60+
**fixes**
61+
* [[`6f9bf8e`](http://github.com/node-modules/cluster-client/commit/6f9bf8e300386f28c2a208aa8c394d441045c03c)] - fix: single mode bugs (#49) (zōng yǔ <<[email protected]>>)
62+
63+
3.0.0 / 2019-02-26
64+
==================
65+
66+
**features**
67+
* [[`7f3765d`](http://github.com/node-modules/cluster-client/commit/7f3765ded8877758c9a0bf0c1b23ab4e2c932c21)] - feat: support cpu single mode (#48) (zōng yǔ <<[email protected]>>)
68+
69+
2.1.2 / 2018-11-23
70+
==================
71+
72+
**others**
73+
* [[`4c5093b`](http://github.com/node-modules/cluster-client/commit/4c5093b878ee8018524b1b0a514865e647a8f38c)] - chore: upgrade deps (#47) (zōng yǔ <<[email protected]>>)
74+
75+
2.1.1 / 2018-06-12
76+
==================
77+
78+
**fixes**
79+
* [[`9fe3849`](http://github.com/node-modules/cluster-client/commit/9fe38494d41afca76491c78cf54b2717508f94b9)] - fix: follower should not retry register channel if socket already disconnected (#43) (zōng yǔ <<[email protected]>>)
80+
81+
2.1.0 / 2018-03-26
82+
==================
83+
84+
**features**
85+
* [[`dce3fee`](http://github.com/node-modules/cluster-client/commit/dce3fee89a5c3d617b09e129f3ee68214fa90ccd)] - feat: response with whole error object instead of only stack, message (#38) (killa <<[email protected]>>)
86+
87+
2.0.0 / 2018-03-06
88+
==================
89+
90+
**others**
91+
* [[`2574eae`](http://github.com/node-modules/cluster-client/commit/2574eae6fdbe603b74a3c27a57e3b545aec54314)] - [BREAKING] feat: migrating from generators to async/await (#36) (zōng yǔ <<[email protected]>>)
92+
* [[`e32f0ef`](http://github.com/node-modules/cluster-client/commit/e32f0eff5fe5dfb4187386d928b2fa8cdc65cfa5)] - chore: release 1.7.1 (xiaochen.gaoxc <<[email protected]>>),
93+
94+
1.7.1 / 2017-09-21
95+
==================
96+
97+
* fix: error occured while calling invokeOneway method if ready failed (#33)
98+
99+
1.7.0 / 2017-08-18
100+
==================
101+
102+
* feat: support custom port by env NODE_CLUSTER_CLIENT_PORT (#31)
103+
104+
1.6.8 / 2017-08-18
105+
==================
106+
107+
* fix: make sure leader ready before follower in egg (#32)
108+
109+
1.6.7 / 2017-07-31
110+
==================
111+
112+
* fix: only close server when server exists (#30)
113+
114+
1.6.6 / 2017-07-28
115+
==================
116+
117+
* fix: set exclusive to true on listen (#29)
118+
119+
1.6.5 / 2017-06-24
120+
==================
121+
122+
* fix: ignore error after close & register channel issue (#28)
123+
124+
1.6.4 / 2017-05-08
125+
==================
126+
127+
* chore: remove unnecessary log, using debug instead (#27)
128+
129+
1.6.3 / 2017-04-25
130+
==================
131+
132+
* fix: make sure follower test socket end (#25)
133+
134+
1.6.2 / 2017-04-25
135+
==================
136+
137+
* fix: ignore ECONNRESET error (#24)
138+
139+
1.6.1 / 2017-04-20
140+
==================
141+
142+
* fix: invoke before client ready issue (#23)
143+
* fix: fix symbol property error (#22)
144+
145+
1.6.0 / 2017-04-18
146+
==================
147+
148+
* feat: make clustClient method writable to support mock or spy (#21)
149+
150+
1.5.4 / 2017-04-12
151+
==================
152+
153+
* fix: avoid event memory leak warning (#20)
154+
155+
1.5.3 / 2017-03-17
156+
==================
157+
158+
* fix: make sure subscribe listener triggered asynchronized (#19)
159+
160+
1.5.2 / 2017-03-14
161+
==================
162+
163+
* fix: event delegate & leader ready bug (#18)
164+
165+
1.5.1 / 2017-03-13
166+
==================
167+
168+
* fix: don't auto ready when initMethod exists (#17)
169+
170+
1.5.0 / 2017-03-10
171+
==================
172+
173+
* feat: add APIClientBase to help you create your api client (#16)
174+
175+
1.4.0 / 2017-03-08
176+
==================
177+
178+
* feat: support unSubscribe, invokeOneway & close self (#14)
179+
180+
1.3.2 / 2017-03-08
181+
==================
182+
183+
* fix: fix leader subscribe issue & heartbeat timeout issue (#15)
184+
185+
1.3.1 / 2017-03-07
186+
==================
187+
188+
* chore: better notice (#13)
189+
* test: fix failed case (#12)
190+
191+
1.3.0 / 2017-02-22
192+
==================
193+
194+
* fix: block all remote connection (#11)
195+
196+
1.2.0 / 2017-02-20
197+
==================
198+
199+
* feat: use serialize-json to support encode/decode buffer, date, undef… (#10)
200+
201+
1.1.0 / 2017-02-07
202+
==================
203+
204+
* feat: close (#7)
205+
* fix: no more need harmony-reflect on node >= 6 (#8)
206+
* refactor: improve utils.delegateEvents() (#6)
207+
208+
1.0.3 / 2017-02-04
209+
==================
210+
211+
* fix: adjust serialize algorithm for invoke arguments (#3)
212+
213+
1.0.2 / 2017-01-25
214+
==================
215+
216+
* fix: log error if error exist (#5)
217+
* docs: fix typo subsribe -> subscribe (#4)
218+
219+
1.0.1 / 2016-12-26
220+
==================
221+
222+
* fix: fix shared memory issue (#2)
223+
224+
1.0.0 / 2016-12-22
225+
==================
226+
227+
* feat: implement cluster-client

0 commit comments

Comments
 (0)