@clairejs/client 3.0.13 → 3.0.16

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 CHANGED
@@ -1,396 +1,404 @@
1
- ## Change Log
2
-
3
- #### 3.0.13:
4
-
5
- - fix mergeInstance
6
-
7
- #### 3.0.12:
8
-
9
- - add default storage key for token manager
10
-
11
- #### 3.0.11:
12
-
13
- - fix AbstractHttpClient refresh token
14
-
15
- #### 3.0.10:
16
-
17
- - fix export
18
- - fix CrudApi
19
-
20
- #### 3.0.7:
21
-
22
- - add DefaultTokenManager
23
- - add CrudApi
24
-
25
- #### 3.0.6: update url info
26
-
27
- - add hash
28
- - update view middware: from is nullable
29
-
30
- #### 3.0.4: update translation
31
-
32
- - Translator is now in charge of mapping translation (getTranslationObject)
33
- - translation template supports function expression
34
- - translator has language update subscribers registry
35
-
36
- #### 3.0.0
37
-
38
- - update claire core 3.0
39
- - remove AbstractRouter
40
-
41
- #### 2.2.5
42
-
43
- - update core, remove crud router
44
-
45
- #### 2.2.4
46
-
47
- - use socket provider for DefaultClientSocketManager instead of native WebSocket
48
-
49
- #### 2.2.1
50
-
51
- - revert to WebSocket implementation (because API gateway only support native websocket)
52
-
53
- #### 2.1.24
54
-
55
- - downgrade webpack
56
-
57
- #### 2.1.23
58
-
59
- - fix socket not reconnect due to refresh token was obtained after socket was closed
60
-
61
- #### 2.1.22
62
-
63
- - remove socket manager initial connect
64
-
65
- #### 2.1.21
66
-
67
- - add type support for api provider
68
-
69
- #### 2.1.19
70
-
71
- - forceReconnect when cannot get access token
72
-
73
- #### 2.1.18
74
-
75
- - update claire core 2.1.2
76
- - fix not connect with undefined access token
77
- - add forceDisconnect to AbstractClientSocketManager
78
-
79
- #### 2.1.17
80
-
81
- - fix socket connect not processing success result
82
-
83
- #### 2.1.16
84
-
85
- - update claire core
86
-
87
- #### 2.1.13
88
-
89
- - remove encodeURI as socket data
90
-
91
- #### 2.1.11
92
-
93
- - client socket to send encodedURI as data
94
-
95
- #### 2.1.9
96
-
97
- - use rxJs to implement client socket logic
98
-
99
- #### 2.0.24:
100
-
101
- - remove test token manager
102
- - fix forceSocket reconnect
103
-
104
- #### 2.0.12:
105
-
106
- - add test token manager
107
-
108
- #### 2.0.10:
109
-
110
- - add AbstractTokenManager, refresh token mechanism for http and socket
111
-
112
- #### 2.0.7:
113
-
114
- - update claire core
115
-
116
- #### 2.0.6:
117
-
118
- - use DI for view middleware in router config
119
- - update peer dependencies
120
- - update abstract view middleware signature
121
-
122
- #### 2.0.2:
123
-
124
- - use Claire Core 2.0
125
- - add log to Axios api client
126
-
127
- #### 1.6.55:
128
-
129
- - add socket keep alive ping/pong
130
-
131
- #### 1.6.50:
132
-
133
- - fix build script
134
- - update clairejs/core
135
-
136
- #### 1.6.48 (Breaking change):
137
-
138
- - add socket multiplex
139
-
140
- #### 1.6.28:
141
-
142
- - fix disconnection event not called when socket disconnect
143
-
144
- #### 1.6.25:
145
-
146
- - split logic of translation into LocaleTranslator
147
-
148
- #### 1.6.24:
149
-
150
- - add ClientSocket unsubscriber function as return result of onXXX listeners
151
-
152
- #### 1.6.23:
153
-
154
- - add getAllSockets in SocketProvider
155
- - fix socket provider not remove disconnected sockets
156
- - add ClientSocket.isReconnecting
157
-
158
- #### 1.6.17:
159
-
160
- - fix socket getAuthId => getAuthInfo
161
-
162
- #### 1.6.16:
163
-
164
- - add socket provider to claire client
165
-
166
- #### 1.6.14:
167
-
168
- - fix client socket multiple handlers
169
-
170
- #### 1.6.12:
171
-
172
- - add ClientSocket and SocketProvider
173
-
174
- #### 1.6.11:
175
-
176
- - ClientSocket logger optional
177
-
178
- #### 1.6.10:
179
-
180
- - ClientSocket connection retry
181
-
182
- #### 1.6.7:
183
-
184
- - fix ClientSocket
185
-
186
- #### 1.6.5:
187
-
188
- - export and fix ClientSocket
189
-
190
- #### 1.6.3:
191
-
192
- - detach vue code into separate package
193
- - add nodeExternals
194
-
195
- #### 1.6.0:
196
-
197
- - revert back to 1.4.16
198
-
199
- #### 1.4.16:
200
-
201
- - update claire core
202
-
203
- #### 1.4.15:
204
-
205
- - export protected convertQueryObjectToString
206
-
207
- #### 1.4.14:
208
-
209
- - remove unused styling
210
-
211
- #### 1.4.13:
212
-
213
- - update VuexCrudModule merge create model instance
214
-
215
- #### 1.4.12:
216
-
217
- - vuexCrudModule default sort by id
218
-
219
- #### 1.4.11:
220
-
221
- - fix crud logic populate server value field
222
-
223
- #### 1.4.10:
224
-
225
- - update claire core
226
- - update crud logic
227
-
228
- #### 1.4.9:
229
-
230
- - reset editItem in CrudLogic
231
-
232
- #### 1.4.8:
233
-
234
- - fix reading data from undefined response in AxiosApiProvider
235
-
236
- #### 1.4.6:
237
-
238
- - remove redudant AbstractErrorHandler
239
-
240
- #### 1.4.5:
241
-
242
- - introduce CrudLogic and scss
243
-
244
- #### 1.4.4:
245
-
246
- - fix VuexCrudModule.decache async return
247
- - return removed instances from VuexCrudModule.decache
248
-
249
- #### 1.4.2:
250
-
251
- - adjust AbstractCrudRouter
252
-
253
- #### 1.4.1:
254
-
255
- - update claire core
256
- - public mutation method in VuexCrudModule
257
-
258
- #### 1.4.0:
259
-
260
- - move VuexCrudModule and VueCrudRouter into
261
- - add getModule into VueHandler
262
-
263
- #### 1.3.29:
264
-
265
- - update navigation with validated query
266
-
267
- #### 1.3.27:
268
-
269
- - update claire core
270
-
271
- #### 1.3.26:
272
-
273
- - renove onHandleChange listener of VueHandler, use @Watch("\$route") on component instead
274
-
275
- #### 1.3.25:
276
-
277
- - fix VueHandler url change listener callback from beforeEach to afterEach
278
-
279
- #### 1.3.24:
280
-
281
- - inject error handler in VueHandler
282
-
283
- #### 1.3.23:
284
-
285
- - rename App to Navigator
286
-
287
- #### 1.3.20:
288
-
289
- - add vuex-class-modules
290
-
291
- #### 1.3.19:
292
-
293
- - update ViewHandler getUrlInfo
294
- - allow ViewHandler navigate relative
295
- - force update vue instance after change language
296
-
297
- #### 1.3.18:
298
-
299
- - fix language init
300
-
301
- #### 1.3.17:
302
-
303
- - add getCurrentLanguage to VueHandler
304
-
305
- #### 1.3.15 (Breaking change):
306
-
307
- - adjust RouterConfig
308
-
309
- #### 1.3.11:
310
-
311
- - fix named components in RouterConfig
312
-
313
- #### 1.3.8:
314
-
315
- - add named components to RouterConfig
316
- - add components property to RouterConfig
317
-
318
- #### 1.3.7 (Breaking change):
319
-
320
- - remove middleware from AbstractRouter
321
-
322
- #### 1.3.6:
323
-
324
- - update RouterConfig to have nested config
325
-
326
- #### 1.3.5:
327
-
328
- - upgrade clairejs core
329
-
330
- #### 1.3.4:
331
-
332
- - update VueHandler config options, remove @Router decorator
333
-
334
- #### 1.3.1:
335
-
336
- - new history, use vue-cli-service library build
337
-
338
- #### 1.2.9:
339
-
340
- - removal of rootComponentClass
341
- - fix optimizeSSR: false
342
- - add Crud views
343
-
344
- #### 1.2.5 (Breaking change):
345
-
346
- - AbstractRouter getRoutes() type change
347
-
348
- #### 1.2.4:
349
-
350
- - improve client builder
351
-
352
- #### 1.2.1:
353
-
354
- - adapt rework of claire core
355
-
356
- #### 1.1.8:
357
-
358
- - fix nested translation
359
-
360
- #### 1.1.3:
361
-
362
- - update VuexCrudModule
363
- - use listener in AbstractViewHandler for url change event
364
-
365
- #### 1.1.0:
366
-
367
- - use template for translation
368
-
369
- #### 1.0.13:
370
-
371
- - set build target es6
372
- - remove vue-i18n
373
-
374
- #### 1.0.12:
375
-
376
- - introduce bootstrap
377
-
378
- #### 1.0.11:
379
-
380
- - allow module injection inside module
381
-
382
- #### 1.0.8:
383
-
384
- - update AbstractViewHandler forward with UrlInfo
385
-
386
- #### 1.0.5:
387
-
388
- - add getUrlInfo in AbstractViewHandler
389
-
390
- #### 1.0.4:
391
-
392
- - remove scss and default App.vue
393
-
394
- #### 1.0.3:
395
-
396
- - update translation resolver
1
+ ## Change Log
2
+
3
+ #### 3.0.16:
4
+
5
+ - fix AbstractHttpClient header case-sensitive issue
6
+
7
+ #### 3.0.14:
8
+
9
+ - fix catch issue when cannot refresh token
10
+
11
+ #### 3.0.13:
12
+
13
+ - fix mergeInstance
14
+
15
+ #### 3.0.12:
16
+
17
+ - add default storage key for token manager
18
+
19
+ #### 3.0.11:
20
+
21
+ - fix AbstractHttpClient refresh token
22
+
23
+ #### 3.0.10:
24
+
25
+ - fix export
26
+ - fix CrudApi
27
+
28
+ #### 3.0.7:
29
+
30
+ - add DefaultTokenManager
31
+ - add CrudApi
32
+
33
+ #### 3.0.6: update url info
34
+
35
+ - add hash
36
+ - update view middware: from is nullable
37
+
38
+ #### 3.0.4: update translation
39
+
40
+ - Translator is now in charge of mapping translation (getTranslationObject)
41
+ - translation template supports function expression
42
+ - translator has language update subscribers registry
43
+
44
+ #### 3.0.0
45
+
46
+ - update claire core 3.0
47
+ - remove AbstractRouter
48
+
49
+ #### 2.2.5
50
+
51
+ - update core, remove crud router
52
+
53
+ #### 2.2.4
54
+
55
+ - use socket provider for DefaultClientSocketManager instead of native WebSocket
56
+
57
+ #### 2.2.1
58
+
59
+ - revert to WebSocket implementation (because API gateway only support native websocket)
60
+
61
+ #### 2.1.24
62
+
63
+ - downgrade webpack
64
+
65
+ #### 2.1.23
66
+
67
+ - fix socket not reconnect due to refresh token was obtained after socket was closed
68
+
69
+ #### 2.1.22
70
+
71
+ - remove socket manager initial connect
72
+
73
+ #### 2.1.21
74
+
75
+ - add type support for api provider
76
+
77
+ #### 2.1.19
78
+
79
+ - forceReconnect when cannot get access token
80
+
81
+ #### 2.1.18
82
+
83
+ - update claire core 2.1.2
84
+ - fix not connect with undefined access token
85
+ - add forceDisconnect to AbstractClientSocketManager
86
+
87
+ #### 2.1.17
88
+
89
+ - fix socket connect not processing success result
90
+
91
+ #### 2.1.16
92
+
93
+ - update claire core
94
+
95
+ #### 2.1.13
96
+
97
+ - remove encodeURI as socket data
98
+
99
+ #### 2.1.11
100
+
101
+ - client socket to send encodedURI as data
102
+
103
+ #### 2.1.9
104
+
105
+ - use rxJs to implement client socket logic
106
+
107
+ #### 2.0.24:
108
+
109
+ - remove test token manager
110
+ - fix forceSocket reconnect
111
+
112
+ #### 2.0.12:
113
+
114
+ - add test token manager
115
+
116
+ #### 2.0.10:
117
+
118
+ - add AbstractTokenManager, refresh token mechanism for http and socket
119
+
120
+ #### 2.0.7:
121
+
122
+ - update claire core
123
+
124
+ #### 2.0.6:
125
+
126
+ - use DI for view middleware in router config
127
+ - update peer dependencies
128
+ - update abstract view middleware signature
129
+
130
+ #### 2.0.2:
131
+
132
+ - use Claire Core 2.0
133
+ - add log to Axios api client
134
+
135
+ #### 1.6.55:
136
+
137
+ - add socket keep alive ping/pong
138
+
139
+ #### 1.6.50:
140
+
141
+ - fix build script
142
+ - update clairejs/core
143
+
144
+ #### 1.6.48 (Breaking change):
145
+
146
+ - add socket multiplex
147
+
148
+ #### 1.6.28:
149
+
150
+ - fix disconnection event not called when socket disconnect
151
+
152
+ #### 1.6.25:
153
+
154
+ - split logic of translation into LocaleTranslator
155
+
156
+ #### 1.6.24:
157
+
158
+ - add ClientSocket unsubscriber function as return result of onXXX listeners
159
+
160
+ #### 1.6.23:
161
+
162
+ - add getAllSockets in SocketProvider
163
+ - fix socket provider not remove disconnected sockets
164
+ - add ClientSocket.isReconnecting
165
+
166
+ #### 1.6.17:
167
+
168
+ - fix socket getAuthId => getAuthInfo
169
+
170
+ #### 1.6.16:
171
+
172
+ - add socket provider to claire client
173
+
174
+ #### 1.6.14:
175
+
176
+ - fix client socket multiple handlers
177
+
178
+ #### 1.6.12:
179
+
180
+ - add ClientSocket and SocketProvider
181
+
182
+ #### 1.6.11:
183
+
184
+ - ClientSocket logger optional
185
+
186
+ #### 1.6.10:
187
+
188
+ - ClientSocket connection retry
189
+
190
+ #### 1.6.7:
191
+
192
+ - fix ClientSocket
193
+
194
+ #### 1.6.5:
195
+
196
+ - export and fix ClientSocket
197
+
198
+ #### 1.6.3:
199
+
200
+ - detach vue code into separate package
201
+ - add nodeExternals
202
+
203
+ #### 1.6.0:
204
+
205
+ - revert back to 1.4.16
206
+
207
+ #### 1.4.16:
208
+
209
+ - update claire core
210
+
211
+ #### 1.4.15:
212
+
213
+ - export protected convertQueryObjectToString
214
+
215
+ #### 1.4.14:
216
+
217
+ - remove unused styling
218
+
219
+ #### 1.4.13:
220
+
221
+ - update VuexCrudModule merge create model instance
222
+
223
+ #### 1.4.12:
224
+
225
+ - vuexCrudModule default sort by id
226
+
227
+ #### 1.4.11:
228
+
229
+ - fix crud logic populate server value field
230
+
231
+ #### 1.4.10:
232
+
233
+ - update claire core
234
+ - update crud logic
235
+
236
+ #### 1.4.9:
237
+
238
+ - reset editItem in CrudLogic
239
+
240
+ #### 1.4.8:
241
+
242
+ - fix reading data from undefined response in AxiosApiProvider
243
+
244
+ #### 1.4.6:
245
+
246
+ - remove redudant AbstractErrorHandler
247
+
248
+ #### 1.4.5:
249
+
250
+ - introduce CrudLogic and scss
251
+
252
+ #### 1.4.4:
253
+
254
+ - fix VuexCrudModule.decache async return
255
+ - return removed instances from VuexCrudModule.decache
256
+
257
+ #### 1.4.2:
258
+
259
+ - adjust AbstractCrudRouter
260
+
261
+ #### 1.4.1:
262
+
263
+ - update claire core
264
+ - public mutation method in VuexCrudModule
265
+
266
+ #### 1.4.0:
267
+
268
+ - move VuexCrudModule and VueCrudRouter into
269
+ - add getModule into VueHandler
270
+
271
+ #### 1.3.29:
272
+
273
+ - update navigation with validated query
274
+
275
+ #### 1.3.27:
276
+
277
+ - update claire core
278
+
279
+ #### 1.3.26:
280
+
281
+ - renove onHandleChange listener of VueHandler, use @Watch("\$route") on component instead
282
+
283
+ #### 1.3.25:
284
+
285
+ - fix VueHandler url change listener callback from beforeEach to afterEach
286
+
287
+ #### 1.3.24:
288
+
289
+ - inject error handler in VueHandler
290
+
291
+ #### 1.3.23:
292
+
293
+ - rename App to Navigator
294
+
295
+ #### 1.3.20:
296
+
297
+ - add vuex-class-modules
298
+
299
+ #### 1.3.19:
300
+
301
+ - update ViewHandler getUrlInfo
302
+ - allow ViewHandler navigate relative
303
+ - force update vue instance after change language
304
+
305
+ #### 1.3.18:
306
+
307
+ - fix language init
308
+
309
+ #### 1.3.17:
310
+
311
+ - add getCurrentLanguage to VueHandler
312
+
313
+ #### 1.3.15 (Breaking change):
314
+
315
+ - adjust RouterConfig
316
+
317
+ #### 1.3.11:
318
+
319
+ - fix named components in RouterConfig
320
+
321
+ #### 1.3.8:
322
+
323
+ - add named components to RouterConfig
324
+ - add components property to RouterConfig
325
+
326
+ #### 1.3.7 (Breaking change):
327
+
328
+ - remove middleware from AbstractRouter
329
+
330
+ #### 1.3.6:
331
+
332
+ - update RouterConfig to have nested config
333
+
334
+ #### 1.3.5:
335
+
336
+ - upgrade clairejs core
337
+
338
+ #### 1.3.4:
339
+
340
+ - update VueHandler config options, remove @Router decorator
341
+
342
+ #### 1.3.1:
343
+
344
+ - new history, use vue-cli-service library build
345
+
346
+ #### 1.2.9:
347
+
348
+ - removal of rootComponentClass
349
+ - fix optimizeSSR: false
350
+ - add Crud views
351
+
352
+ #### 1.2.5 (Breaking change):
353
+
354
+ - AbstractRouter getRoutes() type change
355
+
356
+ #### 1.2.4:
357
+
358
+ - improve client builder
359
+
360
+ #### 1.2.1:
361
+
362
+ - adapt rework of claire core
363
+
364
+ #### 1.1.8:
365
+
366
+ - fix nested translation
367
+
368
+ #### 1.1.3:
369
+
370
+ - update VuexCrudModule
371
+ - use listener in AbstractViewHandler for url change event
372
+
373
+ #### 1.1.0:
374
+
375
+ - use template for translation
376
+
377
+ #### 1.0.13:
378
+
379
+ - set build target es6
380
+ - remove vue-i18n
381
+
382
+ #### 1.0.12:
383
+
384
+ - introduce bootstrap
385
+
386
+ #### 1.0.11:
387
+
388
+ - allow module injection inside module
389
+
390
+ #### 1.0.8:
391
+
392
+ - update AbstractViewHandler forward with UrlInfo
393
+
394
+ #### 1.0.5:
395
+
396
+ - add getUrlInfo in AbstractViewHandler
397
+
398
+ #### 1.0.4:
399
+
400
+ - remove scss and default App.vue
401
+
402
+ #### 1.0.3:
403
+
404
+ - update translation resolver