Skip to content

feat: add update.md #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import cn.idev.excel.exception.ExcelCommonException;
import cn.idev.excel.read.metadata.ReadWorkbook;
import cn.idev.excel.util.StringUtils;

import lombok.Getter;
import org.apache.poi.EmptyFileException;
import org.apache.poi.util.IOUtils;

/**
Expand Down Expand Up @@ -87,6 +87,8 @@ public static ExcelTypeEnum valueOf(ReadWorkbook readWorkbook) {
return recognitionExcelType(inputStream);
} catch (ExcelCommonException e) {
throw e;
} catch (EmptyFileException e) {
throw new ExcelCommonException("The supplied file was empty (zero bytes long)");
} catch (Exception e) {
throw new ExcelCommonException(
"Convert excel format exception.You can try specifying the 'excelType' yourself", e);
Expand Down
9 changes: 9 additions & 0 deletions update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 1.1.0
此次升级主要修复历史 BUG,同时剔除了部分依赖库,保证 `MIT` 协议下的使用。

具体更新内容如下:
- 【改进】移除 `itext` 依赖库,将 `转换PDF` 功能迁移至新项目;
- 【修复】fill填充空数据,可能导致行数据错乱的问题;
- 【修复】打印CSV文件的 `hashcode`,可能会产生的堆栈溢出问题;
- 【优化】增加报错内容详细信息;
- 【优化】更新代码格式和部分错别字。
Loading