fp-ts
2.16.11 · 18 Aug 2025MIT6.2M / weekRepositorynpmAtom feed
2.16.11 is the newest release of 2.x.
In short
1 deprecated9 new2 fixed10 changed
- deprecated
flipis now curried, #1748
Release note
New Feature
new modules:
ReaderIO, #1738
do notation:
add
lethelpers, #1725
Alternativeadd
getAlternativeMonoid, #1717
functionflipis now curried, #1748
pipeableadd pipeable helpers, #1764
altapbimapchaincomposecontramapextendfilterfilterMapfilterMapWithIndexfilterWithIndexfoldMapfoldMapWithIndexmapmapLeftmapWithIndexpartitionpartitionMappartitionMapWithIndexpartitionWithIndexpromapreducereduceRightreduceRightWithIndexreduceWithIndex
ReaderTaskadd
ReaderIOconstructors/combinators, #1773
ReaderTaskEitheradd
ReaderIOconstructors/combinators, #1774
TaskEitheradd
chainTaskOptionKW, #1744
Polish
backport from v3 some handy defaults defined in natural transformations/combinators/constructors
fix wrong type parameter order:
FromIOchainIOK
FromTaskchainTaskKchainFirstTaskK
WhiterableFilterE1
TheseTboth
EitherapFirstWapSecondW
IOEitherapFirstWapSecondW
ReaderapFirstWapSecondW
ReaderEitherapFirstWapSecondW
ReaderTaskEitherapFirstWapSecondW
StateReaderTaskEitherapFirstWapSecondW
TaskEitherapFirstWapSecondW
Applyadd
apoverloadings, #1721
Eitherremove useless type parameter in
exists
ReadonlyRecordfix
fromEntriesreturn type, closes #1745
TaskEitherfix
fromPredicatesignature
Theseadd missing
fromPredicateremove useless type parameter in
exists
Traversableadd more overloadings to traverse / sequence helpers, #1758
WritergetChainrequires aSemigroupinstead of aMonoid
Deprecation
functiondeprecate uncurried
flipfunction, #1748