v2.8.1
We are pleased to announce the release of version 2.8.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.18 or later, for upgrade of dependency package
golang.org/x/net - Change the data type for the
HeaderFooterOptionsstructure fieldsAlignWithMarginsandScaleWithDocas a pointer, resolve issue #1645 - Remove unused exported data structure
ShapeColor
Notable Features
- Add new exported function
SetCellUint, related issue #1681 - Add new exported function
GetPictureCellsfor get all picture cells, related issue #1218 - Add new exported function
GetConditionalStylefor get the conditional format style definition, related issue #1690 - Add new exported function
GetHeaderFooterfor get the worksheet header and footer - Add new exported function
AddSlicerfor adding table and pivot table slicers - Add new exported function
GetPivotTablesfor get pivot tables - Add new exported function
DeletePivotTablefor delete pivot table - Add a new
Namefield in thePivotTableOptionsto support specify pivot table name - New support 7 formula functions: DBCS, SEARCH, SEARCHB, TEXT, TEXTAFTER, TEXTBEFORE and xlfn.ANCHORARRAY
- Add export
ChartLineTypeenumeration to specify the chart line type, related issue #1706 - Add new
Borderfield in theChartdata type to set the chart area border - Add new
Typefield in theChartLinetype to set the line type - Add new exported source relationship and namespace
NameSpaceSpreadSheetXR10,ContentTypeSlicer,ContentTypeSlicerCache, andSourceRelationshipSlicer - Add new exported extended URI
ExtURIPivotCacheDefinition - Allow dot character in the defined name, table name, or pivot table name
Improve the Compatibility
- Improve compatibility for absolute path drawing part
- Improve compatibility for workbook internal tab ratio property value
- Improve compatibility with empty custom number format code
- Improve compatibility with the viewer which doesn't support default theme part namespace, related issue #1694
- Improve delete cell comment shape compatibility with KingSoft WPS™ Office, related issue #1789
- Saving workbook with sorted internal part path, make identically created workbooks hash checksum is same, related issue #1732
Bug Fixes
- Add check for MID and MIDB formula functions num_chars arguments, prevent panic on specifying a negative number, resolve issue #1647
- Fix empty calculate result with numeric arguments in LEN, LOWER, PROPER, REPT, UPPER, and IF formula functions
- Fix calculate formula functions CHITEST and MMULT panic in some cases
- Fix a v2.8.0 regression bug, error on set print area and print titles with built-in special defined name
- Fix a v2.8.0 regression bug, corrupted workbooks generated by improving compatibility with internally indexed color and MRU colors styles parts
- Fix a v2.8.0 regression bug, number format code apply result was empty, resolve issue #1658
- Fix a v2.7.1 regression bug, the bubble is hidden in the bubble or 3D bubble chart
- Fixed panic on
AutoFilterby adding nil pointer guard for local sheet ID, resolve issue #1655 - Fix corrupted workbooks generated when adding tables in some cases
- Fix incorrect time number format result, resolve issue #1661
- Supports getting formula string cell value, resolve issue #1665
- Fix incorrect table ID generated in the workbook which contains single table cells
- Fix missing relationship parts in the content types in some cases
- Upgrade number format parser to fix missing literal tokens in some cases
- Update built-in zh-cn and zh-tw language number format
- Fix the incorrect custom number format ID allocated, resolve issue
Performance
- Improves performance for adding and removing pivot table and images
- Reduce memory consumption by trimming the rows and cells, resolve issue #1712
Miscellaneous
- The dependencies module has been updated
- Unit tests and godoc updated
- Documentation website with multilingual: Arabic, German, Spanish, English, French, Russian, Chinese, Japanese, and Korean, which has been updated
Thank you
Thanks for all the contributors to Excelize. Below is a list of contributors that have code contributions in this version:
- @fnickels (Francis Nickels III)
- @m12r (Matthias Endler)
- @Abdelaziz-Ouhammou
- @Juneezee (Eng Zer Jun)
- @yicixin (壹次心)
- @TeeRenJing (rjtee)
- @phperic (magicrabbit)
- @kjushka (Anton Petrov)
- @krstak (Marko Krstic)
- @lpxxn (Nick)
- @ByteFlyCoding
- @yangliyl (Yang Li)
- @15535382838
- @TajangSec (Tajang)
- @lujin1 (lujin)
- @parkoo (Tian)
- @ZhangXiao1024 (ZX)
- @zcgly
- @bramvbilsen (Bram Vanbilsen)
- @user65536
- @tianaiyouqing (天爱有情)
- @cuishuang (cui fliter)
- @CooolNv (Xuesong)
- @yuegu520
- @oneweek20169902 (li)
- @3zmx
- @327674413
- @melf-xyzh (MELF晓宇)
- @L4nn15ter
- @rememberher (Jerry)
- @ooooooobh (cherry)
- @xxxwang1983
- @funa12
- @coolbit
- @taitaking (zhukewen)
- @kewenof
- @ivekkairi (Vivek Kairi)
- @edwardfward (Ed)