Skip to content

fix(deps): update module github.com/xuri/excelize/v2 to v2.10.1 (8.19)#6137

Merged
elastic-renovate-prod[bot] merged 1 commit into
8.19from
renovate/8.19-github.com-xuri-excelize-v2-2.x
May 8, 2026
Merged

fix(deps): update module github.com/xuri/excelize/v2 to v2.10.1 (8.19)#6137
elastic-renovate-prod[bot] merged 1 commit into
8.19from
renovate/8.19-github.com-xuri-excelize-v2-2.x

Conversation

@elastic-renovate-prod
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/xuri/excelize/v2 require minor v2.8.1 -> v2.10.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

xuri/excelize (github.com/xuri/excelize/v2)

v2.10.1

Compare Source

We are pleased to announce the release of version 2.10.1. Featured are a handful of new areas of functionality and numerous bug fixes.

A summary of changes is available in the Release Notes. A full list of changes is available in the changelog.

Release Notes

The most notable changes in this release are:

Breaking Change

Removed three exported error variables: ErrStreamSetColStyle, ErrStreamSetColWidth, and ErrStreamSetPanes.

Notable Features
  • Added the ChartDataPoint data type
  • Added the DataPoint field to ChartSeries
  • Added the DropLines and HighLowLines fields to ChartAxis
  • Added the Name field to GraphicOptions
  • Added two constants: MaxGraphicAltTextLength and MaxGraphicNameLength
  • Added 7 exported error variables: ErrFillType, ErrFillGradientColor, ErrFillGradientShading, ErrFillPatternColor, ErrFillPattern, ErrMaxGraphicAltTextLength and ErrMaxGraphicNameLength
  • Added the exported function GetHyperLinkCells to retrieve hyperlink cells, related issue #​1607
  • Added the exported function GetSheetProtection to retrieve sheet protection settings
  • The AddComment function now returns an error when adding a comment to a cell that already has one
  • Added support for inserting ICO images, related issue #​2234
  • The CalcCellValue function now supports two formula functions: SORTBY and UNIQUE
  • The AddChart and AddChartSheet functions now support setting data point colors for doughnut, pie, and 3D pie charts, related issue #​1904
  • The AddChart function now supports configuring font families for East Asian and complex-script fonts
  • The AddChart function now supports drop lines and high-low lines for area and line charts
  • The GetPictures function can now return partial formatting properties, related issue #​2157
  • Added the SetColVisible function to the streaming writer to set column visibility, related issue #​2075
  • Added the SetColOutlineLevel function to the streaming writer to group columns, related issue #​2212
  • The AddShape and AddSlicer functions now support one-cell anchor positioning for shapes and slicers
  • The GetSlicers function now supports retrieving slicers with one-cell anchor positioning
  • The SetConditionalFormat, GetConditionalFormats, and UnsetConditionalFormat functions now support the 3 triangles, 3 stars, and 5 boxes icon set conditional formats, related issue #​2038
  • The UnsetConditionalFormat function now supports deleting a conditional format rule or data validation for a specific cell within a cell range
  • The AddPicture and AddPictureFromBytes functions now support setting the picture name
  • The AddChart and AddShape functions now support setting names and alternative text for charts and shapes
  • The AddSlicer function now supports setting alternative text for slicers
  • Added validation for graphic names and alternative text length; returns an error when the length exceeds the limit
  • Added UTF-16-aware length checking and truncation
Improve the Compatibility
  • Removed empty rows on save, reducing the generated workbook file size
Bug Fixes
  • Fixed a v2.10.0 regression where the GetCellValue and GetRows functions returned shared string indexes for empty strings, resolve issue #​2240
  • Fixed GetPivotTables panicking when retrieving pivot tables in some cases
  • Fixed a panic when reading cell values with certain number format codes containing Chinese month names, resolve issue #​2224
  • Fixed a panic when opening encrypted workbooks in some cases, resolve issue #​2237
  • Fixed missing column styles when using the streaming writer SetRow function
  • Fixed GetPictures not returning some cell images
  • Fixed workbook corruption caused by light theme color index overflow
  • Fixed DeleteDataValidation updating data validation cell ranges incorrectly with unordered cell references
  • Fixed SetConditionalFormat generating corrupted workbooks when setting time period conditional formatting rules
  • Fixed CalcCellValue failing to resolve references in some cases by trimming single quotes from sheet names
  • Fixed NewStyle creating duplicate styles when using the default font or fill, resolve issue #​2254
