Changelog
v3.13.1
- 🐛 fixed
D.get
signature
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 function signatures (
F.defaultTo
,F.when
,F.unless
)
v3.11.0
- ✨ added a possibility for using either immutable or mutable arrays by default (read more here)
- ✨ added
F.toMutable
- ✨ added
F.coerce
v3.10.0
- ✨ added
F.tryCatch
- ✨ added
F.once
- ✨ added
F.before
- ✨ added
F.after
- ✨ added
F.memoize
- ✨ added
F.memoizeWithKey
v3.9.1
- ✨ make
A.filter
,A.filterWithIndex
,A.keep
,A.keepWithIndex
,A.partition
andG.isNot
types aware of type guards (#25)
v3.9.0
- 🐛 fixed
R.fromPredicate
- ✨ added
O.contains
- ✨ added
O.zip
- ✨ added
O.zipWith
- ✨ added
A.removeFirst
- ✨ added
A.removeFirstBy
- ✨ added
A.zipWithIndex
v3.8.0
- 🐛 fixed
O.fromPredicate
- ♻️ the
Option
type is nowtype Option<T> = T | undefined | null
(due to this update, addingnoUncheckedIndexedAccess
to yourtsconfig
is mandatory, you can see other recommended options here)
v3.7.0
- ✨ added
R.catchError
- ✨ added
R.handleError
- ✨ added
R.mapError
- ✨ added
R.tapError
- ✨ added
R.recover
- ✨ added
R.flip
v3.6.0
- ✨ added
flow
(#17 - ✨ added
D.selectKeys
(@anthony-khong) - ✨ added
D.deleteKey
(@anthony-khong) - ✨ added
D.deleteKeys
(@anthony-khong) - ✨ added
N.clamp
(@domeknn) - ✨ added
N.gt
(@domeknn) - ✨ added
N.lt
(@domeknn) - ✨ added
N.gte
(@domeknn) - ✨ added
N.lte
(@domeknn) - 🐛 fixed
A.prependToAll
(the order of elements was incorrect after callingprependToAll
)
v3.5.0
- ✨ added
D.update
(@anthony-khong) - ✨ added
D.updateUnsafe
(@anthony-khong) - ✨ added
D.isEmpty
- ✨ added
D.isNotEmpty
- ✨ added
A.reduceReverse
- ✨ added
A.filterMap
(alias:A.keepMap
)
v3.4.1
- 🐛 fixed
F.makeControlledThrottle
- 🐛 fixed
F.makeControlledDebounce
⬆️ The invoke
method was accepting only one argument.
v3.4.0
- 🐛 fixed the internal implementation for comparing objects (#10)
- ✨ added
D.set
(@anthony-khong)
v3.3.0
- ♻️ all tuples are now
readonly
- 🗑
D.prop
has been deprecated (please use eitherD.get
orD.getUnsafe
) - ✨ added
A.flip
- ✨ added
F.tap
- ✨ added
F.debounce
- ✨ added
F.makeControlledDebounce
- ✨ added
F.throttle
- ✨ added
F.makeControlledThrottle
v3.2.0
This version provides much better support for the point-free style. For instance, the following should not throw an error in TypeScript:
A.reduce([1, 2, 3], 0, N.add)
A.reduce(['hello', 'world'], '', S.concat)
A.filter(['hello', 'world'], S.startsWith('h'))
v3.1.1
- 🐛 fixed arguments order of
A.*WithIndex
→(index, value)
andD.*WithKey
→(key, value)
functions
v3.1.0
- 🐛 fixed
S.head
return type - ✨ added
S.trimEnd
(@Dilven) - ✨ added
S.trimStart
(@Dilven) - ✨ added
S.last
(@Dilven)
v3.0.1
v3.0.0
Initial v3
implementation.