This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Releases: google/closure-library
Releases Β· google/closure-library
Closure Library v20230802
Other Changes
- Updates I18N data with CLDR 43 information. (7511599)
- Fix NodeJS bootstrap. (7c9edc1)
- Deprecates
SafeHtml.createScript
(7c684b7) - Make it possible to render a Soy template as text without constructing a renderer. (d06d214)
- Hit-detection fixes for
DragScrollSupport
class. (b91ebf6) - Make
Mock.record()
accept methods of mock objects as well. (5ca918f) - Restrict the user from navigating to unselectable dates using the home key. (f94055a)
Closure Library v20230502
Backwards Incompatible Changes
- Add the ability to center a dialog inside a parent parent element. (eaf55f3)
Other Changes
Closure Library v20230411
No relevant changes
Closure Library v20230228
Backwards Incompatible Changes
- Remove the
defaultImpl
parameter from Closure Delegates helper methods. (ab6fa71)
Other Changes
- Soy: Add
toSafeStyle
. (db33484) - Revise style of
MONTH_DAY_MEDIUM
to use medium rather than long. (952fff6) - Remove versioned CLDR data. (6359870)
- Add a new
goog.define
that lets users change the Soy stubbing behavior at runtime and another to always stub. (ecaae0a) - Disable the Debug Loader by default. (b12e80d)
- Stops sanitizing the #src attribute for
<img>
,<video>
,<audio>
and<source>
. (6e384c9) - Update
DateTimeParse
to handle non-ASCII spaces in date/time patterns (6b26bd2) - Adds a new API
BrowserChannel.setIsBuffered
to allow clients to set connection status (96278c1)
Closure Library v20230206
New Additions
- New
DurationFormat
API (9251751)
Other Changes
- Remove
CurrencyInfo
andCurrencyInfoTier2
provides, as they can be accessed from thegoog.i18n.currency
provide (723c869) - Suppress deprecation warnings in base.js (41a3ba0)
- Fix errors in errorhandler.js in Worker contexts (53b06a2)
- Add type annotations for
goog.ui.AnimatedZippy.Events
(8933907) - Add an API to conditionally render soy using IDOM constructs (35dc68a)
- Remove deprecated
goog.getLocale
function;goog.LOCALE
should be set as a Closure Define instead (9c4766f) - Updating data with CLDR 42 (f11273f)
Closure Library v20230103
New Additions
- Add
goog.i18n.messages.declareIcuTemplate()
as a better way to declare ICU-formatted messages. (1762f0a)
Other Changes
- CLDR 42 update
- Updating data with CLDR 42 (5fa11c8, 9f4d02c)
- Update I18N test assert function to ignore white space differences (f6203e8) and work better with null/empty actual values (11ed104)
- Update
assertI18nContains
to ignore horizontal white space in strings (d407e5c) - Update relativedateformat data to CLDR 42 (53727e8)
- Add support for non-ASCII spaces in
DateTimeParse
(e25a09a)
- Delete deprecated methods in goog.dom.asserts, as they are superceeeded by equivalent methods in goog.asserts.dom (dbdb5a2)
- Fix typo in afternoon2 for zh-Hant day periods (407ff9d)
- Allows
+
characters in property values in SafeStyle (d2c1f25) - Changes the safe url test vectors template to output
goog.modules
(01cac58) - Allow types other than sanitized content to produce safeHtml (1fac3c9)
- Defines and URL sanitizer that only blocks
javascript:
URLs (fe511fa) - goog.dom.safe SafeUrl wrappers only block
javascript:
URLs (6429300) - Create a
goog.define
for whether or not soyjs should be stubbed by idom (86e9677) - Update region name from from "Turkey" to "TΓΌrkiye" (f292756)
Closure Library v20221102
Closure Library v20221004
New Additions
- Added a handful of
goog.crypt
methods with clearer string encoding semantics. (849cf9c)
Other Changes
- Fix for the issue when styles were not getting evaluated after insertion in DOM (fe53c01)
goog.object.unsafeClone
now clonesDate
objects correctly. (767dd4b)- Implement
toString
inUrlLike
return value for IE. (ceb174a) goog.crypt.stringToByteArray
(along withbase64.encodeString
andhash32.encodeString
) will now throw asynchronously on multi-byte characters in development. (e439bfd)
Closure Library v20220905
New Additions
- Client Hints: use
fullVersionList
in Chromium >=98. (50a2ae0) - Added
goog.crypt.base64.{en,de}codeStringUtf8
(19ae2f1) - Add
goog.string.Unicode.ZERO_WIDTH_SPACE
. (5feed4e)
Backwards Incompatible Changes
- Delete
goog.dom.safe.setImageSrc
, just assign toimageElement.src
directly instead. (5c479e1)
Other Changes
Closure Library v20220803
Backwards Incompatible Changes
- The debug loader no longer downlevels sources in the browser. The alternative recommendation is to use a downleveling development server instead. (468188f)
- transpile.js has been deleted (55bb681)
- Remove configurability for whether window.open with noreferrer implies noopener (3e83d96)
Other Changes
- Closure editor: fix a rare case where extra strings were inserted when a list was removed (e69cdb6)