Commit Graph

2712 Commits

Author SHA1 Message Date
Looly
d0a2b90c55 prepare 5.8.13 2023-02-09 21:23:56 +08:00
Looly
9dbdf1423e 🍳release 5.8.12 2023-02-09 21:15:09 +08:00
Golden Looly
2169e33e61
Merge pull request #2889 from winlans/v5-dev
fix DateUtil.parseUTC
2023-02-09 20:33:44 +08:00
Looly
db108e1ca9 DateUtil.date方法统一修改规则,传入null返回null 2023-02-09 20:31:17 +08:00
Golden Looly
c64b38244b
Merge pull request #2877 from 847689421/v5-dev
修复DateUtil.date(java.time.temporal.TemporalAccessor)方法入参为null时报NullPointerException异常问题,调整为入参为null时return null
2023-02-09 20:06:20 +08:00
Golden Looly
a15cb6fed5
Merge pull request #2869 from zhaomoran/v5-master
修改注释:通过key获取的始终是同一对象和参数无关
2023-02-09 20:04:29 +08:00
Looly
771f0a4809 修复“sax方式读取excel2003版本,会调用两次doAfterAllAnalysed方法”问题 2023-02-09 19:43:49 +08:00
Looly
0e3cf48875
!919 修复“sax方式读取excel2003版本,会调用两次doAfterAllAnalysed方法”问题。
Merge pull request !919 from hellozrh/v5-dev
2023-02-09 11:37:01 +00:00
winlans
b710b83780 fix DateUtil.parseUTC 2023-02-09 19:28:53 +08:00
Looly
648a8e9443
!929 修复Ipv4Util.list()方法的bug
Merge pull request !929 from emptypoint/fix-bug-Ipv4Util
2023-02-09 11:06:25 +00:00
Looly
02e85a80e5 【重要】删除XmlUtil.readObjectFromXml方法,避免漏洞 2023-02-09 18:31:54 +08:00
mochouZero555
6a0ff8b4c3 IssueI6DDJ4,IoUtil.read()文档修复,读取完毕后关闭流 2023-02-08 09:04:24 +08:00
ZZemptypoint
1d1061eae6 fix bug Ipv4Util.list(String,String)方法生成的ip不全; 2023-02-04 21:44:59 +08:00
subin
aadd768c92 修复DateUtil.date(java.time.temporal.TemporalAccessor)方法入参为null时报NullPointerException异常问题,入参为null时return null 2023-02-01 17:31:52 +08:00
zhiqiang94@vip.qq.com
739a8382af 修复XmlUtil.toStr方法注释(omitXmlDeclaration表示为忽略 xml Declaration) 2023-02-01 17:27:39 +08:00
Looly
4450208e54 fix doc 2023-01-31 09:48:58 +08:00
mrzhao
baa782ea27
修改注释:通过key获取的始终是同一对象和参数无关 2023-01-29 11:39:26 +08:00
Golden Looly
02630160ce
Merge pull request #2864 from mcp2016/备注信息的错误修改
备注信息的错误修改
2023-01-19 11:39:06 +08:00
Golden Looly
36816bac59
Merge pull request #2865 from mcp2016/针对coll1为只读集合的补偿
针对CollUtil.subtract coll1 为只读集合的补偿
2023-01-19 11:37:37 +08:00
hellozrh
c9061f388c 调整方法注释,保证准确性。 2023-01-18 09:20:06 +08:00
hellozrh
c660d79bf2 解决excel读到时空白行rowHanler重复执行的问题。 2023-01-18 09:20:05 +08:00
Looly
9994083fe1 修复ClassScanner自定义classload无效问题 2023-01-17 17:30:45 +08:00
Looly
9183a9100e DesensitizedUtil增加对IPv4和IPv6支持 2023-01-17 17:07:18 +08:00
Looly
b958f9f9d2 修复IoUtil.readBytes使用SocketInputStream读取不完整问题 2023-01-17 16:40:45 +08:00
mcp
57ea3a31a3 cn.hutool.core.collection.CollUtil.subtract 针对 coll1 为只读集合的补偿 2023-01-17 16:29:43 +08:00
mcp
faf5994fe0 cn.hutool.core.bean.BeanUtil.isMatchName 备注信息的错误修改 2023-01-17 14:59:54 +08:00
Looly
b212fdc685 修复FileUtil的rename在newName与原文件夹名称一样时,文件夹会被删除问题 2023-01-15 11:35:31 +08:00
Golden Looly
c80fc89952
Merge pull request #2811 from bigbeef/v5-master
WGS84 坐标与墨卡托投影互转
2023-01-15 11:28:26 +08:00
Looly
9aef56a973 重构根据file magic number判断文件类型 2023-01-15 11:27:08 +08:00
Golden Looly
d5718240cc
Merge pull request #2834 from CherryRum/lin_dev
fix(FileTypeUtil): 重构根据file magic number判断文件类型
2023-01-15 11:23:25 +08:00
Looly
554b828745 XmlUtil.readObjectFromXml增加注入漏洞的警告注释,并标识为废弃 2023-01-15 11:08:09 +08:00
Looly
a0cba2fd55 修复HexUtil.isHexNumber()对"-"的判断问题 2023-01-15 11:01:28 +08:00
yulin
d67e1c567d fix(FileTypeUtil): 重构根据file magic number判断文件类型
1.重构多个Magic Number
2.根据单独类型匹配,修复某些文件跳位置对比
3.获取到文件Mime类型和后缀
4.获取文件流从28byte提升到64byte
5.添加精确匹配如docx、xlsx、pptx、doc、xls、ppt,精确匹配为8192byte(大小10k文件左右)
6.添加file magic number枚举

