All notable changes to this project will be documented in this file. We try to adhere to https://github.com/olivierlacan/keep-a-changelog.
- Improve Swagger JSON to CSV example
- Using
ALLOWS_NOTHING_RESOLVER
built-in class resolver - Silently skipped tools whose implementation classes can't be even loaded
2.0.0-BETA-5 - 2019-12-22
- Support interactive mode (
-i
or--interactive
) to supply FreeMarker templates on the command line UUIDTool
to create random and named UUIDsExcelTool
returns raw table consisting of the underlying Java data typeDocument#getUnsafeInputStream
to get a input stream which needs to be closed by the callerCSVTool
allows parsing plain string CSV- Tools are loaded from
freemarker-cli.properties
and freely configurable - Add RAT & PMD report to Maven site generation
- Add
-times
command line option to execute the transformation N times
- Renamed
ExcelTool#parseSheet
toExcelTool#toTable
- Removed various Tool constructors taking
Settings
- Do not use
documents[0]
as top-level variable - useDocuments.get(0)
instead - Available CSV formats are exposed using the CSVTool and not the global data model
- Expose user-supplied system properties as top-level variables when using
-E
- Keep track of all
Closables
created & handed out to FreeMarker template rendering - Move
ObjectConstructor
,Statics
andEnums
intoFreeMarkerTool
Environment
&SystemProperties
were deleted and the functionality moved toSystemTool
- All
DataModel
classes were deleted
2.0.0-BETA-4 - 2019-11-12
- Support executing arbitrary command based on Apache Commons Exec
- The
JsonPathTool
supports parsing a string
2.0.0-BETA-3 - 2019-10-20
- Keeping track of internally created "Closables" of a document and closing them after rendering
- Define CSV delimiters using symbolic symbolic names, e.g. "COMMA", "TAB", etc.
- Use expected order of FreeMarker MultiTemplateLoader to reolve a template
2.0.0-BETA-2 - 2019-10-15
- Add "-E" command line option to expose all environment variable as top-level entry in the data model
- Support for Grok as better alternative for regular expressions
- Support for streaming textual content over
System.in
to allow processing of arbitrary large source files - Display Git version information when using
-V
command line option
- ExcelTool uses MissingCellPolicy.CREATE_NULL_AS_BLANK to handle missing cells
- Pass the correct output encoding to writer
- Allow absolute template file names which are loaded directly instead of using TemplateLoaders
2.0.0-BETA-1 - 2019-10-12
- Support for YAML files using SnakeYAML
- Upgraded dependencies
- Migrated from Groovy to plain old JDK 1.8
- Works as standalone application with OS wrapper scripts
- Existing templates will break due to naming changes of injected helper classes