8000 Releases · guigrpa/docx-templates · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: guigrpa/docx-templates

v4.14.1

10 Mar 07:18
Compare
Choose a tag to compare
8000

What's Changed

  • Issue #405: fix "The requested module 'docx-templates' does not provide an export named 'default'" error by reverting "Add "type": "module" to package.json.". Rename Rollup config file to .mjs extension instead, which fixes the original Rollup problem.

v4.14.0

09 Mar 12:04
Compare
Choose a tag to compare

What's Changed

  • Add UnterminatedForLoopError to README by @davidjb in #372
  • Fix: corrupted docx issue caused by duplicate extensions in ContentType.xml with different casing by @ACHP in #400
  • Feat: improve table row and column deletion logic by @PleBea in #402
  • Use Buffer instead of string concatenation for huge XML support by @AlexC-ux in #386
  • Add "type": "module" to package.json.
  • Various Dependabot dependency updates.

New Contributors

Full Changelog: v4.13.0...v4.14.0

v4.13.0

17 Apr 06:59
Compare
Choose a tag to compare

What's Changed

  • Added maximumWalkingDepth option for supporting large documents by @BrandonDR in #360
  • Updated dependencies.

New Contributors

Full Changelog: v4.12.0...v4.13.0

v4.12.0

01 Apr 13:42
Compare
Choose a tag to compare

What's Changed

  • #15 New feature: generate columns for a table using FOR loop. Thanks @SuchiraD !

Full Changelog: v4.11.5...v4.12.0

v4.11.5

24 Mar 14:13
Compare
Choose a tag to compare

What's Changed

  • #340 Fix for infinite loop bug: don't allow nested IFs on same w:p or w:tr tag. Thanks @dseiler
  • #356 Simplify documentation of INS commands.
  • #355 Retain original sandbox errors (from different JavaScript realms) without coercion. Thanks @davidjb !

Full Changelog: v4.11.4...v4.11.5

v4.11.4

12 Jan 15:56
Compare
Choose a tag to compare

What's Changed

  • Replace weak Object types of runJs arguments.
  • Remove unnecessary use of eval() internally.
  • #341 Add result to 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!)
  • #345: Make types for template more liberal. What works with Buffer should work with ArrayBuffer, with the benefit that browsers don't need a Buffer polyfill.

New Contributors

  • @abs made their first contribution in #332

Full Changelog: v4.11.3...v4.11.4

v4.11.3

08 Aug 10:55
Compare
Choose a tag to compare

What's Changed

  • (PR #321) Fix InvalidCommandError referring to 'Unexpected END-IF outside of IF statement context:' when the problem was actually an unexpected END-FOR. Thanks @davidjb
  • Issue #322: Fix silent failure caused by unterminated for-loop in template, leading to a (partially) empty report. Throw new UnterminatedForLoopError when FOR loop is not properly terminated with an END-FOR.
  • Remove unnecessary runtime dependency (timm).
  • Upgrade jszip dependency to latest version.

New Contributors

Full Changelog: v4.11.2...v4.11.3

v4.11.2

14 Jul 14:52
Compare
Choose a tag to compare
  • Issue #296: Fix bug caused by Shapes having the same ID they are generated from a FOR loop. (MR #315) Thanks @SuchiraD!
  • Issue #314: Ensure all custom error types are exported.

Full Changelog: v4.11.1...v4.11.2

v4.11.1

04 Apr 17:46
Compare
Choose a tag to compare

What's Changed

  • (MR #305) the IncompleteConditionalStatementError is now thrown when an 'IF' statement lacks a corresponding 'END-IF' command. Thanks @RoXuS !

New Contributors

Full Changelog: v4.11.0...v4.11.1

v4.11.0

02 Mar 14:21
Compare
Choose a tag to compare

4.11.0 (2023-03-02)

  • Issue #143: Add optional 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 !
  • Updated dependencies.

Full Changelog: v4.10.0...v4.11.0

0