My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
#summary Recent releases for Closure Compiler sources and web service.

= Introduction =

Here's a list of recent releases of Closure Compiler. We update the source distribution and the compile service (at http://closure-compiler.appspot.com) every couple weeks, depending on the changes that have been made.

For complete list of changes refer to the [http://code.google.com/p/closure-compiler/source/list change log]

= Details =

April 30, 2012 (r1918)
* experimental support for jquery primitives
* adds the @expose annotation
* Adds --only_closure_dependencies
* sort closure dependencies by default
* improvements to RescopeGlobalSymbols
* improved type inference
* fixed an infinite loop in --ide_mode, and other parser improvements
* fixes for miscellany issues: issue 684, issue 696, issue 701, issue 700, issue 689, issue 691, issue 672, issue 709, issue 698

March 5, 2012 (r1810)
* Build-time improvements
* minor peephole rewriting improvements
* Added better warning controls to the Ant task (issue 640)
* Better type inference (issue 669)
* Removal for goog.addSingletonGetter (issue 668)
* fixed a bug in ide_mode (issue 663)
* better method arity checks
* adds support for @suppress {undefinedNames}
* fixes for miscellany issues: issue 634, issue 651, issue 652, issue 650, issue 656, issue 643, issue 284, issue 582, issue 647, issue 310, issue 368

January 23, 2012 (r1741)
* Compiler now preserves code with hidden side-effects in some cases. Addresses issue 64, issue 398
* In Advanced mode, the compiler is now more aggressive about removing unused properties (RemoveUsedClassProperties).
* Improved jQuery 1.7, Google Maps 3.7, Typed Array and other externs definitions
* Experimental AMD and Common JS module support.
* Parser improvements.
* Better unused variable removal. issue 641
* Better support for @lends. issue 314
* Better type checking around conditionals, "Function.bind"/ "goog.bind", etc
* Source maps now use the v3 format by default.
* Removed some obsolete options from CompilerOptions
* Fixes issue 644, issue 641, issue 638, issue 621 issue 619, issue 618, issue 603, issue 601, issue 600, issue 583, issue 575, issue 314 among others

November 14, 2011 (r1592)
* Fixed support -0.0, issue 582.
* Added support for compile time defines in ant builds, issue 567
* Fixes for issue 588, issue 586, issue 581, issue 569, issue 567, issue 566, issue 558, issue 550, issue 544, issue 539, issue 531,
* New jQuery 1.7 and Gadget API externs
* Internal AST cleanup, removed unused Token and annotation IDs, unused legacy Rhino classes.
* Added experimental [http://code.google.com/p/closure-compiler/source/detail?r=1541 RescopeGlobalSymbols] pass.
* Add `checkDebuggerStatement` diagnostic group to enable checks for `debugger` statements
* Minor type checking improvements
* Minor optimization improvements
* Updated Guava and Ant dependencies to the latest available
* Webservice support for EcmaScript 5 and 5 Strict


October 3, 2011 (r1459)
* Bad function inlining bug fixes
* Type system handles more idioms for assigning to the prototype (issue 537)
* Fixes compiler crash in UnreachableCodeElimination and InlineObjectLiterals (issue 545)
* Easier to suppress visiblity warnings
* Extend ExportTestFunctions so that it properly exports test methods defined on objects.
* Various type-checking bug fixes
* The module flags now lets you specify a %basename% placeholder with the name of the module output file.
* Adds an experimental option for more aggressive function inlining
* Other assorted issue fixes: 548, 533. 457, 538, 535, 534, 446, 511, 530, 529, 528

August 11, 2011 (r1346)
* Bug fixes for using stdin as input that was introduced last release
* Bug fix for live variable analysis to handle expression in for-in loops
* Improve output delimiter to escaped when needed.
* Better warnings for property disambiguation

August 4, 2011 (r1314)
* Checks for ecmascript5/strict mode
* Improvements to type checking
* Fixed some over-aggressive optimizations in advanced mode
* Local collapsing of object literals
* Extern updates
* [http://code.google.com/p/closure-compiler/issues/list?can=1&q=closed-after%3A2011%2F6%2F15+closed-before%3A2011%2F8%2F2+status%3AFixed&colspec=ID+Type+Status+Priority+Component+Owner+Summary&cells=tiles Fix issues 521, 505, 504, 501, 490, 489, 488 and others]

June 15, 2011 (r1180)
* Improvements to line-number reporting
* Interfaces can extend multiple interfaces, with checks for conflicting signatures
* Support for goog.typedef has been removed. Use the @typedef annotation.
* Closure namespaces are @const by default
* Optimization of parseInt, parseFloat
* Emit a warning if a private property overrides another private property
* Make sure functions are called with an appropriate 'this' type
* Add warnings about parameters being reassigned in a way that violates their type definition
* Add warnings if a object has properties defined before the object is defined
* Add duplicate object literal key check to jscompiler es5 strict mode checks
* Update jQuery 1.6 externs
* Fixes issues 459, 477, 482, 486, and many others

May 2, 2011 (r1043)
* Now emits a warning if a block comment looks like it should be a jsdoc comment.
* Type checking improvements around interfaces.
* Improved handling of constructors defined in object literals.
* 20% smaller source maps (version 2).
* Experimental source map improvements (version 3)
* Rewrite goog.object.create at compile time
* Fix issue 380,407,412,413,416,423, 428

April 5, 2011 (r964)
* Workaround Firefox parser, [http://code.google.com/p/closure-compiler/issues/detail?id=397 issue 397]
* Workaround Opera parser issue with compiled jQuery, [http://code.google.com/p/closure-compiler/issues/detail?id=397 issue 390]
* Workaround IE handling of vertical tabs in string to number conversions.
* Correct build time performance, [http://code.google.com/p/closure-compiler/issues/detail?id=386 issue 386]
* Fix crash compiling Dojo, [http://code.google.com/p/closure-compiler/issues/detail?id=389 issue 389]
* Improved folding of array and object literals
* [http://code.google.com/p/closure-compiler/issues/list?can=1&q=closed-after%3A2011%2F3%2F22+closed-before%3A2011%2F4%2F5+status%3AFixed Fixed issues 49, 171, 304, 329, 345, 378, 379, 389, 390, 392, 397, 399]

March 22, 2011 (r916)
* Added support for @interface declarations with non-function members
* Added support for check @const property definitions
* Deprecation warnings are now on by default with VERBOSE warnings
* Missing return warnings are now on by default with VERBOSE warnings
* Improved variable renaming algorithm
* Preliminary ECMASCRIPT5/ECMASCRIPT5_STRICT support (--language_in command line flag)
* Compile-time performance issue (Issue 349)
* More constants folding improvements
* Optimizations on the call graph are now performed in the main optimization loop
* goog.asserts are stripped by default, they can be enabled with the --debug option
* Improved unused code removal
* Other flag changes: --output_wrapper_marker support was removed, --flagfile support added
* New extern: jQuery 1.5, Google Maps API 3.4, Facebook JavaScript SDK, WebGL, IndexDB
* [http://code.google.com/p/closure-compiler/issues/list?can=1&q=closed-after%3A2011%2F1%2F19+closed-before%3A2011%2F3%2F22+status%3AFixed+ Fixed issues 387, 384, 383, 381, 378, 375, 372, 369, 367, 366, 364, 363, 353, 349, 348, 325, 322, 321, 319, 318, 315, 301, 269, 266, 251, 249, 247, 204, 195, 133]

January 19, 2011
* whitespace-only support for es5 getters and setters
* New type syntax for structural constructors "{function(new:Type)}"
* Support for the @lends annotation.
* Add a @suppress {uselessCode} warnings group
* Improvements to constant-folding
* Native handling for goog.tweaks
* Emits an error if the left-hand side of an assign isn't an assignable expression
* removal of redundant returns and throws
* Optimize the "arguments" variable when possible.
* "toString" and "valueOf" are now officially assumed to be side-effect free.
* Add a --closure_entry_point flag, for use in conjunction with --manage_closure_dependencies
* Assorted type-checking fixes
* Fixes issues 311, 268, 267, 248, 261, 258, 187, 255, 236, 244, among others

September 17, 2010
* Full support for goog.scope
* Better optimization of external calls that have no side effects (like getElementById)
* Much better unused var removal
* A number of peephole and constant-folding optimizations
* Much faster source map generation
* Better property detection for missingProperties check
* Much better type inference in local scopes
* type inference of return types on functions
* type checker warns about comparision of functions to booleans, numbers, or strings
* Better externs file validation
* @suppress annotations work for all canonical warning groups
* @notypecheck annotation blocks more warnings
* General performance improvements
* Fixes issues 188, 186, 96, 177, 143, 221, 205, 200, 197, 182, 194, 172, 191, 71, 66, 229, among others

June 16, 2010
* Beta support for goog.scope
* Smarter unreachable code analysis.
* Folds "new Error" to "Error", "new RegExp" to "RegExp", etc.
* Extract Prototype Member / Devirtualization improvements
* deterministic source maps
* Peephole optimizations
* Added @nocompile annotation to work with --manage_closure_dependencies
* Inline more functions into the global scope in advanced mode
* Better detection for dangerous 'this' references in verbose mode
* Disabled flow sensitive variable inlining by default, because it still has problems
* Fixes issues 174, 166, 168, 125 among others


May 14, 2010
* Shadowing of the `arguments` variable is now forbidden
* Added the `--manage_closure_dependencies` flag (pending documentation)
* Support for the @extern annotation
* Type-inference plugin that knows about goog.asserts
* Data-flow based variable inlining
* Better function inlining
* Warnings for unknown @suppress parameters
* Fixes for issue 141, issue 139, issue 58, issue 112, and many others

Mar 30, 2010
* Renamed `CompilerRunner.java` to `CommandLineRunner.java`
* More user-friendly messaging for trailing commas
* Improvements to inlining and property ambiguation optimizations
* Run-time type-checking (not available from the command-line)
* Better type checking in inner functions
* Fixes for issue 33, issue 103, issue 116, issue 124, issue 127, and issue 130 (among others)

Feb 1, 2010
* Support for Ant (BuildingWithAnt)
* The ability to turn type warnings on/off independent of other flags (--jscomp_warning=checkTypes)
* With --warning_level=QUIET, all warnings will be silenced.
* Fix for Issue 86 ("@inheritDoc doesn't play well with interfaces")
* Fix for Issue 81 ("eval function replaced with eval operator")
* Fix for Issue 80 ("Inappropriate side-effect warning")
* A few improvements to variable inlining.


Dec 17, 2009:
* Fix for issue 75 ("indexing into an array with a string shouldn't be an error")
* Fix for issue 63 ("create source map in whitespace-only mode.")
* Fix for issue 24 ("Add --charset option to command line compiler that changes the input and output chararacter set.")
* Don't generate warnings for ES5 directives
* Generate a warning for unsafe uses of "with". Suppress warning with /** @suppress {with} */
* Various bugs fixed.

Dec 3, 2009:

* Several bug fixes.
* Make --define part of the open source API.
* Allow RemoveUnusedVars to strip unused anonymous function names.
* Add a warning for function declarations that may behave differently in different browsers.
* Enable local variable inlining for simple mode.
* Digits aren't allowed as the first character of a key, so add a prefix.

November 19, 2009:

* Better dead assignment elimination
* Support for goog.base
* Allow $ in method names.
* Inline local functions and anonymous functions
* Fix some compiler crashes when folding ifs and handling local vars
* Better type inference in externs
* Don't emit warnings for JSDoc annotations we don't support.

Change log

r1935 by Nicholas.J.Santos on Apr 30, 2012   Diff
Edited wiki page Releases through web user
interface.
Go to: 
Project members, sign in to write a code review

Older revisions

r1811 by Nicholas.J.Santos on Mar 5, 2012   Diff
Edited wiki page Releases through web
user interface.
r1752 by concavelenz on Jan 30, 2012   Diff
Edited wiki page Releases through web
user interface.
r1751 by concavelenz on Jan 30, 2012   Diff
Edited wiki page Releases through web
user interface.
All revisions of this file

File info

Size: 12345 bytes, 230 lines
Powered by Google Project Hosting