Skip to content

v7.0.0-beta.13

Pre-release
Pre-release
Compare
Choose a tag to compare
@Romakita Romakita released this 25 Jul 18:51
· 551 commits to beta since this release

7.0.0-beta.13 (2022-07-25)

Bug Fixes

  • bump typescript and update tsconfig options (43f5786)
  • common: enable bodyParser when @All decorator is used (f25ea92)
  • common: fix $ctx.request.route resolved information (5772312)
  • common: migrate unit test on jest and update multer dependency (0125974)
  • common: optimize platform context instanciation (9d8a01e)
  • common: refactoring platform context to prepare the v7 migration (de6aa10)
  • common: remove $onReady hook called twice (bbc117f)
  • common: store limited data to allow middleware logger to log data after request (6b6e9e5)
  • common: store limited data to allow middleware logger to log data after request (958cb9f)
  • core: fix descriptor object created by decorateMethodsOf (afe1422)
  • core: fix hooks typings (d795c2b)
  • di: add bindContext method to retrieve the async hook context (8b6d66f)
  • di: improve DI algorithm resolution (05d9d18)
  • di: optimize context.logger instanciation (66fc9de)
  • di: optimize DI bootstrap (#1958) (0667e03)
  • di: remove cleaning logger on request.end event (189b1a7)
  • express-koa: fix ts typings issue for express/koa bodyparser options (7222b61), closes #1961
  • express: fix bodyparser peer dependencies (2ef04d3), closes #1901
  • fix release note on slack (257a5c3)
  • fix release note on slack (07a9a5a)
  • force npm republish (a8d7a80), closes #1909
  • formio-schema: fix issue when dataSourceUrl is used with arrow function (331229d)
  • json-mapper: fix issue when a model is set using @AdditionalProperties(MyModel) (612af6a)
  • json-mapper: fix issue when a model is set using @AdditionalProperties(MyModel) (2f37a3b)
  • mongoose: add virtuals: true to the given options for json-mapper when a mongoose model is serialized (159294d), closes #1981
  • mongoose: remove mongoose term from swagger documentation for security reason (b375f2b)
  • mongoose: replace NativeError with Error since mongoose no longer export NativeError (23347b6)
  • multer: update multer dependencies to resolve security vulnerability (bb1bf32), closes #1919
  • platform-cache: fix issue with the threshold management (f48be8c)
  • prevent undefined model given to @Ref/@collectionof decorators (33a9932), closes #1896
  • prisma: fix prisma project generation (d03728f), closes #1905
  • prisma: remove wrong prisma import in @tsed/prisma that generate wrong barrel file (#1960) (51d1077), closes #1946
  • remove the delete usage (75ee348)
  • rollback changes introduced by v6.116.0 on the async hook context (f0051c0)
  • schema: fix change-case dependency when using yarn dlx (ae99ae9)
  • swagger: optimize swagger module loading (745cff1)
  • typeorm: fix error connection management (fa04f03)
  • typescript: set lib=ES2021 options (90e4c0a)

chore

  • common: remove componentsScan option (d5090b2)
  • components-scan: remove importComponent (41ca281)
  • components-scan: remove importComponent (65e3a2b)

Features

  • common: add route to PlatformRequest.route to get the matched route path (#1998) (a3d2426), closes #1994
  • di: add $runInContext hook and $ctx.runInContext (#1957) (e5ace43)
  • mikro-orm: introduce middleware to isolate the request context (#1950) (835b060), closes #1949
  • mikro-orm: provide the ability to set an isolation level (b4f26f7), closes #1979
  • mikro-orm: provide the ability to use the implicit transaction (#1997) (b215ac2), closes #1996
  • prisma: bump @prisma/client to v4+ (#1986) (9a90a4b)
  • testing-mongoose: add replicaSet option to use ReplicaSet mode (#2005) (18f0292)
  • testing-mongoose: add replicaSet option to use ReplicaSet mode (#2005) (93abcff)

Performance Improvements

  • di: use resolve method only when it's necessary (f9738e8)
  • refactoring di configuration (e3865de)

BREAKING CHANGES

  • components-scan: remove importComponent function.
  • components-scan: remove importComponent function.
  • common: remove componentsScan option. Import provider with an ES6 import