1.10.0 #13
verhas
announced in
Announcements
1.10.0
#13
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New macro
defer
, which evaluates its input after the whole input was processed in a closer.Due to a bug the backslash character did not escape the following newline after an
escape
macro (ironic).Fixed.
The old-style macro evaluation is not available anymore. This significantly sped up the processing.
There were bug fixes for bugs that in some situations prevented the proper handling of
~/...
format file names.Some environment variables did not have the system property pair.
Fixed.
The maven plugin when used to convert a project to a Jamalized project does not create .mvn/extensions.xml in the subdirectories anymore.
There is a new environment variable
JAMAL_DEV_PATH
and system propertyjamal.dev.path
.See the documentation.
A bug prevented file include in Windows in some special cases.
Fixed.
snipline NAME
can be used to define a single line snippet without an end snippet.Options
noUndefault
andemptyUndef
are handled by macro evaluation.xmlFormat
works even in applications that embed Jamal in multi-thread.snip:check
is reworked, extended and improved.The core macro
if
now has several options and it is possible to test numeric comparisons as well as string emptiness.JUNIT dependency upped to 5.8.1
The handling of
lenient
option has changed. From now onlenient
has to be a global option.Environment variable handling was refactored and the documentation was moved to the class defined in the API module.
JavaScript dependencies were upped to newer versions to avoid security issues.
Counter macros (from snippet) can be invoked with the parameter
last
to simply return the last value.KillLine macro has to option
keep
that reverses which lines to keep and which lines to keep.There is a new
snip:lineCount
macro that returns the number of lines in a snippet.Options are not stored in option stores anymore.
Options are simple
Identified
objects stored along with the user-defined macros.This also means that options can individually be exported, and the whole options store cannot be exported anymore in one.
This discussion was created from the release 1.10.0.
Beta Was this translation helpful? Give feedback.
All reactions