-
-
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-tw 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) |