Releases: Amberg/DocxTemplater
Releases · Amberg/DocxTemplater
v2.4.0-beta.1
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
v2.3.5
What's Changed
- Updated nuget metadata by @Amberg in #28
- fix single mark down paragraph by @DanielWintschOprhis in #32
Feature
Support for string methods and comparison in conditions
"x.a.b == 'by'"
x.a.b.Contains('by')
New Contributors
- @DanielWintschOprhis made their first contribution in #32
Full Changelog: v2.3.4...v2.3.5
v2.3.4
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
v2.3.2
v2.3.1
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
- @dependabot made their first contribution in #20
Full Changelog: v2.3.0...v2.3.1
v2.3.0
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
What's Changed
Full Changelog: v2.2.1...v2.3.0-beta.1
v2.3.0-alpha
What's Changed
Full Changelog: v2.2.1...v2.3.0-alpha