<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi,<div><br></div><div><p style="margin-right:0px;margin-bottom:15px;margin-left:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15px;line-height:25.5px;margin-top:0px!important">

After some fluctuating stability around 0.8.1/0.8.2, release 0.9.0 [1] brings a set of improvements that has been tested not only by the test suite, but also in a couple of projects.</p><p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15px;line-height:25.5px">

News:</p><ul style="padding:0px 0px 0px 30px;margin-top:15px;margin-right:0px;margin-left:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15px;line-height:25.5px;margin-bottom:0px!important">

<li>API changes. Added <code style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin:0px;border:1px solid rgb(221,221,221);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;max-width:100%;display:inline-block;overflow:auto;vertical-align:middle;line-height:1.3;padding:0px;white-space:nowrap">_file</code> and <code style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin:0px;border:1px solid rgb(221,221,221);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;max-width:100%;display:inline-block;overflow:auto;vertical-align:middle;line-height:1.3;padding:0px;white-space:nowrap">_template</code> suffixes to the compile functions to explicitly convey what is to be compiled.</li>

<li>Autoescape is now <em>enabled</em> by default. Use the relatively new <code style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin:0px;border:1px solid rgb(221,221,221);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;max-width:100%;display:inline-block;overflow:auto;vertical-align:middle;line-height:1.3;padding:0px;white-space:nowrap">auto_escape</code> option if you want this disabled by default.</li>

<li><code style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin:0px;border:1px solid rgb(221,221,221);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;max-width:100%;display:inline-block;overflow:auto;vertical-align:middle;line-height:1.3;padding:0px;white-space:nowrap">blocktrans</code> blocks can now be translated to multiple locales in runtime. (thanks to <a href="https://github.com/seriyps" style="color:rgb(51,51,51);text-decoration:none;font-weight:bold;white-space:nowrap" target="_blank">@seriyps</a>)</li>

<li><code style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin:0px;border:1px solid rgb(221,221,221);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;max-width:100%;display:inline-block;overflow:auto;vertical-align:middle;line-height:1.3;padding:0px;white-space:nowrap">trans</code> and <code style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin:0px;border:1px solid rgb(221,221,221);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;max-width:100%;display:inline-block;overflow:auto;vertical-align:middle;line-height:1.3;padding:0px;white-space:nowrap">_(...)</code> tags can now be translated to multiple locales at compile time. (thanks to<a href="https://github.com/seriyps" style="color:rgb(51,51,51);text-decoration:none;font-weight:bold;white-space:nowrap" target="_blank">@seriyps</a>)</li>

<li>Don't want to save the compiled .beam file? Use <code style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin:0px;border:1px solid rgb(221,221,221);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;max-width:100%;display:inline-block;overflow:auto;vertical-align:middle;line-height:1.3;padding:0px;white-space:nowrap">{out_dir, false}</code> compile time option (this was possible before as well, when no out_dir was specified, but that results in a warning).</li>

<li>The error reporting has been fixed for certain cases.</li></ul><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px"><br></span></font></div><div>
<font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px">Please note that going forward from version 0.8.0 or earlier will require some minor adjustments as there have been a few incompatible changes introduced in the return values of the API. We have adopted the style of that of the Erlang compiler application, with options for reporting and/or returning errors and warnings. See the readme for details.</span></font></div>

<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px"><br></span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px">A big thank you to all who reported issues and sent pull requests.</span></font></div>

<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px"><br></span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px">Best regards,</span></font></div>

<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px">Andreas Stenius</span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px"><br>

</span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px">[1] <a href="https://github.com/erlydtl/erlydtl/releases/tag/0.9.0" target="_blank">https://github.com/erlydtl/erlydtl/releases/tag/0.9.0</a></span></font></div>

<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px"><br></span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px">Ps.</span></font></div>

<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px">As I see there will be more frequent releases of ErlyDTL in the future, I will only announce "major" releases to erlang-questions. If you want to stay up-to-date on every release, please subscribe to the <a href="mailto:erlydtl-users@googlegroups.com" target="_blank">erlydtl-users@googlegroups.com</a> mailing list (or follow us at <a href="https://github.com/erlydtl/erlydtl" target="_blank">https://github.com/erlydtl/erlydtl</a>).</span></font></div>

<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15px;line-height:25.5px"><br></span></font></div></div>
</div><br></div>