Skip to content

v7.0.0-beta.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@Romakita Romakita released this 12 Apr 07:30
· 1448 commits to beta since this release

7.0.0-beta.4 (2022-04-12)

Bug Fixes

  • add missing module prop in package.json (52a1a2b)
  • ajv: bump ajv version (832cc2c)
  • apollo: fix playground options for NODE_ENV === production (2787052), closes #1743
  • apollo: fix regression on playground (97a6248), closes #1743
  • bump dependencies (a12cf27)
  • bump dependencies (fc87d80)
  • bump typescript to v4.6.3 (fe87b3c)
  • cache: fix PlatformCache.keys() method (94d5eba)
  • common: a few possible errors in the PlatformHandler.onError method (#1814) (ffcc541)
  • common: avoid storage/buffer copy in PlatformMulterMiddleware (c672afa), closes #1840
  • common: fix catching error on PlatformMulterMiddleware (796ad58), closes #1809
  • common: make getMountedControllers support nested controllers (#1804) (0e1b293)
  • common: Move domain code to @tsed/schema (3f405d1)
  • common: refactoring adapter and centralize code (79759b7)
  • component-scan: catch error when starting app in ESM env (d2d81da)
  • core: configure jest (81511d6)
  • core: fix cannot use 'in' operator to search for 'prop' in true (70a1c59)
  • core: fix issue when interceptor is used on class (4e1d11a)
  • core: remove depreciation issue when cloning a Buffer (3830fc4)
  • di: get rid of console.log() (#1798) (4b4c40e)
  • di: rename IProvider by ProviderOpts and deprecated IProvider interface (4351ba3)
  • exceptions: clean peer dependencies (dcfa345)
  • exceptions: fix missing dependencies (b0c79a1)
  • fix logger dependency (a2fa68b)
  • fix package dependencies and prepare esm migration (babd289)
  • formio: fix FormioDatabase.saveFormDefinition() method (822a88c)
  • formio: fix import/export formio (97efbfa)
  • formio: fix import/export formio (03a8251)
  • graphql: fix apollo configuration on Koa (a155892)
  • implement bodyParser directly on adaptater (5739ac8)
  • json-mapper: fix groups deserialize with CollectionOf (1b4642d), closes #1723
  • json-mapper: fix moment serialization with custom JsonMapper + OnSerialize (13bbdf0)
  • json-mapper: fix moment serialization without mapper (2628345)
  • json-mapper: fix serialization of additional properties (#1762) (31be76d)
  • logger: bump @tsed/logger package (2840998)
  • migrate faker to the new official npm module (128e453)
  • mongoose: Fix Buffer support in Mongoose (#1813) (8e90803), closes #1811
  • mongoose: fix dynamicRef and improve deserialization support (63566e4), closes #1767
  • openspec: remove depreciation annotation (6c5de0a)
  • passport: test if the req.$ctx exists before calling handler (c55da83), closes #1765
  • platform-cache: fix cache issue (bcc36cf)
  • pnpm: fix peer dependencies for PNPM (cc35789)
  • prisma: fix casing and fix path when outputDir options is given (502de00), closes #1815
  • revert package dependencies (#1769) (3d2ae0c)
  • schema: schema can be null in mapNullableType (4bee99f)
  • schema: fix Groups decorator usage on QueryParams (c5603bd)
  • schema: fix Union enum (354d83f)
  • swagger: fix esm issue (fe3e2af)
  • use barrelsby to generate index (5c3cd43)

Features

  • cache: add refreshThreshold option on UseCache decorator (a27b1a1)
  • common: add PlatformAdapter.bodyParser management (d396adc), closes #1819
  • common: close http/https server connection (0668c3d)
  • di: add injector.getAll() to retrieve all providers related to the same provider type (c6cbd80)
  • di: allow Factory of Custom provider to have hooks (9b97a6d)
  • di: the @Intercept decorator can be used on class (54ae71c)
  • docs: add RecordOf decorator to docs (79e7b05)
  • mikro-orm: introduce @Orm() decorator (1efc2ed), closes #1741
  • mikro-orm: rename all occurrences of connection (f0ea41a), closes #1741
  • mongoose: @tsed/mongoose need mongoose v6 as minimal version (71de7dc)
  • mongoose: @tsed/mongoose need mongoose v6 as minimal version (85605e6)
  • passport: add passport.disableSession to disable the session configuration on PassportModule (79a1eac)
  • passport: add passport.disableSession to disable the session configuration on PassportModule (1be86f0)
  • passport: add $beforeInstall hook to load configuration from another service (c548bbc)
  • prisma: add @tsed/prisma package (71d7794), closes #1389
  • remove ConverterService usage in the codebase (ae4be98)
  • schema: Add JsonOperationRoute.has() to determine if the method consume Files/Body etc... (ea3f8dd)
  • schema: add method to generateSpec from multiple source (ebc1689)
  • schema: add RecordOf decorator (9bbcda9)
  • schema: use api-spec-converter to output OS2 (2d61c04), closes #1756