-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare zh-hans docs for the next released version 2.9.0
- Loading branch information
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# Excelize v2.9.0 | ||
|
||
{{ book.info }} | ||
|
||
* 即将发布: 2024年 | ||
|
||
## 版本说明 | ||
|
||
此版本中最显著的变化包括: | ||
|
||
### 兼容性提示 | ||
|
||
* 将数据类型 `ConditionalFormatOptions` 中的字段 `Format` 修改为指针类型,解决 issue [#1867](https://github.com/xuri/excelize/issues/1867) | ||
|
||
### 新增功能 | ||
|
||
* 函数 `MergeCell` 合并单元格时将清除除合并区域左上角单元格之外其他单元格的值 | ||
* 函数 `AddDataValidation`、`DeleteDataValidation` 和 `GetCellStyle` 支持并发安全调用,相关 issues [#1825](https://github.com/xuri/excelize/issues/1825) 和 [#1903](https://github.com/xuri/excelize/issues/1903) | ||
* 获取数据验证函數 `GetDataValidations` 支持获取存储于扩展列表中的数据验证规则,相关 issue [#1835](https://github.com/xuri/excelize/issues/1835) | ||
* 设置工作表名称函数 `SetSheetName` 支持大小写敏感,相关 issue [#1856](https://github.com/xuri/excelize/issues/1856) | ||
* 函数 `GetPictureCells` 和 `GetPictures` 支持获取通过 IMAGE 公式函数添加的图片单元格和图片 | ||
* 新增 `PictureInsertType` 枚举类型,以支持表示图片被添加至单元格中的方式 | ||
* 在 `GraphicOptions` 数据类型中新增了 `AutoFitIgnoreAspect` 选项,支持以忽略原始纵横比例的方式将图片尺寸填充单元格 | ||
* 设置超链接函数 `SetCellHyperLink` 支持指定 linkType 为 `None` 以删除单元格超链接,相关 issue [#1940](https://github.com/xuri/excelize/issues/1940) | ||
|
||
### 兼容性提升 | ||
|
||
* 提升了读取带有对齐格式的数字格式单元格的兼容性,解决 issue [#1847](https://github.com/xuri/excelize/issues/1847) | ||
* 提升了对内部带有命名空间前缀的工作表部件的兼容性,解决 issue [#1886](https://github.com/xuri/excelize/issues/1886) | ||
* 提升了对内部带有绝对路径多媒体部件的兼容性,解决 issue [#1888](https://github.com/xuri/excelize/issues/1888) | ||
|
||
### 问题修复 | ||
|
||
* 修复 v2.8.1 中引入的问题,自动过滤器在 LibreOffice 中失效的问题,解决 issue [#1830](https://github.com/xuri/excelize/issues/1830) | ||
* 修复 v2.8.1 中引入的问题,删除行列时支持调整带有多重单元格引用的数据验证,解决 issue [#1831](https://github.com/xuri/excelize/issues/1831) | ||
* 修复 v2.8.1 中引入的问题,修复了复制行时,如果工作表中带有多重单元格引用的条件格式或数据验证,将返回错误的问题 | ||
* 修复 v2.8.1 中引入的问题,修复了多次保存时单元格的值设置有误的问题,解决 issue [#1906](https://github.com/xuri/excelize/issues/1906) | ||
* 修复 v2.8.1 中引入的问题,修复了迷你图预期外地出现在多张工作表中的问题,解决 issue [#1910](https://github.com/xuri/excelize/issues/1910) | ||
* 公式计算函数 `CalcCellValue` 支持计算带有矩阵参数的公式函数 ISNUMBER、OR 和 FIND,解决 issue [#1819](https://github.com/xuri/excelize/issues/1819) | ||
* 修复部分情况下公式计算函数 `CalcCellValue` 计算结果数值舍入精度有误的问题,解决 issue [#1851](https://github.com/xuri/excelize/issues/1851) | ||
* 修复部分情况下 `RemoveCol` 函数返回错误的问题,解决 issue [#1829](https://github.com/xuri/excelize/issues/1829) | ||
* 修复部分公式计算函数 DATE 的计算结果数据类型有误的问题,解决 issue [#1833](https://github.com/xuri/excelize/issues/1833) | ||
* 修复读取内部工作表部件中缺少 `r` 属性的工作簿时,出现 panic 的问题 | ||
* 修复部分情况下,插入行或列后,单元格公式中的括号出现丢失的问题,解决 issue [#1861](https://github.com/xuri/excelize/issues/1861) | ||
* 修复部分情况下,数据验证规则中的部分字符被不正确地转义问题 | ||
* 修复流式写入单元格的值时,部分字符无法正确显示的问题,解决 issue [#1865](https://github.com/xuri/excelize/issues/1865) | ||
* 保存工作簿时将对内部部件排序,以获得一致的文件哈希值和正确的互联网媒体类型,解决 issue [#1889](https://github.com/xuri/excelize/issues/1889) | ||
* 修复添加图表函数 `AddChart` 在组合图表中设置坐标轴格式失效的问题,解决 issue [#1921](https://github.com/xuri/excelize/issues/1921) | ||
* 修复添加图表函数 `AddChart` 设置图表主坐标轴标题位置有误的问题 | ||
* 修复添加图表函数 `AddChart` 设置垂直次坐标轴标题无法被正常显示的问题,解决 issue [#1926](https://github.com/xuri/excelize/issues/1926) | ||
|
||
### 性能优化 | ||
|
||
* 修复 v2.8.0 中引入的性能下降和内存占用增加问题 | ||
* 降低了按行获取全部单元格的值函数 `GetRows` 的内存占用,相关 issue [#1874](https://github.com/xuri/excelize/issues/1874) | ||
* 优化了索引转列名函数 `ColumnNumberToName` 的性能,最多降低内存占用 50%,耗时最多减少 50% | ||
|
||
### 其他 | ||
|
||
* Go Modules 依赖模块更新 | ||
* 单元测试与文档更新 | ||
* 包含简体中文、繁体中文、英语、法语、俄语、日语、韩语、阿拉伯语、德语和西班牙语的[多国语言文档网站](https://xuri.me/excelize)更新 | ||
|
||
### 致谢 | ||
|
||
感谢 Excelize 的所有贡献者,以下是为此版本提交代码的贡献者列表: | ||
|
||
* @mirgong (helloWorld) | ||
* @YueChenXu-Kimi (岳晨旭) | ||
* @JackMin1314 (陈王) | ||
* @paolobarbolini (Paolo Barbolini) | ||
* @iEvan-lhr (Evan lu) | ||
* @yetyear (yeahyear) | ||
* @ha5ky (hu5ky) | ||
* @lizhichao (vic) | ||
* @realzuojianxiang (realzuojianxiang) | ||
* @msackman (Matthew Sackman) | ||
* @yyle88 (yangyile-yyle88) | ||
* @yunkeweb (yunkeweb) | ||
* @iraj720 (Nima) | ||
* @jianxinhou | ||
* @barlevd | ||
* @18409615759 (nna) | ||
* @qijinkui (xiaokui) | ||
* @user1121114685 (联盟少侠) | ||
* @wangsongyan | ||
* @vsemichev (Vovka Morkovka) | ||
* @zhayt (Aybek) | ||
* @ShowerBandV (ShowerBandV) |