Skip to content

Releases: google/traceur-compiler

0.0.111

09 Jun 03:27
@arv arv
Compare
Choose a tag to compare
  • Cleanup generated code for export default declaration
  • Setup module.exports first

0.0.110

24 May 02:39
@arv arv
Compare
Choose a tag to compare

This fixes the broken dist/commonjs of 0.0.109

0.0.109

24 May 02:33
@arv arv
Compare
Choose a tag to compare
  • CJS: Module exports should be enumerable
  • Top level this in modules should be undefined
  • Allow the runtime to be imported as modules using --import-runtime

0.0.108

23 Apr 19:44
@arv arv
Compare
Choose a tag to compare
  • Move Proper Tail Calls runtime into individual modules. ie. require('traceur/dist/commonjs/runtime/modules/call.js')

0.0.107

23 Apr 19:42
@arv arv
Compare
Choose a tag to compare
  • bin/BrowserSystem.js includes compiler, polyfills, System, and WebPageTranscoder. Read traceurOptions attribute from <script type=module traceurOptions="--asyncFunctions">.

0.0.106

07 Apr 04:37
@arv arv
Compare
Choose a tag to compare
  • Allow compiling async functions to generators. This is done by setting --async-functions --generators=parse.

0.0.105

02 Apr 22:39
@arv arv
Compare
Choose a tag to compare
  • Fix issue where we did not allow declarations to shadow the function expression name.
  • Implement Spread Properties. This add support for ... in object literals which is currently at stage 2.
var x = {a: 1};
var y = {...a, b: 2};  // {a: 1, b: 2}
  • JSX: Fix assignment expression parsing in place holders.
  • JSX: Fix whitespace and escaping of attribute values.

0.0.104

02 Apr 22:35
@arv arv
Compare
Choose a tag to compare
  • Upgrade semver to 4.3.3

0.0.103

02 Apr 22:35
@arv arv
Compare
Choose a tag to compare
  • Move runtime into modules. This is in preparation for allowing importing the runtime as
    modules in the future.
  • JSX: Tag name starting with an uppercase should use identifier. <Abc/> should generate React.createElement(Abc, null) and not React.createElement('Abc', null).
  • JSX: Support boolean shorthand attributes. <a b/> is short for <a b={true}/>.
  • JSX: Add support for JSXSpreadAttribute. This allows spreading an object into props/attributes:
<p a='a' {...{b: 1, c: 2}}/>
// same as (except the expansion happens at runtime)
<p a='a' b={1} c={2}/>
  • Update commander and glob dependencies.

0.0.102

02 Apr 22:31
@arv arv
Compare
Choose a tag to compare
  • Fix release