This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Closure Library v20211006
New Additions
- Provide goog.labs.userAgent.USE_CLIENT_HINTS_OVERRIDE as a runtime-override mechanism for overriding USE_CLIENT_HINTS in production builds. (41e7935)
- Add new functions to goog.iter to support rewriting existing ES4 iterators to use ES6 iteration semantics. (a73ad89)
Backwards Incompatible Changes
- Remove implementations of goog.iter.Iterator#next within Closure Library. As of this change, it's expected that all users of goog.iter.Iterator are calling the new name for this function, #nextValueOrThrow. (0fc677a)
- Deleted goog.dom.pattern package (54209b6)
- The
noreferrer
option can no longer be set for modern browsers on sites that set a referrer-policy ofunsafe-url
(f2c85d1)
Other Changes
- Add native ECMAScript support for modern browsers. (16d7b83)
- Introduces a new configuration object that can be passed to the MockClock constructor. (fd93eae)
- Make bubble innerHTML assignment Trusted Types compatible. (83aa32c)
- Add support for aria-current to goog.a11y.aria.State. (08f8ee4)
- Fixes error in Safari browser in native ECMAScript mode. (5a49c85)
- Add Intl native support in DateTimeFormat. (ed3f217)
- Make deps array of ModuleInfo non-nullable. (1c8d94c)
- Improve EqualToIgnoringWhitespaceMatches to ignore whitespace on both strings. (09d924f)
- Clean up 'var' to 'const' or 'let'. (fcb893e)