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