Releases: erdos/stencil
v0.3.1 - small bugfixes
This is a small release that contains test cases and fixes for minor bugs. From this version, we are using Cloverage for checking the status unit test coverage.
Bug fixes
- Fix arithmetic of modulo and power operators.
Improvements
- Cache of fragment objects can be cleaned up.
v0.3.0 - Introducing Fragments
What is new
This release introduces the concept of document fragments. Fragments are a special type of templates that let the user embed parts of documents in the template. For example, headers and footers can be stored in distinct template documents so it is possible to reuse parts across documents.
Improvements
- Added support for
elseif
syntax. - Added example documents.
- New function:
xml()
lets you embed XML parts to the document. - Performance improvements by removing unnecessary parallelism.
v0.2.10 - a friendly command-line tool
The aim of this release is to build an useful command-line tool using Stencil for batch template processing. This included work on better error messages and many improvements on the standalone mode.
The stencil-core-0.2.10-linux
is a linux executable built with GraalVM for faster startup time and minimal dependency requirements.
Improvements
- Standalone mode has a help screen and some useful error messages were introduced.
- Added friendly error messages for many different template parsing errors.
- Added a build script to build standalone stencil to a native image for command-line usage.
v0.2.9
Improvements
- Added
resize-first
resizing strategy. - Added
elseif
/elsif
/elif
shorthands for writingelse if
. - Support for
strong
tags in thehtml()
function. - Added standalone mode for batch processing.
Bug fixes
- Table left/top borders are kept after hiding left column or top border.
- Bug on windows broke template rendering, see #20
v0.2.8
v0.2.7 - small improvements
- added
join()
string function
v0.2.6 - small fixes
Bugfixes
- Downgraded required minimum Clojure version to
1.8.0
- Fixed
.cleanup()
method inPreparedTemplate
instances. It should successfully delete temporary directory. - Fixed CircleCI build script by hard coding dependency versions.
Future
Actively working on a standalone CLI application to render documents in batch.
v0.2.5 - dynamic html and images
v0.2.4 - small improvements
This release contains many small improvements. Main highlights are support for pptx files and compatibility fixes for Word.
Improvements
- More readable error messages on syntax errors
- Introduce
STENCIL_JAVA_OPTIONS
env var in docker service for tuning the JVM - Clojure API
render!
function now works with template data map of keyword keys. - Added mathematical functions for rounding a number to integer:
round
,ceil
,floor
(#3) - Added support for pptx (PowerPoint presetation) files (#9)
Bugfixes
- #4 disappearing whitespaces in Word.
- #7 #8 errors on double logical negation.
- Fix evaluation order of arguments in logical operators.
- make PreparedTemplate instances clean up temporary cache directories when discarded (#12)
Future
For the next release the main priorities are the followings.
- Better and more readable error messages on syntax errors in template files.
- Capability to dynamically include images
- Capability to dynamically include html content
v0.2.3 - dockerized stencil service
Created a simple application and Dockerfile for running stencil in a container as a microservice. Read the service documentation for details.