Releases: gcanti/fp-ts
Releases · gcanti/fp-ts
1.14.3
- Deprecation
- deprecate
StrMap.traverseWithKey
in favour ofstrmap.traverseWithIndex
(@gcanti) - deprecate
OptionT.getOptionT
in favour ofOptionT.getOptionT2v
- deprecate useless
OptionT
functions (@gcanti) - deprecate
EitherT.getEitherT
in favour ofEitherT.getEitherT2v
(@gcanti) - deprecate useless
EitherT
functions (@gcanti) - deprecate
ReaderT.getReaderT
in favour ofReaderT.getReaderT2v
(@gcanti) - deprecate useless
ReaderT
functions (@gcanti) - deprecate
StateT.getStateT
in favour ofStateT.getStateT2v
(@gcanti) - deprecate useless
StateT
functions (@gcanti) - deprecate
Ord.getProductOrd
/Ring.getProductRing
in favour ofOrd.getTupleOrd
/Ring.getTupleRing
(@gcanti)
- deprecate
1.14.2
1.14.1
- New Feature
- add
Map
module (@joshburgess) Record
- add
function.constVoid
(@leemhenson) Set
- add
Reader.getSemigroup
,Reader.getMonoid
(@gcanti) NonEmptyArray
- Add
getSetoid
(@MaximeRDY) - add
NonEmptyArray.prototype.toArrayMap
(@gcanti) - add
NonEmptyArray.prototype.some
(@gcanti) - add
NonEmptyArray.prototype.every
(@gcanti)
- Add
StrMap
- add
Tree.elem
(@gcanti)
- add
- Polish
- Deprecations
- deprecate
Array.index
in favour ofArray.lookup
(@gcanti) - deprecate
NonEmptyArray.prototype.index
in favour ofNonEmptyArray.prototype.lookup
(@gcanti) - deprecate
Record.isSubdictionary
in favour ofRecord.isSubrecord
(@gcanti) - deprecate
Semigroup.getDictionarySemigroup
,Monoid.getDictionaryMonoid
in favour ofRecord.getMonoid
(@gcanti) - deprecate
Array.getArraySemigroup
(@gcanti) - deprecate
Set.member
in favour ofSet.elem
(@gcanti) - deprecate
Array.member
in favour ofArray.elem
(@gcanti) Record
/StrMap
: fix withIndex names (@gcanti)- use "Struct" instead of "Record", and "Tuple" instead of "Product" (@gcanti)
- deprecate
- Internal
- drop Type-level integrity check (@gcanti)
1.13.0
1.12.3
1.12.2
1.12.1
1.12.0
- Deprecation
- deprecate
Set.difference
in favour ofdifference2v
(@gcanti)
- deprecate
- New Feature
- add
Array.union
(@gcanti) - add
Array.intersection
(@gcanti) - add
Array.difference
(@gcanti) - add
Set.compact
(@gcanti) - add
Set.separate
(@gcanti) - add
Set.filterMap
(@gcanti) - add
getCompactableComposition
(@gcanti) - add
getFilterableComposition
(@gcanti) - add
chainFirst
,chainSecond
toTaskEither
(@gcanti) - add
NonEmptyArray.prototype.filterWithIndex
(@gcanti) - add WithKey variants to
Record
(@gcanti)reduceWithKey
foldMapWithKey
foldrWithKey
partitionMapWithIndex
partitionWithIndex
filterMapWithIndex
filterWithIndex
- add
FunctorWithIndex
type class (@MaximeRDY)Array
instance (@MaximeRDY)NonEmptyArray
instance (@MaximeRDY)StrMap
instance (@gcanti)getFunctorWithIndexComposition
(@MaximeRDY)
- add
FoldableWithIndex
type class (@gcanti) - add
TraversableWithIndex
type class (@gcanti) - add
FilterableWithIndex
type class (@gcanti)
- add
- Internal
- upgrade to
typescript@3.2.1
(@gcanti)
- upgrade to
1.11.3
- Deprecation
Array
refine
in favour offilter
(@gcanti)
Either
Option
- Polish
- use built-in
Record
type inRecord
module (@gcanti) - add support for refinements (@gcanti)
Array
takeWhile
span
NonEmptyArray
.prototype.filter
ReaderTaskEither
fromPredicate
Record
filter
Set
filter
partition
StrMap
filter
TaskEither
.prototype.filterOrElse
.prototype.filterOrElseL
fromPredicate
Validation
fromPredicate
- use built-in