You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mikro-orm: add entityManager() and orm() functions to inject respectively ORM and EM instance (ba68086)
platform-http: the PlatformTest is now exportable from @tsed/platform-http/testing (4fcf708)
schema: add sortPaths option to sort swagger paths by alphabetical order (2e73e8c)
testcontainers-mongo: use mongodb to clean collection instead of @tsed/mongoose (2a390dd)
typegraphql: update code to use typegraphql 2.0.0 (89e0015)
typegraphql: update code to use typegraphql 2.0.0 (af6f2fe)
BREAKING CHANGES
di: Provider with Request scope can be invoked using injector.get(). Before injector.get() returns undefined
di: configuration.scope is removed. This options doesn't make sense since a $ctx exists. ProviderScope.REQUEST must to be declared explicitly on each controller.
di: external DI resolvers is removed. There no needs
core: importPackage is removed from @tsed/core. Use import() instruction instead.
platform-serverless: import BodyParams, QueryParams, etc. from @tsed/platform-params directly
di: DIContext.runInContext and DIContext.emit methods are removed. Use runInContext and $emit function instead.
core: Configurable, Deprecated,Enumerable, ReadOnly, Writable decorators are removed from @tsed/core
di: registerValue and registerController are removed in favor of injectable/controller functions
oidc-provider: remove OIDC_PROVIDER_NODE_MODULE symbol. Use import Provider from "oidc-provider" instead
prisma: prisma v4 client isn't supported anymore
common: AcceptMime, All, Delete, Get, Head, Location, Options, Patch, Post, Put, Redirect, View must be imported from @tsed/schema.
common: you have to import explicitly @tsed/platform-log-middleware as middleware in the server configuration.
CJS isn't supported anymore. You have to migrate your project on ESM syntax.
typegraphql: @tsed/typegraphql use new @tsed/apollo package and support Apollo v4
typegraphql: @tsed/typegraphql use new @tsed/apollo package and support Apollo v4
apollo: all implementation and configuration of @tsed/apollo have changed.
schema: remove deprecated BullMQConfig.defaultJobOptions. Use BullMQConfig.defaultQueueOptions instead
schema: remove Route alias decorator. Use Operation instead
platform-router: remove deprecated OperationMethods constant. Use OperationVerbs instead
platform-cache: remove deprecated PlatformCacheLegacyStoreFactory interface. Use FactoryStore instead
common: remove deprecated PlatformLoggerSettings interface. Use DILoggerOptions instead
mongoose: remove deprecated MongooseModelOptions.discriminatorValue. Use @DiscriminatorValue instead
remove @tsed/testing-mongoose. Use @tsed/testcontainers-mongo instead
remove @tsed/vite-ssr-plugin use @tsed/vike instead
common: remove PlatformBuilder.addComponents() method which isn't used method
di: This change require to set "useDefineForClassFields": false in your tsconfig
Some DI methods are removed like bindInjectableProperties() which is not necessary.