@clairejs/server 3.12.13 → 3.13.0

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