Releases: tsedio/tsed
Releases · tsedio/tsed
v8.0.0-rc.5
8.0.0-rc.5 (2024-11-16)
Bug Fixes
- schema: add discriminator.mappings information on generated schema (b616308)
v7.84.1
v8.0.0-rc.4
8.0.0-rc.4 (2024-11-12)
Bug Fixes
- core: remove unused importPackage in code base (e1ea388)
Features
- di: add lazyInject and optionalLazyInject (eb07219)
- di: use configuration fn to attach configuration to a provider (f287dab)
BREAKING CHANGES
- core: importPackage is removed from @tsed/core. Use import() instruction instead.
v8.0.0-rc.3
8.0.0-rc.3 (2024-11-08)
Bug Fixes
- di: clean commented code and use DI fn API to create context correctly (6406314)
- di: prevent undefined hook instance when class is mocked (f12f56b)
- ioredis: fix incompatible esm import (1d486ea)
- platform-http: clean createContext constructor options to avoid ref to injector directly (25db0e3)
- platform-log-request: use DIContext as base type instead BaseContext (5a1a380)
v8.0.0-rc.2
8.0.0-rc.2 (2024-11-01)
Bug Fixes
- core: return descriptor when it's necessary to override original method descriptor (a1c8a1e)
- platform-middlewares: improve inheritance support of UseAuth/AuthOptions/Authorize decorator (f296328)
- platform-serverless: remove di exports from platform-serverless package (7105341)
BREAKING CHANGES
- platform-serverless: import BodyParams, QueryParams, etc. from @tsed/platform-params directly
v8.0.0-rc.1
8.0.0-rc.1 (2024-10-30)
Bug Fixes
- adapters: update lowdb to v7 (163e68e)
- common: re-export schema decorators from @tsed/common to maintain compatibility with v7 (65507cb)
- common: remove export schema decorator from @tsed/common (3e07044)
- common: remove platform-log-middleware import in source code (6372319)
- common: remove PlatformBuilder.addComponents() method which isn't used method (5cd2e3c)
- core: remove Configurable, Deprecated,Enumerable, ReadOnly, Writable decorators (528c710)
- di: fix DI.invoke when inject() is used on nested class (82019db)
- di: prevent null instance exception on DITest (5ccaf57)
- di: remove unused DIContext.runInContext and emit methods (19ee58b)
- fix minors typings issue (d6f9fc7)
- formio: update formio to v4.2.5 (e84876f)
- formio: update mongoose to v8.7.0 (2a419da)
- merge pull request #2859 from tsedio/fix-remove-reexport-symbol-common (217e6a5)
- oidc-provider: remove OIDC_PROVIDER_NODE_MODULE symbol (35e1b08)
- platform-cache: remove getInterceptorOptions which is directly available from @tsed/di (956b34b)
- platform-koa: update @koa/router to v13.1.0 (44e9c1b)
- platform-log-middleware: deprecate platform-log-middleware module (c74e252)
- platform-serverless: remove aws-lambda dependencies (f689407)
- prisma: fix circular reference when column is optional (56e0b31), closes #2863
- prisma: remove commonJs support (ebe57c5)
- prisma: replace imports to fix esm issue (4d12350)
- prisma: update prisma to v5 (836090e)
- prisma: update prisma to v5 (c89aa16)
- remove @tsed/testing-mongoose (6111459)
- remove @tsed/typeorm package (c0040c8)
- remove @tsed/vite-ssr-plugin (f3414c0)
- remove dirname in source files (4e4f4e2)
- remove nyc dependencies (99ec03a)
- typegraphql: fix typings since injector isn't compatible with the type signature of container typegraphql definition (b905d78)
- update @swc/core (906c6f1)
- update minor dependencies (491fc5c)
- update some dependencies (5b3d2e4)
- update vitepress theme dependency (7e54413)
chore
- remove CJS Support and bump AJV dependency (941e734)
Code Refactoring
- common: remove deprecated PlatformLoggerSettings interface (59a680b)
- mongoose: remove deprecated MongooseModelOptions.discriminatorValue (0e9a3b1)
- platform-cache: remove deprecated PlatformCacheLegacyStoreFactory interface (c8bf779)
- platform-router: remove deprecated OperationMethods constant (c859cab)
- schema: remove deprecated BullMQConfig.defaultJobOptions (8f52777)
- schema: remove Route alias decorator (9c599b1)
Features
- adapters: add adapter() function to inject configured adapter (9a82771)
- add @tsed/platform-log-request (9dc4abb)
- apollo: migrate package on Apollo 4 (4e84844)
- core: add AbstractType interface (3919da3)
- di: add $injector/injector to create on the fly or get the injector every where (1d10ac5)
- di: add configuration fn api (6c43b1a)
- di: add events function to emit event (bea2874)
- di: add inject(), constant(), value() function to inject service or value in injectable property (343713d)
- di: add transform parameter (InjectContext) to inject value in property from $ctx (596b261)
- di: export injectable,controller,interceptor functions (ef18457)
- 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: 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. U...
v8.0.0-beta.11
8.0.0-beta.11 (2024-10-29)
Bug Fixes
- di: remove unused DIContext.runInContext and emit methods (19ee58b)
BREAKING CHANGES
- di: DIContext.runInContext and DIContext.emit methods are removed. Use runInContext and $emit function instead.
v8.0.0-beta.9
v8.0.0-beta.8
v8.0.0-beta.10
8.0.0-beta.10 (2024-10-25)
Bug Fixes
Features
- schema: add sortPaths option to sort swagger paths by alphabetical order (2e73e8c)