Update openspout/openspout requirement from ^4.30 to ^5.0 #39

Closed
RealZone22 wants to merge 1 commit from dependabot/composer/openspout/openspout-tw-5.0 into main
RealZone22 commented 2025-12-02 01:17:26 +01:00 (Migrated from git.cyanfox.de)

Updates the requirements on openspout/openspout to permit the latest version.

Release notes

Sourced from openspout/openspout's releases.

v5.0.0

Upgrading from 4.x to 5.0

It has been discovered that the operation of merging a cell's Style with a defined default row Style was very expensive: when writing tens of thousand row with hundreds of column, each with a different style and a custom default row style, just the style merging operation could take up to 80% of the overall spreadsheet creation. In v5 therefore you can have either a fallback row style when a Cell has none, or a custom style for the Cell. If you want for example zebra striping over a column of custom formatted cells, now you have to have 2 distinct styles and apply them manually in alternation to even and odd cells.

Moreover, to ensure deterministic outcomes, most of the classes you are dealing with are readonly now, so their properties can only be set once on the constructor, or with with*** methods that return a new instance of the object with just the new property overwritten.

What's Changed

Full Changelog: https://github.com/openspout/openspout/compare/v4.32.0...v5.0.0

Commits
  • a27ee59 Drop default row style, make classes readonly where possible (#338)
  • c8e82aa Update actions/checkout action to v6 (#336)
  • ca60213 Update all non-major dependencies
  • 41f045c Improve the error message when failing to open a ZipArchive (#329)
  • 1183d28 Fix coding standards (#330)
  • 90dc2f7 feat: Add PHP 8.5 Support (#328)
  • b569ce8 Update dependency infection/infection to ^0.31.2
  • 729f996 Update dependency phpunit/phpunit to ^12.3.6
  • d9ace26 Update dependency phpunit/phpunit to ^12.3.5
  • 6fad365 Update dependency friendsofphp/php-cs-fixer to ^3.86.0
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on [openspout/openspout](https://github.com/openspout/openspout) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/openspout/openspout/releases">openspout/openspout's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <h1>Upgrading from 4.x to 5.0</h1> <p>It has been discovered that the operation of merging a cell's Style with a defined default row Style was very expensive: when writing tens of thousand row with hundreds of column, each with a different style and a custom default row style, just the style merging operation could take up to 80% of the overall spreadsheet creation. In v5 therefore you can have either a fallback row style when a Cell has none, or a custom style for the Cell. If you want for example zebra striping over a column of custom formatted cells, now you have to have 2 distinct styles and apply them manually in alternation to even and odd cells.</p> <p>Moreover, to ensure deterministic outcomes, most of the classes you are dealing with are <code>readonly</code> now, so their properties can only be set once on the constructor, or with <code>with***</code> methods that return a new instance of the object with just the new property overwritten.</p> <h2>What's Changed</h2> <ul> <li>Drop default row style, make classes <code>readonly</code> where possible by <a href="https://github.com/Slamdunk"><code>@​Slamdunk</code></a> in <a href="https://redirect.github.com/openspout/openspout/pull/338">openspout/openspout#338</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/openspout/openspout/compare/v4.32.0...v5.0.0">https://github.com/openspout/openspout/compare/v4.32.0...v5.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/openspout/openspout/commit/a27ee598ac091bf7631065402c1a57f832f976ec"><code>a27ee59</code></a> Drop default row style, make classes <code>readonly</code> where possible (<a href="https://redirect.github.com/openspout/openspout/issues/338">#338</a>)</li> <li><a href="https://github.com/openspout/openspout/commit/c8e82aabbc8fa59f47980be0b2edeadd2b1e07d9"><code>c8e82aa</code></a> Update actions/checkout action to v6 (<a href="https://redirect.github.com/openspout/openspout/issues/336">#336</a>)</li> <li><a href="https://github.com/openspout/openspout/commit/ca602131f3f930f490833d09f5fc86c8d27bf29b"><code>ca60213</code></a> Update all non-major dependencies</li> <li><a href="https://github.com/openspout/openspout/commit/41f045c1f632e1474e15d4c7bc3abcb4a153563d"><code>41f045c</code></a> Improve the error message when failing to open a ZipArchive (<a href="https://redirect.github.com/openspout/openspout/issues/329">#329</a>)</li> <li><a href="https://github.com/openspout/openspout/commit/1183d289940f09aced88c250020caaa3dc2fbe15"><code>1183d28</code></a> Fix coding standards (<a href="https://redirect.github.com/openspout/openspout/issues/330">#330</a>)</li> <li><a href="https://github.com/openspout/openspout/commit/90dc2f7ce0b59084b78cd86ca7c5d367759496cd"><code>90dc2f7</code></a> feat: Add PHP 8.5 Support (<a href="https://redirect.github.com/openspout/openspout/issues/328">#328</a>)</li> <li><a href="https://github.com/openspout/openspout/commit/b569ce8ebb3053cfc8297776f2902158a9c26925"><code>b569ce8</code></a> Update dependency infection/infection to ^0.31.2</li> <li><a href="https://github.com/openspout/openspout/commit/729f996a2846bad2f4352e6cfa04b6c1ede3d8f6"><code>729f996</code></a> Update dependency phpunit/phpunit to ^12.3.6</li> <li><a href="https://github.com/openspout/openspout/commit/d9ace268b1681cd824ce6de236b30e7270f091e1"><code>d9ace26</code></a> Update dependency phpunit/phpunit to ^12.3.5</li> <li><a href="https://github.com/openspout/openspout/commit/6fad36550dda9767c2534bbcdf22428c0b1083d7"><code>6fad365</code></a> Update dependency friendsofphp/php-cs-fixer to ^3.86.0</li> <li>Additional commits viewable in <a href="https://github.com/openspout/openspout/compare/v4.30.0...v5.0.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
RealZone22 commented 2025-12-02 01:17:27 +01:00 (Migrated from git.cyanfox.de)

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

### Labels The following labels could not be found: `dependencies`. Please create it before Dependabot can add it to a pull request. Please fix the above issues or remove invalid values from `dependabot.yml`.
RealZone22 commented 2025-12-15 22:23:17 +01:00 (Migrated from git.cyanfox.de)

Superseded by #13.

Superseded by #13.
RealZone22 (Migrated from git.cyanfox.de) closed this pull request 2025-12-15 22:23:17 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
RealZone22/PenguTables!39
No description provided.