Skip to content

Releases: Amberg/DocxTemplater

v2.4.0-beta.1

11 Feb 09:09
5f569a9
Compare
Choose a tag to compare
v2.4.0-beta.1 Pre-release
Pre-release

Full Changelog: v2.3.6...v2.4.0-beta.1

Fix: Unary operator handling in combination with scope operator .
Fix: Several condition expression improvements
Feature: New Error handling mode to write directly to word document

TODO:

Chart Support

v2.3.6

10 Feb 10:42
2c32a2c
Compare
Choose a tag to compare

What's Changed

  • Improve expression parsing to allow unicode and other special characters in formatter argument and conditions
  • Allow " for string literals in conditions

Full Changelog: v2.3.5...v2.3.6

v2.3.5

05 Feb 12:32
ea1b47d
Compare
Choose a tag to compare

What's Changed

Feature

Support for string methods and comparison in conditions
"x.a.b == 'by'"
x.a.b.Contains('by')

New Contributors

Full Changelog: v2.3.4...v2.3.5

v2.3.4

07 Nov 15:55
2899d75
Compare
Choose a tag to compare

What's Changed

  • Fixed: Bookmarks within tables that previously caused crashes.
  • Fixed: Parsing issue with expressions using the modulo operator ("%").

Added documentation for the Image Formatter and the special loop variable for accessing index values.

Full Changelog: v2.3.3...v2.3.4

v2.3.3

31 Oct 13:19
1fd50f7
Compare
Choose a tag to compare

What's Changed

  • fix: html placeholder renders empty if model contains string empty or whitespace by @nfahrni in #26

New Contributors

Full Changelog: v2.3.2...v2.3.3

v2.3.2

30 Oct 09:38
b87b3e1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.3.1...v2.3.2

v2.3.1

03 Oct 14:26
37225a1
Compare
Choose a tag to compare

What's Changed

  • Update README.md by @Amberg in #19
  • Bump SixLabors.ImageSharp from 3.1.4 to 3.1.5 in /DocxTemplater.Images by @dependabot in #20
  • fix in collection separator block by @Amberg in #22

New Contributors

Full Changelog: v2.3.0...v2.3.1

v2.3.0

19 Jun 06:59
14b54f1
Compare
Choose a tag to compare

Features

  • Markdown Support: Added a markdown formatter to convert Markdown strings to OpenXML. The Markdown can include placeholders using {{..}}.
  • Sub Template support: Templates can now contain sub-templates.
  • Configuration Attribute The default formatter can now be configured with an attribute on the model property:
[ModelProperty(DefaultFormatter = "F(n2)")]
public decimal Number { get; set; }`

Improvements

Image Formatter: Image Size and Rotation can no be configured through arguments:, e.g., ds.img(w:14cm, h:3cm, r:90)

Bug Fixes

  • Conditional blocks containing || or && were sometimes not parsed correctly
  • Nested conditional block in collections were sometimes not parsed correctly

v2.3.0-beta.1

12 Jun 06:40
e1cfd74
Compare
Choose a tag to compare
v2.3.0-beta.1 Pre-release
Pre-release

What's Changed

Full Changelog: v2.2.1...v2.3.0-beta.1

v2.3.0-alpha

05 Jun 06:34
1edeb93
Compare
Choose a tag to compare
v2.3.0-alpha Pre-release
Pre-release

What's Changed

  • Subtemplates and Conditional table rows by @Amberg in #14

Full Changelog: v2.2.1...v2.3.0-alpha