Skip to content

New configuration classes, 'ReturnPercentageDecimal' option and various small improvements

Compare
Choose a tag to compare
@adirfische adirfische released this 22 Jul 15:23
· 38 commits to master since this release

Breaking changes:

  • Reader configuration options must now be supplied to the Reader constructor via a ReaderConfiguration instance.
    Supplying configuration options via an array is no longer supported.
  • When the "ReturnUnformatted" option is set, percentage values are now returned as strings instead of numbers.
    This aligns their behavior with that of other values.
  • setDecimalSeparator() and setThousandsSeparator() methods have been removed, as they no longer had any function.
  • Forced date/time format '' (empty string) gets interpreted correctly now.

Non-breaking changes:

  • New configuration option "ReturnPercentageDecimal".
    When set to true, percentage values will be returned using their technical, internal representation ('50%' => '0.5')
    rather than how they are displayed within a document ('50%' => '50').
  • Remove unnecessary restriction of custom formats to predetermined formats from the official specification documents.
  • SharedStringsConfiguration calls can now be chained.
  • Fix potential resource leaks caused by not closing reader instances.
  • Update README.md to reflect the current code state.