Skip to content

Releases: PHPOffice/PhpSpreadsheet

3.5.0

22 Nov 07:13
fb74dcd
Compare
Choose a tag to compare

Added

  • Nothing yet.

Changed

  • Settings::libXmlLoaderOptions is ignored. PR #4233

Moved

  • Nothing yet.

Deprecated

  • Settings::setLibXmlLoaderOptions() and Settings::getLibXmlLoaderOptions() are no longer needed - no replacement.
  • Worksheet::getHashCode is no longer needed.

Fixed

2.3.3

22 Nov 07:07
Compare
Choose a tag to compare

2024-11-22 - 2.3.3

Changed

  • Settings::libXmlLoaderOptions is ignored. Backport of PR #4233

Deprecated

  • Settings::setLibXmlLoaderOptions() and Settings::getLibXmlLoaderOptions() are no longer needed - no replacement.

2.1.4

22 Nov 07:02
Compare
Choose a tag to compare

2024-11-22 - 2.1.4

Changed

  • Settings::libXmlLoaderOptions is ignored. Backport of PR #4233

Deprecated

  • Settings::setLibXmlLoaderOptions() and Settings::getLibXmlLoaderOptions() are no longer needed - no replacement.

1.29.5

22 Nov 06:50
Compare
Choose a tag to compare

1.29.5 - 2024-11-22

Changed

  • Settings::libXmlLoaderOptions is ignored. Backport of PR #4233

Deprecated

  • Settings::setLibXmlLoaderOptions() and Settings::getLibXmlLoaderOptions() are no longer needed - no replacement.

3.4.0

10 Nov 10:29
Compare
Choose a tag to compare

Security Fix

  • Several security patches.

Added

Changed

Deprecated

  • IReader::SKIP_EMPTY_CELLS - use its alias IGNORE_EMPTY_CELLS instead.
  • Worksheet::getProtectedCells was deprecated in release 2, but was not properly documented, and not removed in release 3. Use getProtectedCellRanges instead.
  • Writer/Html::isMpdf property was deprecated in release 2, but was not properly documented, and not removed in release 3. Use instanceof Mpdf instead.

Moved

  • Nothing yet.

Fixed

2.3.2

10 Nov 16:44
Compare
Choose a tag to compare

2024-11-10 - 2.3.2

Possible error in release process for 2.3.1.

Fixed

  • 2.3.1 omitted.
  • Backported security patches.
  • Write ignoredErrors Tag Before Drawings. Backport of PR #4212 intended for 3.4.0.
  • Changes to ROUNDDOWN/ROUNDUP/TRUNC. Backport of PR #4214 intended for 3.4.0.

Added

  • Method to Test Whether Csv Will Be Affected by Php9. Backport of PR #4189 intended for 3.4.0.

2.1.3

10 Nov 16:42
Compare
Choose a tag to compare

2024-11-10 - 2.1.3

Fixed

  • 2.1.2 omitted.
  • Backported security patches.
  • Write ignoredErrors Tag Before Drawings. Backport of PR #4212 intended for 3.4.0.
  • Changes to ROUNDDOWN/ROUNDUP/TRUNC. Backport of PR #4214 intended for 3.4.0.

Added

  • Method to Test Whether Csv Will Be Affected by Php9. Backport of PR #4189 intended for 3.4.0.

1.29.4

10 Nov 16:32
Compare
Choose a tag to compare

1.29.4 - 2024-11-10

Fixed

  • 1.29.3 omitted
  • Backported security patches.
  • Write ignoredErrors Tag Before Drawings. Backport of PR #4212 intended for 3.4.0.
  • Changes to ROUNDDOWN/ROUNDUP/TRUNC. Backport of PR #4214 intended for 3.4.0.
  • Replace str_starts_with in Drawing. Issue #4215

Added

  • Method to Test Whether Csv Will Be Affected by Php9. Backport of PR #4189 intended for 3.4.0.

3.3.0

29 Sep 07:44
87ddd21
Compare
Choose a tag to compare

This should have been a 3.0.0, but a typo was made when releasing. This has no technical impact and will stay as-is.

Dynamic Arrays

  • Support for Excel dynamic arrays is added. It is an opt-in feature, so our hope is that there will be no BC breaks, but it is a very large change. Full support is added for Xlsx. It is emulated as Ctrl-Shift-Enter arrays for Ods read and write and Excel2003 and Gnumeric read. Html/Pdf and Csv writers will populate cells on output if they are the result of array formulas. No support is added for Xls or Slk.

Added

Changed

  • Xlsx Reader default datatype when none is specified in Xml is changed from string to numeric, which is how Excel treats it. There is expected to be little impact because DefaultValueBinder and AdvancedValueBinder correct mis-identification as string, and StringValueBinder usually expects string. PR #4139
  • Currency and Accounting Wizards are changed to act like Excel, and a new CurrencyBase Wizard is added for for non-Excel formats. Issue #4125 Issue #4124 PR #4127
  • Images will not be added to spreadsheet if they cannot be validated as images.

Deprecated

  • Nothing yet.

Removed

  • The following items were deprecated in release 2 and are now removed.
  • Writer\Xls\Style\ColorMap (no longer needed).
  • Reader\Xml::trySimpleXMLLoadString (should not have been public, no public replacement).
  • Calculation\Calculation::_translateFormulaToLocale (use method name translateFormulaToLocale without leading underscore).
  • Calculation\Calculation::_translateFormulaToEnglish (use method name translateFormulaToEnglish without leading underscore).

Moved

  • Nothing yet.

Fixed

2.3.0

29 Sep 07:42
Compare
Choose a tag to compare

2024-09-29 - 2.3.0

Fixed

  • Backported security patches.
  • Improve Xlsx Reader speed (backport of PR #4153 intended for 3.0.0). Issue #3917
  • Change to Csv Reader (see below under Deprecated). Backport of PR #4162 intended for 3.0.0. Issue #4161
  • Tweak to AMORDEGRC. Backport of PR #4164 intended for 3.0.0.

Changed

  • Images will not be added to spreadsheet if they cannot be validated as images.

Deprecated

  • Php8.4 will deprecate the escape parameter of fgetcsv. Csv Reader is affected by this; code is changed to be unaffected, but this will mean a breaking change is coming with Php9. Any code which uses the default escape value of backslash will fail in Php9. It is recommended to explicitly set the escape value to null string before then.