9.5 KiB
9.5 KiB
Changelog
Tags:
- [New Feature]
- [Bug Fix]
- [Breaking Change]
- [Documentation]
- [Internal]
- [Polish]
- [Experimental]
Note: Gaps between patch versions are faulty/broken releases. Note: A feature tagged as Experimental is in a high state of flux, you're at risk of it changing without notice.
2.3.13
- Polish
- improve
modify
/modifyOption
behaviour when usingpipe
, #181 (@thewilkybarkid)
- improve
2.3.12
- Polish
- Add missing pure annotations, #175 (@OliverJAsh)
2.3.11
- Bug Fix
- OptionalFromPath: Type Issue fix for 5 arguments, #167 (@Barackos)
2.3.10
- Internal
- optimize
fromTraversable
, closes #119 (@gcanti)
- optimize
2.3.9
Experimental modules require fp-ts@^2.5.0
.
- Experimental
At
- add
at
constructor (@gcanti)
- add
Iso
- add
iso
constructor (@gcanti) - add
composeLens
(@gcanti) - add
composePrism
(@gcanti) - add
composeOptional
(@gcanti) - add
composeTraversal
(@gcanti) - add
fromNullable
(@gcanti) - add
filter
(@gcanti) - add
fromNullable
(@gcanti) - add
prop
(@gcanti) - add
props
(@gcanti) - add
component
(@gcanti) - add
index
(@gcanti) - add
indexNonEmpty
(@gcanti) - add
key
(@gcanti) - add
atKey
(@gcanti) - add
some
(@gcanti) - add
right
(@gcanti) - add
left
(@gcanti) - add
traverse
(@gcanti) - add
findFirst
(@gcanti) - add
findFirstNonEmpty
(@gcanti) - add
composeIso
(@gcanti) - add
Semigroupoid
(@gcanti) - (*) rename
invariantIso
toInvariant
(@gcanti) - (*) rename
categoryIso
toCategory
(@gcanti)
- add
Ix
- add
index
constructor (@gcanti) - add
indexReadonlyNonEmptyArray
(@gcanti)
- add
Lens
- add
lens
constructor (@gcanti) - add
composeIso
(@gcanti) - add
composeTraversal
(@gcanti) - add
indexNonEmpty
(@gcanti) - add
findFirstNonEmpty
(@gcanti) - add
composeLens
(@gcanti) - add
Semigroupoid
(@gcanti) - (*) rename
invariantIso
toInvariant
(@gcanti) - (*) rename
categoryIso
toCategory
(@gcanti)
- add
Prism
- add
prism
constructor (@gcanti) - add
composeIso
(@gcanti) - add
composeTraversal
(@gcanti) - add
indexNonEmpty
(@gcanti) - add
findFirstNonEmpty
(@gcanti) - add
composePrism
(@gcanti) - add
Semigroupoid
(@gcanti) - (*) rename
invariantIso
toInvariant
(@gcanti) - (*) rename
categoryIso
toCategory
(@gcanti)
- add
Optional
- add
optional
constructor (@gcanti) - add
composeIso
(@gcanti) - add
composeTraversal
(@gcanti) - add
indexNonEmpty
(@gcanti) - add
findFirstNonEmpty
(@gcanti) - add
composeOptional
(@gcanti) - add
Semigroupoid
(@gcanti) - (*) rename
invariantIso
toInvariant
(@gcanti) - (*) rename
categoryIso
toCategory
(@gcanti)
- add
Traversal
- add
traversal
constructor (@gcanti) - add
composeIso
(@gcanti) - add
composeLens
(@gcanti) - add
composePrism
(@gcanti) - add
composeOptional
(@gcanti) - add
findFirst
(@gcanti) - add
findFirstNonEmpty
(@gcanti) - add
fromNullable
(@gcanti) - add
indexNonEmpty
(@gcanti) - add
composeTraversal
(@gcanti) - add
Semigroupoid
(@gcanti) - (*) rename
categoryIso
toCategory
(@gcanti)
- add
(*) breaking change
2.3.7
- Experimental
At
- add
atReadonlyRecord
(@gcanti) - add
atReadonlyMap
(@gcanti) - add
atReadonlySet
(@gcanti) - deprecate
atRecord
(@gcanti)
- add
Ix
- add
indexReadonlyRecord
(@gcanti) - add
indexReadonlyArray
(@gcanti) - add
indexReadonlyMap
(@gcanti) - deprecate
indexRecord
(@gcanti) - deprecate
indexArray
(@gcanti)
- add
Optional
- add
composeLens
(@gcanti) - add
composePrism
(@gcanti) - add
setOption
(@gcanti)
- add
2.3.6
- Polish
- import without
/lib
or/es6
paths, closes #147 (@gcanti)
- import without
2.3.5
- Experimental
- add
modifyF
, closes #149 (@gcanti)Iso
Lens
Prism
Optional
- add
2.3.4
- Experimental
Lens
,Prism
,Optional
: addRefinement
overload tofindFirst
, #148 (@wmaurer)
2.3.3
- Experimental
Prism
- (*) remove
fromSome
constructor (@gcanti) - (*) change
fromNullable
signature (@gcanti)
- (*) remove
Optional
- add missing
fromNullable
combinator, closes #133 (@gcanti)
- add missing
(*) breaking change
2.3.2
- Experimental
At
- add
atRecord
(@gcanti)
- add
Ix
- add
indexArray
(@gcanti) - add
indexRecord
(@gcanti)
- add
Lens
- add
findFirst
combinator, closes #131 (@gcanti)
- add
Prism
- add
findFirst
combinator (@gcanti) - add
traverse
combinator (@gcanti)
- add
Optional
- add
findFirst
combinator (@gcanti) - add
traverse
combinator (@gcanti)
- add
2.3.1
- Experimental
- add
Iso
module (@gcanti) - add
Lens
module (@gcanti) - add
Prism
module (@gcanti) - add
Optional
module (@gcanti) - add
Traversal
module (@gcanti) - add
At
module (@gcanti) - add
Ix
module (@gcanti)
- add
- Internal
- implement old APIs through new APIs (@gcanti)
2.2.0
- New Feature
At
- add
ReadonlyRecord
module (@gcanti) - add
ReadonlySet
module (@gcanti)
- add
Index
- add
ReadonlyArray
module (@gcanti) - add
ReadonlyNonEmptyArray
module (@gcanti) - add
ReadonlyRecord
module (@gcanti)
- add
2.1.1
- Bug Fix
- fix
Optional.fromPath
, #122 (@mikearnaldi)
- fix
2.1.0
- New Feature
- Add support for
Optional.fromPath
, #105 (@cybermaak)
- Add support for
- Bug Fix
- handle nullable values in
fromNullableProp
, fix #106 (@gcanti)
- handle nullable values in
2.0.1
- Bug Fix
- rewrite es6 imports (@gcanti)
2.0.0
- Breaking Change
- upgrade to
fp-ts@2.x
(@gcanti) - remove deprecated APIs (@gcanti)
- uncurried
Lens.fromProp
- uncurried
Lens.fromProps
- uncurried
Lens.fromNullableProp
- uncurried
Optional.fromNullableProp
- uncurried
Optional.fromOptionProp
- uncurried
- remove
At/StrMap
(@gcanti) - remove
Index/StrMap
(@gcanti)
- upgrade to
1.7.2
output ES modules to better support tree-shaking (@gcanti)
1.7.1
- Polish
- move
fp-ts
to peerDependencies (@gcanti)
- move
1.7.0
- New Feature
- add
At/Record
(@mlegenhausen) - add
Index/Record
(@mlegenhausen)
- add
1.6.1
- Polish
- Providing a
Refinement
to thefind
method ofFold
will return the narrowed type (@Stouffi)
- Providing a
1.6.0
- New Feature
- add
Traversal.prototype.filter
(@gcanti) - add
Either
prisms (@gcanti)
- add
- Polish
- many optimizitions (@sledorze)
- Deprecation
- deprecate
Prism.fromRefinement
in favour ofPrism.fromPredicate
(@gcanti)
- deprecate
1.5.3
- Bug Fix
- revert 27b587b, closes #75 (@gcanti)
1.5.2
- Polish
- disallow improper use of
from
* APIs, closes #73 (@gcanti)
- disallow improper use of
1.5.1
- Polish
- add aliases for
compose
methods, closes #51 (@gcanti)
- add aliases for
1.5.0
- New Feature
- add
indexNonEmptyArray
(@sledorze)
- add
- Internal
- upgrade to
fp-ts@1.11.0
(@sledorze)
- upgrade to
Note. If you are running < typescript@3.0.1
you have to polyfill unknown
.
You can use unknown-ts as a polyfill.
1.4.1
- New Feature
- add
Prism.fromRefinement
(@bepremeg) - add
Optional.fromOptionProp
(@bepremeg)
- add
1.3.0
- New Feature
- add
Lens.{fromProp, fromPath, fromNullableProp}
andOptional.fromNullableProp
curried overloadings (@gcanti)
- add
1.2.0
- New Feature
- add
At
(@leighman)- add
Set
instance - add
StrMap
instance
- add
- add
Index
(@leighman)- add
Array
instance - add
StrMap
instance
- add
- add
1.1.0
- New Feature
- add
Lens.fromProps
(@gcanti)
- add
1.0.0
- Breaking Change
- upgrade to
fp-ts@1.0.0
(@gcanti)
- upgrade to
0.5.2
- New Feature
- add
Iso.reverse
, closes #36 (@gcanti)
- add
0.5.1
- Experimental
- add Flowtype support (@gcanti)
0.5.0
- Breaking Change
- upgrade to fp-ts 0.6 (@gcanti)
0.4.4
- New Feature
- add
Lens.fromNullableProp
(@gcanti)
- add
0.4.3
- New Feature
Prism
: addset
method (@gcanti)Optional
: addfromNullableProps
static function (@gcanti)
- Bug fix
Prism
: changeasOptional
,asTraversal
implementations, fix #29 (@gcanti)
0.4.2
- Polish
- fix Optional laws (@gcanti)
- remove
Endomorphism
type alias (@gcanti)
0.4.1
- New Feature
- Add aliases to ISO, closes #24 (@gcanti)
0.4.0
- Breaking Change
- upgrade to fp-ts 0.5 (@gcanti)
- currying of all APIs (@gcanti)
0.3.2
- Polish
- upgrade to latest fp-ts (0.4.3) (@gcanti)
0.3.1
- New Feature
- Added Setter (@LiamGoodacre)
- Added Getter (@LiamGoodacre)
- Added all possible conversions (e.g asGetter, asFold, etc) (@LiamGoodacre)
- Added all possible compositions (@LiamGoodacre)
- add _tag fields (allows for tagged unions) (@gcanti)
- Polish
- Fixed some typos (Options/Option -> Optional) (@LiamGoodacre)
- Minor rearrangement so conversions and compositions are grouped (@LiamGoodacre)
0.3.0
- Breaking Change
- upgrade to latest fp-ts (@gcanti)
0.2.0
- New Feature
- add
Prism.some
, closes #10 (@gcanti) - add
composeX
, closes #11 (@gcanti)
- add
- Breaking Change
- upgrade to latest
fp-ts
(monocle-ts
APIs are not changed though) (@gcanti) - drop
lib-jsnext
folder - remove
Optional.fromProp
, closes #9 (@gcanti)
- upgrade to latest
0.1.1
- New Feature
- add
Prism.fromPredicate
- fix
Optional.fromProp
- add
0.1.0
Initial release