Template-based docx report creation
maximumWalkingDepth
option for supporting large documents by @BrandonDR in https://github.com/guigrpa/docx-templates/pull/360
Full Changelog: https://github.com/guigrpa/docx-templates/compare/v4.12.0...v4.13.0
FOR
loop. Thanks @SuchiraD !Full Changelog: https://github.com/guigrpa/docx-templates/compare/v4.11.5...v4.12.0
w:p
or w:tr
tag. Thanks @dseilerFull Changelog: https://github.com/guigrpa/docx-templates/compare/v4.11.4...v4.11.5
Object
types of runJs
arguments.eval()
internally.ObjectCommandResultError
. When a ObjectCommandResultError
is thrown, this change attaches the computed result to the error in case a custom error handler wants to use it for some reason. (thanks @emilong!)Buffer
polyfill.Full Changelog: https://github.com/guigrpa/docx-templates/compare/v4.11.3...v4.11.4
InvalidCommandError
referring to 'Unexpected END-IF outside of IF statement context:'
when the problem was actually an unexpected END-FOR
. Thanks @davidjbUnterminatedForLoopError
when FOR
loop is not properly terminated with an END-FOR
.timm
).jszip
dependency to latest version.Full Changelog: https://github.com/guigrpa/docx-templates/compare/v4.11.2...v4.11.3
Full Changelog: https://github.com/guigrpa/docx-templates/compare/v4.11.1...v4.11.2
IncompleteConditionalStatementError
is now thrown when an 'IF' statement lacks a corresponding 'END-IF' command. Thanks @RoXuS !Full Changelog: https://github.com/guigrpa/docx-templates/compare/v4.11.0...v4.11.1
processLineBreaksAsNewText
toggle which provides an alternative way of inserting line breaks from commands into the docx XML. This should improve rendering of newlines in a few docx readers, like LibreOffice. (MR #182). Thanks @khaled-iva-docs !Full Changelog: https://github.com/guigrpa/docx-templates/compare/v4.10.0...v4.11.0
listCommands()
), see commit 8b2ba5526df78da675eaf59f88cb76035ffac5bd.Full Changelog: https://github.com/guigrpa/docx-templates/compare/v4.9.2...v4.10.0