Releases: mobily/ts-belt
Releases · mobily/ts-belt
v4.0.0-rc.5
- ✨ added
A.flatMap
v4.0.0-rc.4
- 🐛 fixed up type definitions for
R.flatMap
andAR.flatMap
v4.0.0-rc.3
- ✨ added
ADR.all
v4.0.0-rc.2
- 🐛 fixed up
A.takeWhile
implementation (#60)
v4.0.0-rc.1
- ✨ added support for explicit imports, for example:
import * as Array from '@mobily/ts-belt/Array'
- 🐛 improved resolving
esm
files
v4.0.0-rc.0
- ✨ added
AsyncData
(module) - ✨ added
AsyncDataResult
(module) - ✨ added
AsyncOption
(module) - ✨ added
AsyncResult
(module) - ✨ added
A.sample
(gets a random element from provided array) - ✨ added
O.all
(transforms an array of Options into a single Option data type) - ✨ added
R.all
(transforms an array of Results into a single Result data type) - ✨ added
R.filter
(returnsOk(value)
if the result isOk
and the result ofpredicateFn
is truthy, otherwise, returnsError
) - 🐛 fixed up the
groupBy
signature (#48)
v3.13.1
v3.13.0
- ✨ added
R.fromExecution
- ✨ added
R.fromPromise
- ✨ added
O.fromExecution
- ✨ added
O.fromPromise
- ✨ added
S.append
(alias forS.concat
) - ✨ added
S.prepend
- ♻️ various tweaks to function signatures (
F.equals
,D.toPairs
,F.fromPairs
)
v3.12.0
- ✨ added
A.all
- ✨ added
A.any
- ✨ added
A.difference
- ✨ added
A.intersection
- ✨ added
A.union
- ♻️ various tweaks to TypeScript signatures (
F.defaultTo
,F.when
,F.unless
)