| CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 5
Releases: verhas/jamal
2.8.2
2.8.1.
Bug fix release.
There was a bug in the expression analysis of the PROG module that resulted in the evaluation of
8 * 3 % 7 to be evaluated as 8 * (3 % 7) instead of ( 8 * 3 ) % 7
It was corrected.
Assets 7
Release 2.8.0
The prog module implements floating-point calculations.
Assets 2
2.7.0
- A new modul to handle REST requests.
- A new modul to read from Microsoft Excel files and also to write into them.
- Macro
forhas a new parameter option. - Macro
defin the snippet module to simplify defining parameter-less macros.
Assets 2
2.6.0
Bug fixes and new experimental macro package to read from SQL databases
Assets 2
2.5.0
- Macro
optionscan also be used asoptionsingular - Macro
optionshas the paropspushandpop - Macro
defineparopnoRedefinecan also be used as an option not only as a parop. - Macro
repeatwas developed in the snippet library. - Macro
importhas a new parop,isolatethat makes the import isolated. - Generated files are set to be read only, so that they are not accidentally edited.
output:writablecan override this behavior.- Command line option
-jamalizecan install the Jamal Asciidoc extension into the current project. - experimental parser was developed to support editor plugins and LSE implementations in the future.
output:charsetcan be used to specify the output charset.units.jimdefine the unicode metric units characters- There is support to run Jamal from docker in the
jamal-dockermodule. - The core macro
forwith the paropevalistallows you to miss the macro opening and closing strings when the list is nothing but an argument-less macro invocation. - The
jamal-progpackage contains a macrodecimalto supportBigDecimalcalculation in BASIC code. - The
replaceandreplaceLinesmacros in the snippet package result in error not only if the input was not changed, but also when some of the search/replace string-string or regular expression-string pairs made no effect on the input when the optiondetectNoChangeis used.
This helps to avoid situations when a snippet is heavily transformed to create documentation lines from source code and the source changes structurally and the transformation gets outdated.
It is recommended to set thedetectNoChangeoption to true globally at the start of the input file. - The argument splitting many built-in macro uses now looks at the macro
$REGEXand uses it to split the arguments if defined. snip:evalcan evaluate snippets using the location of the snippet for relative files referenced inside the snippetimportandincludemacros have paropin.- The macros
fileanddirectoryin the snippet package has a new paroprelativeTothat controls the formatting placeholder calculationrelativePath. - The new macro
file:locatecan locate files - Exceptions insert the macro locations at the top of the stack trace
- Macro
variationwas developed.
Assets 2
2.4.0
- Kotlin support to make Macro creation in Kotlin a breeze.
- Scan interface usage to parse parotps was eliminated
- Word decorator macro was developed
- counter macro was extended to support hierarchical counters and also other than Latin characters
- User-defined macro can have default parameters for better readability
- New
$time,$atime, and$ctimeplaceholders for thefilemacro
Assets 2
2.3.0
- Core macro
blocksupports the optionflat(alias asexport) to evaluate the content in the same scope as the surrounding macro. referencesmacro runs an idempotency check at the end of the execution- Macro parameters that do not need
(and)can be specified with optional parentheses.
You do not need to remember not to use the parentheses. - Asciidoctor's extension supports both 2.5.10 and 3.0.0-alpha.1 versions of Asciidoctor.
It is not integration tested for the 3.X.X versions because IntelliJ plugin currently supports 2.X.X versions only. - Asciidoctor integration defines
asciidoctorj:versionmacro. - Upon start and macro load Jamal executes the
.jimresource files. - Macro
definecan create a user-defined macro being an instance of a given class. - Macro
urlEncodecan encode a string to be used in a URL. - More Kroki support with
krokimacro. - Built-in BASIC can call user-defined and built-in macros.
Assets 2
2.2.0
- Support for JSR223 scripting API. Now you can use Jamal in any application that can be scripted.
- New macro in the file module to test file existence, type (dir or plain file), readability, writable, executable, or hidden.
- New macro in the file module to copy binary files.
Useful to fetch ephemeral resources via HTTP to have them attached to the document. - New macro in the snippet library to memoize certain operations.
snip_listdoes not list erroneous snippets anymore.java:insertcan fail with error if it updates the file.- new environment variable
asciidocfx.asciidoctor.pluginis usable, the same asintellij.asciidoctor.plugin - Jamal works in AsciidocFX as well.
This is not a feature of this release, but it was tested and documented in this release first.
It requires AsciidocFX 1.8.5 or later.
Assets 2
2.1.0
- Java:insert macro can insert a macro result into a Java source file between
<editor-fold id="">
</editor-fold>
lines.
-
Macro
java:sourcescan load the sources and compile as well, as from the compiled classes so that other macros can reference.
Macrosjava:classes,java:methods,java:fieldscan be used to list the classes, methods, and the fields of a class. -
Jamal Maven plugin was rewritten and has new functionality.
-
Jamalize can be used to install asciidoctor library files for IntelliJ.
-
shell:varcan replace$xxxand${xxx}references. -
io:execwas extended to support multi-line command and arguments.