This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Closure Library v20200315
New Additions
- Add SafeHtml.comment.
Security Fixes
- Fixes CVE-2020-8910.
Backwards Incompatible Changes
- Delete inlay css styles, which are not actually used by Closure.
- Add non-nullable modifier to return type of functions never returning null.
- Remove forwardDeclares from Closure Events Listenable by reducing the typing of the event key's src property to just Listenable, instead of Listenable|EventTarget. Note that EventTarget is the primary implementation of Listenable.
Other Changes
- Added SafeUrl.fromMediaSource()
- Fix authority parsing in Closure URI parser.
- Document mode is now based on user agent on IE if not present in document
- Add a define to module manager so that we can control module loading behaviors.
- Add non-nullable modifier to return type of functions never returning null.
- goog.isArray in deprecated in favor of Array.isArray
- Update Thenable.then rejection handler JSDoc to reflect actual functionality.