Elan Ruusamäe [Thu, 3 Nov 2016 10:10:27 +0000 (12:10 +0200)]
October 24, 2016 (v20161024)
- Polyfills for Promises.
- Support for async/await by transpiling to generators.
- Improvements to CommonJS module rewriting.
- New flag for strict-mode output: --emit_use_strict.
- Duplicate keys in an object literal are always an error, even if strict
- mode is not explicitly enabled.
- Disable the "rewrite function expressions" pass.
- Improvements in type inference for generics, related to record types and to inheritance.
- Allow unknown and record types in inline type annotations.
- Recognize a function return type as an inline annotation.
- Rotate commutative operators to eliminate parens.
- Fix issue 1007, issue 1024, issue 1047, issue 1070, issue 1072, issue 1073, issue 1085, issue 1103.
- Extern updates
- Experimental export option: exportLocalPropertyDefinitions
- Support of inline type declarations in "var" statements.
- RemoveUnusedClassProperties will now remove properties if a set exists on a prototype.
- RemoveUnusedClassProperties is now on by default in ADVANCED mode.
- Fix: an 8 year old operator precedence bug (Issue 1062).
- Fix: incorrect variable inlining (Issue 1053)
- CollapseProperties correctness improvements
- Fix: spurious warnings for obviously good logical shifts
- VariableReferenceCheck is now suppressible using existing diagnostic groups.
- Extern updates
Elan Ruusamäe [Sun, 18 Aug 2013 21:37:34 +0000 (00:37 +0300)]
up to v20130722 (July 22, 2013)
- Stricter missing-property checks for structs.
- Improved type inference for assignments to the prototype property.
- Fix incompatibility between removeUnusedClassProperties and Object.seal, and add the pass to advanced optimizations.
- Open source the code-coverage instrumentation pass.
- Allow constructors with a declared return type to be called without new.
- Bugfixes for goog.inherits used with generic types.
- Better detection of block comments that contain jsdoc tags.
- In ES5 mode, don't quote object literal keys when they're ES3 keywords.
- In ES3 mode, allow ES3 keywords as property names but quote them.
- New jsdoc tag @disposes for use with CheckEventfulDisposal pass to specify particular arguments of a function to be disposed.
- Updated externs for angular, jquery and maps api.
- Fix issue 1017, issue 1020, issue 1021, issue 1023, issue 1030, issue 1033, issue 1035, issue 1042, issue 1043.
Elan Ruusamäe [Thu, 6 Jun 2013 12:08:12 +0000 (15:08 +0300)]
up to v20130603 (June 3, 2013)
- Produce smaller code for boolean conditional expressions.
- Better type checking for classes that implement or extend generic types.
- More accurate attaching of JSDoc to AST nodes.
- Allow collapse properties to collapse simple global aliases.
- New CheckEventfulObjectDisposal pass for finding memory leaks in JS programs.
- Change RescopeGlobalSymbols to not rewrite variables that do not cross JSModules.
- Fix issue 965, issue 987, issue 994, issue 1002, issue 1006, issue 1008.