Releases: metal/metal-tools-soy
Releases · metal/metal-tools-soy
v6.0.0
5.0.0
Fixes (Breaking Changes)
- Updates SoyToIncrementalDomSrcCompiler to https://github.com/google/closure-templates/releases/tag/release-2017-08-08.
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
Bug Fixes
- Includes [email protected] which fixes an issue where template names couldn't have underscores
4.1.0
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
Improvements
- Updates Updates SoyToIncrementalDomSrcCompiler to https://github.com/google/closure-templates/releases/tag/release-2017-04-24 that applies some refactors and fixes in the compiler. (#13)
4.0.0
Fixes (Breaking Changes)
- Updates Updates SoyToIncrementalDomSrcCompiler to google/closure-templates@7dae5a1 that fixes several bugs.
This changes the output format, so to use it in a project, metal.js
should be updated at least to metal/metal.js@1430daa ([email protected]
)