Performance
  • Optimized CalcCellValue by adding a calculation cache and limiting processing to actual data ranges, resolve issues #​2057 and #​2223
  • Optimized CalcCellValue formula evaluation for VLOOKUP, reducing memory usage and execution time by about 50%, resolve issue #​2139
  • Optimized GetMergeCells by speeding up overlap checks for merged cell ranges and reducing memory usage, resolve issue #​2226
  • Optimized applying number format codes by converting using continued-fraction recurrence formulas
Miscellaneous
  • The dependencies module has been updated
  • Unit tests and godoc updated
  • Documentation website with multilingual: Arabic, German, English, Spanish, French, Italian, Japanese, Korean, Portuguese, Russian, Chinese Simplified and Chinese Traditional, which has been updated.
  • excelize-wasm NPM package release update for WebAssembly / JavaScript support
  • excelize PyPI package release update for Python
  • ExcelizeCs NuGet .Net package release for C#
Thank you

Thanks for all the contributors to Excelize. Below is a list of contributors that have code contributions in this version:

v2.10.0

Compare Source

We are pleased to announce the release of version 2.10.0. Featured are a handful of new areas of functionality and numerous bug fixes.

A summary of changes is available in the Release Notes. A full list of changes is available in the changelog.

Release Notes

The most notable changes in this release are:

Breaking Change
  • Upgrade requirements Go language version is 1.24.0 or later, for upgrade of dependency package golang.org/x/crypto
Notable Features
  • Add new exported error variable ErrTransparency
  • Add new ChartDashType, CustomProperty and ZipWriter data types
  • Add new field Border to the ChartMarker data type
  • Add new field Font to the ChartLegend data type
  • Add new field Legend to the ChartSeries data type
  • Add new field Transparency to the Fill data type
  • Add new fields Dash and Fill to the ChartLine data type
  • Add new field TmpDir to the Options data type, support to specifies the custom temporary directory for creating temporary files, related issue #​2024
  • Add new field Charset to the Font data type, support to explicitly specify font encodings when generating spreadsheets
  • Add new functions GetCustomProps and SetCustomProps support getting and setting workbook custom properties, related issue #​2146
  • Add new function SetZipWriter, support set custom ZIP writer, related issue #​2199
  • Add optional parameter withoutValues for the GetMergeCells function
  • The DeleteDataValidation function support delete data validation in extension list, and support delete data validation by given with multiple cell ranges with reference sequence slice or blank separated reference sequence string, related issue #​2133
  • The AddChart function support set dash line and marker border type of charts
  • The AddChart function support to set font for chart legends, related issue #​2169
  • The AddChart and AddChartSheet function support create 4 kinds of box and whisker stock charts: High-Low-Close, Open-High-Low-Close, Volume-High-Low-Close and Volume-Open-High-Low-Close
  • The CalcCellValue function support BAHTTEXT formula function
  • Skip fallback to default font size when create style if font size less than minimum size
  • Support parse number format code with Hijri and Gregorian calendar
  • Support set transparency for chart and shape, related issue #​2176
  • Support apply number format with the new 8 language: Corsican, Croatian, Croatian (Latin), Czech, Danish, Divehi, Dutch, Dzongkha language
Improve the Compatibility
  • Remove all leading equal symbol when set cell formula, for improve compatibility with Apple Numbers, related issue #​2145
  • Using relative sheet target path in the internal workbook relationship parts
Bug Fixes
  • Fix a v2.9.1 regression bug, build failed on ARMv7 architectures, resolve issue #​2132
  • Fix number format parser dropped empty literals in the end of the number format
  • Fix panic on get string item with invalid offset range, resolve issues #​2019 and #​2150
  • Fix panic on read unsupported pivot table cache sorce types, resolve issue #​2161
  • Fix incorrect characters verification, count characters as single runes in characters length limitation checking, resolve issue #​2167
  • Fix add pivot table caused workbook corrupted on Excel for Mac, resolve issue #​2180
  • Fix incorrect month name abbreviations when read cell with the Tibetan language number format code
  • Fix special date number format result not consistent with Excel, resolve issue #​2192
