Releases: phenax/enum-fp
Releases · phenax/enum-fp
v1.0.0
v0.0.5
v1.0.0-alpha.2
Added
- Adds and exposes Type Sum Type to allow shape and argument validation
- Adds argument validation to Enum
Changed
- Refactors and reduces some of the functions to improve build size and performace
v1.0.0-alpha.0
Added
- Adds
cata
andreduce
aliases forcaseOf
- Changelogs
Changed
- Moves documentation from Github Wiki to /docs to be easier to maintain
- Some code refactoring to improve code quality and performance
- Internal semantics to be more consistent in the way we describe the functions
Removed
- useReducer and reducerComponent HOC, to trim the fat as both the functionalities are just one of the use cases and can be provided as a custom wrapper. The documentation includes the internals of the functions if anyone wants to use them
- Removes some properties and methods from the instances to make it lighter and expose a simpler api