Skip to content

Releases: metal/metal-tools-soy

v6.0.0

21 Feb 11:19
Compare
Choose a tag to compare
  • 2c3a930 Updates SoyToIncrementalDomSrcCompiler jar to 2017-12-22

5.0.0

28 Sep 23:08
Compare
Choose a tag to compare

Fixes (Breaking Changes)

This change introduces stricter soy parsing. Mixed soy doc params and inline params are no longer supported.

Incorrect:

{namespace Template}

/**
 * @param elementClasses
 */
{template .render}
	{@param html: html|string}

	<div class="{$elementClasses}">
		{$html}
	</div>
{/template}

Correct:

{namespace Template}

/**
 *
 */
{template .render}
	{@param elementClasses: string}
	{@param html: html|string}

	<div class="{$elementClasses}">
		{$html}
	</div>
{/template}

4.1.1

27 May 08:38
Compare
Choose a tag to compare

Bug Fixes

4.1.0

26 May 07:43
Compare
Choose a tag to compare

New APIs

  • Adds a new externalMsgFormat option to allow formatting the output of extracted external messages inside the templates to the generated JS code. (#12)

Fixes

  • Record types are now properly parsed thanks to the integration of the new soyparser. (#11)

Improvements

4.0.0

24 Apr 14:33
Compare
Choose a tag to compare

Fixes (Breaking Changes)

This changes the output format, so to use it in a project, metal.js should be updated at least to metal/metal.js@1430daa (metal-soy-bundle@2.8.0)

3.1.0

29 Mar 09:07
Compare
Choose a tag to compare