@clairejs/server 3.0.5 → 3.0.6

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