Skip to content

Releases: facebook/regenerator

v0.5.0

03 Sep 21:57
Compare
Choose a tag to compare

Now supporting the .return method for generator objects (#109), in addition to .next and .throw.

Also now depending on the esprima-fb NPM package instead of https://github.com/ariya/esprima/tree/harmony, which warrants the minor version bump.

v0.4.12

26 Jul 15:16
Compare
Choose a tag to compare

The bin/regenerator command now reads input from STDIN when no file name is provided (#125).

v0.4.11

25 Jul 15:44
Compare
Choose a tag to compare

Thanks to e282009 (and indirectly benjamn/ast-types@c5f6a4b), injected variable names for Context, arguments, and de-anonymized function names are now guaranteed not to collide with any existing variable names in nested or enclosing scopes, closing issues #11 and #22.

v0.4.10

09 Jul 18:40
Compare
Choose a tag to compare

Switched to require("ast-types").visit instead of .traverse for AST modification. Bonus: bin/regenerator test/tests.es6.js used to take 3 seconds on my machine, and now it takes 1.9 seconds!

v0.4.9

26 Jun 15:00
Compare
Choose a tag to compare

Various improvements to the object model of Generator and GeneratorFunction constructor functions to conform more closely with the ES6 spec.

v0.4.6

04 Apr 18:03
Compare
Choose a tag to compare

Achieved a 50% speedup in the translation of tests.es6.js via improvements to the ast-types and recast dependencies: e474078 and d53f634.

Fixed bugs: #89, #99, #102 (thanks to @termi).

v0.4.2

09 Mar 01:11
Compare
Choose a tag to compare

With this release, @amasad and I fixed a bug with exploded for-in loops that was reported by @qfox (#90). Inherited (non-own) object properties were being skipped by such loops, and properties deleted during a loop could sometimes be visited later in the loop. As a bonus, the code generated for exploded for-in loops is now less verbose than before, with more of the key-iteration logic now residing in the runtime!

v0.4.1

14 Feb 20:57
Compare
Choose a tag to compare

I revamped the way exceptions bubble up through finally blocks to follow the ES6 spec more closely, in particular by adopting the implementation strategy of associating a completion record with every try statement.

v0.3.9

03 Feb 00:08
Compare
Choose a tag to compare

Fixed a bug (reported by @jonathanong) where exceptions .thrown into a generator suspended on a delegate generator were not being successfully caught by the appropriate catch blocks (#82).

v0.3.8

02 Feb 16:28
Compare
Choose a tag to compare

@amasad fixed a bug where exceptions .thrown into delegate generators would be propagated into the outer generator even if they were successfully handled by the delegate (#80, #81).