@clairejs/server 3.1.5 → 3.1.9

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.
Files changed (66) hide show
  1. package/README.md +553 -541
  2. package/dist/common/FileOperation.d.ts +5 -5
  3. package/dist/common/constants.d.ts +1 -1
  4. package/dist/database/adapter/AbstractDatabaseAdapter.d.ts +19 -19
  5. package/dist/database/adapter/AbstractQuery.d.ts +52 -52
  6. package/dist/database/adapter/DefaultSqlDatabaseAdapter.d.ts +18 -18
  7. package/dist/database/adapter/IDatabaseProvider.d.ts +4 -4
  8. package/dist/database/adapter/IQuery.d.ts +75 -75
  9. package/dist/database/adapter/IQueryProvider.d.ts +9 -9
  10. package/dist/database/adapter/aggregators.d.ts +21 -21
  11. package/dist/database/adapter/providers.d.ts +8 -8
  12. package/dist/database/decorators.d.ts +2 -2
  13. package/dist/database/migrator/AbstractDatabaseMigrator.d.ts +4 -4
  14. package/dist/database/migrator/DefaultSqlDatabaseMigrator.d.ts +28 -28
  15. package/dist/database/transaction/ITransaction.d.ts +10 -10
  16. package/dist/database/transaction/ITransactionProvider.d.ts +4 -4
  17. package/dist/database/transaction/TransactionLink.d.ts +14 -14
  18. package/dist/database/transaction/TransactionObjectMetadata.d.ts +4 -4
  19. package/dist/database/transaction/TransactionState.d.ts +5 -5
  20. package/dist/database/util/transaction-provider.d.ts +1 -1
  21. package/dist/http/auth/AbstractHttpAuthorizationProvider.d.ts +7 -7
  22. package/dist/http/auth/AbstractPrincipalResolver.d.ts +5 -5
  23. package/dist/http/auth/AbstractRbacAuthProvider.d.ts +16 -16
  24. package/dist/http/auth/IPrincipal.d.ts +3 -3
  25. package/dist/http/auth/RedisRbacAuthProvider.d.ts +17 -17
  26. package/dist/http/auth/SocketRbacAuthProvider.d.ts +24 -24
  27. package/dist/http/auth/rbac.d.ts +33 -33
  28. package/dist/http/common/HttpRequest.d.ts +39 -39
  29. package/dist/http/common/HttpResponse.d.ts +25 -25
  30. package/dist/http/common/RequestOptions.d.ts +9 -9
  31. package/dist/http/common/ResponseValues.d.ts +10 -10
  32. package/dist/http/common/types.d.ts +1 -1
  33. package/dist/http/controller/AbstractHttpController.d.ts +12 -12
  34. package/dist/http/controller/AbstractHttpMiddleware.d.ts +5 -5
  35. package/dist/http/controller/AbstractHttpRequestHandler.d.ts +10 -10
  36. package/dist/http/controller/ControllerMetadata.d.ts +6 -6
  37. package/dist/http/controller/CrudHttpController.d.ts +53 -53
  38. package/dist/http/controller/DefaultHttpRequestHandler.d.ts +19 -19
  39. package/dist/http/controller/EndpointMetadata.d.ts +36 -36
  40. package/dist/http/controller/HttpEndpoint.d.ts +12 -12
  41. package/dist/http/controller/ModelRepository.d.ts +36 -36
  42. package/dist/http/controller/MountedEndpointInfo.d.ts +6 -6
  43. package/dist/http/decorators.d.ts +28 -28
  44. package/dist/http/security/AbstractAccessCondition.d.ts +7 -7
  45. package/dist/http/security/access-conditions/DtoFieldValidation.d.ts +4 -4
  46. package/dist/http/security/access-conditions/FilterModelFieldAccessCondition.d.ts +4 -4
  47. package/dist/http/security/access-conditions/MaximumQueryLimit.d.ts +8 -8
  48. package/dist/index.d.ts +48 -48
  49. package/dist/index.js +1 -1
  50. package/dist/logging/FileLogMedium.d.ts +13 -13
  51. package/dist/service/AbstractCacheService.d.ts +22 -22
  52. package/dist/service/AbstractFileService.d.ts +8 -8
  53. package/dist/service/AbstractService.d.ts +9 -9
  54. package/dist/socket/AbstractServerSocket.d.ts +39 -39
  55. package/dist/socket/AbstractServerSocketManager.d.ts +19 -19
  56. package/dist/socket/AwsSocketManager.d.ts +46 -46
  57. package/dist/socket/IServerSocket.d.ts +8 -8
  58. package/dist/socket/LocalSocketManager.d.ts +23 -23
  59. package/dist/system/AbstractFileUploadHandler.d.ts +6 -6
  60. package/dist/system/ClaireServer.d.ts +10 -10
  61. package/dist/system/ExpressWrapper.d.ts +17 -17
  62. package/dist/system/FileUploadHandler.d.ts +10 -10
  63. package/dist/system/IRequestHandler.d.ts +5 -5
  64. package/dist/system/LambdaWrapper.d.ts +17 -17
  65. package/dist/system/ServerGlobalStore.d.ts +5 -5
  66. package/package.json +59 -59
