Releases: tsedio/tsed
Releases · tsedio/tsed
v8.0.0-beta.5
8.0.0-beta.5 (2024-10-12)
Features
- platform-http: the PlatformTest is now exportable from @tsed/platform-http/testing (4fcf708)
v8.0.0-beta.4
8.0.0-beta.4 (2024-10-12)
Bug Fixes
v8.0.0-beta.3
8.0.0-beta.3 (2024-10-11)
Features
- di: export injectable,controller,interceptor functions (ef18457)
BREAKING CHANGES
- di: registerValue and registerController are removed in favor of injectable/controller functions
v8.0.0-beta.2
8.0.0-beta.2 (2024-10-09)
Bug Fixes
- di: fix DI.invoke when inject() is used on nested class (82019db)
Features
v8.0.0-beta.1
8.0.0-beta.1 (2024-10-06)
Bug Fixes
- adapters: update lowdb to v7 (163e68e)
- 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)
- di: prevent null instance exception on DITest (5ccaf57)
- fix minors typings issue (d6f9fc7)
- formio: update formio to v4.2.5 (e84876f)
- formio: update mongoose to v8.7.0 (2a419da)
- 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)
- prisma: remove commonJs support (ebe57c5)
- 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)
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 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)
- mikro-orm: add entityManager() and orm() functions to inject respectively ORM and EM instance (ba68086)
- 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
- 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.
v8.0.0-alpha.11
8.0.0-alpha.11 (2024-10-06)
Bug Fixes
- oidc-provider: remove OIDC_PROVIDER_NODE_MODULE symbol (35e1b08)
BREAKING CHANGES
- oidc-provider: remove OIDC_PROVIDER_NODE_MODULE symbol. Use import Provider from "oidc-provider" instead
v8.0.0-alpha.10
8.0.0-alpha.10 (2024-10-06)
Bug Fixes
- adapters: update lowdb to v7 (163e68e)
- formio: update formio to v4.2.5 (e84876f)
- formio: update mongoose to v8.7.0 (2a419da)
- platform-koa: update @koa/router to v13.1.0 (44e9c1b)
- prisma: update prisma to v5 (836090e)
- prisma: update prisma to v5 (c89aa16)
- remove nyc dependencies (99ec03a)
- update @swc/core (906c6f1)
- update minor dependencies (491fc5c)
- update some dependencies (5b3d2e4)
BREAKING CHANGES
- prisma: prisma v4 client isn't supported anymore
v8.0.0-alpha.9
8.0.0-alpha.9 (2024-10-02)
Bug Fixes
- common: remove export schema decorator from @tsed/common (3e07044)
BREAKING CHANGES
- common: AcceptMime, All, Delete, Get, Head, Location, Options, Patch, Post, Put, Redirect, View must be imported from
@tsed/schema
.
v8.0.0-alpha.8
8.0.0-alpha.8 (2024-10-02)
Bug Fixes
- common: remove platform-log-middleware import in source code (6372319)
- di: prevent null instance exception on DITest (5ccaf57)
- platform-log-middleware: deprecate platform-log-middleware module (c74e252)
Features
- add @tsed/platform-log-request (9dc4abb)
BREAKING CHANGES
- common: you have to import explicitly @tsed/platform-log-middleware as middleware in the server configuration.