@clairejs/server 3.1.1 → 3.1.2

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