Releases: verhas/jamal
1.7.7
Markdown module was added with one single macro. Using this you can use markdown in JavaDoc files.
Macro can implement its own fetching, and that way now escape
macro can also be aliased.
Option nl is removed, does not exist any more. Any \
after a macro escapes the next new line character.
For has new keyword from
to iterate through a collection that a user defined ObjectHolder
macro can provide.
1.7.6
Yaml XML macro extended to have attributes and CDATA in the output when you design a Yaml, especially for XML.
Macro define
can specify optional parameters.
It is an error to use :=
on a parameterless macro without ()
to avoid ambiguity. Even I, who created the whole thing, could not remember if a:=
defines a global or a pure macro.
1.7.5
1.7.4
JavaDoc support
Yaml support
jamal-io module writing file and stdout and stderr
various bugfixes
collect can collect onceAs
verbatim user-defined macros
default macro can get the actual macro name
snippet trim macro can verticalTrimOnly
macro use
can define alias for already existing macro
1.7.3
1.7.2
1.7.1 Groovy module
This release includes a Groovy module that you can use to embed Groovy code into the Jamal input.
Closer objects are invoked in the order they were (first) declared.
bug fixed and makes it possible to use :a
user-defined macros when USED and not only when defined
Test support can set the separators after the input is specified.
Cast tool was created in the tool module and use was moved from snippet to there.
1.7.0
New macro to undefine a user-defined macro.
Built-in macros can do post-processing where they can modify the final result.
jamal-snippet
macro xmlFormat
uses the new functionality and can format the whole document at the end
Embedding application can use a general 'context' that can also be used by the macros
1.6.5
1.6.4
Snippet collection throws an error when a snippet is not closed but only in case the snippet is used.
Unclosed macro opening character reported line number is correct after a bug fixed that reported the last opened macro line number.
documentation about how to write a built-in macro was started
phantom parameters are handled correctly in case a macro does not have a parameter but there are zero string resulting macros evaluated in the parameters
InputHandler got a new startWith method
ScriptBasic module was reintegrated, following the release and is now part of the release
it is possible to define a user defined macro default
which is used in case a macro is not defined. The real good use of it is when the user defined macro is defined using Java support and has special logic.