@clairejs/client 3.0.9 → 3.0.12

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