Skip to content

Releases: gcanti/fp-ts

1.6.1

29 May 10:31
Compare
Choose a tag to compare
  • Polish
    • Reader.local, ReaderTaskEither.local should be able to change the environment type (@gcanti)
    • add Reader.prototype.local, ReaderTaskEither.prototype.local (@gcanti)

1.6.0

24 May 11:06
Compare
Choose a tag to compare
  • New Feature
    • add NonEmptyArray.prototype.last (@raveclassic)
    • add IOEither module (@leemhenson)
    • add orElse method to Either, Identity, Option (@raveclassic)
    • add Alt instance to TaskEither (@gcanti)
    • add NonEmptyArray.prototype.sort (@raveclassic)
    • add TaskEither.fromIOEither (@gcanti)
    • add applyFirst method to IO, Task, IOEither, TaskEither (@gcanti)
    • move ReaderTaskEither from examples into src (@leemhenson)
    • add NonEmptyArray.prototype.reverse (@raveclassic)
    • add TaskEither.fromPredicate (@leemhenson)
    • add Tree module (@gcanti)
    • make Either.filterOrElseL more general (@gcanti)
    • add Either.refineOrElse, Either.refineOrElseL (@gcanti)
    • add Either.fromRefinement (@gcanti)
  • Bug Fix
    • handle undefined errors in callback of TaskEither.taskify (@dmechas)
    • fix overloading typings of TaskEither.taskify (@gcanti)
  • Internal
    • make Writer.prototype.map lazy (@gcanti)
  • Documentation
    • handle example and link tags (@gcanti)

1.5.0

14 May 14:29
Compare
Choose a tag to compare
  • New Feature
    • Allow the usage of a custom Semigroup for StrMap.getMonoid (@mlegenhausen)
    • add applySecond method to IO, Task, TaskEither, closes #418 (@gcanti)
    • add TaskEither.fromIO (@gcanti)
    • add Apply.sequenceT (@raveclassic)
    • add TaskEither.taskify, utility to convert callback-based node APIs, closes #422 (@gcanti)

1.4.1

07 May 09:06
Compare
Choose a tag to compare
  • Bug Fix
    • fix semigroup usage in Tuple.ap implementation (@gcanti)

1.4.0

02 May 07:56
Compare
Choose a tag to compare
  • New Feature
    • add getDictionarySemigroup, getObjectSemigroup to Semigroup (@raveclassic)
    • add getDictionaryMonoid to Monoid (@raveclassic)
    • add Setoid.setoidDate and Ord.ordDate (@mlegenhausen)
    • add StrMap#filter (@mlegenhausen)
    • add Apply.getSemigroup, Applicative.getMonoid (@gcanti)
    • add lattice typeclass hierarchy, closes #412 (@gcanti)
      • BooleanAlgebra
      • BoundedDistributiveLattice
      • BoundedJoinSemilattice
      • BoundedLattice
      • BoundedMeetSemilattice
      • DistributiveLattice
      • HeytingAlgebra
      • JoinSemilattice
      • MeetSemilattice
  • Internal

1.3.0

18 Apr 12:23
Compare
Choose a tag to compare

1.2.0

14 Mar 08:51
Compare
Choose a tag to compare

1.1.0

21 Feb 09:12
Compare
Choose a tag to compare
  • New Feature
    • add scanLeft, scanRight (@PaNaVTEC)
    • add an optional onerror argument to Either.tryCatch, fix #323 (@gcanti)
  • Bug Fix
    • Either.tryCatch now refines the error (@gcanti)
  • Docs
    • Option, alt method (@piq9117)
    • add laws for Setoid, Ord, Functor, Apply, Applicative, Chain, Monad, Alt, Alternative, Plus
      (@gcanti)
  • Internal

1.0.1

14 Feb 11:00
Compare
Choose a tag to compare
  • Bug Fix
    • add phantom fields to curried type classes, fix #316 (@gcanti)
    • fix Unfoldable.replicateA signatures (@gcanti)
  • Internal
    • optimize Foldable.oneOf (@gcanti)
    • optimize Foldable.traverse_ (@gcanti)
    • optimize Foldable.sequence_ (@gcanti)
    • optimize Foldable.foldr (@gcanti)

1.0.0

12 Feb 14:43
Compare
Choose a tag to compare