Skip to content

Commit

Permalink
feat: add update.md (#153)
Browse files Browse the repository at this point in the history
* feat: update pom.xml

* refactor: refactor code style

* refactor: Remove Redundant Validation in File Encryption Process

* refactor: Remove Redundant Validation in File Encryption Process

* refactor: refactor code-style

* fix: fix typo by @tanpenggood in 3432

* bug: fix Mismatch Between Error Messages and Actual Issues by @jackfanwan in 3383

* feat: add update.md

* feat: add update.md
  • Loading branch information
psxjoy authored Dec 23, 2024
1 parent 048cc93 commit 2e10c3b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
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`,可能会产生的堆栈溢出问题;
- 【优化】增加报错内容详细信息;
- 【优化】更新代码格式和部分错别字。

0 comments on commit 2e10c3b

Please sign in to comment.