@clairejs/server 3.0.14 → 3.0.17

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