Skip to content

Releases: Bielik20/ts-libs

v5.2.0

05 Jul 18:18
Compare
Choose a tag to compare

5.2.0 (2024-07-05)

Bug Fixes

  • react-utils: useStream and useStreamValue require dependency list input (040567e)

Features

v5.1.0

10 May 09:17
Compare
Choose a tag to compare

5.1.0 (2024-05-10)

Features

  • fetch-client: make FetchError serializable (9d7ec52)

v5.0.1

29 Sep 07:17
Compare
Choose a tag to compare

5.0.1 (2023-09-29)

Bug Fixes

  • di: change remaining BindingId to BindingToken (it was missed during last major) (c3ae563)

v5.0.0

28 Sep 12:54
Compare
Choose a tag to compare

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.

v4.3.0

23 Aug 16:23
Compare
Choose a tag to compare

4.3.0 (2023-08-23)

Features

v4.2.1

04 Aug 11:00
Compare
Choose a tag to compare

4.2.1 (2023-08-04)

Bug Fixes

v4.2.0

28 Jul 08:17
Compare
Choose a tag to compare

4.2.0 (2023-07-28)

Features

  • di: do not throw on lack of reflect-metadata (a363fcd)

v4.1.0

25 Jan 13:18
Compare
Choose a tag to compare

4.1.0 (2023-01-25)

Features

  • fetch-client: support Fetch instead of FetchHandler (f369433)
  • update keywords and descriptions (e48a12b)

v4.0.0

23 Dec 11:16
Compare
Choose a tag to compare

4.0.0 (2022-12-23)

Bug Fixes

chore

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

v2.1.0

14 Nov 17:55
Compare
Choose a tag to compare

2.1.0 (2022-11-14)

Features

  • di: add Optional decorator (42d91d3)
  • di: create dependency injection (9b85180)