@clairejs/server 3.1.0 → 3.1.3

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