@clairejs/client 3.0.14 → 3.0.15

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