Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Aug 15, 2025

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
phpoffice/phpspreadsheet ^1.17^5.0 age confidence

Release Notes

PHPOffice/PhpSpreadsheet (phpoffice/phpspreadsheet)

v5.4.0

Compare Source

Added
Changed
  • Evaluation of WEBSERVICE no longer requires external client, but will use oldCalculatedValue unless the request is for a domain in a user-supplied whitelist. PR #​4751
Moved
  • Code to merge cell base style with table and conditional styles moved from Html Writer to its own class. Issue #​1058 PR #​4763
Deprecated
  • Settings methods setHttpClient, unsetHttpClient, getHttpClient, and getRequestFactory are no longer used. No replacement.
  • Reader/Html protected property dataArray, described as used only for testing, is not used for testing. No replacement.
Fixed

v5.3.0

Compare Source

Added
Deprecated
  • $dataType, the second parameter of Cell::setValueExplicit, is currently optional. Omitting it is deprecated, and it will be required in a future release.
Fixed

v5.2.0

Compare Source

Added
  • This release should be usable with Php8.5 Release Candidates without deprecation messages.
  • Option to display numbers with less precision. Issue #​4626 PR #​4640
  • Offer Tcpdf Interface which throws exception rather than die. PR #​4666
  • Xls Reader ListWorksheetDimensions method. PR #​4689
Deprecated
  • Worksheet::getHashInt serves no useful purpose. No replacement.
  • Spreadsheet::getId serves no useful purpose. No replacement.
Fixed

v5.1.0

Compare Source

Added
Fixed

v5.0.0

Compare Source

Breaking Changes
  • Images will be loaded from an external source (e.g. http://example.com/img.png) only if the reader is explicitly set to allow it via $reader->setAllowExternalImages(true). We do not believe that loading of external images is a widely used feature.
  • Deletion of items deprecated in Release 4. See "removed" below.
  • Move some properties from Base Reader to Html Reader. PR #​4551
  • DefaultValueBinder will treat integers with more than 15 digits as strings. Issue #​4522 PR #​4527
Removed
  • Theme public constants COLOR_SCHEME_2013_PLUS_NAME (use COLOR_SCHEME_2013_2022_NAME) and COLOR_SCHEME_2013_PLUS (use COLOR_SCHEME_2013_2022).
Fixed

v4.5.0

Compare Source

Added
  • Add to all readers the option to allow or forbid fetching external images. This is unconditionally allowed now. The default will be set to "allow", so no code changes are necessary. However, we are giving consideration to changing the default. PR #​4543
  • Address Excel Inappropriate Number Format Substitution. PR #​4532
Fixed

v4.4.0

Compare Source

Added
Deprecated
  • Theme constants COLOR_SCHEME_2013_PLUS_NAME (use COLOR_SCHEME_2013_2022_NAME) and COLOR_SCHEME_2013_PLUS (use COLOR_SCHEME_2013_2022).
Fixed

v4.3.1

Compare Source

Fixed

v4.3.0

Compare Source

Added
Changed
  • Phpstan Level 10.
Fixed

v4.2.0

Compare Source

Added
Changed
  • Phpstan Version 2. PR #​4384
  • Start migration to Phpstan level 9. PR #​4396
  • Calculation locale logic moved to separate class. PR #​4398
  • TREND_POLYNOMIAL_* and TREND_BEST_FIT do not work, and are changed to throw Exceptions if attempted. (TREND_BEST_FIT_NO_POLY works.) An attempt to use an unknown trend type will now also throw an exception. Issue #​4400 PR #​4339
  • Month parameter of DATE function will now return VALUE if an ordinal string (e.g. '3rd') is used, but will accept bool or null. PR #​4420
Fixed

v4.1.0

Compare Source

Added
Changed
Fixed

v4.0.0

Compare Source

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.
Changed
  • Nothing yet.
Moved
  • Nothing yet.
Deprecated
  • Nothing yet.
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

v3.10.3

Compare Source

Changed
  • Evaluation of WEBSERVICE no longer requires external client, but will use oldCalculatedValue unless the request is for a domain in a user-supplied whitelist. Security-related backport of PR #​4751
Deprecated
  • Settings methods setHttpClient, unsetHttpClient, getHttpClient, and getRequestFactory are no longer used. No replacement.
Fixed

v3.10.2

Compare Source

Added
  • Formal support for Php8.5.
Fixed

v3.10.1

Compare Source

Added
  • Option for Readers to create a new blank sheet if none match LoadSheetsOnly list. PR #​4623 Backport of PR #​4618.
  • Remove imagedestroy from MemoryDrawing. Backport of PR #​4625.
Fixed

v3.10.0

Compare Source

Breaking Changes
  • Images will be loaded from an external source (e.g. http://example.com/img.png) only if the reader is explicitly set to allow it via $reader->setAllowExternalImages(true). We do not believe that loading of external images is a widely used feature. This is a necessary change for security purposes. It unfortunately breaks Semantic Versioning for reasons described above; there is no way to start a new major version for this branch.

v3.9.3

Compare Source

Added
  • Add to all readers the option to allow or forbid fetching external images. This is unconditionally allowed now. The default will be set to "allow", so no code changes are necessary. However, we are giving consideration to changing the default. PR #​4548

v3.9.2

Compare Source

Changed
  • Allow php-cs-fixer to Handle Implicit Backslashes.
Added
Fixed

v3.9.1

Compare Source

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

v3.9.0

Compare Source

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

v3.8.0

Compare Source

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

v3.7.0

Compare Source

Deprecated
  • Drawing::setIsUrl is unneeded. The property is set when setPath determines whether path is a url.
Fixed

v3.6.0

Compare Source

Added
  • Nothing yet.
Changed
  • Nothing yet.
Moved
  • Nothing yet.
Deprecated
  • Nothing yet.
Fixed

v3.5.0

Compare Source

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

v3.4.0

Compare Source

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

v3.3.0

Compare Source

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

v2.4.3

Compare Source

Changed
  • Evaluation of WEBSERVICE no longer requires external client, but will use oldCalculatedValue unless the request is for a domain in a user-supplied whitelist. Security-related backport of PR #​4751
Deprecated
  • Settings methods setHttpClient, unsetHttpClient, getHttpClient, and getRequestFactory are no longer used. No replacement.
Fixed

v2.4.2

Compare Source

Added
  • Formal support for Php8.5. This is the last version of Php which can be used with this branch.
Fixed
  • Php8.5 deprecates use of null as array index. PR #​4635

v2.4.1

Compare Source

Added
  • Option for Readers to create a new blank sheet if none match LoadSheetsOnly list. PR #​4622 Backport of PR #​4618.
  • Remove imagedestroy from MemoryDrawing. Backport of PR #​4625.
Fixed

v2.4.0

Compare Source

Breaking Changes
  • Images will be loaded from an external source (e.g. http://example.com/img.png) only if the reader is explicitly set to allow it via $reader->setAllowExternalImages(true). We do not believe that loading of external images is a widely used feature. This is a necessary change for security purposes. It unfortunately breaks Semantic Versioning for reasons described above; there is no way to start a new major version for this branch.

v2.3.10

Compare Source

Added
  • Add to all readers the option to allow or forbid fetching external images. This is unconditionally allowed now. The default will be set to "allow", so no code changes are necessary. However, we are giving consideration to changing the default. PR #​4547

v2.3.9

Compare Source

Changed
  • Allow php-cs-fixer to Handle Implicit Backslashes.
Added
Fixed

v2.3.8

Compare Source

Fixed
  • Xls writer Parser Misha

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant