Skip to content

Releases: sgoeschl/freemarker-cli

freemarker-cli-2.0.0-BETA-5

23 Dec 15:30
Compare
Choose a tag to compare

Added

  • Support interactive mode (-i or --interactive) to supply FreeMarker templates on the command line
  • UUIDTool to create random and named UUIDs
  • ExcelTool returns raw table consisting of the underlying Java data type
  • Document#getUnsafeInputStream to get a input stream which needs to be closed by the caller
  • CSVTool 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

Changed

  • Renamed ExcelTool#parseSheet to ExcelTool#toTable
  • Removed various Tool constructors taking Settings
  • Do not use documents[0] as top-level variable - use Documents.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 and Enums into FreeMarkerTool

Deleted

  • Environment & SystemProperties were deleted and the functionality moved to SystemTool
  • All DataModel classes were deleted

freemarker-cli-2.0.0-BETA-4

12 Nov 07:17
Compare
Choose a tag to compare

Added

  • Support executing arbitrary command based on Apache Commons Exec
  • The JsonPathTool supports parsing a string

freemarker-cli-2.0.0-BETA-3

20 Oct 21:08
Compare
Choose a tag to compare
Pre-release

Added

  • 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.

Fixed

  • Use expected order of FreeMarker MultiTemplateLoader to reolve a template

freemarker-cli-2.0.0-BETA-2

15 Oct 21:39
Compare
Choose a tag to compare
Pre-release

Added

  • 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

Fixed

  • 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

freemarker-cli-2.0.0-BETA-1

12 Oct 13:16
Compare
Choose a tag to compare
Pre-release
  • Migrated from Groovy to plain JDK 1.8
  • Works as standalone application with OS wrapper scripts
  • Improved Commons CSV support
  • Add YAML support based on SnakeYAML
  • Lot of internal refactoring & cleanup
  • Existing templates will break due to naming changes of injected helper classes

freemarker-cli-1.0.1

29 Dec 19:16
Compare
Choose a tag to compare

Most notable changes

  • Transform property files into CSV
  • Upgrade to the latest Bootstrap release for HTML output
  • Shell script to trigger all transformations on the command line

Initial release

10 Aug 15:42
Compare
Choose a tag to compare
v1.0.0

Prepare a 1.0.0 release on GitHub