PhpSpreadsheet v5.8.0 Release Notes

Release Date: 2026-06-07 // 9 days ago
  • ๐Ÿš€ This will probably be the last release on the master branch that supports Php8.1.

    ๐Ÿ”’ Security Note

    • ๐Ÿ”’ File::prohibitWrappers and Drawing::setPath now reject phar paths with extra leading slashes (e.g. phar:///โ€ฆ) that escaped the prior parse_url-based filter. No security exploit was possible even with the extra slashes. PR #4876

    โž• Added

    • ๐Ÿ“œ Optional method to increase Calculation Engine's parsing speed. PR #4829
    • Html Writer/Reader new data attributes. PR #4858
    • IReader2 interface extending IReader with listWorksheetInfo/Names. Issue #4883 PR #4886

    ๐Ÿ”„ Changed

    • Helper/Handler is now internal and final. PR #4896

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Html Writer handle text colors a bit better. PR #4855
    • Html Writer apply rotation to images. Issue #4875 PR #4877
    • ๐Ÿ—„ Work around Php8.6 deprecation in mpdf/mpdf. PR #4878
    • Ability to reuse disconnected spreadsheet. PR #4880
    • ๐Ÿ‘ Allow int parameter for getChartIndex. PR #4896

Previous changes from v5.7.0

  • ๐Ÿ›  Fixed

    • ๐Ÿ”’ Security patches.