facebook / regenerator

Source transformer enabling ECMAScript 6 generator functions in JavaScript-of-today.
http://facebook.github.io/regenerator/
MIT License
3.82k stars 1.16k forks source link

What changed in version 0.14.0? #687

Closed catamphetamine closed 1 year ago

catamphetamine commented 1 year ago

Hi. There doesn't seem to be no CHANGELOG or description on the Releases tab. So what has changed in version 0.14.0? Is there anything breaking, as semantic versioning suggests?

benjamn commented 1 year ago

As explained in the version bump commit for regenerator-runtime package (30771b77fc6132fa97c892e818cd0bc113491abf), I was a tiny bit concerned PR #636 (which fixed a bug) might have introduced a new case where yield* could throw (instead of silently iterating over nothing).

catamphetamine commented 1 year ago

Thanks. So basically it's:

The minor version bump is due to the new ability of yield* to throw when given a non-iterable argument.

Which translates to me as "no changes unless your project used yield* syntax".