@clairejs/server 3.12.13 → 3.13.1

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 (87) hide show
  1. package/.prettierrc +8 -8
  2. package/README.md +834 -824
  3. package/dist/common/AbstractController.d.ts +3 -3
  4. package/dist/common/ControllerMetadata.d.ts +6 -6
  5. package/dist/common/FileOperation.d.ts +5 -5
  6. package/dist/common/ServerModelMetadata.d.ts +10 -10
  7. package/dist/common/Transactionable.d.ts +7 -7
  8. package/dist/common/auth/AbstractPrincipalResolver.d.ts +5 -4
  9. package/dist/common/auth/IPrincipal.d.ts +3 -4
  10. package/dist/common/constants.d.ts +1 -1
  11. package/dist/common/decorator.d.ts +5 -5
  12. package/dist/common/request/EndpointMetadata.d.ts +40 -40
  13. package/dist/common/request/HttpData.d.ts +1 -1
  14. package/dist/common/request/HttpEndpoint.d.ts +8 -8
  15. package/dist/common/request/JobData.d.ts +1 -1
  16. package/dist/common/request/MountedEndpointInfo.d.ts +6 -6
  17. package/dist/common/request/RequestOptions.d.ts +8 -8
  18. package/dist/common/request/SocketData.d.ts +1 -1
  19. package/dist/common/request/types.d.ts +1 -1
  20. package/dist/controllers/FileManageController.d.ts +14 -14
  21. package/dist/controllers/FileUploadController.d.ts +13 -13
  22. package/dist/controllers/dto/permissions.d.ts +20 -20
  23. package/dist/controllers/dto/system.d.ts +12 -12
  24. package/dist/controllers/dto/upload.d.ts +40 -40
  25. package/dist/http/auth/AbstractHttpAuthorizer.d.ts +6 -9
  26. package/dist/http/common/HttpRequest.d.ts +40 -40
  27. package/dist/http/common/HttpResponse.d.ts +34 -34
  28. package/dist/http/controller/AbstractHttpController.d.ts +8 -8
  29. package/dist/http/controller/AbstractHttpMiddleware.d.ts +10 -10
  30. package/dist/http/controller/AbstractHttpRequestHandler.d.ts +18 -18
  31. package/dist/http/controller/CrudHttpController.d.ts +41 -41
  32. package/dist/http/controller/DefaultHttpRequestHandler.d.ts +22 -21
  33. package/dist/http/decorators.d.ts +33 -33
  34. package/dist/http/file-upload/AbstractFileUploadHandler.d.ts +7 -7
  35. package/dist/http/file-upload/FileUploadHandler.d.ts +11 -11
  36. package/dist/http/file-upload/types.d.ts +1 -1
  37. package/dist/http/repository/AbstractRepository.d.ts +10 -10
  38. package/dist/http/repository/DtoRepository.d.ts +58 -58
  39. package/dist/http/repository/ICrudRepository.d.ts +27 -27
  40. package/dist/http/repository/ModelRepository.d.ts +37 -37
  41. package/dist/http/security/AbstractAccessCondition.d.ts +7 -7
  42. package/dist/http/security/access-conditions/DtoFieldValidation.d.ts +4 -4
  43. package/dist/http/security/access-conditions/FilterModelFieldAccessCondition.d.ts +4 -4
  44. package/dist/http/security/access-conditions/MaximumQueryLimit.d.ts +8 -8
  45. package/dist/http/security/cors.d.ts +6 -6
  46. package/dist/index.d.ts +69 -74
  47. package/dist/index.js +1 -1
  48. package/dist/job/AbstractJobController.d.ts +5 -5
  49. package/dist/job/AbstractJobRepository.d.ts +17 -17
  50. package/dist/job/AbstractJobScheduler.d.ts +38 -38
  51. package/dist/job/AwsJobScheduler.d.ts +48 -48
  52. package/dist/job/LocalJobScheduler.d.ts +88 -88
  53. package/dist/job/decorators.d.ts +5 -5
  54. package/dist/job/interfaces.d.ts +50 -50
  55. package/dist/logging/FileLogMedium.d.ts +13 -13
  56. package/dist/services/AbstractCacheService.d.ts +22 -22
  57. package/dist/services/AbstractFileService.d.ts +15 -15
  58. package/dist/services/AbstractMailService.d.ts +31 -31
  59. package/dist/services/AbstractService.d.ts +3 -3
  60. package/dist/services/AbstractSmsService.d.ts +12 -12
  61. package/dist/services/LocalFileService.d.ts +21 -21
  62. package/dist/services/ProxyFileService.d.ts +20 -20
  63. package/dist/services/RedisCacheService.d.ts +25 -25
  64. package/dist/services/S3FileService.d.ts +36 -36
  65. package/dist/services/SystemService.d.ts +12 -15
  66. package/dist/socket/AbstractServerSocket.d.ts +18 -18
  67. package/dist/socket/AbstractServerSocketManager.d.ts +47 -46
  68. package/dist/socket/AbstractSocketConnectionHandler.d.ts +6 -6
  69. package/dist/socket/AbstractSocketController.d.ts +14 -14
  70. package/dist/socket/AwsSocketManager.d.ts +30 -30
  71. package/dist/socket/IServerSocket.d.ts +16 -16
  72. package/dist/socket/LocalSocketManager.d.ts +48 -47
  73. package/dist/system/ClaireServer.d.ts +13 -13
  74. package/dist/system/ExpressWrapper.d.ts +19 -19
  75. package/dist/system/LambdaWrapper.d.ts +25 -25
  76. package/dist/system/ServerGlobalStore.d.ts +5 -5
  77. package/dist/system/errors.d.ts +13 -14
  78. package/dist/system/lamba-request-mapper.d.ts +2 -2
  79. package/dist/system/locale/LocaleEntry.d.ts +3 -3
  80. package/dist/system/locale/LocaleTranslation.d.ts +6 -6
  81. package/dist/system/locale/decorators.d.ts +2 -2
  82. package/package.json +67 -67
  83. package/dist/controllers/models/SystemSetting.d.ts +0 -5
  84. package/dist/http/auth/AbstractRbacHttpAuthorizer.d.ts +0 -18
  85. package/dist/http/auth/RedisRbacHttpAuthorizer.d.ts +0 -24
  86. package/dist/http/auth/SocketRbacHttpAuthorizer.d.ts +0 -25
  87. package/dist/http/auth/rbac.d.ts +0 -34
