@clairejs/server 3.0.17 → 3.0.18

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 +483 -482
  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 +60 -60
package/README.md CHANGED
@@ -1,482 +1,483 @@
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
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