Releases
v5.0.0
5.0.0 (2023-09-28)
Bug Fixes
di: change scope to be enum instead of const enum (44dba6d )
rx-state: make types more compatible with strict mode (e7f7b33 )
chore
di: rename binding and injectable configs (6290e79 )
ts-utils: remove rxjs related code (77cc020 )
Features
di: add utility method "binding" to ensure type safety of binding config (bb6d796 )
di: support abstract class as a binding id (dc0fca1 )
fetch-client: add baseUrl and headers to FetchClient (5271c1f )
fetch-client: add common interceptors (a612852 )
fetch-client: make toJson function generic (allows to specify response type) (0e666f1 )
react-di: move react-di to react utils (432ff9d )
BREAKING CHANGES
di: rename Klass -> Class, klass -> useClass, value -> useValue, factory -> useFactory, bind -> token
di: scope is now 'enum' instead of 'const enum'
fetch-client: toJson function needs to be called, so toJson -> toJson()
fetch-client: fetch needs to be passed as option in FetchClient constructor
react-di: @ns3/react-di is discontinued in favour of @ns3/react-utils
ts-utils: omitUndefined, tapOnce, tapTeardown are no longer available.
You can’t perform that action at this time.