Skip to content

Releases: gcanti/fp-ts

2.10.0-rc.1

15 Feb 16:30
Compare
Choose a tag to compare
  • Deprecations
    • deprecate pipeable module, use the specific helpers instead
    • deprecate ValidationT module, use EitherT instead
    • deprecate "mega instances", use small, specific instances instead
    • deprecate the old monad transformers, use the specific helpers instead
    • Applicative
      • deprecate getApplicativeComposition, use ap helper instead
    • Array
      • deprecate prependToAll, use prependAll instead
    • BooleanAlgebra
      • deprecate booleanAlgebraBoolean, use boolean.BooleanAlgebra instead
      • deprecate getFunctionBooleanAlgebra, use function.getBooleanAlgebra instead
      • deprecate getDualBooleanAlgebra, use reverse instead
    • Bounded
      • deprecate boundedNumber, use number.Bounded instead
    • Compactable
      • deprecate getCompactableComposition, use compact, separate helpers instead
      • deprecate Separated, use Separated.Separated instead
    • Either
      • deprecate getApplySemigroup in favour of Apply.getApplySemigroup
      • deprecate getApplyMonoid in favour of Applicative.getApplicativeMonoid
      • deprecate getValidationSemigroup in favour of Apply.getApplySemigroup
      • deprecate getValidationMonoid in favour of Applicative.getApplicativeMonoid
      • deprecate getValidation, use getApplicativeValidation and getAltValidation instead
      • deprecate Json type, use the Json module instead
      • deprecate parseJSON type, use the Json module instead
      • deprecate stringifyJSON type, use the Json module instead
    • Eq
      • deprecate eqBoolean, use boolean.Eq instead
      • deprecate eqString, use string.Eq instead
      • deprecate eqNumber, use number.Eq instead
      • deprecate eqDate, use Date.Eq instead
      • deprecate getStructEq, use struct instead
      • deprecate getTupleEq, use tuple instead
    • Filterable
      • deprecate getFilterableComposition, use filter, filterMap, partition, partitionMap helpers instead
    • Foldable
      • deprecate toArray in favour of toReadonlyArray
      • deprecate getFoldableComposition, use reduce, foldMap, reduceRight helpers instead
    • FoldableWithIndex
      • deprecate getFoldableWithIndexComposition, use reduceWithIndex, foldMapWithIndex, reduceRightWithIndex helpers instead
    • Functor
      • deprecate getFunctorComposition, use map helper instead
    • FunctorWithIndex
      • deprecate getFunctorWithIndexComposition, use mapWithIndex helper instead
    • IO
      • deprecate getSemigroup in favour of Apply.getApplySemigroup
      • deprecate getMonoid in favour of Applicative.getApplicativeMonoid
      • deprecate fromIO
    • IOEither
      • deprecate getApplySemigroup in favour of Apply.getApplySemigroup
      • deprecate getApplyMonoid in favour of Applicative.getApplicativeMonoid
      • deprecate getSemigroup in favour of Apply.getApplySemigroup
      • deprecate getIOValidation, use getApplicativeIOValidation and getAltIOValidation instead
    • Monoid
      • deprecate monoidAll, use boolean.MonoidAll instead
      • deprecate monoidAny, use boolean.MonoidAny instead
      • deprecate getFunctionMonoid, use function.getMonoid instead
      • deprecate getEndomorphismMonoid, use function.getEndomorphismMonoid instead (Note. The execution order in
        function.getEndomorphismMonoid is reversed)
      • deprecate monoidString, use string.Monoid instead
      • deprecate monoidSum, use number.MonoidSum instead
      • deprecate monoidProduct, use number.MonoidProduct instead
      • deprecate fold, use concatAll instead
      • deprecate getMeetMonoid, use min instead
      • deprecate getJoinMonoid, use max instead
      • deprecate getDualMonoid, use reverse instead
      • deprecate getStructMonoid, use struct instead
      • deprecate getTupleMonoid, use tuple instead
    • NonEmptyArray
      • deprecate fold, use concatAll instead
      • deprecate prependToAll, use prependAll instead
    • Option
      • deprecate getApplySemigroup in favour of Apply.getApplySemigroup
      • deprecate getApplyMonoid in favour of Applicative.getApplicativeMonoid
    • Ord
      • deprecate ordBoolean, use boolean.Ord instead
      • deprecate ordString, use string.Ord instead
      • deprecate ordNumber, use number.Ord instead
      • deprecate ordDate, use Date.Ord instead
      • deprecate getDualOrd, use reverse instead
      • deprecate getTupleOrd, use tuple instead
    • Ordering
      • deprecate eqOrdering, use Eq instead
      • deprecate monoidOrdering, use Monoid instead
    • Ring
      • deprecate getFunctionRing, use function.getRing instead
    • Reader
      • deprecate getSemigroup in favour of Apply.getApplySemigroup
      • deprecate getMonoid in favour of Applicative.getApplicativeMonoid
    • ReaderEither
      • deprecate getApplySemigroup in favour of Apply.getApplySemigroup
      • deprecate getApplyMonoid in favour of Applicative.getApplicativeMonoid
      • deprecate getSemigroup in favour of Apply.getApplySemigroup
      • deprecate getReaderValidation, use getApplicativeReaderValidation and getAltReaderValidation instead
      • deprecate local, Use Reader's local instead
    • ReaderTask
      • deprecate getSemigroup in favour of Apply.getApplySemigroup
      • deprecate getMonoid in favour of Applicative.getApplicativeMonoid
      • deprecate run
      • deprecate local, Use Reader's local instead
    • ReaderTaskEither
      • deprecate getApplySemigroup in favour of Apply.getApplySemigroup
      • deprecate getApplyMonoid in favour of Applicative.getApplicativeMonoid
      • deprecate getSemigroup in favour of Apply.getApplySemigroup
      • deprecate getReaderTaskValidation, use getApplicativeReaderTaskValidation and getAltReaderTaskValidation instead
      • deprecate run
      • deprecate local, Use Reader's local instead
    • ReaderTaskEither
      • deprecate run
    • ReadonlyArray
      • deprecate prependToAll, use prependAll instead
    • ReadonlyNonEmptyArray
      • deprecate fold, use concatAll instead
      • deprecate prependToAll, use prependAll instead
    • ReadonlyRecord
      • deprecate hasOwnProperty, use has instead
    • Record
      • deprecate hasOwnProperty, use has instead
    • Ring
      • deprecate getTupleRing, use tuple instead
    • Semigroup
      • deprecate semigroupAll, use boolean.SemigroupAll instead
      • deprecate semigroupAny, use boolean.SemigroupAny instead
      • deprecate getFunctionSemigroup, use function.getSemigroup instead
      • deprecate semigroupString, use string.Semigroup instead
      • deprecate semigroupSum, use number.SemigroupSum instead
      • deprecate semigroupProduct, use number.SemigroupProduct instead
      • deprecate fold, use concatAll instead
      • deprecate getIntercalateSemigroup, use intercalate instead
      • deprecate getMeetSemigroup, use min instead
      • deprecate getJoinSemigroup, use max instead
      • deprecate getDualSemigroup, use reverse instead
      • deprecate getStructSemigroup, use struct instead
      • deprecate getTupleSemigroup, use tuple instead
      • deprecate getFirstSemigroup, use first instead
      • deprecate getLastSemigroup, use last instead
      • deprecate getObjectSemigroup, use assign instead
    • Show
      • deprecate showBoolean, use boolean.Show instead
      • deprecate showString, use string.Show instead
      • deprecate showNumber, use number.Show instead
      • deprecate getStructShow, use struct instead
      • deprecate getTupleShow, use tuple instead
    • Task
      • deprecate getSemigroup in favour of Apply.getApplySemigroup
      • deprecate getMonoid in favour of Applicative.getApplicativeMonoid
      • deprecate fromTask
    • TaskEither
      • deprecate getApplySemigroup in favour of Apply.getApplySemigroup
      • deprecate getApplyMonoid in favour of Applicative.getApplicativeMonoid
      • deprecate getSemigroup in favour of Apply.getApplySemigroup
      • deprecate getTaskValidation, use getApplicativeTaskValidation and getAltTaskValidation instead
    • TaskThese
      • deprecate functorTaskThese instance in favour of Functor
      • deprecate bifunctorTaskThese instance in favour of Bifunctor
      • deprecate getSemigroup in favour of Apply.getApplySemigroup
      • deprecate toTuple in favour of toTuple2
    • These
      • deprecate toTuple in favour of toTuple2
    • Traversable
      • deprecate getTraversableComposition, use traversesequence helpers instead
  • New Feature
    • add Pointed type class
    • add FromEither type class
    • add FromIO type class
    • add FromTask type class
    • add TaskOption module
    • add string module
    • add number module
    • add Separated module (@YBogomolov)
    • add Json module
    • Apply
      • add ap helper
      • add apS helper
      • add apFirst helper
      • add apSecond helper
      • add getApplySemigroup
    • Applicative
      • add getApplicativeMonoid
    • Array
      • add Pointed instance
      • add Apply instance
      • add matchLeft alias
      • add matchRight alias
    • boolean
      • add foldW
      • add match alias
      • add matchW alias
      • add Eq instance
      • add BooleanAlgebra instance
      • add SemigroupAll instance
      • add SemigroupAny instance
      • add MonoidAll instance
      • add MonoidAny instance
      • add Ord instance
      • add Show instance
    • BooleanAlgebra
      • add reverse
    • Chain
      • add bind helper
      • add chainFirst helper
    • Compactable
      • add compact helper
        ...
