@clairejs/client 3.0.10 → 3.0.13

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