Skip to content

5.0.0

Compare
Choose a tag to compare
@robframpton robframpton released this 28 Sep 23:08
· 4 commits to master since this release

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}