package/README.md CHANGED
@@ -1,824 +1,834 @@
1
- ## Change Log
2
-
3
- #### 3.12.13
4
-
5
- - add missing socket controller permission group metadata
6
- - add AbstractController and fix @Controller decorator to check for AbstractController
7
- - AbstractSocketController now extends AbstractController
8
-
9
- #### 3.12.11
10
-
11
- - rename AbstractHttpAuthorizationProvider -> AbstractHttpAuthorizer
12
-
13
- #### 3.12.10
14
-
15
- - fix update many not reflect changes of uriHandling
16
-
17
- #### 3.12.9
18
-
19
- - remove Twilio dependency & TwilioSmsService
20
-
21
- #### 3.12.8
22
-
23
- - add @Transactional for AbstractJobController
24
-
25
- #### 3.12.7
26
-
27
- - fix update many calling before returning before return result
28
- - fix updateMany not returning uri after handling
29
- - add missing file copy endpoint in file manage controller
30
-
31
- #### 3.12.4
32
-
33
- - fix uri handling in ModelRepository
34
- - move get/set system locale to core
35
-
36
- #### 3.12.2
37
-
38
- - fix UriMapper typing
39
- - simplify uri mapper, no more record & IQueryProvider
40
- - improve ModelRepository bby removing redundant locale DB requests
41
-
42
- #### 3.12.0
43
-
44
- - uri mapper does no more provide record id to reduce DB request
45
-
46
- #### 3.11.17
47
-
48
- - fix remove URI files in CRUD updateMany & deleteMany
49
- - support multi locale handling for uri mapper fields
50
- - add @Head HTTP method & endpoint decorator
51
-
52
- #### 3.11.16
53
-
54
- - fix ModelRepository return empty object for localof field without translations
55
- - fix localeof not to generate translation for default locale
56
-
57
- #### 3.11.11
58
-
59
- - fix ExpressWrapper raw parse
60
- - do not log request body
61
- - fix ExpressWrapper raw middleware handle any file type
62
- - handle throw of condition check
63
- - improve model repository to search nested field
64
-
65
- #### 3.11.6
66
-
67
- - log error when request failed
68
- - add limit setting to json request in ExpressWrapper
69
- - remote get multiple upload url limits
70
- - add default info log in DefaultHttpRequestHandler
71
-
72
- #### 3.11.1
73
-
74
- - update webpack config
75
- - merge with @clairejs/base-server
76
-
77
- #### 3.10.17
78
-
79
- - fix lambda request mapper parsing cookies
80
- - move cors config to AbstractHttpRequestHandler
81
-
82
- #### 3.10.15
83
-
84
- - add / adjust cors setting
85
- - add cookie parser
86
- - fix set cookie with options
87
- - fix express & lambda wrapper to return cookies
88
-
89
- #### 3.10.7
90
-
91
- - add random to order option in model repository
92
- - socket_read -> disable_write, socket_write -> disable_read
93
-
94
- #### 3.10.5
95
-
96
- - AbstractJobScheduler run job with spread params
97
- - use setTimeout for local scheduler at timestamp
98
- - fix AwsJobScheduler cron expression
99
- - breaking change update to AbstractFileService
100
-
101
- #### 3.9.2
102
-
103
- - moving and using crud dto factory from claire core
104
- - add expire param to AbstractCacheService set
105
-
106
- #### 3.9.0
107
-
108
- - fix AbstractHttpMiddleware to accept response as second param and return boolean as result
109
-
110
- #### 3.8.8
111
-
112
- - update core package, reduce db calls in ModelRepository
113
- - allow nested update HasMany / HasOne field in ModelRepository
114
-
115
- #### 3.8.6
116
-
117
- - fix auto fill of post/put default value (no more auto fill, because of access condition check)
118
- - fix getMany projection in ModelRepository
119
- - fix hasMany fields in CRUD projection
120
-
121
- #### 3.8.3
122
-
123
- - RedisRbacAuthProvider service id resolver
124
-
125
- #### 3.8.1
126
-
127
- - fix @CurrentUser does no more require Identifiable class
128
- - fix default locale reading empty object properties in ModelRepository
129
-
130
- #### 3.8.0
131
-
132
- - add @LocaleOf decorator
133
- - handle multi-locale for ModelRepository & CrudHtppController
134
-
135
- #### 3.7.12
136
-
137
- - handle gcd of interval to reduce step function trigger rate
138
- - handle cron event for lambda wrapper
139
- - fix remove cron job for AwsJobScheduler
140
- - fix cron expression
141
- - fix rate 1 minute without 's'
142
- - add more debug log
143
- - fix cron expression validation
144
- - remove job executor
145
- - implement AwsJobScheduler (EventBridge + Step Function)
146
- - fix LocalJobScheduler interface
147
- - allow persist LocalJobScheduler job info & multi instance support
148
-
149
- #### 3.6.23
150
-
151
- - unify handle not found error
152
- - fix create many does not return mime field in CrudHttpController
153
- - fix local socket manager buffer message while socket is creating
154
- - fix async handling in lambda socket manager
155
- - handling READY socket message
156
- - fix AwsSocketManager does not remove socket from redis when disconnect
157
- - handle default "" or "/" endpoint correctly
158
- - fix CrudHttpController filter by boolean field
159
- - fix AwsSocketManager not remove socket from channel after disconnection
160
- - support @HasOne for Crud controller
161
- - fix nested queries for ModelRepository
162
-
163
- #### 3.6.3
164
-
165
- - fix onChannelConnected cannot send back data to socket (because socket was not yet added to channel and old instance was used)
166
- - add READY socket message
167
-
168
- #### 3.6.0
169
-
170
- - move database to @clairejs/orm package. Bye bye...
171
-
172
- #### 3.5.4
173
-
174
- - fix aws get socket by id
175
- - send error when close socket
176
- - remove constructor dependency of socket connection handler in socket managers
177
-
178
- #### 3.5.0
179
-
180
- - use ioredis instead of redis (for redlock to work)
181
- - update job interfaces
182
- - adapt socket managers to use ioredis
183
-
184
- #### 3.4.0
185
-
186
- - add job related classes
187
-
188
- #### 3.3.27
189
-
190
- - add random order
191
- - add \_nin operator
192
-
193
- #### 3.3.26
194
-
195
- - remove socket if authentication failed for aws socket manager
196
- - fix lambda request mapper
197
- - fix Express parse Api gateway query for socket connection
198
- - add debug log
199
- - refactor principal data resolver for socket manager
200
-
201
- #### 3.3.19
202
-
203
- - ExpressWrapper don't send response for gateway socket integration (except for connection request)
204
- - fix ExpressWrapper handle APi gateway socket message data
205
- - fix LocalSocketManager get socket by id
206
- - fix auth resolver typing
207
- - fix socket data parsing problem
208
- - fix local socket manager subscribe
209
- - update redis client to v4
210
-
211
- #### 3.3.10
212
-
213
- - fix LambdaWrapper receive ClaireApp factory
214
- - socket pong return original data
215
- - fix ModelRepository getNestedQueries
216
- - add ops to ICrudRepository
217
-
218
- #### 3.3.5
219
-
220
- - fix socket auth provider
221
- - add getSocketsByChannels
222
- - fix express server exit close connection
223
- - update socket manager to support multiple instances
224
-
225
- #### 3.2.8
226
-
227
- - fix CrudHttpController condition check for update body
228
-
229
- #### 3.2.6
230
-
231
- - add cache to RedisRbacAuthProvider
232
-
233
- #### 3.2.5
234
-
235
- - add TfaRequired() decorator and hasTfa to IPrincipal
236
- - abstract DefaultHttpRequestHandler accessControl
237
-
238
- #### 3.2.4
239
-
240
- - IPrincipal id to be any
241
-
242
- #### 3.2.3
243
-
244
- - simplify dto dissolver interface
245
- - introduce DtoRepository
246
-
247
- #### 3.2.0
248
-
249
- - introduce ICrudRepository
250
- - CrudHttpController now requires param of ICrudRepository
251
-
252
- #### 3.1.16
253
-
254
- - fix uri mapper in CRUD update request
255
-
256
- #### 3.1.15
257
-
258
- - re-implement @CurrentUser decorator
259
-
260
- #### 3.1.14
261
-
262
- - fix UriMapper & UriMapperHandler types
263
-
264
- #### 3.1.13
265
-
266
- - provide IQueryProvider to uriMapper, move uriMapper to server logic
267
- - provide tmpUri to uriMapper in ModelRepository
268
-
269
- #### 3.1.11
270
-
271
- - fix CrudHttpController missing description
272
- - fix projection query data type
273
-
274
- #### 3.1.9
275
-
276
- - strip response data if responseDto is present
277
-
278
- #### 3.1.8
279
-
280
- - return 401 http code if not auth throw
281
-
282
- #### 3.1.7
283
-
284
- - fix CrudHtppController merge wrong endpoint
285
-
286
- #### 3.1.5
287
-
288
- - fix aws socket manager parse null redis
289
-
290
- #### 3.1.4
291
-
292
- - abstract file service and cache service does not extends AbstractService anymore
293
- - fix abstract file service
294
-
295
- #### 3.1.2
296
-
297
- - fix server socket sending incorrect plain message
298
-
299
- #### 3.1.1
300
-
301
- - fix server socket
302
- - add permission conditions to CrudHttpController
303
- - add abstract services
304
- - add FileUploadHandler
305
- - add Abstract RbacAuthProvider, Redis & Cache Rbac Auth Provider
306
- - add rbac dto
307
- - add MaximumQueryLimit & DtoFieldValidation conditions
308
-
309
- #### 3.0.36
310
-
311
- - fix crud controller metadata
312
-
313
- #### 3.0.33
314
-
315
- - add @ApiDescription
316
- - add CrudHttpController metadata description
317
-
318
- #### 3.0.30
319
-
320
- - fix objectTypeConstructor
321
-
322
- #### 3.0.29:
323
-
324
- - @Socket -> @Message
325
- - use @Socket to get socket injection in controller method
326
-
327
- #### 3.0.26:
328
-
329
- - add error log in http request handler
330
-
331
- #### 3.0.25:
332
-
333
- - add null search in vector
334
- - support array search for isSymbol field
335
-
336
- #### 3.0.22:
337
-
338
- - fix timestamp field
339
-
340
- #### 3.0.19:
341
-
342
- - fix error throw in transactional
343
-
344
- #### 3.0.18:
345
-
346
- - fix not escape search value
347
- - fix accent & sensitive search in Mysql and Postgres
348
-
349
- #### 3.0.15:
350
-
351
- - require injection of database adapter in AbstractSerivce & AbstractHttpController
352
-
353
- #### 3.0.14:
354
-
355
- - add getById and getByIds to IQuery
356
-
357
- #### 3.0.12:
358
-
359
- - fix error return
360
-
361
- #### 3.0.10:
362
-
363
- - remove count query when getOne
364
-
365
- #### 3.0.8:
366
-
367
- - freeze table name in join clause
368
-
369
- #### 3.0.6:
370
-
371
- - fix index export
372
- - fix AbstractAccessCondition signature
373
-
374
- #### 3.0.5:
375
-
376
- - tested on Postgres & MySql
377
- - add join ability to IQuery, awesome!!
378
-
379
- #### 3.0.3: http method decorator return type check
380
-
381
- - add @ApiResponse decorator to store response body validator
382
- - add TypedPropertyDescriptor in HTTP method decorator to validate function return type (Promise<HttpResponse<any>>>)
383
-
384
- #### 3.0.2: improve http response
385
-
386
- - add binary response
387
-
388
- #### 3.0.0:
389
-
390
- - update claire core 3.0
391
- - controller function param decorators
392
- - ResponseBuilder
393
- - remove ops in getMany
394
-
395
- #### 2.3.13:
396
-
397
- - update raw query function signature
398
-
399
- #### 2.3.12:
400
-
401
- - fix & export CrudService
402
-
403
- #### 2.3.10:
404
-
405
- - Array & Object model field persist & parse
406
-
407
- #### 2.3.9:
408
-
409
- - @TextField will default to Sequelize.TEXT if length is not specified
410
-
411
- #### 2.3.6:
412
-
413
- - fix missing beforeCreate call when update nesting
414
-
415
- #### 2.3.1:
416
-
417
- - fix returning nested uris
418
-
419
- #### 2.3.0:
420
-
421
- - introduce CrudService
422
- - CrudHttpController support @HasMany
423
-
424
- #### 2.2.12:
425
-
426
- - fix isIntegral default
427
-
428
- #### 2.2.10:
429
-
430
- - update `CrudHttpController` Update and Delete to return `Partial<T>`
431
-
432
- #### 2.2.2:
433
-
434
- - fix `@CurrentUser` decorator
435
- - implement `@CurrentUser` decorator
436
-
437
- #### 2.2.0:
438
-
439
- - add `AbstractFileUploadHandler` and handle file upload in `CrudHttpController`
440
- - fix migration contraint remove order
441
-
442
- #### 2.1.20:
443
-
444
- - extends IPrincipal
445
-
446
- #### 2.1.19:
447
-
448
- - fix crud http controller not init database adapter
449
-
450
- #### 2.1.18:
451
-
452
- - downgrade webpack
453
-
454
- #### 2.1.16:
455
-
456
- - add pg-hstore
457
-
458
- #### 2.1.15:
459
-
460
- - add optional injection for socket manager
461
-
462
- #### 2.1.14:
463
-
464
- - AwsSocketManger needs always to be fed by JSON object
465
-
466
- #### 2.1.13:
467
-
468
- - correct json parsing when hanling aws socket message
469
-
470
- #### 2.1.11:
471
-
472
- - adjust getMany and getRecords to return Pick type based on projection
473
- - add getRecords for IQuery to return just the records
474
-
475
- #### 2.1.9:
476
-
477
- - fix CrudHttpController updateMany FilterField condition check
478
-
479
- #### 2.1.8:
480
-
481
- - fix server socket remove not delete its redis info
482
- - add socket created timestamp info
483
- - add get all alive sockets to remove stale sockets in server
484
-
485
- #### 2.1.5:
486
-
487
- - support model defualt value in db migrator & adapter
488
-
489
- #### 2.1.3:
490
-
491
- - add test for cascade delete
492
-
493
- #### 2.1.2:
494
-
495
- - update claire core
496
- - fix converting QueryCondition use "and" as default operator
497
-
498
- #### 2.1.1:
499
-
500
- - update claire core
501
- - update implementation of FileLogMedium
502
-
503
- #### 2.0.26:
504
-
505
- - parse client socket data
506
- - add more debug log
507
- - fix ExpressWrapper AWS GW socket http integration
508
-
509
- #### 2.0.17:
510
-
511
- - add AWS API GW socket request parser for express
512
-
513
- #### 2.0.16:
514
-
515
- - add log to http request handler
516
- - refactor to allow AwsSocketManager to be used with ExpressWrapper
517
-
518
- #### 2.0.14:
519
-
520
- - fix express socket unique id
521
-
522
- #### 2.0.13:
523
-
524
- - update error code from claire core
525
-
526
- #### 2.0.12:
527
-
528
- - export Get, Post, Put, Del decorators
529
-
530
- #### 2.0.11:
531
-
532
- - add log in http request handler
533
- - fix AbstractAccessCondition signature
534
-
535
- #### 2.0.9:
536
-
537
- - fix AccessCondition (to use injection)
538
- - fix ExpressWrapper & LambdaWrapper to resolve AbstractServerSocketManager
539
- - remove getMountedEndpointInfo from AbstractHttpRequestHandler, move to ServerGlobalStore
540
- - fix property assignment in isolated transactional object
541
- - add log for AwsSocketManager, fix connection problem to redis
542
-
543
- #### 2.0.1:
544
-
545
- - fix some import redundancies
546
-
547
- #### 2.0.0:
548
-
549
- - Upgrade with claire core 2.0.0
550
-
551
- #### 1.6.4:
552
-
553
- - Add pong socket response
554
-
555
- #### 1.6.3:
556
-
557
- - AbstractDatabaseMigrator: supply migration directory to migrate and rollback functions
558
- - fix migrator cli path
559
-
560
- #### 1.6.1:
561
-
562
- - AbstractPrincipal -> IPrincipal (for serialization)
563
-
564
- #### 1.5.51:
565
-
566
- - fix AwsSocketManager not release redis connection, add more log
567
- - fix ExpressWrapper unhandled socket promise exception
568
-
569
- #### 1.5.39 (Breaking change):
570
-
571
- - fix properties null check
572
- - socket multiplex
573
-
574
- #### 1.5.28:
575
-
576
- - fix server socket authId => authInfo
577
-
578
- #### 1.5.26:
579
-
580
- - add OwnedResourceAccessCondition
581
-
582
- #### 1.5.24:
583
-
584
- - replace HttpRequest.getPrincipalId by HttpRequest.getAuthInfo
585
-
586
- #### 1.5.23:
587
-
588
- - fix ServerSocket
589
- - fix not remove disconnect socket from socket manager
590
-
591
- #### 1.5.15 (Breaking change):
592
-
593
- - remove getValue / setValue in HttpRequest
594
- - add setPrincipalId / getPrincipalId in HttpRequest
595
- - adjust Socket Server
596
-
597
- #### 1.5.12:
598
-
599
- - handle socket in lambda wrapper
600
-
601
- #### 1.5.11:
602
-
603
- - fix ServerSocket
604
-
605
- #### 1.5.6:
606
-
607
- - update claire core
608
- - fix ServerSocket
609
-
610
- #### 1.5.4:
611
-
612
- - run middleware before socket authentication
613
-
614
- #### 1.5.2:
615
-
616
- - add websocket support in ExpressWrapper
617
-
618
- #### 1.5.1:
619
-
620
- - update claire core
621
-
622
- #### 1.5.0:
623
-
624
- - revert back to 1.3.38
625
-
626
- #### 1.3.38:
627
-
628
- - export QueryCondition
629
-
630
- #### 1.3.37:
631
-
632
- - return error name instead of TRANSACTION_ERROR
633
- - update claire core
634
-
635
- #### 1.3.36:
636
-
637
- - fix missing down script of unique constraint in database migrator
638
- - add rollback to database migrator
639
-
640
- #### 1.3.34:
641
-
642
- - export AbstractDatabaseMigrator
643
- - fix DefaultSqlDatabaseMigrator not generate new unique constraints for new field
644
-
645
- #### 1.3.32:
646
-
647
- - fix DefaultSqlDatabaseMigrator missing foreign constraint check when add/remove fields
648
-
649
- #### 1.3.31:
650
-
651
- - update server modify
652
-
653
- #### 1.3.30:
654
-
655
- - adjust body raw parser in ExpressWrapper
656
-
657
- #### 1.3.28:
658
-
659
- - fix not supply HttpResponse in Http handler
660
-
661
- #### 1.3.27:
662
-
663
- - add body parser raw middleware
664
-
665
- #### 1.3.26:
666
-
667
- - modify express wrapper send result
668
-
669
- #### 1.3.25:
670
-
671
- - add request options mapper in LambdaWrapper
672
-
673
- #### 1.3.24:
674
-
675
- - add LambdaWrapper
676
-
677
- #### 1.3.23:
678
-
679
- - add ExpressWrapper
680
-
681
- #### 1.3.22:
682
-
683
- - merge accessConditions in CrudHttpController
684
-
685
- #### 1.3.21:
686
-
687
- - DefaultSqlDatabaseMigrator will no longer generate remove table query.
688
-
689
- #### 1.3.20:
690
-
691
- - add permissionGroup and displayName metadata for EndpointMetadata
692
-
693
- #### 1.3.16:
694
-
695
- - update claire core
696
- - allow empty records for CrudHttpController createMany
697
-
698
- #### 1.3.15:
699
-
700
- - fix incorrect parse Http params
701
-
702
- #### 1.3.13:
703
-
704
- - update claire core
705
-
706
- #### 1.3.12:
707
-
708
- - re-introduce terser plugin
709
- - update claire core
710
-
711
- #### 1.3.10:
712
-
713
- - emit source map
714
-
715
- #### 1.3.9:
716
-
717
- - update claire core
718
-
719
- #### 1.3.8:
720
-
721
- - fix missing HttpResponse export
722
-
723
- #### 1.3.7:
724
-
725
- - upgrade Clairejs/core
726
-
727
- #### 1.3.6:
728
-
729
- - upgrade Clairejs/core
730
-
731
- - interpret @ServerTime and @Timestamp
732
-
733
- #### 1.3.2 (Breaking change):
734
-
735
- - re-introduce http response to controller
736
-
737
- #### 1.2.6:
738
-
739
- - add unaccent operators (uSUBSTR, iuSUBSTR)
740
-
741
- #### 1.2.5:
742
-
743
- - allow multiple calls to boot
744
-
745
- #### 1.2.4:
746
-
747
- - fix http request handler parse get and delete request body
748
-
749
- #### 1.2.2:
750
-
751
- - split database migrator
752
- - rework of ClaireServer to be request handler
753
- - remove dependency of expressjs and its middleware
754
-
755
- #### 1.1.9:
756
-
757
- - revert 1.1.8
758
-
759
- #### 1.1.8:
760
-
761
- - init app when getExpressApp
762
-
763
- #### 1.1.7:
764
-
765
- - add pg-hstore as dependency
766
-
767
- #### 1.1.6:
768
-
769
- - fix autoCommit in @Transactional
770
-
771
- #### 1.1.5:
772
-
773
- - use AbstractModel id field for primary key query
774
-
775
- #### 1.1.3:
776
-
777
- - fix returning ids for updateMany and deleteMany
778
-
779
- #### 1.1.2:
780
-
781
- - fix not auto generate migration when changing cascade of @FK
782
- - set build target es6
783
-
784
- #### 1.1.0:
785
-
786
- - fix foreign key cascase delete
787
- - fix auto commit of crud http controller
788
- - return array of ids when updateMany or deleteMany
789
-
790
- #### 1.0.22:
791
-
792
- - CrudHttpController exposes static validators
793
-
794
- #### 1.0.21:
795
-
796
- - update Clairejs Core
797
-
798
- #### 1.0.20:
799
-
800
- - update CrudHttpController for query change
801
-
802
- #### 1.0.17:
803
-
804
- - perform json parsing for fields of request params and queries
805
-
806
- #### 1.0.15:
807
-
808
- - fix @Searchable in CrudHttpController
809
-
810
- #### 1.0.13:
811
-
812
- - add iSUBSTR operator to search for case insensitive string
813
-
814
- #### 1.0.9:
815
-
816
- - fix CrudHttpController endpoint naming
817
-
818
- #### 1.0.8:
819
-
820
- - fix DefaultHttpRequestHandler upgrade Http
821
-
822
- #### 1.0.6:
823
-
824
- - fix DefaultHttpRequestHandler cannot return request body when no validator is provided
1
+ ## Change Log
2
+
3
+ #### 3.13.1
4
+
5
+ - remove SystemSetting model
6
+
7
+ #### 3.13.0
8
+
9
+ - adapt model id changing from number to string
10
+ - remove RBAC related implementation
11
+ - update AbtractHttpAuthorizer interface
12
+
13
+ #### 3.12.13
14
+
15
+ - add missing socket controller permission group metadata
16
+ - add AbstractController and fix @Controller decorator to check for AbstractController
17
+ - AbstractSocketController now extends AbstractController
18
+
19
+ #### 3.12.11
20
+
21
+ - rename AbstractHttpAuthorizationProvider -> AbstractHttpAuthorizer
22
+
23
+ #### 3.12.10
24
+
25
+ - fix update many not reflect changes of uriHandling
26
+
27
+ #### 3.12.9
28
+
29
+ - remove Twilio dependency & TwilioSmsService
30
+
31
+ #### 3.12.8
32
+
33
+ - add @Transactional for AbstractJobController
34
+
35
+ #### 3.12.7
36
+
37
+ - fix update many calling before returning before return result
38
+ - fix updateMany not returning uri after handling
39
+ - add missing file copy endpoint in file manage controller
40
+
41
+ #### 3.12.4
42
+
43
+ - fix uri handling in ModelRepository
44
+ - move get/set system locale to core
45
+
46
+ #### 3.12.2
47
+
48
+ - fix UriMapper typing
49
+ - simplify uri mapper, no more record & IQueryProvider
50
+ - improve ModelRepository bby removing redundant locale DB requests
51
+
52
+ #### 3.12.0
53
+
54
+ - uri mapper does no more provide record id to reduce DB request
55
+
56
+ #### 3.11.17
57
+
58
+ - fix remove URI files in CRUD updateMany & deleteMany
59
+ - support multi locale handling for uri mapper fields
60
+ - add @Head HTTP method & endpoint decorator
61
+
62
+ #### 3.11.16
63
+
64
+ - fix ModelRepository return empty object for localof field without translations
65
+ - fix localeof not to generate translation for default locale
66
+
67
+ #### 3.11.11
68
+
69
+ - fix ExpressWrapper raw parse
70
+ - do not log request body
71
+ - fix ExpressWrapper raw middleware handle any file type
72
+ - handle throw of condition check
73
+ - improve model repository to search nested field
74
+
75
+ #### 3.11.6
76
+
77
+ - log error when request failed
78
+ - add limit setting to json request in ExpressWrapper
79
+ - remote get multiple upload url limits
80
+ - add default info log in DefaultHttpRequestHandler
81
+
82
+ #### 3.11.1
83
+
84
+ - update webpack config
85
+ - merge with @clairejs/base-server
86
+
87
+ #### 3.10.17
88
+
89
+ - fix lambda request mapper parsing cookies
90
+ - move cors config to AbstractHttpRequestHandler
91
+
92
+ #### 3.10.15
93
+
94
+ - add / adjust cors setting
95
+ - add cookie parser
96
+ - fix set cookie with options
97
+ - fix express & lambda wrapper to return cookies
98
+
99
+ #### 3.10.7
100
+
101
+ - add random to order option in model repository
102
+ - socket_read -> disable_write, socket_write -> disable_read
103
+
104
+ #### 3.10.5
105
+
106
+ - AbstractJobScheduler run job with spread params
107
+ - use setTimeout for local scheduler at timestamp
108
+ - fix AwsJobScheduler cron expression
109
+ - breaking change update to AbstractFileService
110
+
111
+ #### 3.9.2
112
+
113
+ - moving and using crud dto factory from claire core
114
+ - add expire param to AbstractCacheService set
115
+
116
+ #### 3.9.0
117
+
118
+ - fix AbstractHttpMiddleware to accept response as second param and return boolean as result
119
+
120
+ #### 3.8.8
121
+
122
+ - update core package, reduce db calls in ModelRepository
123
+ - allow nested update HasMany / HasOne field in ModelRepository
124
+
125
+ #### 3.8.6
126
+
127
+ - fix auto fill of post/put default value (no more auto fill, because of access condition check)
128
+ - fix getMany projection in ModelRepository
129
+ - fix hasMany fields in CRUD projection
130
+
131
+ #### 3.8.3
132
+
133
+ - RedisRbacAuthProvider service id resolver
134
+
135
+ #### 3.8.1
136
+
137
+ - fix @CurrentUser does no more require Identifiable class
138
+ - fix default locale reading empty object properties in ModelRepository
139
+
140
+ #### 3.8.0
141
+
142
+ - add @LocaleOf decorator
143
+ - handle multi-locale for ModelRepository & CrudHtppController
144
+
145
+ #### 3.7.12
146
+
147
+ - handle gcd of interval to reduce step function trigger rate
148
+ - handle cron event for lambda wrapper
149
+ - fix remove cron job for AwsJobScheduler
150
+ - fix cron expression
151
+ - fix rate 1 minute without 's'
152
+ - add more debug log
153
+ - fix cron expression validation
154
+ - remove job executor
155
+ - implement AwsJobScheduler (EventBridge + Step Function)
156
+ - fix LocalJobScheduler interface
157
+ - allow persist LocalJobScheduler job info & multi instance support
158
+
159
+ #### 3.6.23
160
+
161
+ - unify handle not found error
162
+ - fix create many does not return mime field in CrudHttpController
163
+ - fix local socket manager buffer message while socket is creating
164
+ - fix async handling in lambda socket manager
165
+ - handling READY socket message
166
+ - fix AwsSocketManager does not remove socket from redis when disconnect
167
+ - handle default "" or "/" endpoint correctly
168
+ - fix CrudHttpController filter by boolean field
169
+ - fix AwsSocketManager not remove socket from channel after disconnection
170
+ - support @HasOne for Crud controller
171
+ - fix nested queries for ModelRepository
172
+
173
+ #### 3.6.3
174
+
175
+ - fix onChannelConnected cannot send back data to socket (because socket was not yet added to channel and old instance was used)
176
+ - add READY socket message
177
+
178
+ #### 3.6.0
179
+
180
+ - move database to @clairejs/orm package. Bye bye...
181
+
182
+ #### 3.5.4
183
+
184
+ - fix aws get socket by id
185
+ - send error when close socket
186
+ - remove constructor dependency of socket connection handler in socket managers
187
+
188
+ #### 3.5.0
189
+
190
+ - use ioredis instead of redis (for redlock to work)
191
+ - update job interfaces
192
+ - adapt socket managers to use ioredis
193
+
194
+ #### 3.4.0
195
+
196
+ - add job related classes
197
+
198
+ #### 3.3.27
199
+
200
+ - add random order
201
+ - add \_nin operator
202
+
203
+ #### 3.3.26
204
+
205
+ - remove socket if authentication failed for aws socket manager
206
+ - fix lambda request mapper
207
+ - fix Express parse Api gateway query for socket connection
208
+ - add debug log
209
+ - refactor principal data resolver for socket manager
210
+
211
+ #### 3.3.19
212
+
213
+ - ExpressWrapper don't send response for gateway socket integration (except for connection request)
214
+ - fix ExpressWrapper handle APi gateway socket message data
215
+ - fix LocalSocketManager get socket by id
216
+ - fix auth resolver typing
217
+ - fix socket data parsing problem
218
+ - fix local socket manager subscribe
219
+ - update redis client to v4
220
+
221
+ #### 3.3.10
222
+
223
+ - fix LambdaWrapper receive ClaireApp factory
224
+ - socket pong return original data
225
+ - fix ModelRepository getNestedQueries
226
+ - add ops to ICrudRepository
227
+
228
+ #### 3.3.5
229
+
230
+ - fix socket auth provider
231
+ - add getSocketsByChannels
232
+ - fix express server exit close connection
233
+ - update socket manager to support multiple instances
234
+
235
+ #### 3.2.8
236
+
237
+ - fix CrudHttpController condition check for update body
238
+
239
+ #### 3.2.6
240
+
241
+ - add cache to RedisRbacAuthProvider
242
+
243
+ #### 3.2.5
244
+
245
+ - add TfaRequired() decorator and hasTfa to IPrincipal
246
+ - abstract DefaultHttpRequestHandler accessControl
247
+
248
+ #### 3.2.4
249
+
250
+ - IPrincipal id to be any
251
+
252
+ #### 3.2.3
253
+
254
+ - simplify dto dissolver interface
255
+ - introduce DtoRepository
256
+
257
+ #### 3.2.0
258
+
259
+ - introduce ICrudRepository
260
+ - CrudHttpController now requires param of ICrudRepository
261
+
262
+ #### 3.1.16
263
+
264
+ - fix uri mapper in CRUD update request
265
+
266
+ #### 3.1.15
267
+
268
+ - re-implement @CurrentUser decorator
269
+
270
+ #### 3.1.14
271
+
272
+ - fix UriMapper & UriMapperHandler types
273
+
274
+ #### 3.1.13
275
+
276
+ - provide IQueryProvider to uriMapper, move uriMapper to server logic
277
+ - provide tmpUri to uriMapper in ModelRepository
278
+
279
+ #### 3.1.11
280
+
281
+ - fix CrudHttpController missing description
282
+ - fix projection query data type
283
+
284
+ #### 3.1.9
285
+
286
+ - strip response data if responseDto is present
287
+
288
+ #### 3.1.8
289
+
290
+ - return 401 http code if not auth throw
291
+
292
+ #### 3.1.7
293
+
294
+ - fix CrudHtppController merge wrong endpoint
295
+
296
+ #### 3.1.5
297
+
298
+ - fix aws socket manager parse null redis
299
+
300
+ #### 3.1.4
301
+
302
+ - abstract file service and cache service does not extends AbstractService anymore
303
+ - fix abstract file service
304
+
305
+ #### 3.1.2
306
+
307
+ - fix server socket sending incorrect plain message
308
+
309
+ #### 3.1.1
310
+
311
+ - fix server socket
312
+ - add permission conditions to CrudHttpController
313
+ - add abstract services
314
+ - add FileUploadHandler
315
+ - add Abstract RbacAuthProvider, Redis & Cache Rbac Auth Provider
316
+ - add rbac dto
317
+ - add MaximumQueryLimit & DtoFieldValidation conditions
318
+
319
+ #### 3.0.36
320
+
321
+ - fix crud controller metadata
322
+
323
+ #### 3.0.33
324
+
325
+ - add @ApiDescription
326
+ - add CrudHttpController metadata description
327
+
328
+ #### 3.0.30
329
+
330
+ - fix objectTypeConstructor
331
+
332
+ #### 3.0.29:
333
+
334
+ - @Socket -> @Message
335
+ - use @Socket to get socket injection in controller method
336
+
337
+ #### 3.0.26:
338
+
339
+ - add error log in http request handler
340
+
341
+ #### 3.0.25:
342
+
343
+ - add null search in vector
344
+ - support array search for isSymbol field
345
+
346
+ #### 3.0.22:
347
+
348
+ - fix timestamp field
349
+
350
+ #### 3.0.19:
351
+
352
+ - fix error throw in transactional
353
+
354
+ #### 3.0.18:
355
+
356
+ - fix not escape search value
357
+ - fix accent & sensitive search in Mysql and Postgres
358
+
359
+ #### 3.0.15:
360
+
361
+ - require injection of database adapter in AbstractSerivce & AbstractHttpController
362
+
363
+ #### 3.0.14:
364
+
365
+ - add getById and getByIds to IQuery
366
+
367
+ #### 3.0.12:
368
+
369
+ - fix error return
370
+
371
+ #### 3.0.10:
372
+
373
+ - remove count query when getOne
374
+
375
+ #### 3.0.8:
376
+
377
+ - freeze table name in join clause
378
+
379
+ #### 3.0.6:
380
+
381
+ - fix index export
382
+ - fix AbstractAccessCondition signature
383
+
384
+ #### 3.0.5:
385
+
386
+ - tested on Postgres & MySql
387
+ - add join ability to IQuery, awesome!!
388
+
389
+ #### 3.0.3: http method decorator return type check
390
+
391
+ - add @ApiResponse decorator to store response body validator
392
+ - add TypedPropertyDescriptor in HTTP method decorator to validate function return type (Promise<HttpResponse<any>>>)
393
+
394
+ #### 3.0.2: improve http response
395
+
396
+ - add binary response
397
+
398
+ #### 3.0.0:
399
+
400
+ - update claire core 3.0
401
+ - controller function param decorators
402
+ - ResponseBuilder
403
+ - remove ops in getMany
404
+
405
+ #### 2.3.13:
406
+
407
+ - update raw query function signature
408
+
409
+ #### 2.3.12:
410
+
411
+ - fix & export CrudService
412
+
413
+ #### 2.3.10:
414
+
415
+ - Array & Object model field persist & parse
416
+
417
+ #### 2.3.9:
418
+
419
+ - @TextField will default to Sequelize.TEXT if length is not specified
420
+
421
+ #### 2.3.6:
422
+
423
+ - fix missing beforeCreate call when update nesting
424
+
425
+ #### 2.3.1:
426
+
427
+ - fix returning nested uris
428
+
429
+ #### 2.3.0:
430
+
431
+ - introduce CrudService
432
+ - CrudHttpController support @HasMany
433
+
434
+ #### 2.2.12:
435
+
436
+ - fix isIntegral default
437
+
438
+ #### 2.2.10:
439
+
440
+ - update `CrudHttpController` Update and Delete to return `Partial<T>`
441
+
442
+ #### 2.2.2:
443
+
444
+ - fix `@CurrentUser` decorator
445
+ - implement `@CurrentUser` decorator
446
+
447
+ #### 2.2.0:
448
+
449
+ - add `AbstractFileUploadHandler` and handle file upload in `CrudHttpController`
450
+ - fix migration contraint remove order
451
+
452
+ #### 2.1.20:
453
+
454
+ - extends IPrincipal
455
+
456
+ #### 2.1.19:
457
+
458
+ - fix crud http controller not init database adapter
459
+
460
+ #### 2.1.18:
461
+
462
+ - downgrade webpack
463
+
464
+ #### 2.1.16:
465
+
466
+ - add pg-hstore
467
+
468
+ #### 2.1.15:
469
+
470
+ - add optional injection for socket manager
471
+
472
+ #### 2.1.14:
473
+
474
+ - AwsSocketManger needs always to be fed by JSON object
475
+
476
+ #### 2.1.13:
477
+
478
+ - correct json parsing when hanling aws socket message
479
+
480
+ #### 2.1.11:
481
+
482
+ - adjust getMany and getRecords to return Pick type based on projection
483
+ - add getRecords for IQuery to return just the records
484
+
485
+ #### 2.1.9:
486
+
487
+ - fix CrudHttpController updateMany FilterField condition check
488
+
489
+ #### 2.1.8:
490
+
491
+ - fix server socket remove not delete its redis info
492
+ - add socket created timestamp info
493
+ - add get all alive sockets to remove stale sockets in server
494
+
495
+ #### 2.1.5:
496
+
497
+ - support model defualt value in db migrator & adapter
498
+
499
+ #### 2.1.3:
500
+
501
+ - add test for cascade delete
502
+
503
+ #### 2.1.2:
504
+
505
+ - update claire core
506
+ - fix converting QueryCondition use "and" as default operator
507
+
508
+ #### 2.1.1:
509
+
510
+ - update claire core
511
+ - update implementation of FileLogMedium
512
+
513
+ #### 2.0.26:
514
+
515
+ - parse client socket data
516
+ - add more debug log
517
+ - fix ExpressWrapper AWS GW socket http integration
518
+
519
+ #### 2.0.17:
520
+
521
+ - add AWS API GW socket request parser for express
522
+
523
+ #### 2.0.16:
524
+
525
+ - add log to http request handler
526
+ - refactor to allow AwsSocketManager to be used with ExpressWrapper
527
+
528
+ #### 2.0.14:
529
+
530
+ - fix express socket unique id
531
+
532
+ #### 2.0.13:
533
+
534
+ - update error code from claire core
535
+
536
+ #### 2.0.12:
537
+
538
+ - export Get, Post, Put, Del decorators
539
+
540
+ #### 2.0.11:
541
+
542
+ - add log in http request handler
543
+ - fix AbstractAccessCondition signature
544
+
545
+ #### 2.0.9:
546
+
547
+ - fix AccessCondition (to use injection)
548
+ - fix ExpressWrapper & LambdaWrapper to resolve AbstractServerSocketManager
549
+ - remove getMountedEndpointInfo from AbstractHttpRequestHandler, move to ServerGlobalStore
550
+ - fix property assignment in isolated transactional object
551
+ - add log for AwsSocketManager, fix connection problem to redis
552
+
553
+ #### 2.0.1:
554
+
555
+ - fix some import redundancies
556
+
557
+ #### 2.0.0:
558
+
559
+ - Upgrade with claire core 2.0.0
560
+
561
+ #### 1.6.4:
562
+
563
+ - Add pong socket response
564
+
565
+ #### 1.6.3:
566
+
567
+ - AbstractDatabaseMigrator: supply migration directory to migrate and rollback functions
568
+ - fix migrator cli path
569
+
570
+ #### 1.6.1:
571
+
572
+ - AbstractPrincipal -> IPrincipal (for serialization)
573
+
574
+ #### 1.5.51:
575
+
576
+ - fix AwsSocketManager not release redis connection, add more log
577
+ - fix ExpressWrapper unhandled socket promise exception
578
+
579
+ #### 1.5.39 (Breaking change):
580
+
581
+ - fix properties null check
582
+ - socket multiplex
583
+
584
+ #### 1.5.28:
585
+
586
+ - fix server socket authId => authInfo
587
+
588
+ #### 1.5.26:
589
+
590
+ - add OwnedResourceAccessCondition
591
+
592
+ #### 1.5.24:
593
+
594
+ - replace HttpRequest.getPrincipalId by HttpRequest.getAuthInfo
595
+
596
+ #### 1.5.23:
597
+
598
+ - fix ServerSocket
599
+ - fix not remove disconnect socket from socket manager
600
+
601
+ #### 1.5.15 (Breaking change):
602
+
603
+ - remove getValue / setValue in HttpRequest
604
+ - add setPrincipalId / getPrincipalId in HttpRequest
605
+ - adjust Socket Server
606
+
607
+ #### 1.5.12:
608
+
609
+ - handle socket in lambda wrapper
610
+
611
+ #### 1.5.11:
612
+
613
+ - fix ServerSocket
614
+
615
+ #### 1.5.6:
616
+
617
+ - update claire core
618
+ - fix ServerSocket
619
+
620
+ #### 1.5.4:
621
+
622
+ - run middleware before socket authentication
623
+
624
+ #### 1.5.2:
625
+
626
+ - add websocket support in ExpressWrapper
627
+
628
+ #### 1.5.1:
629
+
630
+ - update claire core
631
+
632
+ #### 1.5.0:
633
+
634
+ - revert back to 1.3.38
635
+
636
+ #### 1.3.38:
637
+
638
+ - export QueryCondition
639
+
640
+ #### 1.3.37:
641
+
642
+ - return error name instead of TRANSACTION_ERROR
643
+ - update claire core
644
+
645
+ #### 1.3.36:
646
+
647
+ - fix missing down script of unique constraint in database migrator
648
+ - add rollback to database migrator
649
+
650
+ #### 1.3.34:
651
+
652
+ - export AbstractDatabaseMigrator
653
+ - fix DefaultSqlDatabaseMigrator not generate new unique constraints for new field
654
+
655
+ #### 1.3.32:
656
+
657
+ - fix DefaultSqlDatabaseMigrator missing foreign constraint check when add/remove fields
658
+
659
+ #### 1.3.31:
660
+
661
+ - update server modify
662
+
663
+ #### 1.3.30:
664
+
665
+ - adjust body raw parser in ExpressWrapper
666
+
667
+ #### 1.3.28:
668
+
669
+ - fix not supply HttpResponse in Http handler
670
+
671
+ #### 1.3.27:
672
+
673
+ - add body parser raw middleware
674
+
675
+ #### 1.3.26:
676
+
677
+ - modify express wrapper send result
678
+
679
+ #### 1.3.25:
680
+
681
+ - add request options mapper in LambdaWrapper
682
+
683
+ #### 1.3.24:
684
+
685
+ - add LambdaWrapper
686
+
687
+ #### 1.3.23:
688
+
689
+ - add ExpressWrapper
690
+
691
+ #### 1.3.22:
692
+
693
+ - merge accessConditions in CrudHttpController
694
+
695
+ #### 1.3.21:
696
+
697
+ - DefaultSqlDatabaseMigrator will no longer generate remove table query.
698
+
699
+ #### 1.3.20:
700
+
701
+ - add permissionGroup and displayName metadata for EndpointMetadata
702
+
703
+ #### 1.3.16:
704
+
705
+ - update claire core
706
+ - allow empty records for CrudHttpController createMany
707
+
708
+ #### 1.3.15:
709
+
710
+ - fix incorrect parse Http params
711
+
712
+ #### 1.3.13:
713
+
714
+ - update claire core
715
+
716
+ #### 1.3.12:
717
+
718
+ - re-introduce terser plugin
719
+ - update claire core
720
+
721
+ #### 1.3.10:
722
+
723
+ - emit source map
724
+
725
+ #### 1.3.9:
726
+
727
+ - update claire core
728
+
729
+ #### 1.3.8:
730
+
731
+ - fix missing HttpResponse export
732
+
733
+ #### 1.3.7:
734
+
735
+ - upgrade Clairejs/core
736
+
737
+ #### 1.3.6:
738
+
739
+ - upgrade Clairejs/core
740
+
741
+ - interpret @ServerTime and @Timestamp
742
+
743
+ #### 1.3.2 (Breaking change):
744
+
745
+ - re-introduce http response to controller
746
+
747
+ #### 1.2.6:
748
+
749
+ - add unaccent operators (uSUBSTR, iuSUBSTR)
750
+
751
+ #### 1.2.5:
752
+
753
+ - allow multiple calls to boot
754
+
755
+ #### 1.2.4:
756
+
757
+ - fix http request handler parse get and delete request body
758
+
759
+ #### 1.2.2:
760
+
761
+ - split database migrator
762
+ - rework of ClaireServer to be request handler
763
+ - remove dependency of expressjs and its middleware
764
+
765
+ #### 1.1.9:
766
+
767
+ - revert 1.1.8
768
+
769
+ #### 1.1.8:
770
+
771
+ - init app when getExpressApp
772
+
773
+ #### 1.1.7:
774
+
775
+ - add pg-hstore as dependency
776
+
777
+ #### 1.1.6:
778
+
779
+ - fix autoCommit in @Transactional
780
+
781
+ #### 1.1.5:
782
+
783
+ - use AbstractModel id field for primary key query
784
+
785
+ #### 1.1.3:
786
+
787
+ - fix returning ids for updateMany and deleteMany
788
+
789
+ #### 1.1.2:
790
+
791
+ - fix not auto generate migration when changing cascade of @FK
792
+ - set build target es6
793
+
794
+ #### 1.1.0:
795
+
796
+ - fix foreign key cascase delete
797
+ - fix auto commit of crud http controller
798
+ - return array of ids when updateMany or deleteMany
799
+
800
+ #### 1.0.22:
801
+
802
+ - CrudHttpController exposes static validators
803
+
804
+ #### 1.0.21:
805
+
806
+ - update Clairejs Core
807
+
808
+ #### 1.0.20:
809
+
810
+ - update CrudHttpController for query change
811
+
812
+ #### 1.0.17:
813
+
814
+ - perform json parsing for fields of request params and queries
815
+
816
+ #### 1.0.15:
817
+
818
+ - fix @Searchable in CrudHttpController
819
+
820
+ #### 1.0.13:
821
+
822
+ - add iSUBSTR operator to search for case insensitive string
823
+
824
+ #### 1.0.9:
825
+
826
+ - fix CrudHttpController endpoint naming
827
+
828
+ #### 1.0.8:
829
+
830
+ - fix DefaultHttpRequestHandler upgrade Http
831
+
832
+ #### 1.0.6:
833
+
834
+ - fix DefaultHttpRequestHandler cannot return request body when no validator is provided