Skip to content

Releases: PHPOffice/PhpSpreadsheet

4.0.0

08 Feb 03:29
2d4b9f3
Compare
Choose a tag to compare

BREAKING CHANGES

  • Data Validations will be stored by worksheet, not cell. Index can be one or more cells or cell ranges. Issue #797 Issue #4091 Issue #4206 PR #4240
  • Conditional Formatting adds Priority property and handles overlapping ranges better. Issue #4312 Issue #4318 PR #4314
  • Csv Reader will no longer auto-detect Mac line endings by default. Prior behavior can be explicitly enabled via setTestAutoDetect(true), and it will not be possible at all with Php9+. Issue #4092 PR #4340
  • Html Writer will now use "better boolean" logic. Booleans will now be output by default as TRUE/FALSE rather than 1/null-string. Prior behavior can be explicitly enabled via setBetterBoolean(false). PR #4340
  • Xlsx Writer will now use false as the default for forceFullCalc. This affects writes with preCalculateFormulas set to false. Prior behavior can be explicitly enabled via setForceFullCalc(null).PR #4340
  • Deletion of items deprecated in Release 3. See "removed" below.

Added

Removed

  • Worksheet::getStyles - no replacement. PR #4330
  • The following items were deprecated in release 3 and are now removed.
  • Drawing::setIsUrl - no replacement.
  • Settings::setLibXmlLoaderOptions() and Settings::getLibXmlLoaderOptions() - no replacement.
  • Worksheet::getHashCode - no replacement.
  • IReader::SKIP_EMPTY_CELLS - use its alias IGNORE_EMPTY_CELLS instead.
  • Worksheet::getProtectedCells - use getProtectedCellRanges instead.
  • Writer/Html::isMpdf property - use instanceof Mpdf instead.

Fixed

  • Xls writer Parser Mishandling True/False Argument. Issue #4331 PR #4333
  • Xls writer Parser Parse By Character Not Byte. PR #4344
  • Minor changes to dynamic array calculations exposed by using explicit array return types in some tests. PR #4328

3.9.1

08 Feb 03:24
Compare
Choose a tag to compare

Fixed

  • Xls writer Parser Mishandling True/False Argument. Backport of PR #4333
  • Xls writer Parser Parse By Character Not Byte. Backport of PR #4344

2.3.8

08 Feb 03:22
Compare
Choose a tag to compare

Fixed

  • Xls writer Parser Mishandling True/False Argument. Backport of PR #4333
  • Xls writer Parser Parse By Character Not Byte. Backport of PR #4344

2.1.9

08 Feb 03:19
Compare
Choose a tag to compare

Fixed

  • Xls writer Parser Mishandling True/False Argument. Backport of PR #4333
  • Xls writer Parser Parse By Character Not Byte. Backport of PR #4344

1.29.10

08 Feb 03:16
Compare
Choose a tag to compare

Changed

  • Allow version 1 and 2 of composer/pcre.

Fixed

  • Xls writer Parser Mishandling True/False Argument. Backport of PR #4333
  • Xls writer Parser Parse By Character Not Byte. Backport of PR #4344

3.9.0

26 Jan 05:36
414f8a2
Compare
Choose a tag to compare

Added

  • Methods to get style for row or column. PR #4317
  • Method for duplicating worksheet in spreadsheet. PR #4315

Fixed

2.3.7

26 Jan 05:31
Compare
Choose a tag to compare

Fixed

  • Backported security patch for control characters in protocol.
  • Use Composer\Pcre in Xls/Parser. Partial backport of PR #4203

2.1.8

26 Jan 05:27
Compare
Choose a tag to compare

Fixed

  • Backported security patch for control characters in protocol.
  • Use Composer\Pcre in Xls/Parser. Partial backport of PR #4203

1.29.9

26 Jan 05:23
Compare
Choose a tag to compare

Fixed

  • Backported security patch for control characters in protocol.
  • Use Composer\Pcre in Xls/Parser. Partial backport of PR #4203

3.8.0

12 Jan 04:06
Compare
Choose a tag to compare

Added

  • CHOOSECOLS, CHOOSEROWS, DROP, TAKE, and EXPAND. PR #4286

Fixed