Skip to content

Commit

Permalink
Updated CHANGELOG and bumped version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhbw committed Jun 1, 2021
1 parent dc103c8 commit 554f5f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.6.1 (2021-06-01)
* Fix for issue [#213](https://github.com/guigrpa/docx-templates/issues/213): throw an error when user tries to iterate over a non-array in a template with a FOR loop. This used to create an infinite loop.
* Throw `ObjectCommandResultError` when the result of an `INS` command is an Object. This ensures you don't accidentally put `'[object Object]'` in your report.

## 4.6.0 (2021-03-27)
* Add support for `.docm` (macro-enabled) templates (issue [#195](https://github.com/guigrpa/docx-templates/issues/195)). Thanks @brockfanning!

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docx-templates",
"version": "4.6.0",
"version": "4.6.1",
"description": "Template-based docx report creation",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit 554f5f5

Please sign in to comment.