Read more

2.9.5

03 Feb 09:19
Compare
Choose a tag to compare
  • Polish
    • Array, ReadonlyArray: change scanLeft and scanRight to return NonEmptyArray, ReadonlyNonEmptyArray, #1391 (@willheslam)

2.9.4

02 Feb 15:03
Compare
Choose a tag to compare
  • Bug Fix
    • fix filter overloads in NonEmptyArray / ReadonlyNonEmptyArray, closes #1388 (@gcanti)

2.9.3

29 Dec 12:19
Compare
Choose a tag to compare
  • Polish

2.9.2

28 Dec 14:11
Compare
Choose a tag to compare
  • Polish

2.9.1

01 Dec 16:17
Compare
Choose a tag to compare
  • Polish
    • Array / ReadonlyArray
      • sort: return the input when length <= 1, closes #1357 (@gcanti)
      • uniq: return the input when length <= 1 (@gcanti)

2.9.0

23 Nov 08:53
Compare
Choose a tag to compare

2.8.6

13 Nov 19:38
Compare
Choose a tag to compare

2.8.5

28 Oct 15:34
Compare
Choose a tag to compare
  • Polish
    • IOEither
      • export missing of function (@gcanti)
    • ReaderEither
      • export missing of function (@gcanti)

2.8.4

12 Oct 14:23
Compare
Choose a tag to compare
  • Polish
    • IOEither
      • add ApplicativePar instance (@gcanti)
      • add ApplicativeSeq instance (@gcanti)
  • Deprecation
    • IOEither
      • deprecate Applicative in favour of ApplicativePar (@gcanti)