v20220905
版本发布时间: 2022-09-16 01:13:52
google/closure-library最新发布版本:v20230802(2023-08-11 01:43:27)
New Additions
- Client Hints: use
fullVersionList
in Chromium >=98. (50a2ae09718a4812636d1d5e16209239fdbe403d) - Added
goog.crypt.base64.{en,de}codeStringUtf8
(19ae2f19953b89f789c29de5eab3511c2cb687e0) - Add
goog.string.Unicode.ZERO_WIDTH_SPACE
. (5feed4e1bc778ddcbf3be5b47531dbd533078fa9)
Backwards Incompatible Changes
- Delete
goog.dom.safe.setImageSrc
, just assign toimageElement.src
directly instead. (5c479e1d2cbfd2d9a7e1548daa8c0d313bc42829)
Other Changes
- Fixes parsing of flexible day periods in compiled JavaScript. (653615563f34d3f1eeb4b22ca529320ee5d3b901)
- Use native
Intl.DateIntervalFormat
when it's available in modern browsers. (da7658dc11839177562dd71c506c7db757abea40, 261b4201a308b28acc4d93ceed2c4c8abdbd4f4e) - Allow
ModuleManager.prefetchModule
to be called for modules that are being loaded/loading (1e90884961a4c983d69c6c5365ab7d14d51fc811)