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

Closure Library v20171203

Compare
Choose a tag to compare
@shicks shicks released this 08 Dec 23:30

New Additions

  • Provide safe API for module loading.
  • Add new HTML5.1 tags to goog.dom.TagName.
  • Add goog.date.Date.fromIsoString() and goog.date.DateTime.fromIsoString() for control over the return type.
  • Add goog.dom.safe.setVideoSrc
  • Changed zippy and animatedzippy to allow role override for improved accessibility.
  • Implement a simple delegate system.

Backwards Incompatible Changes

  • Add protected getThumbCssClass method to goog.ui.Slider.
  • Disallow passing string or goog.Uri to Jsonp.
  • Delete deprecated API for module loading.
  • Fix bug in SliderBase's drag handling while in RTL mode to correctly calculate the new slider value.
  • Delete deprecated goog.editor.Field#setHtml.
  • Change all non-mutating functions in goog.array to accept IArrayLike instead of Array.
  • Delete goog.html.testing.testTypedStringEquality.

Other Changes

  • Remove the goog.string dependency from goog.asserts.
  • new WebChannelOptions.clientProfile to support custom configs, e.g. for mobile/cellular clients.
  • Updated some goog.testing.PropertyReplacer examples to use replace instead of set, and pointed out the possible need for goog.reflect.objectProperty.
  • WebChannel supports dynamic timeout config for back-channel requests. This is a backward compatible change.
  • Fixed a bug to avoid starting traces with the same id.
  • Use standard 'focusin' and 'focusout' events.
  • Remove the delay between onload and test initialization.
  • Fixed a bug in goog.vec.Quaternion.fromRotationMatrix4.