Skip to content

Releases: PHPOffice/PhpSpreadsheet

1.29.0

14 Jun 22:49
Compare
Choose a tag to compare

Added

  • Wizards for defining Number Format masks for Dates and Times, including Durations/Intervals. PR #3458
  • Specify data type in html tags. Issue #3444 PR #3445
  • Provide option to ignore hidden rows/columns in toArray() methods. PR #3494
  • Font/Effects/Theme support for Chart Data Labels and Axis. PR #3476
  • Font Themes support. PR #3486
  • Ability to Ignore Cell Errors in Excel. Issue #1141 PR #3508
  • Unzipped Gnumeric file PR #3591

Changed

  • Xlsx Color schemes read in will be written out (previously Excel 2007-2010 Color scheme was always written); manipulation of those schemes before write, including restoring prior behavior, is provided PR #3476
  • Memory and speed optimisations for Read Filters with Xlsx Files and Shared Formulae. PR #3474
  • Allow CellRange and CellAddress objects for the range argument in the rangeToArray() method. PR #3494
  • Stock charts will now read and reproduce upDownBars and subsidiary tags; these were previously ignored on read and hard-coded on write. PR #3515

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

1.28.0

25 Feb 12:25
Compare
Choose a tag to compare

1.28.0 - 2023-02-25

Added

  • Support for configuring a Chart Title's overlay PR #3325
  • Wizards for defining Number Format masks for Numbers, Percentages, Scientific, Currency and Accounting PR #3334
  • Support for fixed value divisor in fractional Number Format Masks PR #3339
  • Allow More Fonts/Fontnames for Exact Width Calculation PR #3326 Issue #3190
  • Allow override of the Value Binder when setting a Cell value PR #3361

Changed

  • Improved handling for @ placeholder in Number Format Masks PR #3344
  • Improved handling for ? placeholder in Number Format Masks PR #3394
  • Improved support for locale settings and currency codes when matching formatted strings to numerics in the Calculation Engine PR #3373 and PR #3374
  • Improved support for locale settings and matching in the Advanced Value Binder PR #3376

Deprecated

  • Rationalisation of Pre-defined Currency Format Masks

Removed

  • Nothing

Fixed

1.27.1

08 Feb 07:04
Compare
Choose a tag to compare

Added

  • Nothing

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Fix Composer --dev dependency issue with dealerdirect/phpcodesniffer-composer-installer renaming their master branch to main

1.27.0

24 Jan 20:08
Compare
Choose a tag to compare

Added

Changed

  • Nothing

Deprecated

  • Nothing

Removed

Fixed

1.26.0

21 Dec 12:25
Compare
Choose a tag to compare

1.26.0 - 2022-12-21

Added

  • Extended flag options for the Reader load() and Writer save() methods
  • Apply Row/Column limits (1048576 and XFD) in ReferenceHelper PR #3213
  • Allow the creation of In-Memory Drawings from a string of binary image data, or from a stream. PR #3157
  • Xlsx Reader support for Tables PR #2829
  • Permit Date/Time Entered on Spreadsheet to be calculated as Float Issue #1416 PR #3121

Changed

  • Nothing

Deprecated

  • Direct update of Calculation::suppressFormulaErrors is replaced with setter.
  • Font public static variable defaultColumnWidths replaced with constant DEFAULT_COLUMN_WIDTHS.
  • ExcelError public static variable errorCodes replaced with constant ERROR_CODES.
  • NumberFormat constant FORMAT_DATE_YYYYMMDD2 replaced with existing identical FORMAT_DATE_YYYYMMDD.

Removed

  • Nothing

Fixed

1.25.2 - 2022-09-25

25 Sep 17:21
Compare
Choose a tag to compare

Added

  • Nothing

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Composer dependency clash with ezyang/htmlpurifier

Change Log

25 Sep 17:15
Compare
Choose a tag to compare
1.25.1

Change Log

1.25.0 - 2022-09-25

25 Sep 11:07
Compare
Choose a tag to compare

Added

  • Implementation of the new TEXTBEFORE(), TEXTAFTER() and TEXTSPLIT() Excel Functions
  • Implementation of the ARRAYTOTEXT() and VALUETOTEXT() Excel Functions
  • Support for mitoteam/jpgraph implementation of
    JpGraph library to render charts added.
  • Charts: Add Gradients, Transparency, Hidden Axes, Rounded Corners, Trendlines, Date Axes.

Changed

  • Allow variant behaviour when merging cells Issue #3065
    • Merge methods now allow an additional $behaviour argument. Permitted values are:
      • Worksheet::MERGE_CELL_CONTENT_EMPTY - Empty the content of the hidden cells (the default behaviour)
      • Worksheet::MERGE_CELL_CONTENT_HIDE - Keep the content of the hidden cells
      • Worksheet::MERGE_CELL_CONTENT_MERGE - Move the content of the hidden cells into the first cell

Deprecated

  • Axis getLineProperty deprecated in favor of getLineColorProperty.
  • Moved majorGridlines and minorGridlines from Chart to Axis. Setting either in Chart constructor or through Chart methods, or getting either using Chart methods is deprecated.
  • Chart::EXCEL_COLOR_TYPE_* copied from Properties to ChartColor; use in Properties is deprecated.
  • ChartColor::EXCEL_COLOR_TYPE_ARGB deprecated in favor of EXCEL_COLOR_TYPE_RGB ("A" component was never allowed).
  • Misspelled Properties::LINE_STYLE_DASH_SQUERE_DOT deprecated in favor of LINE_STYLE_DASH_SQUARE_DOT.
  • Clone not permitted for Spreadsheet. Spreadsheet->copy() can be used instead.

Removed

  • Nothing

Fixed

1.24.1 - 2022-07-18

18 Jul 19:52
Compare
Choose a tag to compare

Added

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

1.24.0 - 2022-07-09

09 Jul 13:58
Compare
Choose a tag to compare

Note that this will be the last 1.x branch release before the 2.x release. We will maintain both branches in parallel for a time; but users are requested to update to version 2.0 once that is fully available.

Added

  • Added removeComment() method for Worksheet PR #2875

  • Add point size option for scatter charts Issue #2298 PR #2801

  • Basic support for Xlsx reading/writing Chart Sheets PR #2830

    Note that a ChartSheet is still only written as a normal Worksheet containing a single chart, not as an actual ChartSheet.

  • Added Worksheet visibility in Ods Reader PR #2851 and Gnumeric Reader PR #2853

  • Added Worksheet visibility in Ods Writer PR #2850

  • Allow Csv Reader to treat string as contents of file Issue #1285 PR #2792

  • Allow Csv Reader to store null string rather than leave cell empty Issue #2840 PR #2842

  • Provide new Worksheet methods to identify if a row or column is "empty", making allowance for different definitions of "empty":

    • Treat rows/columns containing no cell records as empty (default)
    • Treat cells containing a null value as empty
    • Treat cells containing an empty string as empty

Changed

  • Modify rangeBoundaries(), rangeDimension() and getRangeBoundaries() Coordinate methods to work with row/column ranges as well as with cell ranges and cells PR #2926

  • Better enforcement of value modification to match specified datatype when using setValueExplicit()

  • Relax validation of merge cells to allow merge for a single cell reference Issue #2776

  • Memory and speed improvements, particularly for the Cell Collection, and the Writers.

    See the Discussion section on github for details of performance across versions

  • Improved performance for removing rows/columns from a worksheet

Deprecated

  • Nothing

Removed

  • Nothing

Fixed