Skip to content

Latest commit

 

History

History
80 lines (61 loc) · 3.43 KB

CHANGELOG.md

File metadata and controls

80 lines (61 loc) · 3.43 KB

Change Log

All notable changes to this project will be documented in this file. We try to adhere to https://github.com/olivierlacan/keep-a-changelog.

2.0.0-BETA-6-SNAPSHOT - TBA

Changed

  • 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

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

2.0.0-BETA-4 - 2019-11-12

Added

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

2.0.0-BETA-3 - 2019-10-20

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

2.0.0-BETA-2 - 2019-10-15

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

2.0.0-BETA-1 - 2019-10-12

Added

  • Support for YAML files using SnakeYAML

Changed

  • 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