Skip to content

v2.0.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@mikaelkaron mikaelkaron released this 13 Sep 17:27
· 43 commits to master since this release

Bug Fixes

  • update package name in package.json (ab05161)

Features

  • constructors can change arguments for next invocation (ebe172e)

BREAKING CHANGES

  • Previously constructors could return a new value that
    would change the return type of the object. The new usage is to return a
    value to be passed to the next constructor - if the value is an array ||
    arguments it will be spread over the next constructor, if it's a native
    type it will be wrapped in an array and spread over the next constructor,
    otherwise the previous args will be used for the next
    invocation.