Skip to content

Commit

Permalink
Prepare en docs for the next released version 2.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xuri committed Dec 29, 2023
1 parent 110ca72 commit e6169fa
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 0 deletions.
1 change: 1 addition & 0 deletions en/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
* [Performance](performance.md)
* [Contribution](contribution.md)
* Released Versions
* [v2.8.1](releases/v2.8.1.md)
* [v2.8.0 (2023-08-28)](releases/v2.8.0.md)
* [v2.7.1 (2023-04-10)](releases/v2.7.1.md)
* [v2.7.0 (2023-01-09)](releases/v2.7.0.md)
Expand Down
102 changes: 102 additions & 0 deletions en/releases/v2.8.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# Excelize v2.8.1

* Will be released: 2024

## Release Notes

The most notable changes in this release are:

### Breaking Change

* Change the data type for the `HeaderFooterOptions` structure fields `AlignWithMargins` and `ScaleWithDoc` as a pointer, resolve issue [#1645](https://github.com/xuri/excelize/issues/1645)

### Notable Features

* Add new exported function `SetCellUint`, related issue [#1681](https://github.com/xuri/excelize/issues/1681)
* Add new exported function `GetPictureCells` for get all picture cells, related issue [#1218](https://github.com/xuri/excelize/issues/1218)
* Add new exported function `GetConditionalStyle` for get the conditional format style definition, related issue [#1690](https://github.com/xuri/excelize/issues/1690)
* Add new exported function `GetHeaderFooter` for get the worksheet header and footer
* Add new exported function `AddSlicer` for adding table and pivot table slicers
* Add new exported function `GetPivotTables` for get pivot tables
* Add new exported function `DeletePivotTable` for delete pivot table
* Add a new `Name` field in the `PivotTableOptions` to support specify pivot table name
* New support 5 formula functions: SEARCH, SEARCHB, TEXT, TEXTAFTER and TEXTBEFORE
* Add export `ChartLineType` enumeration to specify the chart line type, related issue [#1706](https://github.com/xuri/excelize/issues/1706)
* Add new `Border` field in the `Chart` data type to set the chart area border
* Add new `Type` field in the `ChartLine` type to set the line type
* Add new exported source relationship and namespace `NameSpaceSpreadSheetXR10`, `ContentTypeSlicer`, `ContentTypeSlicerCache`, and `SourceRelationshipSlicer`
* Add new exported extended URI `ExtURIPivotCacheDefinition`
* Allow dot character in the defined name, table name, or pivot table name
* Keep all cells value in the table range when deleting table
* Support format cell value with fraction number format code
* Support delete image files from the workbook internally when deleting pictures to reduce generated workbook size and resolve potential security issues
* Support set the height and width for the comment box, related issue [#1688](https://github.com/xuri/excelize/issues/1688)
* Support update conditional formatting, data validations, defined names, drawing objects, formula reference and volatile dependencies on inserting/deleting columns/rows, related issues [#1306](https://github.com/xuri/excelize/issues/1306) and [#1615](https://github.com/xuri/excelize/issues/1615)
* Support 6 new kinds of conditional formatting types: text, blanks, no blanks, errors, no errors and time period
* Support calculate formula with multiple dash arithmetic symbol

### Improve the Compatibility

* Improve compatibility for absolute path drawing part
* Improve compatibility with empty custom number format code
* Improve compatibility with the viewer which doesn't support default theme part namespace, related issue [#1694](https://github.com/xuri/excelize/issues/1694)

### Bug Fixes

* Add check for MID and MIDB formula functions num_chars arguments, prevent panic on specifying a negative number, resolve issue [#1647](https://github.com/xuri/excelize/issues/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](https://github.com/xuri/excelize/issues/1658)
* Fixed panic on `AutoFilter` by adding nil pointer guard for local sheet ID, resolve issue [#1655](https://github.com/xuri/excelize/issues/1655)
* Fix corrupted workbooks generated when adding tables in some cases
* Fix incorrect time number format result, resolve issue [#1661](https://github.com/xuri/excelize/issues/1661)
* Supports getting formula string cell value, resolve issue [#1665](https://github.com/xuri/excelize/issues/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 [#1677](https://github.com/xuri/excelize/issues/1677)
* Fix updating a table's range by removing it and creating it again doesn't work, resolve issue [#1682](https://github.com/xuri/excelize/issues/1682)
* Fix a potential issue that stream reader temporary files can not be clear, resolve issue [#1680](https://github.com/xuri/excelize/issues/1680)
* Fix incorrect formula calculation result in some cases, resolve issue [#1681](https://github.com/xuri/excelize/issues/1681)
* Fix concurrency race conditions on get cell value, resolve issue [#1687](https://github.com/xuri/excelize/issues/1687)
* Fix some format missing on get style definition, resolve issue [#1708](https://github.com/xuri/excelize/issues/1708)
* Fix number format scientific notation zero fill issues, resolve issue [#1710](https://github.com/xuri/excelize/issues/1710)
* Fix panic on read workbook with internal row element without `r` attribute, resolve issue [#1723](https://github.com/xuri/excelize/issues/1723)
* Fix `GetCellRichText` returns error on getting inline rich text cells
* Fix invalid shared string table index on set cell value in some cases

### Performance

* Improves performance for adding and removing pivot table and images
* Reduce memory consumption by trimming the rows and cells, resolve issue [#1712](https://github.com/xuri/excelize/issues/1712)

### Miscellaneous

* The dependencies module has been updated
* Unit tests and godoc updated
* [Documentation website](https://xuri.me/excelize) 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)

0 comments on commit e6169fa

Please sign in to comment.