All Versions
27
Latest Version
Avg Release Cycle
65 days
Latest Release
880 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v0.7.0 Changes
April 09, 2020- โ Add replace_zipname() method to replace Excel and PowerPoint embedded files
-
v0.6.4 Changes
April 06, 2020- โ Add the possibility to add RichText to a Richtext
- ๐ Prevent lxml from attempting to parse None
- PR #207 and #209
- ๐ Handle spaces correctly when run are split by Jinja code (#205)
- PR #203
- DocxTemplate now accepts file-like objects (Thanks to edufresne)
-
v0.5.20 Changes
May 23, 2019- ๐ Fix #199
- โ Add support for file-like objects for replace_media (#197)
- ๐ Fix #176
- Delegated autoescaping to Jinja2 Environment (#175)
- ๐ฎ Force to use python-docx 0.8.7 (#170)
- โ Add getting undeclared variables in the template (#171)
- โ Added
PAGE_BREAK
feature (#168) - ๐ Fixed issue #159: autoescaped values for both str and unicode.
- ๐ Fix tables with gridSpan that have less cells after the tc forloop (#164)
- Smart double quotes in jinja tags are now converted into simple double quotes
- Smart quotes in jinja tags are now converted into simple quotes
- โ Add custom jinja filter example in tests/
- Reformat the code to be a little more PEP8 compliant
- โ Add {% hm %} tag for table columns horizontal merging (Thanks to nickgashkov)
- โ Split tests/tests_files dir into templates and output dirs
- ๐ autoescape support for python 2.7
- ๐ fix issue #154
- Render can now autoescape context dict
- ๐ Fix invalid xml parse because using {% vm %}
- Cast to string non-string value given to RichText or Listing objects
- ๐ Import html.escape instead of cgi.escape (deprecated)
- ๐ฆ Declare package as python2 and python3 compatible for wheel distrib
- โ Add sub/superscript in RichText
- ๐ Fix table vertical merge
- An hyperlink can now be used in RichText
-
v0.4.13 Changes
June 21, 2018- Subdocument can now be based on an existing docx
- โ Add font option in RichText
- ๐ Better tabs and spaces management for MS Word 2016
- Wheel distribution
- Manage autoscaping on InlineImage, Richtext and Subdoc
- Purge MANIFEST.in file
- Accept variables starting with 'r' in {{}} when no space after {{
- โ Remove debug traces
- โ Add {% vm %} to merge cell vertically within a loop (Thanks to Arthaslixin)
- ๐ use six.iteritems() instead of iteritems for python 3 compatibility
- ๐ Fixed Bug #95 on replace_pic() method
- โ Add replace_pic() method to replace pictures from its filename (Thanks to Riccardo Gusmeroli)
- ๐ Improve image attachment for InlineImage ojects
- โ Add replace_media() method (useful for header/footer images)
- โ Add replace_embedded() method (useful for embedding docx)
-
v0.3.9 Changes
June 27, 2017- ๐ Fix exception in fix_table()
- ๐ Fix bug when using more than one {{r }} or {%r %} in the same run
- ๐ Fix git tag v0.3.6 was in fact for 0.3.5 package version so create a tag 0.3.7 for 0.3.7 package version
- ๐ Better head/footer jinja2 handling (Thanks to hugokernel)
- ๐ Fix bug where one is using '%' (modulo operator) inside a tag
- โ Add Listing class to manage \n and \a (new paragraph) and escape text AND keep current styling
- โ Add {%tc } tags for dynamic table columns (Thanks to majkls23)
- โ Remove version limitation over sphinx package in setup.py
- โ Add PNG & JPEG in tests/test_files/
- You can now add images directly without using subdoc, it is much more faster.
-
v0.2.5 Changes
January 14, 2017- โ Add dynamic colspan tag for tables
- ๐ Fix /n in RichText class
- โ Add Python 3 support for footer and header
- ๐ Fix bug when using utf-8 chracters inside footer or header in .docx template It now detects header/footer encoding automatically
- ๐ Fix bug where using subdocs is corrupting header and footer in generated docx Thanks to Denny Weinberg for his help.
- โ Add Header and Footer support (Thanks to Denny Weinberg)
-
v0.1.11 Changes
- '>' and '<' can now be used inside jinja tags
- render() accepts optionnal jinja_env argument : useful to set custom filters and other things
- ๐ better subdoc management : accept tables
- ๐ better xml code cleaning around Jinja2 tags
- ๐ python 3 support
- โ remove debug code
- โ add lxml dependency
- ๐ fix template filter with quote
- โ add RichText support
- โ add subdoc support
- โ add some exemples in tests/
- First running version