Releases: aikoven/typescript-fsa
Releases · aikoven/typescript-fsa
v3.0.0
- 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
- 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
- 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
- Add ActionCreator#match method for single-argument type guard (#42)
v2.4.0
- 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
- Loosen type restriction on
Action.meta
to be unrestricted index signature. (#26)
v2.2.0
Revert breaking change introduced in 2.1.0
v2.1.0
- support payload-less async action creator #15
DEPRECATED
This release breaks async action creators with payload.
v2.0.0 typescript-fsa
Renamed package to typescript-fsa
and decoupled from Redux (#12).
v1.3.0
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)