Releases: gcanti/fp-ts
Releases · gcanti/fp-ts
2.11.6
2.11.5
2.11.4
2.11.3
2.11.2
2.11.1
- Deprecation
Array
- deprecate
range
, useNonEmptyArray
module instead.
- deprecate
function
- deprecate
Endomorphism
, useEndomorphism
module instead. - deprecate
getEndomorphismMonoid
, useEndomorphism
module instead. - deprecate
Predicate
, usePredicate
module instead. - deprecate
not
, usePredicate
module instead. - deprecate
Refinement
, useRefinement
module instead.
- deprecate
Monoid
- deprecate
monoidVoid
, usevoid
module instead.
- deprecate
NonEmptyArray
- deprecate
groupSort
(it's justsort
followed bygroup
)
- deprecate
Option
- deprecate
getRefinement
, useRefinement
module instead. - deprecate
getFirstMonoid
, usegetMonoid
module instead. - deprecate
getLastMonoid
, usegetMonoid
module instead.
- deprecate
ReadonlyArray
- deprecate
range
, useReadonlyNonEmptyArray
module instead.
- deprecate
ReadonlyNonEmptyArray
- deprecate
groupSort
(it's justsort
followed bygroup
)
- deprecate
Record
/ReadonlyRecord
: deprecate overloads withoutOrd
constraint (@anthonyjoeseph):collect
reduce
foldMap
reduceRight
reduceWithIndex
foldMapWithIndex
reduceRightWithIndex
getShow
- deprecate
Foldable
in favour ofgetFoldable
(@anthonyjoeseph) - deprecate
FoldableWithIndex
in favour ofgetFoldableWithIndex
(@anthonyjoeseph) - deprecate
Traversable
in favour ofgetTraversable
(@anthonyjoeseph) - deprecate
TraversableWithIndex
in favour ofgetTraversableWithIndex
(@anthonyjoeseph) - deprecate
Witherable
in favour ofgetWitherable
(@anthonyjoeseph)
Semigroup
- deprecate
semigroupVoid
, usevoid
module instead.
- deprecate
- 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
- add
Alternative
- add
altAll
- add
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
- add
boolean
- add
isBoolean
- add
Either
- add
chainOptionK
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
EitherT
- add
orElseFirst
- add
orLeft
- add
function
- add
SK
(@cdimitroulas) - add
apply
- add
IO
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
IOEither
- add
orElseFirst
/orElseFirstW
- add
orLeft
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
traverseReadonlyNonEmptyArrayWithIndexSeq
- add
traverseReadonlyArrayWithIndexSeq
- add
Magma
- add
reverse
- add
filterFirst
- add
filterSecond
- add
endo
- add
concatAll
- add
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
- add
NonEmptyArray
- add
matchLeft
,matchRight
,modifyHead
,modifyLast
(@cdimitroulas) - add
union
- add
getUnionSemigroup
- add
makeBy
- add
range
- make
concat
pipeable
- add
number
- add
MagmaSub
- add
isNumber
- add
string
- add
isString
- add
Option
- add
FromEither
instance - add
fromEitherK
- add
chainEitherK
- add
Zero
instance - add
guard
constructor - add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
Ord
- add
trivial
instance - add
equals
- add
Reader
- add
asksReaderW
,asksReader
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
ReaderEither
- add
asksReaderEitherW
,asksReaderEither
- add
orElseFirst
/orElseFirstW
- add
orLeft
- add
chainReaderKW
- add
chainFirstReaderK
,chainFirstReaderKW
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
ReaderTask
- add
asksReaderTaskW
,asksReaderTask
- add
chainReaderKW
- add
chainFirstReaderK
,chainFirstReaderKW
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
traverseReadonlyNonEmptyArrayWithIndexSeq
- add
traverseReadonlyArrayWithIndexSeq
- add
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
- add
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
- add
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
- add
ReadonlyNonEmptyArray
- add
matchLeft
,matchRight
,modifyHead
,modifyLast
(@cdimitroulas) - add
union
- add
getUnionSemigroup
- add
makeBy
- add
range
- make
concat
pipeable
- add
ReadonlyRecord
- add
union
(@anthonyjoeseph) - add
intersection
(@anthonyjoeseph) - add
difference
(@anthonyjoeseph) - add
getUnionSemigroup
(@anthonyjoeseph) - add
getUnionMonoid
(@anthonyjoeseph) - add
getIntersectionSemigroup
(@anthonyjoeseph) - add
getDifferenceMagma
(@anthonyjoeseph)
- add
ReadonlySet
- add
getUnionSemigroup
- add
getDifferenceMagma
- add
Record
- add
union
- add
intersection
- add
difference
- add
getUnionSemigroup
- add
getUnionMonoid
- add
getIntersectionSemigroup
- add
getDifferenceMagma
- add
Set
- add
getUnionSemigroup
- add
getDifferenceMagma
- add
State
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
StateReaderTaskEither
- add
fromStateK
- add
chainStateK
- add
local
- add
asksStateReaderTaskEitherW
,asksStateReaderTaskEither
- add
chainReaderKW
- add
chainFirstReaderK
,chainFirstReaderKW
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
string
- add
toUpperCase
- add
toLowerCase
- add
replace
- add
split
- add
trim
- add
trimLeft
- add
trimRight
- add
includes
- add
startsWith
- add
endsWith
- add
slice
- add
struct
- add
evolve
- add
Task
- add
ApT
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
traverseReadonlyNonEmptyArrayWithIndexSeq
- add
traverseReadonlyArrayWithIndexSeq
- add
TaskEither
- add
fromTaskOption
(@thewilkybarkid) - add
fromTaskOptionK
- add
chainTaskOptionK
- add
orElseFirst
/orElseFirstW
- add
orLeft
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
traverseReadonlyNonEmptyArrayWithIndexSeq
- add
traverseReadonlyArrayWithIndexSeq
- add
TaskOption
- add
fromTaskEither
(@thewilkybarkid) - add
Zero
instance - add
guard
constructor
...
- add
- add
2.11.0-rc.2
To get started using the RC use npm with the following command:
npm install fp-ts@rc
string
split
now returns aReadonlyNonEmptyArray
TaskOption
- add missing
FromEither
instance
- add missing
- some signature changes in
2.11.0-rc.1
caused type inference issuesArray
/ReadonlyArray
- revert
isOutOfBound
signature change - revert
isEmpty
signature change - revert
size
signature change
- revert
Either
- revert
exists
signature change - revert
elem
signature change
- revert
These
- revert
exists
signature change - revert
elem
signature change
- revert
NonEmptyArray
/ReadonlyNonEmptyArray
- revert
isOutOfBound
signature change
- revert
Set
/ReadonlySet
- revert
isEmpty
signature change - revert
size
signature change
- revert
Map
/ReadonlyMap
- revert
isEmpty
signature change - revert
size
signature change
- revert
2.11.0-rc.1
To get started using the RC use npm with the following command:
npm install fp-ts@rc
- Deprecation
Array
- deprecate
range
, useNonEmptyArray
module instead.
- deprecate
function
- deprecate
Endomorphism
, useEndomorphism
module instead. - deprecate
getEndomorphismMonoid
, useEndomorphism
module instead. - deprecate
Predicate
, usePredicate
module instead. - deprecate
not
, usePredicate
module instead. - deprecate
Refinement
, useRefinement
module instead.
- deprecate
Monoid
- deprecate
monoidVoid
, usevoid
module instead.
- deprecate
NonEmptyArray
- deprecate
groupSort
(it's justsort
followed bygroup
)
- deprecate
Option
- deprecate
getRefinement
, useRefinement
module instead. - deprecate
getFirstMonoid
, usegetMonoid
module instead. - deprecate
getLastMonoid
, usegetMonoid
module instead.
- deprecate
ReadonlyArray
- deprecate
range
, useReadonlyNonEmptyArray
module instead.
- deprecate
ReadonlyNonEmptyArray
- deprecate
groupSort
(it's justsort
followed bygroup
)
- deprecate
Record
/ReadonlyRecord
: deprecate overloads withoutOrd
constraint (@anthonyjoeseph):collect
reduce
foldMap
reduceRight
reduceWithIndex
foldMapWithIndex
reduceRightWithIndex
getShow
- deprecate
Foldable
in favour ofgetFoldable
(@anthonyjoeseph) - deprecate
FoldableWithIndex
in favour ofgetFoldableWithIndex
(@anthonyjoeseph) - deprecate
Traversable
in favour ofgetTraversable
(@anthonyjoeseph) - deprecate
TraversableWithIndex
in favour ofgetTraversableWithIndex
(@anthonyjoeseph) - deprecate
Witherable
in favour ofgetWitherable
(@anthonyjoeseph)
Semigroup
- deprecate
semigroupVoid
, usevoid
module instead.
- deprecate
- 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
- add
Alternative
- add
altAll
- add
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
- add
boolean
- add
isBoolean
- add
Either
- add
chainOptionK
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
EitherT
- add
orElseFirst
- add
orLeft
- add
function
- add
SK
(@cdimitroulas) - add
apply
- add
IO
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
IOEither
- add
orElseFirst
/orElseFirstW
- add
orLeft
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
traverseReadonlyNonEmptyArrayWithIndexSeq
- add
traverseReadonlyArrayWithIndexSeq
- add
Magma
- add
reverse
- add
filterFirst
- add
filterSecond
- add
endo
- add
concatAll
- add
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
- add
NonEmptyArray
- add
matchLeft
,matchRight
,modifyHead
,modifyLast
(@cdimitroulas) - add
union
- add
getUnionSemigroup
- add
makeBy
- add
range
- make
concat
pipeable
- add
number
- add
MagmaSub
- add
isNumber
- add
string
- add
isString
- add
Option
- add
FromEither
instance - add
fromEitherK
- add
chainEitherK
- add
Zero
instance - add
guard
constructor - add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
Ord
- add
trivial
instance - add
equals
- add
Reader
- add
asksReaderW
,asksReader
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
ReaderEither
- add
asksReaderEitherW
,asksReaderEither
- add
orElseFirst
/orElseFirstW
- add
orLeft
- add
chainReaderKW
- add
chainFirstReaderK
,chainFirstReaderKW
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
ReaderTask
- add
asksReaderTaskW
,asksReaderTask
- add
chainReaderKW
- add
chainFirstReaderK
,chainFirstReaderKW
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
traverseReadonlyNonEmptyArrayWithIndexSeq
- add
traverseReadonlyArrayWithIndexSeq
- add
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
- add
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
- add
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
- add
ReadonlyNonEmptyArray
- add
matchLeft
,matchRight
,modifyHead
,modifyLast
(@cdimitroulas) - add
union
- add
getUnionSemigroup
- add
makeBy
- add
range
- make
concat
pipeable
- add
ReadonlyRecord
- add
union
(@anthonyjoeseph) - add
intersection
(@anthonyjoeseph) - add
difference
(@anthonyjoeseph) - add
getUnionSemigroup
(@anthonyjoeseph) - add
getUnionMonoid
(@anthonyjoeseph) - add
getIntersectionSemigroup
(@anthonyjoeseph) - add
getDifferenceMagma
(@anthonyjoeseph)
- add
ReadonlySet
- add
getUnionSemigroup
- add
getDifferenceMagma
- add
Record
- add
union
- add
intersection
- add
difference
- add
getUnionSemigroup
- add
getUnionMonoid
- add
getIntersectionSemigroup
- add
getDifferenceMagma
- add
Set
- add
getUnionSemigroup
- add
getDifferenceMagma
- add
State
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
StateReaderTaskEither
- add
fromStateK
- add
chainStateK
- add
local
- add
asksStateReaderTaskEitherW
,asksStateReaderTaskEither
- add
chainReaderKW
- add
chainFirstReaderK
,chainFirstReaderKW
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
string
- add
toUpperCase
- add
toLowerCase
- add
replace
- add
split
- add
trim
- add
trimLeft
- add
trimRight
- add
includes
- add
startsWith
- add
endsWith
- add
slice
- add
struct
- add
evolve
- add
Task
- add
ApT
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
traverseReadonlyNonEmptyArrayWithIndexSeq
- add
traverseReadonlyArrayWithIndexSeq
- add
TaskEither
- add
fromTaskOption
(@thewilkybarkid) - add
fromTaskOptionK
- add
chainTaskOptionK
- add
orElseFirst
/orElseFirstW
- add
orLeft
- add
flattenW
- add
traverseReadonlyNonEmptyArrayWithIndex
- add
traverseReadonlyArrayWithIndex
- add
traverseReadonlyNonEmptyArrayWithIndexSeq
- add
traverseReadonlyArrayWithIndexSeq
- add
TaskOption
...
- add