@clairejs/server 3.0.18 → 3.0.22

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