Performance
  • Optimize the GetSheetDimension function by parse worksheet XML in stream mode, speedup about 95%, memory usage reduce about 96%
Miscellaneous
  • The dependencies module has been updated
  • Unit tests and godoc updated
  • Documentation website with multilingual: Arabic, German, English, Spanish, French, Italian, Japanese, Korean, Portuguese, Russian, Chinese Simplified and Chinese Traditional, which has been updated.
  • excelize-wasm NPM package release update for WebAssembly / JavaScript support
  • excelize PyPI package release update for Python
  • ExcelizeCs NuGet .Net package release for C#
  • Add a new logo for Excelize
Thank you

Thanks for all the contributors to Excelize. Below is a list of contributors that have code contributions in this version:

v2.9.1

Compare Source

We are pleased to announce the release of version 2.9.1. Featured are a handful of new areas of functionality and numerous bug fixes.

A summary of changes is available in the Release Notes. A full list of changes is available in the changelog.

Release Notes

The most notable changes in this release are:

Breaking Change
  • Upgrade requirements Go language version is 1.23 or later, for upgrade of dependency package golang.org/x/crypto
  • Change the data type of DataValidationType, DataValidationErrorStyle, DataValidationOperator, PictureInsertType from int to byte
  • SetCellInt function required int64 data type parameter, resolve issue #​2068
  • When adding drawing objects such as pictures, charts, shapes, and form controls, the offset setting will no longer affect the size of the drawing object, related issue #​2001
Notable Features
  • Add new fields GapWidth and Overlap in the Chart data type
  • Add new fields ShowDataTable and ShowDataTableKeys fields in the ChartPlotArea data type
  • Add new field Alignment in the ChartAxis data type
  • Add new field DataLabel in the ChartSeries data type
  • Add new field PageOrder for PageLayoutOptions data type
  • Add 2 new exported error variables: ErrPageSetupAdjustTo and ErrStreamSetColStyle
  • Add 2 new exported enumerations: HeaderFooterImagePositionType and IgnoredErrorsType
  • Add 2 new exported data types: CalcPropsOptions and HeaderFooterImageOptions
  • Add 2 new functions: SetCalcProps and GetCalcProps support setting and getting workbook calculation properties
  • Add new CultureNameJaJP, CultureNameKoKR and CultureNameZhTW enumeration values, support apply number format for the Japanese calendar years, the Korean Danki calendar and the Republic of China year, related issue #​1885
  • Add new function AddHeaderFooterImage to support set graphics in a header and footer, related issue #​1395
  • Add new function AddIgnoredErrors support to ignored error for a range of cells, related issue #​2046
  • Add new function SetColStyle for streaming writer to support set columns style, related issue #​2075
  • The AddChart and AddChartSheet function support set chart axis text direction and rotation, related issue #​2025
  • The AddChart and AddChartSheet function support set gap width and overlap for column and bar chart, related issue #​2033
  • The AddChart and AddChartSheet function support set the format of the chart series data label, related issue #​2052
  • The AddChart and AddChartSheet function support set data table for chart, related issue #​2117
  • The AddFormControl function support set cell link for check box, related issue #​2113
  • The SetPageLayout function support set page order of page layout
  • The DeletePicture function support delete one cell anchor image, related issue #​2059
  • An error will be return if the option value of the SetPageLayout function is invalid
  • Support adjust data validations cross multiple worksheets, related issue #​2072
  • Support apply number format with hash and zero place holder, related issue #​2058
  • Support apply number format with ? symbol
  • Support to insert one cell anchor drawing object when specified the positioning as "oneCell", related issue #​2002
Bug Fixes
  • Fix a v2.9.0 regression bug, corrupted workbook generated by open the workbook generated by stream writer, resolve issue #​2015
  • Fix redundant none type pattern fill generated, resolve issue #​2014
  • Fix missing vertical and horizontal border styles in some case, resolve issue #​2048
  • Fix conditional format's border styles missing in some case, resolve issue #​2061
  • Fix get pivot tables panic in some case, resolve issues #​1954 and #​2051
  • Fix GetStyle function can not get VertAlign format
  • Fix CalcCellValue function subexpressions aren't correctly calculated in some case, resolve issue #​2083
  • Fix delete wrong images in some case which caused by image reference detection issue
  • Fix cell default style doesn't override by none-zero row style when set row by stream writer
  • Fix redundant cols element generated by stream writer
  • Fix panic on set chart title font, resolve issue #​2102
  • Fix panic on delete calc chain in some case
  • Fix incorrect formula calculation result caused by shared formula parse error, resolve issue #​2056
  • Fix corrupted workbook generated when an inner ZIP64 file size exceeds 4GB
  • Fix sheet name error in defined name after rename sheet, resolve issue #​2126
