google / closure-compiler

A JavaScript checker and optimizer.
https://developers.google.com/closure/compiler/
Apache License 2.0
7.34k stars 1.14k forks source link

For online Closure Compiler Service: provide compiler version number #1758

Open myphysicslab opened 8 years ago

myphysicslab commented 8 years ago

When answering a StackOverflow question about Closure Compiler it would be helpful to be able to determine the version number that the online Closure Compiler Service is based on.

teppeis commented 7 years ago

How often are http://closure-compiler.appspot.com/ and https://closure-compiler-debugger.appspot.com/ updated? Can I get the current version number?

MatrixFrog commented 7 years ago

On closure-compiler-debugger, the number after the '@' tells you the version. For example, currently it says @160940824 but without access to Google's internal repository it's not easy to know how old that is.

In generally, it's updated when we do a release, about once a month. We should probably add a more user-friendly version string somewhere

teppeis commented 7 years ago

@MatrixFrog thanks! Is http://closure-compiler.appspot.com/ updated when we do a release too?

MatrixFrog commented 7 years ago

Generally yes but we might have missed it for some reason, on the last one.