Closes https://github.com/dromara/hutool/issues/2821
2022-12-31 21:31:46 +08:00
Looly
09a2dc3807 prepare 5.8.12 2022-12-27 22:14:45 +08:00
Looly
61dbf0ffe2 🐧release 5.8.11 2022-12-27 22:02:14 +08:00
Looly
837489aa1a fix comment 2022-12-27 21:50:01 +08:00
Looly
582f9e7a8c 修复CoordinateUtil坐标转换参数错误 2022-12-27 21:40:59 +08:00
Looly
200c098b29 修复ConverterRegistry中无效加载导致的问题 2022-12-27 20:48:28 +08:00
Golden Looly
0cf4a8d6c1
Merge pull request #2816 from 847689421/v5-dev
BooleanUtil增加toString(Boolean bool, String trueString, String falseString, String nullString)方法
2022-12-27 20:25:27 +08:00
Looly
1e11bd5da5 修复IndexedComparator导致的数据错乱问题(ExcelWriter使用部分别名导致字段丢失) 2022-12-27 19:59:35 +08:00
Looly
b78657f67f 修复UrlBuilder中参数中包括"://"判断错误问题 2022-12-27 19:41:52 +08:00
大黄蜂coder
1950b783ab
修正20037508不不准确的问题 2022-12-26 17:08:36 +08:00
TomXin
0c31def7b8 修复Gitee issue #I66CIR 2022-12-21 17:16:13 +08:00
subin
d63d28106a BooleanUtil增加toString(Boolean bool, String trueString, String falseString, String nullString)方法 2022-12-19 22:18:16 +08:00
大黄蜂coder
bc306e56de
WGS84 坐标与墨卡托投影互转
WGS84 坐标与墨卡托投影互转
2022-12-15 18:24:46 +08:00
Looly
ecde508346 修复ZIP bomb漏洞 2022-12-14 16:29:39 +08:00
Looly
3346ef025b fix doc 2022-12-11 16:25:12 +08:00
Looly
0d495e34b3 修复getMultistageReverseProxyIp未去除空格问题 2022-12-05 23:42:00 +08:00
Looly
b0bfbd8ec3 修改PhoneUtil容易歧义的注释 2022-11-29 19:37:19 +08:00
Looly
c3470ab288 Merge branch 'v5-dev' of github.com:dromara/hutool into v5-dev 2022-11-28 10:26:38 +08:00