Performance
  • Use a 3 times faster deepcopy library github.com/tiendc/go-deepcopy instead of github.com/mohae/deepcopy, related issue #​2029
  • Fix performance regression in v2.9.0, reduce trim cell value memory allocation for blank cells
  • Improve performance for calculate formula when formula contains whole column and row reference
  • Rows iterator speedup about 20%, memory allocation reduce about 10%
Miscellaneous
  • The dependencies module has been updated
  • Unit tests and godoc updated
  • Documentation website with multilingual: Arabic, German, English, Spanish, French, Italian, Japanese, Korean, Portuguese, Russian, Chinese Simplified and Chinese Traditional, which has been updated.
  • excelize-wasm NPM package release update for WebAssembly / JavaScript support
  • excelize PyPI package release update for Python
Thank you

Thanks for all the contributors to Excelize. Below is a list of contributors that have code contributions in this version:

v2.9.0

Compare Source

We are pleased to announce the release of version 2.9.0. Featured are a handful of new areas of functionality and numerous bug fixes.

A summary of changes is available in the Release Notes. A full list of changes is available in the changelog.

Release Notes

The most notable changes in this release are:

Breaking Change
  • Change the data type for the ConditionalFormatOptions structure field Format as a pointer, resolve issue #​1867
Notable Features
  • Add new functions DeleteSlicer and GetSlicers, related issue #​810
  • Add new function MoveSheet to support changing sheet order in the workbook, related issue #​1076
  • Add new AutoFitIgnoreAspect field in the GraphicOptions data type support for fill the cell with the image and ignore its aspect ratio
  • Add new TickLabelPosition field in the ChartAxis data type support for set label position of the chart
  • Add new fields ShowAll, InsertBlankRow and NumFmt field in the PivotTableField data type
  • Add new fields ClassicLayout, FieldPrintTitles and ItemPrintTitles in the PivotTableOptions data type
  • Introduce 2 new exported enumeration type ChartTickLabelPositionType and PictureInsertType
  • Introduce new exported ChartLineUnset enumeration value
  • Introduce 4 constants ExtURIDataField, ExtURIPivotField, ExtURIPivotFilter and ExtURIPivotHierarchy
  • Introduce new exported error variable ErrPivotTableClassicLayout
  • The MergeCell function support clear slave cells value when merging cells
  • The AddDataValidation, DeleteDataValidation and GetCellStyle functions support concurrency safe, related issues #​1825
  • The GetDataValidations function support get data validations which storage in the extension lists, related issue #​1835
  • The SetSheetName function support case sensitivity, related issue #​1856
  • The GetPictureCells and GetPictures functions support for get the cell images inserted by IMAGE formula function and absolute paths for pictures
  • The SetCellHyperLink function support remove hyperlink by None linkType, related issue #​1940
  • The AddChart function support create combo chart with same types, related issue #​1940
  • The AddChart function support set line type of scatter chart
  • An error will be return if column header cell is empty in pivot table data range when create pivot table by AddPivotTable function, related issue #​1945
  • Add support for applying number format expression with language/location tags and ID
  • Add support for apply number format for time and duration cell value, related issue #​2004
  • New support formula function: DOLLAR
Improve the Compatibility
  • Improve compatibility for apply number format, support apply number format with alignment, resolve issue #​1847
  • Improvement compatibility for the workbook internal part with a spreadsheet namespace prefix, resolve issue #​1886
  • Improve compatibility for the workbook internal media files with absolute path, resolve issue #​1888
