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

Closure Library v20190709

Compare
Choose a tag to compare
@rishipal rishipal released this 16 Jul 05:28

New Additions

  • Part of updated API for the purpose of selecting ECMAScript implementation and data
  • Add a ContentKind property to Soy render callback & event.

Backwards Incompatible Changes

  • Delete goog.soy.data.SanitizedContentKind.TEXT.
  • Update ModuleLoader.prefetchModule to work with the <script async=false .../> mode, by inserting <link rel="preload".... /> tags into the header.

Other Changes

  • Fix escaping of '<' in goog.string.quote.
  • Bugfix, escape code must be uppercase. Updated broken link.
  • Render the test runner logs with forced LTR direction
  • goog.soy.TextTemplate typedef has dropped support for the legacy third parameter.
  • Fix a bug in IE/Edge where referencing cssRules.cssText throws an error in some cases.
  • goog.labs.testing.Environment.mock now supports a parameter that triggers loose call ordering, so mocked expectations do not need to be in a specific order.
  • Don't call handlerRender from goog.soy.Renderer.prototype.renderText. Use goog.soy.IjData instead of soy.IjData
  • HSV colour conversions should be more accurate.
  • goog.defineClass is now deprecated.
  • goog.soy.StrictHtmlTemplate and goog.soy.StrictTemplate typedef have dropped support for the legacy third parameter.
  • Fixed a small typo in the documentation for the goog.dom.getOuterHtml method.