Skip to content

Releases: alexeyraspopov/react-coroutine

Version 2.0.2

29 Mar 22:06
Compare
Choose a tag to compare
  • 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

Version 2.0.1

19 Mar 22:14
Compare
Choose a tag to compare
  • 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

Version 2.0.0

02 Mar 03:52
Compare
Choose a tag to compare
  • 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

Version 2.0.0-alpha.1

28 Jun 09:19
Compare
Choose a tag to compare
Version 2.0.0-alpha.1 Pre-release
Pre-release
  • Remove getVariables mechanism
  • Remove unused Coroutine.render component
  • Introduce Coroutine as a base React component

Version 1.0.6

19 Jun 08:04
Compare
Choose a tag to compare
  • Use latest shallowequal without lodash dependency (–3kb of minified code)

Version 1.0.5

07 Jun 20:15
Compare
Choose a tag to compare
  • Fix the issue with redundant updates due to late props comparison
  • Fix broken reference to the current props state

Version 1.0.3

25 May 14:48
Compare
Choose a tag to compare
  • Use jsnext:main instead of pkg.module because of Webpack 2 issue
  • Use shallowequal instead of React's internal tool

Version 1.0.2

05 May 16:53
Compare
Choose a tag to compare
  • Fix compatibility issue with polyfilled Promises

Version 1.0.1

30 Apr 19:16
Compare
Choose a tag to compare
  • Fix the usage of contextTypes for async functions

Version 1.0.0

28 Apr 15:21
Compare
Choose a tag to compare
  • Use Rollup to build smaller bundle
  • Provide pkg.module property for bundling original sources
  • Prevent calls of setState() for unmounted components