@clairejs/server 3.1.9 → 3.1.12

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