[ANN] ErlyDTL v0.9.0

11 views
Skip to first unread message

Andreas Stenius

unread,
Feb 18, 2014, 3:20:08 AM2/18/14
to erlydt...@googlegroups.com, Erlang
Hi,

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.

News:

  • API changes. Added _file and _template suffixes to the compile functions to explicitly convey what is to be compiled.
  • Autoescape is now enabled by default. Use the relatively new auto_escape option if you want this disabled by default.
  • blocktrans blocks can now be translated to multiple locales in runtime. (thanks to @seriyps)
  • trans and _(...) tags can now be translated to multiple locales at compile time. (thanks to@seriyps)
  • Don't want to save the compiled .beam file? Use {out_dir, false} compile time option (this was possible before as well, when no out_dir was specified, but that results in a warning).
  • The error reporting has been fixed for certain cases.

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.

A big thank you to all who reported issues and sent pull requests.

Best regards,
Andreas Stenius


Ps.
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 erlydt...@googlegroups.com mailing list (or follow us at https://github.com/erlydtl/erlydtl).

Reply all
Reply to author
Forward
0 new messages