Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Closure Library v20190528

Compare
Choose a tag to compare
@jplaisted jplaisted released this 31 May 15:27

New Additions

  • Added goog.asserts.assertExists, which asserts that a value is not null or undefined.
  • Added a mode to goog.module.ModuleLoader to use <script> tags (with async=false) to download submodule code instead of xhr requests.

Backwards Incompatible Changes

  • goog.define no longer exports global symbols. Instead it returns the value. This is the final step in making goog.define work in modules (cleanup).

Other Changes

  • Fix an IE11 failure in Closure's sanitizer when templates are polyfilled
  • Remove un-used LogSaver & Ensure closure compiler views require('goog.labs.net.webChannel.WebChannelBase') as side-effect free
  • Add basic MIME parameter support in SafeUrl's sanitizers.
  • Updates out-of-date docstring for cookies.remove().
  • Preserved newlines in testrunner log output
  • Fixed goog.testing.style.isVisible for detached elements.
  • Improve the performance of the Closure Compiler transpiler when loaded with the debug loader.
  • Ensure that the closure compiler views calls to goog.require('goog.math.Integer') as side-effect free.