@clairejs/server 3.1.7 → 3.1.10

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