Skip to content

Releases: guillaume-ro-fr/PhpSpreadsheet

2.0.0

22 Feb 11:47
2.0.0
4a77798
Compare
Choose a tag to compare

BREAKING CHANGE

  • Typing was strengthened by leveraging native typing. This should not change any behavior. However, if you implement
    any interfaces or inherit from any classes, you will need to adapt your typing accordingly. If you use static analysis
    tools such as PHPStan or Psalm, new errors might be found. If you find actual bugs because of the new typing, please
    open a PR that fixes it with a detailed explanation of the reason. We'll try to merge and release typing-related
    fixes quickly in the coming days. PR #3718
  • All deprecated things have been removed, for details, see 816b91d0b4

Added

Changed

  • Drop support for PHP 7.4, according to https://phpspreadsheet.readthedocs.io/en/latest/#php-version-support PR #3713
  • RLM Added to NumberFormatter Currency. This happens depending on release of ICU which Php is using (it does not yet happen with any official release). PhpSpreadsheet will continue to use the value returned by Php, but a method is added to keep the result unchanged from release to release. Issue #3571 PR #3640
  • toFormattedString will now always return a string. This was introduced with 1.28.0, but was not properly documented at the time. This can affect the results of toArray, namedRangeToArray, and rangeToArray. PR #3304
  • Value of constants FORMAT_CURRENCY_EUR and FORMAT_CURRENCY_USD was changed in 1.28.0, but was not properly documented at the time. Issue #3577
  • Html Writer will attempt to use Chart coordinates to determine image size. Issue #3783 PR #3787

Deprecated

  • Functions _translateFormulaToLocale and _translateFormulaEnglish are replaced by versions without leading underscore. PR #3828

Removed

  • Nothing

Fixed

Read more

1.29.0

22 Feb 11:47
Compare
Choose a tag to compare

1.16.0

15 Jan 22:19
Compare
Choose a tag to compare
  • CSV Reader - Best Guess for Encoding, and Handle Null-string Escape #1647

  • Updated the CONVERT() function to support all current MS Excel categories and Units of Measure.

  • Nothing.

  • Nothing.

  • Fix for Xls Reader when SST has a bad length #1592

  • Resolve Xlsx loader issue whe hyperlinks don't have a destination

  • Resolve issues when printer settings resources IDs clash with drawing IDs

  • Resolve issue with SLK long filenames #1612

  • ROUNDUP and ROUNDDOWN return incorrect results for values of 0 #1627

  • Apply Column and Row Styles to Existing Cells #1712 PR #1721

  • Resolve issues with defined names where worksheet doesn't exist (PHPOffice#1686)[https://github.com/PHPOffice/issues/1686] and #1723 - PR #1742

  • Fix for issue #1735 Incorrect activeSheetIndex after RemoveSheetByIndex - PR #1743

  • Ensure that the list of shared formulae is maintained when an xlsx file is chunked with readFilterIssue #169.

  • Fix for notice during accessing "cached magnification factor" offset #1354

  • Fix compatibility with ext-gd on php 8

  • Prevent XSS through cell comments in the HTML Writer.