Skip to content

Releases: gcanti/fp-ts

1.14.3

28 Feb 18:29
Compare
Choose a tag to compare
  • Deprecation
    • deprecate StrMap.traverseWithKey in favour of strmap.traverseWithIndex (@gcanti)
    • deprecate OptionT.getOptionT in favour of OptionT.getOptionT2v
    • deprecate useless OptionT functions (@gcanti)
    • deprecate EitherT.getEitherT in favour of EitherT.getEitherT2v (@gcanti)
    • deprecate useless EitherT functions (@gcanti)
    • deprecate ReaderT.getReaderT in favour of ReaderT.getReaderT2v (@gcanti)
    • deprecate useless ReaderT functions (@gcanti)
    • deprecate StateT.getStateT in favour of StateT.getStateT2v (@gcanti)
    • deprecate useless StateT functions (@gcanti)
    • deprecate Ord.getProductOrd / Ring.getProductRing in favour of Ord.getTupleOrd / Ring.getTupleRing (@gcanti)

1.14.2

22 Feb 07:15
Compare
Choose a tag to compare
  • Deprecation
    • deprecate Setoid.getRecordSetoid in favour of Setoid.getStructSetoid (@gcanti)
    • deprecate Setoid.getProductSetoid in favour of Setoid.getTupleSetoid (@gcanti)

1.14.1

20 Feb 17:42
Compare
Choose a tag to compare
  • New Feature
  • Polish
  • Deprecations
    • deprecate Array.index in favour of Array.lookup (@gcanti)
    • deprecate NonEmptyArray.prototype.index in favour of NonEmptyArray.prototype.lookup (@gcanti)
    • deprecate Record.isSubdictionary in favour of Record.isSubrecord (@gcanti)
    • deprecate Semigroup.getDictionarySemigroup, Monoid.getDictionaryMonoid in favour of Record.getMonoid (@gcanti)
    • deprecate Array.getArraySemigroup (@gcanti)
    • deprecate Set.member in favour of Set.elem (@gcanti)
    • deprecate Array.member in favour of Array.elem (@gcanti)
    • Record / StrMap: fix withIndex names (@gcanti)
    • use "Struct" instead of "Record", and "Tuple" instead of "Product" (@gcanti)
  • Internal
    • drop Type-level integrity check (@gcanti)

1.13.0

21 Jan 08:45
Compare
Choose a tag to compare
  • New Feature
    • add Array.unzip (@user753)
    • add Group type class (@gcanti)
    • add FreeGroup module (@gcanti)
    • add These functions (@gcanti)
      • thisOrBoth
      • thatOrBoth
      • theseThis
      • theseThat
      • fromOptions
      • fromEither

1.12.3

08 Jan 14:26
Compare
Choose a tag to compare
  • Polish
    • support for constrained domain in Record module, closes #685 (@gcanti)
    • optimize Foldable2v.toArray (@gcanti)

1.12.2

02 Jan 08:12
Compare
Choose a tag to compare
  • Bug Fix

1.12.1

14 Dec 11:57
Compare
Choose a tag to compare
  • Bug Fix
    • array.map should be safe when executed with a binary function, fix #675 (@gcanti)

1.12.0

03 Dec 14:39
Compare
Choose a tag to compare
  • Deprecation
    • deprecate Set.difference in favour of difference2v (@gcanti)
  • 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 to TaskEither (@gcanti)
    • add NonEmptyArray.prototype.filterWithIndex (@gcanti)
    • add WithKey variants to Record (@gcanti)
      • reduceWithKey
      • foldMapWithKey
      • foldrWithKey
      • partitionMapWithIndex
      • partitionWithIndex
      • filterMapWithIndex
      • filterWithIndex
    • add FunctorWithIndex type class (@MaximeRDY)
    • add FoldableWithIndex type class (@gcanti)
    • add TraversableWithIndex type class (@gcanti)
    • add FilterableWithIndex type class (@gcanti)
  • Internal
    • upgrade to typescript@3.2.1 (@gcanti)

1.11.3

29 Nov 08:21
Compare
Choose a tag to compare
  • Deprecation
    • Array
      • refine in favour of filter (@gcanti)
    • Either
      • .prototype.refineOrElse in favour of .prototype.filterOrElse (@gcanti)
      • .prototype.refineOrElseL in favour of .prototype.filterOrElseL (@gcanti)
      • fromRefinement in favour of fromPredicate (@gcanti)
    • Option
      • .prototype.refine in favour of .prototype.filter (@gcanti)
      • fromRefinement in favour of fromPredicate (@gcanti)
  • Polish
    • use built-in Record type in Record 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

1.11.2

23 Nov 16:35
Compare
Choose a tag to compare
  • Bug Fix
    • fix function.toString when input does not have Object on its prototype chain (@gcanti)