@clairejs/server 3.0.27 → 3.0.30

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