Skip to content

Releases: tsedio/tsed

v8.0.3

30 Nov 14:08
Compare
Choose a tag to compare

8.0.3 (2024-11-30)

Bug Fixes

  • replace tsed.io by tsed.dev (54d3e5a)

v8.0.2

29 Nov 15:33
Compare
Choose a tag to compare

8.0.2 (2024-11-29)

Bug Fixes

  • ioredis: prevent error when migrating project v7 to v8 (provide replaced by token) (7b13691)

v8.0.1

29 Nov 12:43
Compare
Choose a tag to compare

8.0.1 (2024-11-29)

Bug Fixes

  • platform-http: remove fixture imported in the index.ts by barrels tool (5c96a8b)

v8.0.0

28 Nov 20:28
Compare
Choose a tag to compare

8.0.0 (2024-11-28)

Bug Fixes

  • adapters: update lowdb to v7 (163e68e)
  • bullmq: change hook to handle correct DI initialization (3a64326)
  • 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)
  • core: remove unused importPackage in code base (e1ea388)
  • core: return descriptor when it's necessary to override original method descriptor (a1c8a1e)
  • di: add global flag to register correctly provider on GlobalRegistry vs injector.container (81d1c9c)
  • di: clean commented code and use DI fn API to create context correctly (6406314)
  • di: fix DI.invoke when inject() is used on nested class (82019db)
  • di: make injector really a singleton (db7b2ca)
  • di: prevent null instance exception on DITest (5ccaf57)
  • di: prevent undefined hook instance when class is mocked (f12f56b)
  • di: remove default scope configuration on DIConfiguration level (7c06725)
  • di: remove injector.loadModule() (4b8cf37)
  • di: remove unused DIContext.runInContext and emit methods (19ee58b)
  • di: remove unused resolvers options (75bdd61)
  • di: use DIConfiguration to cache configuration instance instead of Configuration (319ff69)
  • fix minors typings issue (d6f9fc7)
  • formio: update formio to v4.2.5 (e84876f)
  • formio: update mongoose to v8.7.0 (2a419da)
  • ioredis: fix incompatible esm import (1d486ea)
  • 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-http: clean createContext constructor options to avoid ref to injector directly (25db0e3)
  • platform-koa: update @koa/router to v13.1.0 (44e9c1b)
  • platform-log-middleware: deprecate platform-log-middleware module (c74e252)
  • platform-log-request: use DIContext as base type instead BaseContext (5a1a380)
  • platform-middlewares: improve inheritance support of UseAuth/AuthOptions/Authorize decorator (f296328)
  • platform-serverless: remove aws-lambda dependencies (f689407)
  • platform-serverless: remove di exports from platform-serverless package (7105341)
  • 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 $beforeInvoke, $beforeInvoke:type, $afterInvoke (6a274da)
  • 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](343713d39bf8790971e0d...
Read more

v8.0.0-rc.6

25 Nov 08:09
Compare
Choose a tag to compare
v8.0.0-rc.6 Pre-release
Pre-release

8.0.0-rc.6 (2024-11-25)

Bug Fixes

  • bullmq: change hook to handle correct DI initialization (3a64326)
  • di: add global flag to register correctly provider on GlobalRegistry vs injector.container (81d1c9c)
  • di: make injector really a singleton (db7b2ca)
  • di: remove default scope configuration on DIConfiguration level (7c06725)
  • di: remove injector.loadModule() (4b8cf37)
  • di: remove unused resolvers options (75bdd61)
  • di: use DIConfiguration to cache configuration instance instead of Configuration (319ff69)

Features

  • di: add $beforeInvoke, $beforeInvoke:type, $afterInvoke (6a274da)
  • di: add priority/alias props on Provider (84365f4)
  • di: add Provider.getUseOpts (915bc0b)
  • di: injector.get resolve token when token isn't already cached (79ebad7)
  • hooks: create @tsed/hooks package (0dcd52c)

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

v8.0.0-rc.5

16 Nov 20:21
Compare
Choose a tag to compare
v8.0.0-rc.5 Pre-release
Pre-release

8.0.0-rc.5 (2024-11-16)

Bug Fixes

  • schema: add discriminator.mappings information on generated schema (b616308)

v7.84.1

16 Nov 18:29
Compare
Choose a tag to compare

7.84.1 (2024-11-16)

Bug Fixes

  • schema: add discriminator.mappings information on generated schema (b616308)

v8.0.0-rc.4

12 Nov 13:17
Compare
Choose a tag to compare
v8.0.0-rc.4 Pre-release
Pre-release

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

08 Nov 20:38
Compare
Choose a tag to compare
v8.0.0-rc.3 Pre-release
Pre-release

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

01 Nov 10:34
Compare
Choose a tag to compare
v8.0.0-rc.2 Pre-release
Pre-release

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