@clairejs/server 3.0.16 → 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 -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 -58
package/README.md CHANGED
@@ -1,482 +1,482 @@
1
- ## Change Log
2
-
3
- #### 3.0.16:
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.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