Skip to content

Releases: gcanti/fp-ts

2.11.5

14 Oct 08:33
Compare
Choose a tag to compare

2.11.4

27 Sep 08:12
Compare
Choose a tag to compare

2.11.3

21 Sep 09:22
Compare
Choose a tag to compare
  • Polish

2.11.2

13 Sep 10:06
Compare
Choose a tag to compare

2.11.1

28 Jul 11:06
Compare
Choose a tag to compare
  • Deprecation
    • Array
      • deprecate range, use NonEmptyArray module instead.
    • function
      • deprecate Endomorphism, use Endomorphism module instead.
      • deprecate getEndomorphismMonoid, use Endomorphism module instead.
      • deprecate Predicate, use Predicate module instead.
      • deprecate not, use Predicate module instead.
      • deprecate Refinement, use Refinement module instead.
    • Monoid
      • deprecate monoidVoid, use void module instead.
    • NonEmptyArray
      • deprecate groupSort (it's just sort followed by group)
    • Option
      • deprecate getRefinement, use Refinement module instead.
      • deprecate getFirstMonoid, use getMonoid module instead.
      • deprecate getLastMonoid, use getMonoid module instead.
    • ReadonlyArray
      • deprecate range, use ReadonlyNonEmptyArray module instead.
    • ReadonlyNonEmptyArray
      • deprecate groupSort (it's just sort followed by group)
    • Record / ReadonlyRecord: deprecate overloads without Ord constraint (@anthonyjoeseph):
      • collect
      • reduce
      • foldMap
      • reduceRight
      • reduceWithIndex
      • foldMapWithIndex
      • reduceRightWithIndex
      • getShow
      • deprecate Foldable in favour of getFoldable (@anthonyjoeseph)
      • deprecate FoldableWithIndex in favour of getFoldableWithIndex (@anthonyjoeseph)
      • deprecate Traversable in favour of getTraversable (@anthonyjoeseph)
      • deprecate TraversableWithIndex in favour of getTraversableWithIndex (@anthonyjoeseph)
      • deprecate Witherable in favour of getWitherable (@anthonyjoeseph)
    • Semigroup
      • deprecate semigroupVoid, use void module instead.
  • New Feature
    • add Endomorphism module
    • add Predicate module
    • add Refinement module
    • add FromState module
    • add FromThese module
    • add void module
    • add FromReader module
    • add NaturalTransformation module
    • add Zero module
    • Alt
      • add altAll
    • Alternative
      • add altAll
    • Array
      • add prependW, appendW (@thewilkybarkid)
      • add fromOption, fromPredicate (@cdimitroulas)
      • add filterE
      • add ChainRecDepthFirst instance (@qlonik)
      • add chainRecDepthFirst
      • add ChainRecBreadthFirst instance (@qlonik)
      • add chainRecBreadthFirst
      • add getUnionSemigroup
      • add getUnionMonoid
      • add getIntersectionSemigroup
      • add getDifferenceMagma
      • add fromEither
      • add FromEither instance
      • add fromEitherK
      • make isEmpty a user defined guard
      • add concat / concatW
      • add match, matchW, matchLeftW, matchRightW
      • add fromOptionK
      • add Zero instance
      • add guard constructor
      • add exists alias
    • boolean
      • add isBoolean
    • Either
      • add chainOptionK
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • EitherT
      • add orElseFirst
      • add orLeft
    • function
    • IO
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • IOEither
      • add orElseFirst / orElseFirstW
      • add orLeft
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
      • add traverseReadonlyNonEmptyArrayWithIndexSeq
      • add traverseReadonlyArrayWithIndexSeq
    • Magma
      • add reverse
      • add filterFirst
      • add filterSecond
      • add endo
      • add concatAll
    • Map
      • add union
      • add intersection
      • add difference
      • add getUnionSemigroup
      • add getUnionMonoid
      • add getIntersectionSemigroup
      • add getDifferenceMagma
      • add getFoldable
      • add foldMap
      • add reduceRight
      • add reduceWithIndex
      • add foldMapWithIndex
      • add reduceRightWithIndex
    • NonEmptyArray
      • add matchLeft, matchRight, modifyHead, modifyLast (@cdimitroulas)
      • add union
      • add getUnionSemigroup
      • add makeBy
      • add range
      • make concat pipeable
    • number
      • add MagmaSub
      • add isNumber
    • string
      • add isString
    • Option
      • add FromEither instance
      • add fromEitherK
      • add chainEitherK
      • add Zero instance
      • add guard constructor
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • Ord
      • add trivial instance
      • add equals
    • Reader
      • add asksReaderW, asksReader
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • ReaderEither
      • add asksReaderEitherW, asksReaderEither
      • add orElseFirst / orElseFirstW
      • add orLeft
      • add chainReaderKW
      • add chainFirstReaderK, chainFirstReaderKW
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • ReaderTask
      • add asksReaderTaskW, asksReaderTask
      • add chainReaderKW
      • add chainFirstReaderK, chainFirstReaderKW
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
      • add traverseReadonlyNonEmptyArrayWithIndexSeq
      • add traverseReadonlyArrayWithIndexSeq
    • ReaderTaskEither
      • add asksReaderTaskEitherW, asksReaderTaskEither
      • add orElseFirst / orElseFirstW
      • add orLeft
      • add fromReaderTaskK
      • add fromReaderEitherK
      • add chainReaderKW
      • add chainReaderTaskK, chainReaderTaskKW
      • add chainFirstReaderK, chainFirstReaderKW
      • add chainFirstReaderTaskK, chainFirstReaderTaskKW
      • add chainReaderEitherK, chainReaderEitherKW
      • add chainFirstReaderEitherK, chainFirstReaderEitherKW
      • add chainFirstTaskEitherK, chainFirstTaskEitherKW
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
      • add traverseReadonlyNonEmptyArrayWithIndexSeq
      • add traverseReadonlyArrayWithIndexSeq
    • ReadonlyArray
      • add prependW, appendW (@thewilkybarkid)
      • add filterE
      • add ChainRecDepthFirst instance (@qlonik)
      • add chainRecDepthFirst
      • add ChainRecBreadthFirst instance (@qlonik)
      • add chainRecBreadthFirst
      • add getUnionSemigroup
      • add getUnionMonoid
      • add getIntersectionSemigroup
      • add getDifferenceMagma
      • add fromOption
      • add fromPredicate
      • add fromEither
      • add FromEither instance
      • add fromEitherK
      • make isEmpty a user defined guard
      • add concat / concatW
      • add match, matchW, matchLeftW, matchRightW
      • add fromOptionK
      • add Zero instance
      • add guard constructor
      • add exists alias
    • ReadonlyMap
      • add union
      • add intersection
      • add difference
      • add getUnionSemigroup
      • add getUnionMonoid
      • add getIntersectionSemigroup
      • add getDifferenceMagma
      • add reduce
      • add foldMap
      • add reduceRight
      • add reduceWithIndex
      • add foldMapWithIndex
      • add reduceRightWithIndex
    • ReadonlyNonEmptyArray
      • add matchLeft, matchRight, modifyHead, modifyLast (@cdimitroulas)
      • add union
      • add getUnionSemigroup
      • add makeBy
      • add range
      • make concat pipeable
    • ReadonlyRecord
    • ReadonlySet
      • add getUnionSemigroup
      • add getDifferenceMagma
    • Record
      • add union
      • add intersection
      • add difference
      • add getUnionSemigroup
      • add getUnionMonoid
      • add getIntersectionSemigroup
      • add getDifferenceMagma
    • Set
      • add getUnionSemigroup
      • add getDifferenceMagma
    • State
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • StateReaderTaskEither
      • add fromStateK
      • add chainStateK
      • add local
      • add asksStateReaderTaskEitherW, asksStateReaderTaskEither
      • add chainReaderKW
      • add chainFirstReaderK, chainFirstReaderKW
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • string
      • add toUpperCase
      • add toLowerCase
      • add replace
      • add split
      • add trim
      • add trimLeft
      • add trimRight
      • add includes
      • add startsWith
      • add endsWith
      • add slice
    • struct
      • add evolve
    • Task
      • add ApT
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
      • add traverseReadonlyNonEmptyArrayWithIndexSeq
      • add traverseReadonlyArrayWithIndexSeq
    • TaskEither
      • add fromTaskOption (@thewilkybarkid)
      • add fromTaskOptionK
      • add chainTaskOptionK
      • add orElseFirst / orElseFirstW
      • add orLeft
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
      • add traverseReadonlyNonEmptyArrayWithIndexSeq
      • add traverseReadonlyArrayWithIndexSeq
    • TaskOption
      • add fromTaskEither (@thewilkybarkid)
      • add Zero instance
      • add guard constructor
        ...
Read more

2.11.0-rc.2

14 May 10:29
Compare
Choose a tag to compare

To get started using the RC use npm with the following command:

npm install fp-ts@rc
  • string
    • split now returns a ReadonlyNonEmptyArray
  • TaskOption
    • add missing FromEither instance
  • some signature changes in 2.11.0-rc.1 caused type inference issues
    • Array / ReadonlyArray
      • revert isOutOfBound signature change
      • revert isEmpty signature change
      • revert size signature change
    • Either
      • revert exists signature change
      • revert elem signature change
    • These
      • revert exists signature change
      • revert elem signature change
    • NonEmptyArray / ReadonlyNonEmptyArray
      • revert isOutOfBound signature change
    • Set / ReadonlySet
      • revert isEmpty signature change
      • revert size signature change
    • Map / ReadonlyMap
      • revert isEmpty signature change
      • revert size signature change

2.11.0-rc.1

12 May 16:12
Compare
Choose a tag to compare

To get started using the RC use npm with the following command:

npm install fp-ts@rc
  • Deprecation
    • Array
      • deprecate range, use NonEmptyArray module instead.
    • function
      • deprecate Endomorphism, use Endomorphism module instead.
      • deprecate getEndomorphismMonoid, use Endomorphism module instead.
      • deprecate Predicate, use Predicate module instead.
      • deprecate not, use Predicate module instead.
      • deprecate Refinement, use Refinement module instead.
    • Monoid
      • deprecate monoidVoid, use void module instead.
    • NonEmptyArray
      • deprecate groupSort (it's just sort followed by group)
    • Option
      • deprecate getRefinement, use Refinement module instead.
      • deprecate getFirstMonoid, use getMonoid module instead.
      • deprecate getLastMonoid, use getMonoid module instead.
    • ReadonlyArray
      • deprecate range, use ReadonlyNonEmptyArray module instead.
    • ReadonlyNonEmptyArray
      • deprecate groupSort (it's just sort followed by group)
    • Record / ReadonlyRecord: deprecate overloads without Ord constraint (@anthonyjoeseph):
      • collect
      • reduce
      • foldMap
      • reduceRight
      • reduceWithIndex
      • foldMapWithIndex
      • reduceRightWithIndex
      • getShow
      • deprecate Foldable in favour of getFoldable (@anthonyjoeseph)
      • deprecate FoldableWithIndex in favour of getFoldableWithIndex (@anthonyjoeseph)
      • deprecate Traversable in favour of getTraversable (@anthonyjoeseph)
      • deprecate TraversableWithIndex in favour of getTraversableWithIndex (@anthonyjoeseph)
      • deprecate Witherable in favour of getWitherable (@anthonyjoeseph)
    • Semigroup
      • deprecate semigroupVoid, use void module instead.
  • New Feature
    • add Endomorphism module
    • add Predicate module
    • add Refinement module
    • add FromState module
    • add FromThese module
    • add void module
    • add FromReader module
    • add NaturalTransformation module
    • add Zero module
    • Alt
      • add altAll
    • Alternative
      • add altAll
    • Array
      • add prependW, appendW (@thewilkybarkid)
      • add fromOption, fromPredicate (@cdimitroulas)
      • add filterE
      • add ChainRecDepthFirst instance (@qlonik)
      • add chainRecDepthFirst
      • add ChainRecBreadthFirst instance (@qlonik)
      • add chainRecBreadthFirst
      • add getUnionSemigroup
      • add getUnionMonoid
      • add getIntersectionSemigroup
      • add getDifferenceMagma
      • add fromEither
      • add FromEither instance
      • add fromEitherK
      • make isEmpty a user defined guard
      • add concat / concatW
      • add match, matchW, matchLeftW, matchRightW
      • add fromOptionK
      • add Zero instance
      • add guard constructor
      • add exists alias
    • boolean
      • add isBoolean
    • Either
      • add chainOptionK
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • EitherT
      • add orElseFirst
      • add orLeft
    • function
    • IO
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • IOEither
      • add orElseFirst / orElseFirstW
      • add orLeft
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
      • add traverseReadonlyNonEmptyArrayWithIndexSeq
      • add traverseReadonlyArrayWithIndexSeq
    • Magma
      • add reverse
      • add filterFirst
      • add filterSecond
      • add endo
      • add concatAll
    • Map
      • add union
      • add intersection
      • add difference
      • add getUnionSemigroup
      • add getUnionMonoid
      • add getIntersectionSemigroup
      • add getDifferenceMagma
      • add getFoldable
      • add foldMap
      • add reduceRight
      • add reduceWithIndex
      • add foldMapWithIndex
      • add reduceRightWithIndex
    • NonEmptyArray
      • add matchLeft, matchRight, modifyHead, modifyLast (@cdimitroulas)
      • add union
      • add getUnionSemigroup
      • add makeBy
      • add range
      • make concat pipeable
    • number
      • add MagmaSub
      • add isNumber
    • string
      • add isString
    • Option
      • add FromEither instance
      • add fromEitherK
      • add chainEitherK
      • add Zero instance
      • add guard constructor
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • Ord
      • add trivial instance
      • add equals
    • Reader
      • add asksReaderW, asksReader
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • ReaderEither
      • add asksReaderEitherW, asksReaderEither
      • add orElseFirst / orElseFirstW
      • add orLeft
      • add chainReaderKW
      • add chainFirstReaderK, chainFirstReaderKW
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • ReaderTask
      • add asksReaderTaskW, asksReaderTask
      • add chainReaderKW
      • add chainFirstReaderK, chainFirstReaderKW
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
      • add traverseReadonlyNonEmptyArrayWithIndexSeq
      • add traverseReadonlyArrayWithIndexSeq
    • ReaderTaskEither
      • add asksReaderTaskEitherW, asksReaderTaskEither
      • add orElseFirst / orElseFirstW
      • add orLeft
      • add fromReaderTaskK
      • add fromReaderEitherK
      • add chainReaderKW
      • add chainReaderTaskK, chainReaderTaskKW
      • add chainFirstReaderK, chainFirstReaderKW
      • add chainFirstReaderTaskK, chainFirstReaderTaskKW
      • add chainReaderEitherK, chainReaderEitherKW
      • add chainFirstReaderEitherK, chainFirstReaderEitherKW
      • add chainFirstTaskEitherK, chainFirstTaskEitherKW
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
      • add traverseReadonlyNonEmptyArrayWithIndexSeq
      • add traverseReadonlyArrayWithIndexSeq
    • ReadonlyArray
      • add prependW, appendW (@thewilkybarkid)
      • add filterE
      • add ChainRecDepthFirst instance (@qlonik)
      • add chainRecDepthFirst
      • add ChainRecBreadthFirst instance (@qlonik)
      • add chainRecBreadthFirst
      • add getUnionSemigroup
      • add getUnionMonoid
      • add getIntersectionSemigroup
      • add getDifferenceMagma
      • add fromOption
      • add fromPredicate
      • add fromEither
      • add FromEither instance
      • add fromEitherK
      • make isEmpty a user defined guard
      • add concat / concatW
      • add match, matchW, matchLeftW, matchRightW
      • add fromOptionK
      • add Zero instance
      • add guard constructor
      • add exists alias
    • ReadonlyMap
      • add union
      • add intersection
      • add difference
      • add getUnionSemigroup
      • add getUnionMonoid
      • add getIntersectionSemigroup
      • add getDifferenceMagma
      • add reduce
      • add foldMap
      • add reduceRight
      • add reduceWithIndex
      • add foldMapWithIndex
      • add reduceRightWithIndex
    • ReadonlyNonEmptyArray
      • add matchLeft, matchRight, modifyHead, modifyLast (@cdimitroulas)
      • add union
      • add getUnionSemigroup
      • add makeBy
      • add range
      • make concat pipeable
    • ReadonlyRecord
    • ReadonlySet
      • add getUnionSemigroup
      • add getDifferenceMagma
    • Record
      • add union
      • add intersection
      • add difference
      • add getUnionSemigroup
      • add getUnionMonoid
      • add getIntersectionSemigroup
      • add getDifferenceMagma
    • Set
      • add getUnionSemigroup
      • add getDifferenceMagma
    • State
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • StateReaderTaskEither
      • add fromStateK
      • add chainStateK
      • add local
      • add asksStateReaderTaskEitherW, asksStateReaderTaskEither
      • add chainReaderKW
      • add chainFirstReaderK, chainFirstReaderKW
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
    • string
      • add toUpperCase
      • add toLowerCase
      • add replace
      • add split
      • add trim
      • add trimLeft
      • add trimRight
      • add includes
      • add startsWith
      • add endsWith
      • add slice
    • struct
      • add evolve
    • Task
      • add ApT
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
      • add traverseReadonlyNonEmptyArrayWithIndexSeq
      • add traverseReadonlyArrayWithIndexSeq
    • TaskEither
      • add fromTaskOption (@thewilkybarkid)
      • add fromTaskOptionK
      • add chainTaskOptionK
      • add orElseFirst / orElseFirstW
      • add orLeft
      • add flattenW
      • add traverseReadonlyNonEmptyArrayWithIndex
      • add traverseReadonlyArrayWithIndex
      • add traverseReadonlyNonEmptyArrayWithIndexSeq
      • add traverseReadonlyArrayWithIndexSeq
    • TaskOption
      ...
Read more

2.10.5

03 May 05:27
Compare
Choose a tag to compare

2.10.4

20 Apr 14:44
Compare
Choose a tag to compare
  • Bug Fix
    • altW left type is too wide in Either-based data types, #1488 (@wmaurer)

2.10.3

19 Apr 16:31
Compare
Choose a tag to compare
  • Bug Fix
    • StateReaderTaskEither
      • traverseArrayWithIndex does not pass the output state from each step to the subsequent step, #1486