Releases: Bielik20/ts-libs
Releases · Bielik20/ts-libs
v5.2.0
v5.1.0
v5.0.1
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
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.
v4.3.0
v4.2.1
v4.2.0
v4.1.0
v4.0.0
4.0.0 (2022-12-23)
Bug Fixes
chore
- remove old http-client (3b9ed6f)
Features
- di: simplify naming and api (494f8b2)
- http-client: add FetchClient (570a1fe)
- limit included deps (af122fd)
- react-di: replace @wikia/dependency-injection with @ns3/di (fb4e9ca)
- remove core-js from libs bundle (41ab258)
- rename http-client to fetch-client (2980b65)
- rx-state: allow factory to be ObservableInput (90443fc)
- ts-utils: add error helpers (48dca0c)
BREAKING CHANGES
- remove old http-client, use fetch-client instead
- react-di: no longer works with @wikia/dependency-injection