我們很高興宣布 GroupDocs.Parser for .NET v26.10 已於 2026年10月 發佈。此版本引入了 .NET Framework 4.8 支援,棄用 .NET Framework 4.6.2,預設停用外部資源載入以提升安全性,並解決了 PDF 與 EML 檔案的文字提取問題。同時新增了 FileTypeFeatureSupport 方法,以增強特定格式功能的偵測。
此版本的新功能
- [Improvement] 開始 .NET Framework 462 轉換 - 新增
net48目標,棄用net462(PARSERNET-2934) - [Improvement] 對齊網路存取與外部資源載入稽核 (PARSERNET-2905)
- [Bug] 在從某些 PDF 提取文字時出現「Invalid font name」錯誤 (PARSERNET-2928)
- [Bug] 對於某些帶有「not signed」的 EML 檔案,文字提取失敗 (PARSERNET-2927)
- [Improvement] 新增 FileTypeFeatureSupport 方法 (PARSERNET-2932)
公開 API 變更
已在 GroupDocs.Parser.Options 命名空間中新增 FileTypeFeatureSupport 類別。
新功能
此版本未單獨列出新功能 — 改進已在 此版本的新功能 中說明。
程式碼範例
// Example: Check if a file type supports text extraction
var parser = new Parser("document.pdf");
var features = FileTypeFeatureSupport.Create(parser.FileType);
bool supportsText = features.Text;
如何取得更新
NuGet
透過 NuGet 升級至最新的 GroupDocs.Parser 套件: GroupDocs.Parser 26.10.0
安裝指令:
dotnet add package GroupDocs.Parser --version 26.10.0
直接下載
從 GroupDocs.Parser for .NET 26.10 Release Notes 頁面下載組件。