Skip to content

Releases: aikoven/typescript-fsa

v3.0.0

14 Sep 04:05

Choose a tag to compare

  • Change ActionCreator from being a type alias to interface with help of microsoft/TypeScript#4260. Therefore, the oldest supported TypeScript version is now 3.2.

v3.0.0-beta-2

16 May 08:58

Choose a tag to compare

v3.0.0-beta-2 Pre-release
Pre-release
  • Fix type errors when trying to call action creators with unknown (generic) payload type (#56).
  • Update docs, add JSDoc comments.

v3.0.0-beta-1

13 Apr 06:55

Choose a tag to compare

v3.0.0-beta-1 Pre-release
Pre-release
  • Support skipping params and result of type void in Async Action Creators. Requires TypeScript 2.8.
const async = actionCreator.async<void, {bar: string}>('ASYNC');

// skipping argument
const started = async.started();
// skipping `params`
const done = async.done({result: {bar: 'bar'}});
const async = actionCreator.async<{foo: string}, void>('ASYNC');

// skipping `result`
const done = async.done({params: {foo: 'foo'}});

v2.5.0

24 Aug 07:39

Choose a tag to compare

  • Add ActionCreator#match method for single-argument type guard (#42)

v2.4.0

07 Jul 04:44

Choose a tag to compare

  • Added toString() method to action creators returning its type (#33).
    This is useful for redux-saga users where you can now use
yield take(myActionCreator)

instead of

yield take(myActionCreator.type)

v2.3.0

23 May 05:00

Choose a tag to compare

  • Loosen type restriction on Action.meta to be unrestricted index signature. (#26)

v2.2.0

22 May 06:23

Choose a tag to compare

Revert breaking change introduced in 2.1.0

v2.1.0

14 May 07:04

Choose a tag to compare

  • support payload-less async action creator #15

DEPRECATED

This release breaks async action creators with payload.

v2.0.0 typescript-fsa

03 Mar 15:21

Choose a tag to compare

Renamed package to typescript-fsa and decoupled from Redux (#12).

v1.3.0

07 Feb 07:54

Choose a tag to compare

v1.3.0 (2017-02-07)

  • 1.3.0 (d3a7e97)
  • fix: fix dependencies (12f331a)
  • feat: add bindAsyncAction helper for redux-saga (b887e31)
  • chore: add keywords (c1cddbf)
  • chore: upgrade tslint (a022f66)
  • chore(package): update dependencies (#8) (48a82d4)
  • style: add missing trailing commas (c6819ec)