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

Closure Library v20220601

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Jul 18:30

Backwards Incompatible Changes

  • Closure Compiler now requires OpenJDK 11. (a22e75e)
  • remove the goog.json.Processor interface (e5b4faf)
  • Remove deprecated goog.net.xpc.CfgFields.DIRECT_TRANSPORT_SYNC_MODE as the Direct Transport mechanism has been removed from Closure. (461dc5f)
  • Remove goog.json.TRY_NATIVE_JSON (2d41ea4)
  • DateTimeParse now correctly rejects abutted numeric runs that are shorter than the minimum length. (7030d40)
  • Make deprecated goog.labs.userAgent.browser.versionOf a private function. (54f139f)

Other Changes

  • Modernize thenable.js from goog.provide to goog.module. (8f420ee)
  • ListFormat includes UNIT, AND, and OR types, each with LONG, SHORT, and NARROW styles. (b994f40)
  • Modernize async/freelist.js from goog.provide to goog.module. (021c3f3)
  • Prevents the inlining of constants in the builders. (6fbd2d6)
  • Defines toString in ES6 method style. (d22672b)
  • Modernize async/run.js from goog.provide to goog.module. (5241b0e)
  • Adding HEIC & HEIF image formats to Safe URLs (18e7be6)
  • Support mocking accessor descriptors in goog.labs.mock. (ab4ab53)
  • Changes the value of the innocuous url. (e69beb1)
  • Add WEEKDAY_MONTH_DAY_FULL option for formatted date (35d9385)