Commit b60da02
authored
fix(deps): update module github.com/xuri/excelize/v2 to v2.11.0 (main) (#7206)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/xuri/excelize/v2](https://redirect.github.com/xuri/excelize)
| `v2.10.1` → `v2.11.0` |

|

|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>xuri/excelize (github.com/xuri/excelize/v2)</summary>
###
[`v2.11.0`](https://redirect.github.com/qax-os/excelize/releases/tag/v2.11.0)
[Compare
Source](https://redirect.github.com/xuri/excelize/compare/v2.10.1...v2.11.0)
We are pleased to announce the release of version 2.11.0. Featured are a
handful of new areas of functionality and numerous bug fixes.
A summary of changes is available in the [Release
Notes](https://redirect.github.com/xuri/excelize/releases/tag/v2.11.0).
A full list of changes is available in the
[changelog](https://redirect.github.com/xuri/excelize/compare/v2.10.1...v2.11.0).
#### Release Notes
The most notable changes in this release are:
##### Breaking Change
- Upgraded requirement: Go language version is 1.25.0 or later, due to
upgrading dependency package `golang.org/x/net`
- Breaking changes for the `AddChart`, `AddChartSheet` and `AddShape`
functions
- Change `Title` field data type of `Chart` from `[]RichTextRun` to
`ChartTitle`
- Change `Line` field data type of `Shape` from `ShapeLine` to
`LineOptions`
- Renamed data type `ChartDashType` to `LineDashType`
- Renamed data type `ChartLineType` to `LineType`
- Renamed data type `ChartLine` to `LineOptions`
##### Security
- Check row number when reading worksheet to prevent unbounded memory
allocation (CVE-2026-54063), related security advisories
GHSA-h69g-9hx6-f3v4
- Prevent attacker-controlled allocations by validating against
worksheet row number overflow maximum limitation (CVE-2026-59161),
related security advisories GHSA-q5j5-6p94-4gwc
- Prevent panic on getting cell value with invalid shared string table
index (CVE-2026-59162), related security advisories GHSA-fx5j-qcqg-grpf
##### Notable Features
- Added new `ChartTitle` data type
- Added new `PivotTableShowValuesAs` data type
- Added new `PivotTableShowValuesAsType` enumeration
- Added 3 new exported error variables:
`ErrPivotTableShowValuesAsBaseField`,
`ErrPivotTableShowValuesAsBaseItem` and
`ErrUnsupportedPivotTableShowValuesAsType`
- Added new field `ShowValuesAs` in `PivotTableField` data type
- Added new field `SelectedItems` in `PivotTableOptions` and
`SlicerOptions` data types
- Added new function `AutoFitColWidth` to support auto fit columns
width, related issue
[#​92](https://redirect.github.com/xuri/excelize/issues/92)
- The `SetSheetName` function allow sheet rename for invalid source
names, related issue
[#​548](https://redirect.github.com/xuri/excelize/issues/548)
- The `CalcCellValue` function supports tilde wildcard criteria
- The `CalcCellValue` function supports implicit intersection and fixes
regex criteria anchoring
- The `CalcCellValue` function supports 3D references across sheet
ranges, related issue
[#​2303](https://redirect.github.com/xuri/excelize/issues/2303)
- The `CalcCellValue` function supports returning formula calculation
result with raw cell value, related issue
[#​2316](https://redirect.github.com/xuri/excelize/issues/2316)
- The `AddPivotTable` function supports checking whether the same data
field appears in pivot table column, rows and filter fields, to prevent
generating a corrupted workbook
- The `AddPivotTable` and `GetPivotTables` functions support setting and
getting show values as of pivot table data fields, related issue
[#​2340](https://redirect.github.com/xuri/excelize/issues/2340)
- The `AddPivotTable`, `AddSlicer`, `GetPivotTables` and `GetSlicers`
functions support setting and getting selected items for pivot table and
pivot table slicer, related issue
[#​2154](https://redirect.github.com/xuri/excelize/issues/2154)
- The `AddChart` and `AddChartSheet` functions support setting chart
title with formula
- The `AddChart` and `AddChartSheet` functions support setting chart
title and chart axis title's layout
- The `AddChart` and `AddChartSheet` functions support setting line
format for chart title and chart axis title
- The `AddShape` function supports setting line format of shapes
- The `NewStyle` function supports auto foreground and background color
when creating solid fill style when no custom color value is specified
##### Compatibility Improvements
- Fixed chart sheet not showing charts on Excel Online and KingSoft WPS™
Office, related issue
[#​2273](https://redirect.github.com/xuri/excelize/issues/2273)
##### Bug Fixes
- Fixed a v2.8.1 regression issue
[#​1383](https://redirect.github.com/xuri/excelize/issues/1383)
- Fixed `AddChart` function panic when adding a chart with no fill
series
- Fixed `CalcCellValue` function panic on invalid row reference in some
cases, resolved issue
[#​2266](https://redirect.github.com/xuri/excelize/issues/2266)
- Fixed formula exact text matching not matching substrings when using
`CalcCellValue` function
- Fixed `CalcCellValue` function calculation accuracy issue for formula
functions BINOM.INV, CHIINV, CHISQ.DIST, IMSECH, IMSQRT and
NEGBINOM.DIST
- Fixed `CalcCellValue` function returning incorrect calculation result
of FREQUENCY in some cases
- Fixed `CalcCellValue` function returning incorrect calculation result
when error values inside parentheses or operators, resolved issue
[#​2344](https://redirect.github.com/xuri/excelize/issues/2344)
- Fixed `AddComment` function assigning incorrect author ID for all
comments when author already exists in authors list, resolved issue
[#​2289](https://redirect.github.com/xuri/excelize/issues/2289)
- Fixed potential deadlock related to file unlocker not being called
before returning an error
- Fixed custom number format with comma scaling not properly applied,
resolved issue
[#​2297](https://redirect.github.com/xuri/excelize/issues/2297)
- Fixed panic on reading corrupted workbook containing invalid worksheet
XML by column iterator, resolved issue
[#​2299](https://redirect.github.com/xuri/excelize/issues/2299)
- Fixed missing single quote after adjusting formulas which include
external references
- Fixed failure to decrypt workbooks protected by ECMA-376 agile
encryption with SHA512 hash algorithm in some cases, resolved issue
[#​2328](https://redirect.github.com/xuri/excelize/issues/2328)
- Fixed `SetCellFormula` function not clearing shared formula metadata
when overwriting with a normal formula, resolved issue
[#​2337](https://redirect.github.com/xuri/excelize/issues/2337)
##### Performance
- Reduced memory usage for reading unencrypted workbooks, reducing rows
iterator memory usage by at most 85%
- Optimized the coordinates conversion and some internal functions
performance
- The `ColumnNumberToName` function memory allocation reduced by about
90%
- The `CoordinatesToCellName` function memory allocation reduced by
about 13%
- The internal `isNumeric` function memory allocation reduced by about
68%
##### Miscellaneous
- The dependencies module has been updated
- Unit tests and godoc updated
- [Documentation website](https://xuri.me/excelize) with multilingual:
Arabic, German, English, Spanish, French, Italian, Japanese, Korean,
Portuguese, Russian, Chinese Simplified and Chinese Traditional, which
has been updated.
- [excelize-wasm](https://redirect.github.com/xuri/excelize-wasm) NPM
package release update for WebAssembly / JavaScript support
- [excelize](https://redirect.github.com/xuri/excelize-py) PyPI package
release update for Python
- [ExcelizeCs](https://redirect.github.com/xuri/excelize-cs) 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:
- [@​Rynzie02](https://redirect.github.com/Rynzie02) (Rynzie)
- [@​jpoz](https://redirect.github.com/jpoz) (James Pozdena)
- [@​tvso](https://redirect.github.com/tvso) (Tammy)
- [@​yyt030](https://redirect.github.com/yyt030) (yyt)
- [@​hwo411](https://redirect.github.com/hwo411) (Igor Khodyrev)
- [@​JimLee0921](https://redirect.github.com/JimLee0921) (TuoLee)
-
[@​zhuyanhuazhuyanhua](https://redirect.github.com/zhuyanhuazhuyanhua)
(zhuhua)
- [@​kenny-not-dead](https://redirect.github.com/kenny-not-dead)
(Roman Sergeev)
- [@​debugdoctor](https://redirect.github.com/debugdoctor) (Debug
Doctor)
- [@​Journeyman150](https://redirect.github.com/Journeyman150)
(Vladislav Anisimov)
- [@​ivolkoff](https://redirect.github.com/ivolkoff) (Ivan Volkov)
- [@​plandem](https://redirect.github.com/plandem) (Andrey G.)
- [@​martskins](https://redirect.github.com/martskins)
- [@​shcabin](https://redirect.github.com/shcabin)
- [@​narasaka](https://redirect.github.com/narasaka) (Nathanael
Tehilla Gunawan)
- [@​lawrence3699](https://redirect.github.com/lawrence3699)
(chaoliang yan)
- [@​SAY-5](https://redirect.github.com/SAY-5) (Sai Asish Y)
- [@​noahchiu22](https://redirect.github.com/noahchiu22) (Noah)
- [@​rootsec1](https://redirect.github.com/rootsec1) (Abhishek
Murthy)
- [@​guangxuewu](https://redirect.github.com/guangxuewu)
- [@​AdamDrewsTR](https://redirect.github.com/AdamDrewsTR) (Adam
Drews)
- [@​grmblfrz](https://redirect.github.com/grmblfrz) (Swen
Thümmler)
- [@​WaterRRabbit](https://redirect.github.com/WaterRRabbit)
- [@​krystophny](https://redirect.github.com/krystophny)
(Christopher Albert)
- [@​Aprax14](https://redirect.github.com/Aprax14) (Damiano
Scarpellini)
- [@​artur-chopikian](https://redirect.github.com/artur-chopikian)
(Artur Chopikian)
- [@​huijian3139](https://redirect.github.com/huijian3139) (Jason)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - Between 01:00 AM and 01:59 AM, Monday
through Friday ( * 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiVGVhbTpTZWN1cml0eS1DbG91ZCBTZXJ2aWNlcyIsImJhY2twb3J0LXNraXAiLCJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSIsInJlbm92YXRlLWF1dG8tYXBwcm92ZSJdfQ==-->
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>1 parent 93865b6 commit b60da02
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments