v8.0.0-alpha.1
Pre-release
Pre-release
Romakita
released this
08 Sep 19:03
·
267 commits
to alpha
since this release
8.0.0-alpha.1 (2024-09-08)
Bug Fixes
- common: remove PlatformBuilder.addComponents() method which isn't used method (5cd2e3c)
- fix minors typings issue (d6f9fc7)
- platform-cache: remove getInterceptorOptions which is directly available from @tsed/di (956b34b)
- typegraphql: fix typings since injector isn't compatible with the type signature of container typegraphql definition (b905d78)
Features
- adapters: add adapter() function to inject configured adapter (9a82771)
- core: add AbstractType interface (3919da3)
- di: add inject(), constant(), value() function to inject service or value in injectable property (343713d)
- mikro-orm: add entityManager() and orm() functions to inject respectively ORM and EM instance (ba68086)
BREAKING CHANGES
- 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.