package/README.md CHANGED
@@ -1,541 +1,553 @@
1
- ## Change Log
2
-
3
- #### 3.1.5
4
-
5
- - fix aws socket manager parse null redis
6
-
7
- #### 3.1.4
8
-
9
- - abstract file service and cache service does not extends AbstractService anymore
10
- - fix abstract file service
11
-
12
- #### 3.1.2
13
-
14
- - fix server socket sending incorrect plain message
15
-
16
- #### 3.1.1
17
-
18
- - fix server socket
19
- - add permission conditions to CrudHttpController
20
- - add abstract services
21
- - add FileUploadHandler
22
- - add Abstract RbacAuthProvider, Redis & Cache Rbac Auth Provider
23
- - add rbac dto
24
- - add MaximumQueryLimit & DtoFieldValidation conditions
25
-
26
- #### 3.0.36
27
-
28
- - fix crud controller metadata
29
-
30
- #### 3.0.33
31
-
32
- - add @ApiDescription
33
- - add CrudHttpController metadata description
34
-
35
- #### 3.0.30
36
-
37
- - fix objectTypeConstructor
38
-
39
- #### 3.0.29:
40
-
41
- - @Socket -> @Message
42
- - use @Socket to get socket injection in controller method
43
-
44
- #### 3.0.26:
45
-
46
- - add error log in http request handler
47
-
48
- #### 3.0.25:
49
-
50
- - add null search in vector
51
- - support array search for isSymbol field
52
-
53
- #### 3.0.22:
54
-
55
- - fix timestamp field
56
-
57
- #### 3.0.19:
58
-
59
- - fix error throw in transactional
60
-
61
- #### 3.0.18:
62
-
63
- - fix not escape search value
64
- - fix accent & sensitive search in Mysql and Postgres
65
-
66
- #### 3.0.15:
67
-
68
- - require injection of database adapter in AbstractSerivce & AbstractHttpController
69
-
70
- #### 3.0.14:
71
-
72
- - add getById and getByIds to IQuery
73
-
74
- #### 3.0.12:
75
-
76
- - fix error return
77
-
78
- #### 3.0.10:
79
-
80
- - remove count query when getOne
81
-
82
- #### 3.0.8:
83
-
84
- - freeze table name in join clause
85
-
86
- #### 3.0.6:
87
-
88
- - fix index export
89
- - fix AbstractAccessCondition signature
90
-
91
- #### 3.0.5:
92
-
93
- - tested on Postgres & MySql
94
- - add join ability to IQuery, awesome!!
95
-
96
- #### 3.0.3: http method decorator return type check
97
-
98
- - add @ApiResponse decorator to store response body validator
99
- - add TypedPropertyDescriptor in HTTP method decorator to validate function return type (Promise<HttpResponse<any>>>)
100
-
101
- #### 3.0.2: improve http response
102
-
103
- - add binary response
104
-
105
- #### 3.0.0:
106
-
107
- - update claire core 3.0
108
- - controller function param decorators
109
- - ResponseBuilder
110
- - remove ops in getMany
111
-
112
- #### 2.3.13:
113
-
114
- - update raw query function signature
115
-
116
- #### 2.3.12:
117
-
118
- - fix & export CrudService
119
-
120
- #### 2.3.10:
121
-
122
- - Array & Object model field persist & parse
123
-
124
- #### 2.3.9:
125
-
126
- - @TextField will default to Sequelize.TEXT if length is not specified
127
-
128
- #### 2.3.6:
129
-
130
- - fix missing beforeCreate call when update nesting
131
-
132
- #### 2.3.1:
133
-
134
- - fix returning nested uris
135
-
136
- #### 2.3.0:
137
-
138
- - introduce CrudService
139
- - CrudHttpController support @HasMany
140
-
141
- #### 2.2.12:
142
-
143
- - fix isIntegral default
144
-
145
- #### 2.2.10:
146
-
147
- - update `CrudHttpController` Update and Delete to return `Partial<T>`
148
-
149
- #### 2.2.2:
150
-
151
- - fix `@CurrentUser` decorator
152
- - implement `@CurrentUser` decorator
153
-
154
- #### 2.2.0:
155
-
156
- - add `AbstractFileUploadHandler` and handle file upload in `CrudHttpController`
157
- - fix migration contraint remove order
158
-
159
- #### 2.1.20:
160
-
161
- - extends IPrincipal
162
-
163
- #### 2.1.19:
164
-
165
- - fix crud http controller not init database adapter
166
-
167
- #### 2.1.18:
168
-
169
- - downgrade webpack
170
-
171
- #### 2.1.16:
172
-
173
- - add pg-hstore
174
-
175
- #### 2.1.15:
176
-
177
- - add optional injection for socket manager
178
-
179
- #### 2.1.14:
180
-
181
- - AwsSocketManger needs always to be fed by JSON object
182
-
183
- #### 2.1.13:
184
-
185
- - correct json parsing when hanling aws socket message
186
-
187
- #### 2.1.11:
188
-
189
- - adjust getMany and getRecords to return Pick type based on projection
190
- - add getRecords for IQuery to return just the records
191
-
192
- #### 2.1.9:
193
-
194
- - fix CrudHttpController updateMany FilterField condition check
195
-
196
- #### 2.1.8:
197
-
198
- - fix server socket remove not delete its redis info
199
- - add socket created timestamp info
200
- - add get all alive sockets to remove stale sockets in server
201
-
202
- #### 2.1.5:
203
-
204
- - support model defualt value in db migrator & adapter
205
-
206
- #### 2.1.3:
207
-
208
- - add test for cascade delete
209
-
210
- #### 2.1.2:
211
-
212
- - update claire core
213
- - fix converting QueryCondition use "and" as default operator
214
-
215
- #### 2.1.1:
216
-
217
- - update claire core
218
- - update implementation of FileLogMedium
219
-
220
- #### 2.0.26:
221
-
222
- - parse client socket data
223
- - add more debug log
224
- - fix ExpressWrapper AWS GW socket http integration
225
-
226
- #### 2.0.17:
227
-
228
- - add AWS API GW socket request parser for express
229
-
230
- #### 2.0.16:
231
-
232
- - add log to http request handler
233
- - refactor to allow AwsSocketManager to be used with ExpressWrapper
234
-
235
- #### 2.0.14:
236
-
237
- - fix express socket unique id
238
-
239
- #### 2.0.13:
240
-
241
- - update error code from claire core
242
-
243
- #### 2.0.12:
244
-
245
- - export Get, Post, Put, Del decorators
246
-
247
- #### 2.0.11:
248
-
249
- - add log in http request handler
250
- - fix AbstractAccessCondition signature
251
-
252
- #### 2.0.9:
253
-
254
- - fix AccessCondition (to use injection)
255
- - fix ExpressWrapper & LambdaWrapper to resolve AbstractServerSocketManager
256
- - remove getMountedEndpointInfo from AbstractHttpRequestHandler, move to ServerGlobalStore
257
- - fix property assignment in isolated transactional object
258
- - add log for AwsSocketManager, fix connection problem to redis
259
-
260
- #### 2.0.1:
261
-
262
- - fix some import redundancies
263
-
264
- #### 2.0.0:
265
-
266
- - Upgrade with claire core 2.0.0
267
-
268
- #### 1.6.4:
269
-
270
- - Add pong socket response
271
-
272
- #### 1.6.3:
273
-
274
- - AbstractDatabaseMigrator: supply migration directory to migrate and rollback functions
275
- - fix migrator cli path
276
-
277
- #### 1.6.1:
278
-
279
- - AbstractPrincipal -> IPrincipal (for serialization)
280
-
281
- #### 1.5.51:
282
-
283
- - fix AwsSocketManager not release redis connection, add more log
284
- - fix ExpressWrapper unhandled socket promise exception
285
-
286
- #### 1.5.39 (Breaking change):
287
-
288
- - fix properties null check
289
- - socket multiplex
290
-
291
- #### 1.5.28:
292
-
293
- - fix server socket authId => authInfo
294
-
295
- #### 1.5.26:
296
-
297
- - add OwnedResourceAccessCondition
298
-
299
- #### 1.5.24:
300
-
301
- - replace HttpRequest.getPrincipalId by HttpRequest.getAuthInfo
302
-
303
- #### 1.5.23:
304
-
305
- - fix ServerSocket
306
- - fix not remove disconnect socket from socket manager
307
-
308
- #### 1.5.15 (Breaking change):
309
-
310
- - remove getValue / setValue in HttpRequest
311
- - add setPrincipalId / getPrincipalId in HttpRequest
312
- - adjust Socket Server
313
-
314
- #### 1.5.12:
315
-
316
- - handle socket in lambda wrapper
317
-
318
- #### 1.5.11:
319
-
320
- - fix ServerSocket
321
-
322
- #### 1.5.6:
323
-
324
- - update claire core
325
- - fix ServerSocket
326
-
327
- #### 1.5.4:
328
-
329
- - run middleware before socket authentication
330
-
331
- #### 1.5.2:
332
-
333
- - add websocket support in ExpressWrapper
334
-
335
- #### 1.5.1:
336
-
337
- - update claire core
338
-
339
- #### 1.5.0:
340
-
341
- - revert back to 1.3.38
342
-
343
- #### 1.3.38:
344
-
345
- - export QueryCondition
346
-
347
- #### 1.3.37:
348
-
349
- - return error name instead of TRANSACTION_ERROR
350
- - update claire core
351
-
352
- #### 1.3.36:
353
-
354
- - fix missing down script of unique constraint in database migrator
355
- - add rollback to database migrator
356
-
357
- #### 1.3.34:
358
-
359
- - export AbstractDatabaseMigrator
360
- - fix DefaultSqlDatabaseMigrator not generate new unique constraints for new field
361
-
362
- #### 1.3.32:
363
-
364
- - fix DefaultSqlDatabaseMigrator missing foreign constraint check when add/remove fields
365
-
366
- #### 1.3.31:
367
-
368
- - update server modify
369
-
370
- #### 1.3.30:
371
-
372
- - adjust body raw parser in ExpressWrapper
373
-
374
- #### 1.3.28:
375
-
376
- - fix not supply HttpResponse in Http handler
377
-
378
- #### 1.3.27:
379
-
380
- - add body parser raw middleware
381
-
382
- #### 1.3.26:
383
-
384
- - modify express wrapper send result
385
-
386
- #### 1.3.25:
387
-
388
- - add request options mapper in LambdaWrapper
389
-
390
- #### 1.3.24:
391
-
392
- - add LambdaWrapper
393
-
394
- #### 1.3.23:
395
-
396
- - add ExpressWrapper
397
-
398
- #### 1.3.22:
399
-
400
- - merge accessConditions in CrudHttpController
401
-
402
- #### 1.3.21:
403
-
404
- - DefaultSqlDatabaseMigrator will no longer generate remove table query.
405
-
406
- #### 1.3.20:
407
-
408
- - add permissionGroup and displayName metadata for EndpointMetadata
409
-
410
- #### 1.3.16:
411
-
412
- - update claire core
413
- - allow empty records for CrudHttpController createMany
414
-
415
- #### 1.3.15:
416
-
417
- - fix incorrect parse Http params
418
-
419
- #### 1.3.13:
420
-
421
- - update claire core
422
-
423
- #### 1.3.12:
424
-
425
- - re-introduce terser plugin
426
- - update claire core
427
-
428
- #### 1.3.10:
429
-
430
- - emit source map
431
-
432
- #### 1.3.9:
433
-
434
- - update claire core
435
-
436
- #### 1.3.8:
437
-
438
- - fix missing HttpResponse export
439
-
440
- #### 1.3.7:
441
-
442
- - upgrade Clairejs/core
443
-
444
- #### 1.3.6:
445
-
446
- - upgrade Clairejs/core
447
-
448
- - interpret @ServerTime and @Timestamp
449
-
450
- #### 1.3.2 (Breaking change):
451
-
452
- - re-introduce http response to controller
453
-
454
- #### 1.2.6:
455
-
456
- - add unaccent operators (uSUBSTR, iuSUBSTR)
457
-
458
- #### 1.2.5:
459
-
460
- - allow multiple calls to boot
461
-
462
- #### 1.2.4:
463
-
464
- - fix http request handler parse get and delete request body
465
-
466
- #### 1.2.2:
467
-
468
- - split database migrator
469
- - rework of ClaireServer to be request handler
470
- - remove dependency of expressjs and its middleware
471
-
472
- #### 1.1.9:
473
-
474
- - revert 1.1.8
475
-
476
- #### 1.1.8:
477
-
478
- - init app when getExpressApp
479
-
480
- #### 1.1.7:
481
-
482
- - add pg-hstore as dependency
483
-
484
- #### 1.1.6:
485
-
486
- - fix autoCommit in @Transactional
487
-
488
- #### 1.1.5:
489
-
490
- - use AbstractModel id field for primary key query
491
-
492
- #### 1.1.3:
493
-
494
- - fix returning ids for updateMany and deleteMany
495
-
496
- #### 1.1.2:
497
-
498
- - fix not auto generate migration when changing cascade of @FK
499
- - set build target es6
500
-
501
- #### 1.1.0:
502
-
503
- - fix foreign key cascase delete
504
- - fix auto commit of crud http controller
505
- - return array of ids when updateMany or deleteMany
506
-
507
- #### 1.0.22:
508
-
509
- - CrudHttpController exposes static validators
510
-
511
- #### 1.0.21:
512
-
513
- - update Clairejs Core
514
-
515
- #### 1.0.20:
516
-
517
- - update CrudHttpController for query change
518
-
519
- #### 1.0.17:
520
-
521
- - perform json parsing for fields of request params and queries
522
-
523
- #### 1.0.15:
524
-
525
- - fix @Searchable in CrudHttpController
526
-
527
- #### 1.0.13:
528
-
529
- - add iSUBSTR operator to search for case insensitive string
530
-
531
- #### 1.0.9:
532
-
533
- - fix CrudHttpController endpoint naming
534
-
535
- #### 1.0.8:
536
-
537
- - fix DefaultHttpRequestHandler upgrade Http
538
-
539
- #### 1.0.6:
540
-
541
- - fix DefaultHttpRequestHandler cannot return request body when no validator is provided
1
+ ## Change Log
2
+
3
+ #### 3.1.9
4
+
5
+ - strip response data if responseDto is present
6
+
7
+ #### 3.1.8
8
+
9
+ - return 401 http code if not auth throw
10
+
11
+ #### 3.1.7
12
+
13
+ - fix CrudHtppController merge wrong endpoint
14
+
15
+ #### 3.1.5
16
+
17
+ - fix aws socket manager parse null redis
18
+
19
+ #### 3.1.4
20
+
21
+ - abstract file service and cache service does not extends AbstractService anymore
22
+ - fix abstract file service
23
+
24
+ #### 3.1.2
25
+
26
+ - fix server socket sending incorrect plain message
27
+
28
+ #### 3.1.1
29
+
30
+ - fix server socket
31
+ - add permission conditions to CrudHttpController
32
+ - add abstract services
33
+ - add FileUploadHandler
34
+ - add Abstract RbacAuthProvider, Redis & Cache Rbac Auth Provider
35
+ - add rbac dto
36
+ - add MaximumQueryLimit & DtoFieldValidation conditions
37
+
38
+ #### 3.0.36
39
+
40
+ - fix crud controller metadata
41
+
42
+ #### 3.0.33
43
+
44
+ - add @ApiDescription
45
+ - add CrudHttpController metadata description
46
+
47
+ #### 3.0.30
48
+
49
+ - fix objectTypeConstructor
50
+
51
+ #### 3.0.29:
52
+
53
+ - @Socket -> @Message
54
+ - use @Socket to get socket injection in controller method
55
+
56
+ #### 3.0.26:
57
+
58
+ - add error log in http request handler
59
+
60
+ #### 3.0.25:
61
+
62
+ - add null search in vector
63
+ - support array search for isSymbol field
64
+
65
+ #### 3.0.22:
66
+
67
+ - fix timestamp field
68
+
69
+ #### 3.0.19:
70
+
71
+ - fix error throw in transactional
72
+
73
+ #### 3.0.18:
74
+
75
+ - fix not escape search value
76
+ - fix accent & sensitive search in Mysql and Postgres
77
+
78
+ #### 3.0.15:
79
+
80
+ - require injection of database adapter in AbstractSerivce & AbstractHttpController
81
+
82
+ #### 3.0.14:
83
+
84
+ - add getById and getByIds to IQuery
85
+
86
+ #### 3.0.12:
87
+
88
+ - fix error return
89
+
90
+ #### 3.0.10:
91
+
92
+ - remove count query when getOne
93
+
94
+ #### 3.0.8:
95
+
96
+ - freeze table name in join clause
97
+
98
+ #### 3.0.6:
99
+
100
+ - fix index export
101
+ - fix AbstractAccessCondition signature
102
+
103
+ #### 3.0.5:
104
+
105
+ - tested on Postgres & MySql
106
+ - add join ability to IQuery, awesome!!
107
+
108
+ #### 3.0.3: http method decorator return type check
109
+
110
+ - add @ApiResponse decorator to store response body validator
111
+ - add TypedPropertyDescriptor in HTTP method decorator to validate function return type (Promise<HttpResponse<any>>>)
112
+
113
+ #### 3.0.2: improve http response
114
+
115
+ - add binary response
116
+
117
+ #### 3.0.0:
118
+
119
+ - update claire core 3.0
120
+ - controller function param decorators
121
+ - ResponseBuilder
122
+ - remove ops in getMany
123
+
124
+ #### 2.3.13:
125
+
126
+ - update raw query function signature
127
+
128
+ #### 2.3.12:
129
+
130
+ - fix & export CrudService
131
+
132
+ #### 2.3.10:
133
+
134
+ - Array & Object model field persist & parse
135
+
136
+ #### 2.3.9:
137
+
138
+ - @TextField will default to Sequelize.TEXT if length is not specified
139
+
140
+ #### 2.3.6:
141
+
142
+ - fix missing beforeCreate call when update nesting
143
+
144
+ #### 2.3.1:
145
+
146
+ - fix returning nested uris
147
+
148
+ #### 2.3.0:
149
+
150
+ - introduce CrudService
151
+ - CrudHttpController support @HasMany
152
+
153
+ #### 2.2.12:
154
+
155
+ - fix isIntegral default
156
+
157
+ #### 2.2.10:
158
+
159
+ - update `CrudHttpController` Update and Delete to return `Partial<T>`
160
+
161
+ #### 2.2.2:
162
+
163
+ - fix `@CurrentUser` decorator
164
+ - implement `@CurrentUser` decorator
165
+
166
+ #### 2.2.0:
167
+
168
+ - add `AbstractFileUploadHandler` and handle file upload in `CrudHttpController`
169
+ - fix migration contraint remove order
170
+
171
+ #### 2.1.20:
172
+
173
+ - extends IPrincipal
174
+
175
+ #### 2.1.19:
176
+
177
+ - fix crud http controller not init database adapter
178
+
179
+ #### 2.1.18:
180
+
181
+ - downgrade webpack
182
+
183
+ #### 2.1.16:
184
+
185
+ - add pg-hstore
186
+
187
+ #### 2.1.15:
188
+
189
+ - add optional injection for socket manager
190
+
191
+ #### 2.1.14:
192
+
193
+ - AwsSocketManger needs always to be fed by JSON object
194
+
195
+ #### 2.1.13:
196
+
197
+ - correct json parsing when hanling aws socket message
198
+
199
+ #### 2.1.11:
200
+
201
+ - adjust getMany and getRecords to return Pick type based on projection
202
+ - add getRecords for IQuery to return just the records
203
+
204
+ #### 2.1.9:
205
+
206
+ - fix CrudHttpController updateMany FilterField condition check
207
+
208
+ #### 2.1.8:
209
+
210
+ - fix server socket remove not delete its redis info
211
+ - add socket created timestamp info
212
+ - add get all alive sockets to remove stale sockets in server
213
+
214
+ #### 2.1.5:
215
+
216
+ - support model defualt value in db migrator & adapter
217
+
218
+ #### 2.1.3:
219
+
220
+ - add test for cascade delete
221
+
222
+ #### 2.1.2:
223
+
224
+ - update claire core
225
+ - fix converting QueryCondition use "and" as default operator
226
+
227
+ #### 2.1.1:
228
+
229
+ - update claire core
230
+ - update implementation of FileLogMedium
231
+
232
+ #### 2.0.26:
233
+
234
+ - parse client socket data
235
+ - add more debug log
236
+ - fix ExpressWrapper AWS GW socket http integration
237
+
238
+ #### 2.0.17:
239
+
240
+ - add AWS API GW socket request parser for express
241
+
242
+ #### 2.0.16:
243
+
244
+ - add log to http request handler
245
+ - refactor to allow AwsSocketManager to be used with ExpressWrapper
246
+
247
+ #### 2.0.14:
248
+
249
+ - fix express socket unique id
250
+
251
+ #### 2.0.13:
252
+
253
+ - update error code from claire core
254
+
255
+ #### 2.0.12:
256
+
257
+ - export Get, Post, Put, Del decorators
258
+
259
+ #### 2.0.11:
260
+
261
+ - add log in http request handler
262
+ - fix AbstractAccessCondition signature
263
+
264
+ #### 2.0.9:
265
+
266
+ - fix AccessCondition (to use injection)
267
+ - fix ExpressWrapper & LambdaWrapper to resolve AbstractServerSocketManager
268
+ - remove getMountedEndpointInfo from AbstractHttpRequestHandler, move to ServerGlobalStore
269
+ - fix property assignment in isolated transactional object
270
+ - add log for AwsSocketManager, fix connection problem to redis
271
+
272
+ #### 2.0.1:
273
+
274
+ - fix some import redundancies
275
+
276
+ #### 2.0.0:
277
+
278
+ - Upgrade with claire core 2.0.0
279
+
280
+ #### 1.6.4:
281
+
282
+ - Add pong socket response
283
+
284
+ #### 1.6.3:
285
+
286
+ - AbstractDatabaseMigrator: supply migration directory to migrate and rollback functions
287
+ - fix migrator cli path
288
+
289
+ #### 1.6.1:
290
+
291
+ - AbstractPrincipal -> IPrincipal (for serialization)
292
+
293
+ #### 1.5.51:
294
+
295
+ - fix AwsSocketManager not release redis connection, add more log
296
+ - fix ExpressWrapper unhandled socket promise exception
297
+
298
+ #### 1.5.39 (Breaking change):
299
+
300
+ - fix properties null check
301
+ - socket multiplex
302
+
303
+ #### 1.5.28:
304
+
305
+ - fix server socket authId => authInfo
306
+
307
+ #### 1.5.26:
308
+
309
+ - add OwnedResourceAccessCondition
310
+
311
+ #### 1.5.24:
312
+
313
+ - replace HttpRequest.getPrincipalId by HttpRequest.getAuthInfo
314
+
315
+ #### 1.5.23:
316
+
317
+ - fix ServerSocket
318
+ - fix not remove disconnect socket from socket manager
319
+
320
+ #### 1.5.15 (Breaking change):
321
+
322
+ - remove getValue / setValue in HttpRequest
323
+ - add setPrincipalId / getPrincipalId in HttpRequest
324
+ - adjust Socket Server
325
+
326
+ #### 1.5.12:
327
+
328
+ - handle socket in lambda wrapper
329
+
330
+ #### 1.5.11:
331
+
332
+ - fix ServerSocket
333
+
334
+ #### 1.5.6:
335
+
336
+ - update claire core
337
+ - fix ServerSocket
338
+
339
+ #### 1.5.4:
340
+
341
+ - run middleware before socket authentication
342
+
343
+ #### 1.5.2:
344
+
345
+ - add websocket support in ExpressWrapper
346
+
347
+ #### 1.5.1:
348
+
349
+ - update claire core
350
+
351
+ #### 1.5.0:
352
+
353
+ - revert back to 1.3.38
354
+
355
+ #### 1.3.38:
356
+
357
+ - export QueryCondition
358
+
359
+ #### 1.3.37:
360
+
361
+ - return error name instead of TRANSACTION_ERROR
362
+ - update claire core
363
+
364
+ #### 1.3.36:
365
+
366
+ - fix missing down script of unique constraint in database migrator
367
+ - add rollback to database migrator
368
+
369
+ #### 1.3.34:
370
+
371
+ - export AbstractDatabaseMigrator
372
+ - fix DefaultSqlDatabaseMigrator not generate new unique constraints for new field
373
+
374
+ #### 1.3.32:
375
+
376
+ - fix DefaultSqlDatabaseMigrator missing foreign constraint check when add/remove fields
377
+
378
+ #### 1.3.31:
379
+
380
+ - update server modify
381
+
382
+ #### 1.3.30:
383
+
384
+ - adjust body raw parser in ExpressWrapper
385
+
386
+ #### 1.3.28:
387
+
388
+ - fix not supply HttpResponse in Http handler
389
+
390
+ #### 1.3.27:
391
+
392
+ - add body parser raw middleware
393
+
394
+ #### 1.3.26:
395
+
396
+ - modify express wrapper send result
397
+
398
+ #### 1.3.25:
399
+
400
+ - add request options mapper in LambdaWrapper
401
+
402
+ #### 1.3.24:
403
+
404
+ - add LambdaWrapper
405
+
406
+ #### 1.3.23:
407
+
408
+ - add ExpressWrapper
409
+
410
+ #### 1.3.22:
411
+
412
+ - merge accessConditions in CrudHttpController
413
+
414
+ #### 1.3.21:
415
+
416
+ - DefaultSqlDatabaseMigrator will no longer generate remove table query.
417
+
418
+ #### 1.3.20:
419
+
420
+ - add permissionGroup and displayName metadata for EndpointMetadata
421
+
422
+ #### 1.3.16:
423
+
424
+ - update claire core
425
+ - allow empty records for CrudHttpController createMany
426
+
427
+ #### 1.3.15:
428
+
429
+ - fix incorrect parse Http params
430
+
431
+ #### 1.3.13:
432
+
433
+ - update claire core
434
+
435
+ #### 1.3.12:
436
+
437
+ - re-introduce terser plugin
438
+ - update claire core
439
+
440
+ #### 1.3.10:
441
+
442
+ - emit source map
443
+
444
+ #### 1.3.9:
445
+
446
+ - update claire core
447
+
448
+ #### 1.3.8:
449
+
450
+ - fix missing HttpResponse export
451
+
452
+ #### 1.3.7:
453
+
454
+ - upgrade Clairejs/core
455
+
456
+ #### 1.3.6:
457
+
458
+ - upgrade Clairejs/core
459
+
460
+ - interpret @ServerTime and @Timestamp
461
+
462
+ #### 1.3.2 (Breaking change):
463
+
464
+ - re-introduce http response to controller
465
+
466
+ #### 1.2.6:
467
+
468
+ - add unaccent operators (uSUBSTR, iuSUBSTR)
469
+
470
+ #### 1.2.5:
471
+
472
+ - allow multiple calls to boot
473
+
474
+ #### 1.2.4:
475
+
476
+ - fix http request handler parse get and delete request body
477
+
478
+ #### 1.2.2:
479
+
480
+ - split database migrator
481
+ - rework of ClaireServer to be request handler
482
+ - remove dependency of expressjs and its middleware
483
+
484
+ #### 1.1.9:
485
+
486
+ - revert 1.1.8
487
+
488
+ #### 1.1.8:
489
+
490
+ - init app when getExpressApp
491
+
492
+ #### 1.1.7:
493
+
494
+ - add pg-hstore as dependency
495
+
496
+ #### 1.1.6:
497
+
498
+ - fix autoCommit in @Transactional
499
+
500
+ #### 1.1.5:
501
+
502
+ - use AbstractModel id field for primary key query
503
+
504
+ #### 1.1.3:
505
+
506
+ - fix returning ids for updateMany and deleteMany
507
+
508
+ #### 1.1.2:
509
+
510
+ - fix not auto generate migration when changing cascade of @FK
511
+ - set build target es6
512
+
513
+ #### 1.1.0:
514
+
515
+ - fix foreign key cascase delete
516
+ - fix auto commit of crud http controller
517
+ - return array of ids when updateMany or deleteMany
518
+
519
+ #### 1.0.22:
520
+
521
+ - CrudHttpController exposes static validators
522
+
523
+ #### 1.0.21:
524
+
525
+ - update Clairejs Core
526
+
527
+ #### 1.0.20:
528
+
529
+ - update CrudHttpController for query change
530
+
531
+ #### 1.0.17:
532
+
533
+ - perform json parsing for fields of request params and queries
534
+
535
+ #### 1.0.15:
536
+
537
+ - fix @Searchable in CrudHttpController
538
+
539
+ #### 1.0.13:
540
+
541
+ - add iSUBSTR operator to search for case insensitive string
542
+
543
+ #### 1.0.9:
544
+
545
+ - fix CrudHttpController endpoint naming
546
+
547
+ #### 1.0.8:
548
+
549
+ - fix DefaultHttpRequestHandler upgrade Http
550
+
551
+ #### 1.0.6:
552
+
553
+ - fix DefaultHttpRequestHandler cannot return request body when no validator is provided