This repository was archived by the owner on Aug 1, 2024. It is now read-only.
Closure Library v20200614
New Additions
- Add commit method to goog.db.Transaction.
- Add goog.dom.safe.setInnerHtmlFromConstant.
- Add an adapter API to use Closure asserts with other testing frameworks (eg, Jasmine).
- goog.module.ModuleManager addExtraEdge and removeExtraEdge methods have been added.
Backwards Incompatible Changes
- goog.globalize has been removed
- Remove aliases of goog.getHashCode and goog.removeHashCode from goog.js.
- goog.typeOf no longer special cases very old browsers.
- goog.STRICT_MODE_COMPATIBLE has been removed.
- Remove transitionalforwarddeclarations.js
- goog.getHashCode and goog.removeHashCode have been removed.
- Simplify goog.globalEval in by removing pre-ES5 support.
Other Changes
- Remove useless transitionforwarddeclarations.js
- Deprecate goog.provide, goog.inherits, and goog.bind
- Use the new asserts adapter in fail().
- Templatize goog.array.equals comparison function.
- Deprecate goog.isFunction
- Delete
goog\.result\.Result. - Clean up circular dependency in net/xpc.
- Deprecate goog.object.is
- Fix overflow issue for link dialog input.
- Changed the default value of goog.TRUSTED_TYPES_POLICY_NAME to enable Trusted Types (https://github\.com/w3c/webappsec-trusted-types\) support in goog.html.{SafeHtml,SafeScript,TrustedResourceUrl} and goog.base debug loaders. Trusted Types will be used whenever available in the runtime.
- Deprecate goog.nullFunction.
- requestFullscreen now returns the result of the browser-specific API call.
- Copy much of the interface of
DeferredontoResult. - Aligned the trusted types related tests with the current goog.html.trustedtypes package naming.