Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Releases: google/closure-library

Closure Library v20230802

10 Aug 17:43
Compare
Choose a tag to compare

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

11 May 17:29
Compare
Choose a tag to compare

Backwards Incompatible Changes

  • Add the ability to center a dialog inside a parent parent element. (eaf55f3)

Other Changes

  • Makes closure/html types' constructors private (f3db3e6)
  • Deprecate setObjectData (211bb65) and setFrameSrc (1763bed) in SafeHtml
  • Add a way to check if Html5History is using the fragment for the token. (a6fa5b0)

Closure Library v20230411

13 Apr 17:32
Compare
Choose a tag to compare

No relevant changes

Closure Library v20230228

30 Mar 18:37
Compare
Choose a tag to compare

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

16 Feb 18:55
Compare
Choose a tag to compare

New Additions

Other Changes

  • Remove CurrencyInfo and CurrencyInfoTier2 provides, as they can be accessed from the goog.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

19 Jan 18:48
Compare
Choose a tag to compare

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

10 Nov 18:12
Compare
Choose a tag to compare

Other Changes

  • Deprecates the SafeHtml.create Closure builder. Recommends using a recommended templating system instead like Lit. (00facbd)
  • Add steps() to SafeStyle list of allowed functions (9d668cd)
  • Drop support for IE10 (b15ae93)

Closure Library v20221004

20 Oct 17:31
Compare
Choose a tag to compare

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 clones Date objects correctly. (767dd4b)
  • Implement toString in UrlLike return value for IE. (ceb174a)
  • goog.crypt.stringToByteArray (along with base64.encodeString and hash32.encodeString) will now throw asynchronously on multi-byte characters in development. (e439bfd)

Closure Library v20220905

15 Sep 17:13
Compare
Choose a tag to compare

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 to imageElement.src directly instead. (5c479e1)

Other Changes

  • Fixes parsing of flexible day periods in compiled JavaScript. (6536155)
  • Use native Intl.DateIntervalFormat when it's available in modern browsers. (da7658d, 261b420)
  • Allow ModuleManager.prefetchModule to be called for modules that are being loaded/loading (1e90884)

Closure Library v20220803

17 Aug 20:36
Compare
Choose a tag to compare

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)