Skip to content

Latest commit

 

History

History
108 lines (67 loc) · 3.23 KB

CHANGELOG.md

File metadata and controls

108 lines (67 loc) · 3.23 KB

react-coroutine v2.0.2

  • Prevent usage of deprecated React lifecycle methods
  • Switch to PureComponent for small optimizations
  • Minor internal changes to improve iterators cancellation
  • Fix exceptions throw in coroutines based on sync generators
  • Update peer dependency range to support React versions higher than 16.2.0

react-coroutine v2.0.1

  • Prevent rejected promises swallowing in sync generators
  • Remove shallowequal dependency, decreasing the lib size
  • Use babel-preset-env instead of babel-preset-es2015 for building the lib

react-coroutine v2.0.0

  • Remove context argument from coroutine signature (recommended to switch to the new Context API)
  • Coroutine is only an object with create() factory method (breaking change for v2.0.0-alpha.2)
  • Use pkg.module instead of jsnext:main
  • Build correct ES Module artifact
  • Move react to peerDependencies and update the range to ~16.2.0
  • Allow the use of sync generators that can yield possible Promise values

react-coroutine v2.0.0-alpha.2

  • Remove getVariables mechanism
  • Remove unused Coroutine.render component
  • Introduce Coroutine as a base React component
  • Fix the issue with stale props after receiving new

react-coroutine v1.0.6

  • Use latest shallowequal without lodash dependency (–3kb of minified code)

react-coroutine v1.0.5

  • Fix the issue with redundant updates due to late props comparison
  • Fix broken reference to the current props state

react-coroutine v1.0.3

  • Use jsnext:main instead of pkg.module because of Webpack 2 issue
  • Use shallowequal instead of React's internal tool

react-coroutine v1.0.2

  • Fix compatibility issue with polyfilled Promises

react-coroutine v1.0.1

  • Fix the usage of contextTypes for async functions

react-coroutine v1.0.0

  • Use Rollup to build smaller bundle
  • Provide pkg.module property for bundling original sources
  • Prevent calls of setState() for unmounted components

react-coroutine v0.6.1

  • Fix .npmignore due to lost modules after previous release

react-coroutine v0.6.0

  • Provide Coroutine.render component to render async functions without wrapping them
  • Add an ability to provide custom component for the initial (empty) state
  • Drop outdated promises if coroutine was updated before they are resolved
  • Use null as default initial body and allow returning it from coroutines

react-coroutine v0.5.1

  • Fix return statement usage in async generators

react-coroutine v0.5.0

  • Use a better approach to check if component is mounted

react-coroutine v0.4.1

  • Fixed weird publish issue

react-coroutine v0.4.0

  • Drop outdated body before fetching new one

react-coroutine v0.3.2

  • Fixed incorrect props comparison
  • Fixed re-render logic when new props are received

react-coroutine v0.3.1

  • Cancel async iterator when a component was unmounted or received new props

react-coroutine v0.3.0

  • Removed invariant dependency
  • Call getVariables() with props and context passed in
  • Allowed the usage of async generators as components

react-coroutine v0.2.0

  • Set correct and transpiled main file
  • Reduced amount of files on package install

react-coroutine v0.1.0

Initial public version.