Bug Fixes
  • Fix a v2.8.1 regression bug, auto filter doesn't work in the LibreOffice, resolve issue #​1830
  • Fix a v2.8.1 regression bug, support to adjust data validation with multiple cell range, resolve issue #​1831
  • Fix a v2.8.1 regression bug, error on duplicate rows, if conditional formatting or data validation has multiple cell range reference
  • Fix a v2.8.1 regression bug, incorrect cell value written if save multiple times, resolve issue #​1906
  • Fix a v2.8.1 regression bug, spark lines duplicate when creating spark lines on multiple sheets, resolve issue #​1910
  • The CalcCellValue function support calculate formula functions ISNUMBER, OR and FIND with matrix arguments, resolve issue #​1819
  • Fix the CalcCellValue function calculation result round issue, resolve issue #​1851
  • Fix the CalcCellValue function returns incorrect result of formula functions XIRR and XNPV, resolve issue #​1989
  • Fix the RemoveCol returns error when deleting columns, resolve issue #​1829
  • Fix incorrect result data type of the DATE formula function, resolve issue #​1833
  • Fix panic on read workbook with internal row element without r attribute
  • Fix parentheses in formulas get cut out when inserting new columns or rows, resolve issue #​1861
  • Fix incorrect data validation escape result in some cases
  • Fix some character can't be displayed in stream writer, resolve issue #​1865
  • Saving workbook with sorted internal part path to keep same hash of identical files and fix incorrect MIME type, resolve issue #​1889
  • Fix the AddChart function set axis format doesn't work in combo chart, resolve issue #​1921
  • Fix the AddChart function set incorrect primary axis titles position
  • Fix the AddChart function set secondary vertical axis title is not displayed, resolve issue #​1926
  • Fix the AddChart function set line type of line chart does not work
  • Fix the GetPivotTables function returns incorrect data range, resolve issue #​1937
  • Fix the GetStyle function panic when theme without sysClr, resolve issue #​1963
  • Fix the GetCellRichText function returns error when read cell without SST index, resolve issue #​1999
  • Fix the SetSheetVisible function panic on none views sheet, resolve issue #​1969
  • Fix percent sign missing in formatted result for zero numeric cell value, resolve issue #​1942
  • Fix missing horizontal axis in scatter chart with negative values
  • Fix missing shape macro missing after adjusted drawing object, resolve issue #​1957
  • Fix missing conditional formatting after remove column in some cases, resolve issue #​1968
  • Fix read cell value with decimal value round issue, resolve issue #​1979
  • Support to set cell value with an IEEE 754 "not-a-number" value or infinity, resolve issue #​119
Performance
  • Fix v2.8.0 regression speed slowdown and memory usage increase issue
  • Reduce memory usage for the GetRows function, related issue #​1874
  • Optimize ColumnNumberToName function performance, reduce about 50% memory usage and 50% time cost
Miscellaneous
  • The dependencies module has been updated
  • Unit tests and godoc updated
  • Documentation website with multilingual: Arabic, German, English, Spanish, French, Japanese, Korean, Portuguese, Russian, Chinese Simplified and Chinese Traditional, which has been updated. Added Italian version of the document
Thank you

Thanks for all the contributors to Excelize. Below is a list of contributors that have code contributions in this version:


Configuration

📅 Schedule: Branch creation - "* 1 * * 1-5" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod Bot requested a review from a team as a code owner May 8, 2026 07:15
@elastic-renovate-prod elastic-renovate-prod Bot added backport-skip dependencies Pull requests that update a dependency file renovate renovate-auto-approve Team:Security-Cloud Services Security Data Experience - Cloud Services team. labels May 8, 2026
@elastic-renovate-prod elastic-renovate-prod Bot enabled auto-merge May 8, 2026 07:15
@elastic-renovate-prod
Copy link
Copy Markdown
Contributor Author

ℹ Artifact update notice

File name: scripts/update_assets_md/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/xuri/nfp v0.0.1 -> v0.0.2-0.20250530014748-2ddeb826f9a9

@elastic-renovate-prod elastic-renovate-prod Bot added this pull request to the merge queue May 8, 2026
Merged via the queue into 8.19 with commit 3499578 May 8, 2026
21 checks passed
@elastic-renovate-prod elastic-renovate-prod Bot deleted the renovate/8.19-github.com-xuri-excelize-v2-2.x branch May 8, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip dependencies Pull requests that update a dependency file renovate renovate-auto-approve Team:Security-Cloud Services Security Data Experience - Cloud Services team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants