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.flatMapandAR.flatMap
v4.0.0-rc.3
- ✨ added
ADR.all
v4.0.0-rc.2
- 🐛 fixed up
A.takeWhileimplementation (#60)
v4.0.0-rc.1
- ✨ added support for explicit imports, for example:
import * as Array from '@mobily/ts-belt/Array' - 🐛 improved resolving
esmfiles
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 isOkand the result ofpredicateFnis truthy, otherwise, returnsError) - 🐛 fixed up the
groupBysignature (#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)