@clairejs/server 3.12.11 → 3.12.13

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