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