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

Closure Library v20200628

Compare
Choose a tag to compare
@rishipal rishipal released this 06 Jul 21:15

New Additions

  • Add commit method to goog.db.Transaction.
  • Add trySanitize and tryFromDataUrl to goog.html.SafeUrl
  • Add goog.dom.copyContents.

Backwards Incompatible Changes

  • declareLegacyNamespace logic has been updated to work more like goog.provide.
  • goog.isArray has been deleted. Use Array.isArray instead.

Other Changes

  • goog.net.xpc.IframePollingTransport has been removed.
  • Removed deprecated goog.object.is in favor of Object.is
  • Updated acceptable mXSS output.
  • add Event.type to error message when possible.
  • Mark goog.iter.Iterator as deprecated
  • Make goog.html APIs exclude monkeypatched enumerable properties on Object.prototype
  • goog.now now always uses Date.now