4823 Commits

Author SHA1 Message Date
oleibman 931ad61fb2 Prepare Changelog for New Release 2.4.2 2025-11-24 07:59:19 -08:00
oleibman 93855275a3 Formal Support for Php8.5 (#4720) 2025-11-21 22:44:55 -08:00
oleibman cfb4c1110b Upgrade Mitoteam for Php8.5 r222 (#4684) 2025-10-16 08:06:51 -07:00
oleibman 378b03f0fe Update to Php8.5-compatible Dompdf r222 (#4660) 2025-09-21 20:03:56 -07:00
oleibman f5794dc681 Php8.5-related Changes Release222 (#4651) 2025-09-17 17:18:40 -07:00
oleibman e9f8c7554a Php8.5 Deprecates Using Null as Array Index - release222 (#4635)
* Php8.5 Deprecates Using Null as Array Index - release222

* Update CHANGELOG.md
2025-09-05 16:12:00 -07:00
oleibman 096ae6faf9 Remove imageDestroy from MemoryDrawing 2.4.1 2025-09-01 11:41:37 -07:00
oleibman 67245f89f8 Option for Readers to create a new blank sheet if none match LoadSheetsOnly list. (#4622)
* Option for Readers to create a new blank sheet if none match LoadSheetsOnly list.

Backport of PR #4618.

* Update CHANGELOG.md
2025-09-01 00:03:14 -07:00
oleibman 50eeec0a81 String Increments and Php8.5 - release222 branch (#4614)
Fix #4600. String incrementation through the `++` operator is deprecated in Php 8.5. Because we make use of that operator to iterate through columns, we are particularly hard hit by that change - unaddressed, it causes over 2,000 errors in our test suite! It is, fortunately, not as difficult as I feared to correct. Replacing the `++` operator with a call to new method `StringHelper::stringIncrement` in 79 statements scattered over 31 source modules (in src, samples, test, and infra) eliminates all the messages in the test suite. It is possible that others are lurking, but I don't know a systematic way of determining if there are others. We'll stick with this for now, and deal with any others as they show up.

This PR will be applied to the master, release390, and release222 branches. It will not be applied to the release210 or release1291 branches, which will now accept security changes only.
2025-08-27 18:38:56 -07:00
oleibman 54b81a105c String Increment Deprecated in Php8.5 - r222 (#4603) 2025-08-25 20:22:09 -07:00
oleibman 4594396d3a Update Mpdf (Php8.5 Compatibility) r222 (#4594) 2025-08-21 13:43:37 -07:00
oleibman bdaea8e8b8 Update react/promise (Php8.5) and setasign/fpdi (security) release222 (#4588) 2025-08-19 17:01:11 -07:00
oleibman 3a3cad8610 Prepare Changelog for New Release 2.4.0 2025-08-09 23:45:13 -07:00
oleibman 334a67797a Breaking Change When Loading External Images
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)`.
2025-08-02 18:38:33 -07:00
oleibman 6109682431 Changelog Update Semantic Versioning Statement 2025-07-25 22:34:10 -07:00
oleibman 22058ce75b All Readers - Allow or Forbid Fetching of External Images Release222 (#4547)
* All Readers - Allow or Forbid Fetching of External Images Release222

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.

* Update Changelog
2.3.10
2025-07-22 21:43:28 -07:00
oleibman 12e0d9f5ef Allow Xlsx Reader to Specify ParseHuge Release222 (#4517)
* Allow Xlsx Reader to Specify ParseHuge Release222

Fix #4260. A number of Security Advisories related to libxml_options were opened. In the end, we disabled the ability to specify any libxml_options. However, some users were adversely affected because they needed LIBXML_PARSEHUGE for some of their files. Having finally obtained access to a file demonstrating this problem, we can restore this ability.
- The operation is potentially dangerous, a vector for memory leaks and out-of-memory errors. It is not recommended unless absolutely needed.
- It will not be permitted as a global (static) property with the ability to adversely affect other users on the same server.
- It will instead be implemented as an instance property of Xlsx Reader (default to false), with a setter. I do not see a use case for a getter.
- People will need to set this property individually for each file which they think needs it.
- This change will be backported to all supported releases.
- The sheer size and processing time for the file involved makes it impractical to add a formal test case. It has, nevertheless, been tested satisfactorily.

* Unneeded Blank Line

* Update CHANGELOG.md
2.3.9
2025-06-22 18:20:15 -07:00
oleibman 448a3436af Removing Columns/Rows Containing Merged Cells (#4471)
Backport PR #4465.
2025-05-15 21:56:30 -07:00
oleibman 76978140f0 Allow Spreadsheet Serialization Branch release222 (#4407) 2025-03-14 07:37:59 -07:00
oleibman a02e4c2ebe Allow php-cs-fixer to Handle Implicit Backslashes 2025-02-10 23:52:57 -08:00
oleibman 4eefcceee8 Fix TEXT and TIMEVALUE Functions 2.3 Branch (#4354)
Fix #4249. Technically speaking, only the 1.29 branch needs fixing, and only for TEXT. It was fixed for the other branches by PR #3898. However, in adding test cases for the fix, it became apparent that PhpSpreadsheet's parsing in TIMEVALUE (which is called from TEXT in the original issue) did not really match Excel's. There are probably still edge cases where it doesn't, but, in the absence of a spec for how it operates, this will do for now.

We do not usually backport fixes from the master branch. Because this is more of a forward port from the earlier branch, there is an equivalent PR for each active branch.
2025-02-10 20:47:25 -08:00
oleibman e6cc4129b7 Update content-hash (composer update --lock) 2025-02-07 21:54:35 -08:00
oleibman 7a70068374 Update Changelog for New Release 2.3.8 2025-02-07 19:01:45 -08:00
oleibman 6ef0269e97 Writer Xls Parser Backport 2 Changes
PR #4233 and PR #4244.
2025-02-06 21:26:08 -08:00
oleibman cf357183b1 Update Changelog 2.3.7 2025-01-25 20:53:06 -08:00
oleibman e237309829 Security Patch Control Characters in Protocol 2025-01-23 23:52:50 -08:00
oleibman 7af20c39d8 Upgrade mitoteam/jpgraph 2025-01-15 22:53:52 -08:00
oleibman 51f774ce27 Tweak One Test
Fluke failure in CI push.
2025-01-15 01:51:54 -08:00
oleibman 098b848ee6 Backported Security Patch 2.3.6 2025-01-11 19:22:26 -08:00
oleibman 345e7f09a2 Change hash code for worksheet branch release222 (#4308)
* Change hash code for worksheet branch release210

Backport of PR #4207.

* Retitling Clone Worksheets

Backport of PR #4302.
2025-01-08 14:39:01 -08:00
oleibman cc41c3bdc7 Remove Scrutinizer and Coverage from release222 (#4305)
Don't need them for backported branches.
2025-01-06 19:03:23 -08:00
oleibman 452187795e Update License 2025-01-04 21:37:46 -08:00
oleibman eba8d700de Upgrade tcpdf to 6.8.0 2024-12-27 16:21:32 -08:00
oleibman d836f2d730 Backport Html Writer Security Patches 2.3.5 2024-12-26 21:17:46 -08:00
oleibman b8fac55aa5 Backport Security Patches for Samples 2024-12-25 19:40:39 -08:00
oleibman 22c65debbb Install Language Packs to Avoid Skipping Some Tests 2024-12-23 09:19:40 -08:00
oleibman 7019886ac9 Restore Accidentally Disabled Test 2024-12-15 15:02:13 -08:00
oleibman 54885f20cb Additional Context Options for http(s) Image
Backport of PR #4276.
2024-12-13 15:18:45 -08:00
oleibman 01c4122a12 Missed One Test 2.3.4 2024-12-08 07:43:45 -08:00
oleibman 81f781a494 Update CHANGELOG.md 2024-12-07 22:20:06 -08:00
oleibman afa5428588 Upgrade Dompdf 2024-12-07 22:11:49 -08:00
oleibman 0adf030a4f Fix Minor Break Handling Drawings
Backport of #4241. Some security batches caused a minor break in Drawings, forcing `setWorksheet` to come after `setPath`. Although the problem is easily fixed in user code, this was not an intended change. Some slight recoding restores the earlier functionality where the order of calls was not important, without sacrificing the security gains.
2024-11-25 20:26:18 -08:00
oleibman 526cdf3bf2 Try Again To Suppress github-pages For This Branch 2024-11-22 22:57:06 -08:00
oleibman 91a4b42e41 Ignore Settings::libXmlLoaderOptions
Backport of PR #4233.
2.3.3
2024-11-21 22:11:37 -08:00
oleibman 570bb6edf2 Upgrade PhpUnit
To a version which knows Php8.4 deprecates E_STRICT.
2024-11-14 14:31:10 -08:00
oleibman 4f70a4701a Upgrade Symfony/Process
Used only in dev, current version has a security advisory. May as well fix it.
2024-11-12 19:27:13 -08:00
oleibman b59e9bdbed Update GitHub Pages Only For Branch master 2024-11-12 07:09:20 -08:00
oleibman 6e85375fcc Update One Github Action
It was using deprecated version.
2024-11-10 10:23:49 -08:00
oleibman 08d4e08cf0 Backport Security Fix 2.3.2 2024-11-10 01:35:47 -08:00
oleibman 8628d6385c Backport PR #4189 Csv Method 2024-10-14 21:44:31 -07:00