@clairejs/server 3.0.34 → 3.0.35

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