Skip to content

Releases: phenax/enum-fp

v1.0.0

23 Nov 06:19
Compare
Choose a tag to compare

Added

  • Adds documentation for types in enum_type.md

Changed

  • Fixes zero argument type validation issue

v0.0.5

28 Oct 09:00
Compare
Choose a tag to compare

Changes

  • Adds useEnumReducer

v1.0.0-alpha.2

11 Nov 13:32
Compare
Choose a tag to compare
v1.0.0-alpha.2 Pre-release
Pre-release

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

10 Nov 16:48
Compare
Choose a tag to compare
v1.0.0-alpha.0 Pre-release
Pre-release

Added

  • Adds cata and reduce aliases for caseOf
  • 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