Skip to content

Improvements

Compare
Choose a tag to compare
@kaos kaos released this 17 Feb 15:22
· 240 commits to stable since this release

After some fluctuating stability around 0.8.1, this release 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.