@clairejs/server 3.0.19 → 3.0.23

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