Module

EEx

Changes by version

Elixir 1.19.1

· 1 change

Bugfix Tool: EEx

Address Dialyzer warnings when invoking EEx.compile_string

Elixir 1.18.0

· 2 changes

Hard Deprecation Tool: EEx

<%# is deprecated in favor of <%!-- or <% #

Hard Deprecation Tool: EEx

c:EEx.handle_text/2 is deprecated in favor of c:EEx.handle_text/3

Elixir 1.17.1

· 1 change

Bugfix Tool: EEx

Do not warn for assignment with blocks in EEx

Elixir 1.16.0

· 1 change

Enhancement Tool: EEx

Include relative file information in diagnostics

Elixir 1.15.7

· 1 change

Bugfix Tool: EEx

Do not emit duplicate warnings from tokenizer

Elixir 1.15.6

· 1 change

Bugfix Tool: EEx

Do not crash when printing tokenizer warnings

Elixir 1.15.0

· 1 change

Enhancement Tool: EEx

Include source code snippets in syntax errors

Elixir 1.14.0

· 3 changes

Enhancement Tool: EEx

Support multi-line comments to EEx via <%!-- --%>

Enhancement Tool: EEx

Add EEx.tokenize/2

Enhancement Tool: EEx

Using <%# ... %> for comments is deprecated. Please use <% # ... %> or the new multi-line comments with <%!-- ... --%>

Elixir 1.13.0

· 3 changes

Enhancement Tool: EEx

Add :parser_options to EEx functions

Bugfix Tool: EEx

Accept comments in EEx between do and the first clause

Bugfix Tool: EEx

Accept EEx expressions where -> is followed by newline

Elixir 1.11.0

· 4 changes

Enhancement Tool: EEx

Track column information in EEx templates when enabled in the compiler

Enhancement Tool: EEx

Show column information in EEx error messages

Enhancement Tool: EEx

Support :indentation option when compiling EEx templates for proper column tracking

Bugfix Tool: EEx

Make trimming behaviour via the :trim option more consistent

Elixir 1.10.0

· 1 change

Bugfix Tool: EEx

Ensure multiline do/end with no spaces compile under trim mode

Elixir 1.9.0

· 2 changes

Enhancement Tool: EEx

Allow more complex mixed expressions when tokenizing

Bugfix Tool: EEx

Consistently trim newlines when you have a single EEx expression per line on multiple lines

Elixir 1.8.2

· 1 change

Bugfix Tool: EEx

Raise readable error message on bad EEx state

Elixir 1.8.0

· 1 change

Enhancement Tool: EEx

Optimize the default template engine to compile and execute more efficiently

Elixir 1.6.0

· 1 change

Enhancement Tool: EEx

Allow markers / and | to be used in a custom EEx engine

Elixir 1.5.0

· 1 change

Enhancement Tool: EEx

Deprecate <%= in "middle" and "end" expressions, e.g.: <%= else %> and <%= end %>

Elixir 1.4.2

· 1 change

Bugfix Tool: EEx

Support middle expressions on trim mode

Elixir 1.1.0

· 2 changes

Enhancement Tool: EEx

Add :trim option to EEx that automatically trims the left side of <% and right side %> if only spaces and new lines preceed/follow them

Bugfix Tool: EEx

Allow EEx interpolation to also apply inside quotations <%%= ... %>

Elixir 1.0.5

· 1 change

Enhancement Tool: Elixir

Ensure blocks do not clobber EEx buffers

Elixir 1.0.2

· 2 changes

Enhancement Tool: Elixir

Remove invalid warning when attempting to inline code in EEx

Enhancement Tool: Elixir

Unify syntax errors to always include file:line:

Elixir 0.14.2

· 1 change

Enhancement Tool: Elixir

Using EEx.TransformerEngine and EEx.AssignsEngine are deprecated in favor of function composition with Macro.prewalk/1 (see EEx.SmartEngine for an example)

Elixir 0.13.0

· 1 change

Enhancement Tool: Elixir

Add handle_body/1 callback to EEx.Engine

Elixir 0.12.2

· 1 change

Enhancement Tool: Elixir

Allow EEx.AssignsEngine to accept any Dict

Elixir 0.10.3

· 1 change

Enhancement Tool: Bug fixes

Solve issue where do blocks inside templates were not properly aligned