Skip to content

0.1.0

Compare
Choose a tag to compare
@gordonbrander gordonbrander released this 26 Mar 18:45
· 18 commits to main since this release
546c7d0

Introduces new features, bugfixes, and cleans up geneneric type arguments, function signatures, and argument labels.

Note for upgrading from 0.0.7 to 0.1.0: 0.1.0 includes breaking changes to APIs. Because this version is pre-1.0, and we are still working out APIs, these breaking changes are expressed as a minor revision (0.1.0) instead of a major revision.

Release notes:

  • Changed Store generic signature to Store<State, Action, Environment>. See #14
  • Changed update function signature to update(State, Action, Environment). See #14
  • Removed argument label from send so it is just Store.send(_). See #10
  • Changed argument label for subscribe to Store.subscribe(to:). See #10
  • Introduced .binding(get:tag:) so that constructing a binding without specifying an animation will leave transaction animation untouched. See #12
  • Added Update.mergeFx(_) which can be used to merge additional fx into an Update. Useful when composing update functions with Update.pipe. See #9
  • Removed Update.transaction method. See #9