Skip to content

Releases: gcanti/fp-ts

1.18.0

13 May 10:01
Compare
Choose a tag to compare
  • New Feature

1.17.4

10 May 07:11
Compare
Choose a tag to compare
  • Bug Fix
    • Don't set target: es6 in tsconfig.es6.json, fix #863 (@FruitieX)

1.17.3

05 May 15:29
Compare
Choose a tag to compare
  • Polish
    • remove reverse (mutable) from NonEmptyArray2v interface (@gcanti)

1.17.2

29 Apr 13:15
Compare
Choose a tag to compare
  • Polish
    • add Bifunctor2C interface (@gcanti)
    • add Profunctor2C interface (@gcanti)
    • replace Array<any> with Array<unknown> in FunctionN definition (@ta2gch)
    • add refinement overloads to filter / partition (Filterable type class) (@gcanti)
    • add refinement overloads to filterWithIndex / partitionWithIndex (FilterableWithIndex type class) (@gcanti)
  • Deprecation
    • deprecate Array.filter, Array.partition in favour of Array.array.filter and Array.array.partition (@gcanti)

1.17.1

23 Apr 07:39
Compare
Choose a tag to compare

Polish

  • make Type<URI1, A> not assignable to Type<URI2, A>, closes #536 (@gcanti)

1.17.0

16 Apr 15:16
Compare
Choose a tag to compare
  • New Feature
    • add Show type class and related instances (@gcanti)
    • add fromNonEmptyArray2v to Zipper module (@DenisFrezzato)
    • add getOrElse / getOrElseL to TaskEither (@zanza00)
    • NonEmptyArray2v module
    • mark NonEmptyArray2v as official module
  • Deprecations
    • deprecate liftA<n> functions (@gcanti)
    • deprecate NonEmptyArray module (@gcanti)

1.16.1

09 Apr 11:13
Compare
Choose a tag to compare
  • New Feature
    • add findFistMap and findLastMap to Array module, closes #788 (@sledorze)
    • add cons / snoc to NonEmptyArray2v module, closes #800 (@sledorze)
    • add Traced comonad, closes #798 (@gcanti)
    • add tryCatch to Validation module (@gcanti)
    • add FunctionN type alias (@ta2gch)
    • add MonadThrow and related instances (@gcanti)
    • add es6 module step to build for tree-shaking support (@FruitieX)
    • add parseJSON / stringifyJSON to Either module (@gcanti)
    • add Magma (@gcanti)
    • add fromFoldableMap to Record module (@gcanti)
  • Polish
    • snoc / cons in Array now return a NonEmptyArray (@sledorze)
    • replace any with unknown in Console module (@gcanti)
    • replace any with unknown in Trace module (@gcanti)

1.15.1

05 Apr 07:52
Compare
Choose a tag to compare
  • Regression
    • revert SequenceT* deletion and prevent distribution of conditional types in sequenceT, sequenceS, fix #790 (@gcanti)

1.15.0

19 Mar 14:05
Compare
Choose a tag to compare

Note. This version requires typescript@3.1+ (mapped tuples)

  • New Feature
    • add Apply.sequenceS, closes #688 (@gcanti)
    • make function.tuple variadic (@gcanti)
    • make Semigroup.getTupleSemigroup variadic (@gcanti)
    • make Monoid.getTupleMonoid variadic (@gcanti)
    • make Ord.getTupleOrd variadic (@gcanti)
    • make Setoid.getTupleSetoid variadic (@gcanti)
    • make Ring.getTupleRing variadic (@gcanti)
    • make Apply.sequenceT variadic (@gcanti)
  • Experimental
    • add NonEmptyArray2v module (type level non empty arrays), closes #735 (@gcanti)

1.14.4

11 Mar 14:42
Compare
Choose a tag to compare
  • Polish
    • Add overloads to sequenceT to allow more arguments (up to 8) (@cdimitroulas)