Skip to content

Commit b60da02

Browse files
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` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fxuri%2fexcelize%2fv2/v2.11.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fxuri%2fexcelize%2fv2/v2.10.1/v2.11.0?slim=true) | --- > [!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 [#&#8203;92](https://redirect.github.com/xuri/excelize/issues/92) - The `SetSheetName` function allow sheet rename for invalid source names, related issue [#&#8203;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 [#&#8203;2303](https://redirect.github.com/xuri/excelize/issues/2303) - The `CalcCellValue` function supports returning formula calculation result with raw cell value, related issue [#&#8203;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 [#&#8203;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 [#&#8203;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 [#&#8203;2273](https://redirect.github.com/xuri/excelize/issues/2273) ##### Bug Fixes - Fixed a v2.8.1 regression issue [#&#8203;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 [#&#8203;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 [#&#8203;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 [#&#8203;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 [#&#8203;2297](https://redirect.github.com/xuri/excelize/issues/2297) - Fixed panic on reading corrupted workbook containing invalid worksheet XML by column iterator, resolved issue [#&#8203;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 [#&#8203;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 [#&#8203;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: - [@&#8203;Rynzie02](https://redirect.github.com/Rynzie02) (Rynzie) - [@&#8203;jpoz](https://redirect.github.com/jpoz) (James Pozdena) - [@&#8203;tvso](https://redirect.github.com/tvso) (Tammy) - [@&#8203;yyt030](https://redirect.github.com/yyt030) (yyt) - [@&#8203;hwo411](https://redirect.github.com/hwo411) (Igor Khodyrev) - [@&#8203;JimLee0921](https://redirect.github.com/JimLee0921) (TuoLee) - [@&#8203;zhuyanhuazhuyanhua](https://redirect.github.com/zhuyanhuazhuyanhua) (zhuhua) - [@&#8203;kenny-not-dead](https://redirect.github.com/kenny-not-dead) (Roman Sergeev) - [@&#8203;debugdoctor](https://redirect.github.com/debugdoctor) (Debug Doctor) - [@&#8203;Journeyman150](https://redirect.github.com/Journeyman150) (Vladislav Anisimov) - [@&#8203;ivolkoff](https://redirect.github.com/ivolkoff) (Ivan Volkov) - [@&#8203;plandem](https://redirect.github.com/plandem) (Andrey G.) - [@&#8203;martskins](https://redirect.github.com/martskins) - [@&#8203;shcabin](https://redirect.github.com/shcabin) - [@&#8203;narasaka](https://redirect.github.com/narasaka) (Nathanael Tehilla Gunawan) - [@&#8203;lawrence3699](https://redirect.github.com/lawrence3699) (chaoliang yan) - [@&#8203;SAY-5](https://redirect.github.com/SAY-5) (Sai Asish Y) - [@&#8203;noahchiu22](https://redirect.github.com/noahchiu22) (Noah) - [@&#8203;rootsec1](https://redirect.github.com/rootsec1) (Abhishek Murthy) - [@&#8203;guangxuewu](https://redirect.github.com/guangxuewu) - [@&#8203;AdamDrewsTR](https://redirect.github.com/AdamDrewsTR) (Adam Drews) - [@&#8203;grmblfrz](https://redirect.github.com/grmblfrz) (Swen Thümmler) - [@&#8203;WaterRRabbit](https://redirect.github.com/WaterRRabbit) - [@&#8203;krystophny](https://redirect.github.com/krystophny) (Christopher Albert) - [@&#8203;Aprax14](https://redirect.github.com/Aprax14) (Damiano Scarpellini) - [@&#8203;artur-chopikian](https://redirect.github.com/artur-chopikian) (Artur Chopikian) - [@&#8203;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

File tree

scripts/update_assets_md/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.26.3
44

55
require (
66
github.com/ettle/strcase v0.2.0
7-
github.com/xuri/excelize/v2 v2.10.1
7+
github.com/xuri/excelize/v2 v2.11.0
88
)
99

1010
require (

scripts/update_assets_md/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ github.com/tiendc/go-deepcopy v1.7.2 h1:Ut2yYR7W9tWjTQitganoIue4UGxZwCcJy3orjrrI
1414
github.com/tiendc/go-deepcopy v1.7.2/go.mod h1:4bKjNC2r7boYOkD2IOuZpYjmlDdzjbpTRyCx+goBCJQ=
1515
github.com/xuri/efp v0.0.1 h1:fws5Rv3myXyYni8uwj2qKjVaRP30PdjeYe2Y6FDsCL8=
1616
github.com/xuri/efp v0.0.1/go.mod h1:ybY/Jr0T0GTCnYjKqmdwxyxn2BQf2RcQIIvex5QldPI=
17-
github.com/xuri/excelize/v2 v2.10.1 h1:V62UlqopMqha3kOpnlHy2CcRVw1V8E63jFoWUmMzxN0=
18-
github.com/xuri/excelize/v2 v2.10.1/go.mod h1:iG5tARpgaEeIhTqt3/fgXCGoBRt4hNXgCp3tfXKoOIc=
17+
github.com/xuri/excelize/v2 v2.11.0 h1:HxaEFl6sRN2+8J5a8HaKq+0M4FsjBGMnWWtjOCPSG88=
18+
github.com/xuri/excelize/v2 v2.11.0/go.mod h1:jxFLbzaIwGQ5ufFNvYfUOHqXhfPaNmP14KWfmNz2Uak=
1919
github.com/xuri/nfp v0.0.2-0.20250530014748-2ddeb826f9a9 h1:+C0TIdyyYmzadGaL/HBLbf3WdLgC29pgyhTjAT/0nuE=
2020
github.com/xuri/nfp v0.0.2-0.20250530014748-2ddeb826f9a9/go.mod h1:WwHg+CVyzlv/TX9xqBFXEZAuxOPxn2k1GNHwG41IIUQ=
2121
golang.org/x/crypto v0.53.0 h1:QZ4Muo8THX6CizN2vPPd5fBGHyogrdK9fG4wLPFUsto=
2222
golang.org/x/crypto v0.53.0/go.mod h1:DNLU434OwVakk9PzuwV8w62mAJpRJL3vsgcfp4Qnsio=
23-
golang.org/x/image v0.25.0 h1:Y6uW6rH1y5y/LK1J8BPWZtr6yZ7hrsy6hFrXjgsc2fQ=
24-
golang.org/x/image v0.25.0/go.mod h1:tCAmOEGthTtkalusGp1g3xa2gke8J6c2N565dTyl9Rs=
23+
golang.org/x/image v0.38.0 h1:5l+q+Y9JDC7mBOMjo4/aPhMDcxEptsX+Tt3GgRQRPuE=
24+
golang.org/x/image v0.38.0/go.mod h1:/3f6vaXC+6CEanU4KJxbcUZyEePbyKbaLoDOe4ehFYY=
2525
golang.org/x/net v0.56.0 h1:Rw8j/hFzGvJUZwNBXnAtf5sVDVt+65SK2C7IxCxZt5o=
2626
golang.org/x/net v0.56.0/go.mod h1:D3Ku6r+V6JROoZK144D2XfMHFcMq/0zSfLelVTCFKec=
2727
golang.org/x/text v0.39.0 h1:UbZz4pLOvn600D6Oh6GGEI6VAmndrEBLv8/6BEXzyus=

0 commit comments

Comments
 (0)