Skip to content

2.0.0

Compare
Choose a tag to compare
@amanteaux amanteaux released this 26 May 09:35
· 9 commits to master since this release

Changelog

  • CSV export is now done by default using UTF-8 encoding. This works correctly with Excel as a BOM character is also set by default. See ExportCsvConfig to configure all this.
  • Custom mapping for CSV export. See withMapping(ExportMapping<T> mapping) in ExportConfig
  • Opencsv and POI have been upgraded to their latest versions
  • There is now an empty Excel style alongside the default borderStyle. This can be configured through the ExportExcelConfig: ExportExcelConfig.newXlsxFile().withCellStyler(ExcelCellStyler.emptyStyle())

Breaking Changes

  • At least Java 11 is required to use Windmill
  • In CsvParserConfig, charset has been replaced with fallbackCharset. Now the charset will be automatically detected with the file bom, if none is found the fallbackCharset will be used.
  • In ExportCsvConfig, charset is now of the type BomCharset and by default UTF-8 instead of ISO_8859_1
  • IteratorStreams has been moved to the streams package

Maven

<dependency>
  <groupId>com.coreoz</groupId>
  <artifactId>windmill</artifactId>
  <version>2.0.0</version>
</dependency>