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

Closure Library v20200830

Compare
Choose a tag to compare
@shicks shicks released this 03 Sep 07:14

New Additions

  • goog.log.getRootLogger has been added
  • Add MockClock.tickAsync()
  • goog.loader.NoopModuleManager: Add new no-op default module manager implementation
  • Add goog.functions.isFunction
  • Add new method goog.testing.singleton.reset()

Backwards Incompatible Changes

  • goog.delay has been removed
  • Remove support for text/csv in SafeUrl.{fromBlob,fromDataUrl,tryFromDataUrl}. Safe uses should migrate to unchecked conversions
  • Tighten strictness in Closure Library functions in goog.provide files
  • goog.loader.activeModuleManager: Rename maybeInitialize to initialize
  • Remove deprecated method goog.fs.blobAsString

Other Changes

  • Resolved issue with rendering child tabs incorrectly when they moved right
  • Make goog.events libraries compatible with clutz (JS to TS converter)
  • Allow using setInnerHtml with ShadowRoot
  • Check for TypedArray in goog.object.unsafeClone and clone them appropriately
  • Fix edge-case in TestCase autodiscovery
  • Add aria-owns to permitted list of attributes with IDENTIFIER contract
  • Update isSafariDesktopOnMobile check to account for non-Safari browsers that have recently adopted the same behavior
  • Typo fix in goog.url#createUrl
  • Adds unhandled error handler for Deferreds for transitional purposes