Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.68 KB

CHANGELOG.md

File metadata and controls

45 lines (32 loc) · 1.68 KB

Changelog

1.3.0

  • Added shutdown behavior to streamWrapper that allows graceful shutdown of app #26

1.2.3

  • Fixed corrupting initial state type in TanokInReact

1.2.2

  • Check for return value of effect, flatMap it only if it's Promise or Observable.
  • Fixes to TanokInReact HOC

1.2.1

  • Removed effectBus as it is actually not needed
  • Fixed name collision in on decorator

1.2.0

  • All effects are passed through one effects bus, this allows effect cancelation
  • Fixed TanokDispatcher inheritance bug, which caused multiple call of init
  • tanok function now also returns streamWrapper and shutdown function, that allows graceful shutdown of your tanok instance
  • Extracted makeStreamState and streamWithEffects out of tanok function.
  • Added new React HOC TanokInReact which allows to run complete tanok app inside simple React component
  • Dropped create-react-class package in favor of React.Component class-based Root
  • Using es2015-loose preset for building tanok

1.1.0

  • Create less files in rollup build, as most of them are never used as separate things
  • Renamed effectWrapper to childFx
  • Grouped all built-in effects in fxs.js
  • Moved TanokDispatcher base class out of core.js module

1.0

Breaking

  • Field StreamWrapper.parent was renamed to StreamWrapper.streamName in and in messages that StreamWrapper.send pushes to stream
  • Removed meta parameter from StreamWrapper.send, now it is passed to TanokComponent.sub(name, metadata)
  • Signature for effectWrapper is also changed and now can get metadata to pass it to dispatcher

Other

  • Updated rollup version for building
  • Changed react peerDependency to *