Skip to content

Latest commit

 

History

History
130 lines (86 loc) · 3.32 KB

CHANGELOG.md

File metadata and controls

130 lines (86 loc) · 3.32 KB

4.5.0 Dependency Update (Apache POI 5.2.3)

  • CI/CD update
  • dependency updates
  • StringColorCellDTO supports now an optional font color

4.4.0 Introduce flag to make evaluation of formulas optional

Since the evaluation can be performance critical.

4.3.0 Dependency Update (Apache POI 5.2.2)

4.2.0 Dependency update

4.1.1 Dependency update

4.1.0 Dependency update (Apache POI 5.1.0)

POI changed internally the way it's rounding. It's acutally more predicatable now, but it differs in some calculations.

4.0.2 artifacts in maven central

4.0.0 Dependency update (Apache POI 5.0.0)

2.2.1 Fix repeat group placeholder

When using a repeatRow for a block, the block size should allow more than 9 rows.

Updated dependencies.

2.2.0 Dependency update

Updated dependencies (e.g. Apache POI 4.0.1) and switched from Findbugs to Spotbugs.

2.1.1 Formula reference fix

When using RowFiller, each copied row contained formular references to the row above instead of a reference to the row itself.

2.1.0 Handling large data sets

Adding a RowFiller, to support writing huge data sets using SXSSF.

See also SXSSF HowTo

2.0.4 Manually shiftRowsAndMergedRegions

POI breaks merged regions using shiftRows

2.0.3 Helper to get all static MergeFields of a Class

The typing suppport gets partially lost when using an Enum that implents MergeFieldProvider. The recommended method to declare MergeFields is to use a final Class with static MergeFields for each Excel template.

The new helper method MergeField.getStaticMergeFields(YourStaticClass.class) can be used to get all these static MergeFields inorder to pass them to the ExcelMerger.

2.0.2 no changes

2.0.1 Naming conventions

We dropped 'lib' in the groupId and artifactId name to comply with new naming conventions.

Use the following dependency from now on:

<dependency>
	<groupId>ch.dvbern.oss.excelmerger</groupId>
	<artifactId>excelmerger-impl</artifactId>
	<version>(NEWEST_VERSION)</version>
</dependency>

2.0.0 Typing support

License change

We are open sourcing! This library is now available under the Apache License, Version 2.0

POI Update

Upgrade from 3.15 to 3.16

Breaking change

Deprecated code has been removed.

MergeFields and Converters are now using property typings, such that you cannot set mistakingly the wrong merge value.

If you used excel Merger before, you will have to adjust your MergeField enums. You can Use the following regular expressions to adjust to the new api.

(\w+)\((\w+), Type.SIMPLE\)
$1(new SimpleMergeField<>("$1", $2))
(\w+)\((\w+), Type.REPEAT_COL\)
$1(new RepeatColMergeField<>("$1", $2))
(\w+)\((\w+), Type.REPEAT_VAL\)
$1(new RepeatValMergeField<>("$1", $2))
(\w+)\((\w+), Type.REPEAT_ROW\)
$1(new RepeatRowMergeField("$1"))
enum (\w+) implements MergeField
enum $1 implements MergeFieldProvider
import static ch\.dvbern\.lib\.excelmerger\.StandardConverters\.(\w+);
import static ch\.dvbern\.oss\.lib\.excelmerger\.converters\.StandardConverters\.$1;
import ch\.dvbern\.lib\.excelmerger\.MergeField;
import ch\.dvbern\.oss\.lib\.excelmerger\.mergefields\.MergeField;
ch\.dvbern\.lib\.excelmerger
ch\.dvbern\.oss\.lib\.excelmerger

Please adjust your enum constructors and getters manually.