Hutool-5.8.8 发布,Java 工具集

时间:2022-09-29 15:41:35

Hutool-5.8.8 发布,Java 工具集

Hutool 是一个小而全的 Java 工具类库,提供众多工具方法,简化你的Java开发过程。

-------------------------------------------------------------------------------------------------------------------

Hutool 5.x进入常规bug修复阶段,在未来逐步将重心偏移在6.x版本中,感兴趣的用户可以关注v6-dev分支的动态。

6.x版本将更加注重整体的设计,重在做减法,也会有更加合理和详细的文档(当然这些都需要时间)

-------------------------------------------------------------------------------------------------------------------

????新特性

  • 【core 】 StreamUtil.of方法新增对 Iterator 支持;StreamUtil.of(Iterable) 方法优化(pr#807@Gitee)
  • 【core 】 增加.wgt格式的MimeType(pr#2617@Github)
  • 【core 】 EnumUtil.getBy增加带默认值重载(issue#I5RZU6@Gitee)
  • 【core 】 ModifierUtil和ReflectUtil增加removeFinalModify(pr#810@Gitee)
  • 【core 】 AbsCollValueMap添加removeValue和removeValues方法,用于list value值移除(pr#813@Gitee)
  • 【extra 】 hutool-extra ftp 支持上传文件或目录(pr#821@Gitee)
  • 【core 】 CharsetDetector增加默认识别的长度(issue#2547@Github)

????Bug修复

  • 【core 】 修复FileNameUtil.cleanInvalid无法去除换行符问题(issue#I5RMZV@Gitee)
  • 【core 】 修复murmur3_32实现错误(pr#2616@Github)
  • 【core 】 修复PunyCode处理域名的问题(pr#2620@Github)
  • 【core 】 修复ObjectUtil.defaultIfNull去掉误加的deprecated(issue#I5SIZT@Gitee)
  • 【core 】 修复ReflectUtil 反射方法中桥接判断问题(issue#2625@Github)
  • 【poi 】 修复ExcelWriter导出List引起的个数混乱问题(issue#2627@Github)
  • 【poi 】 修复ExcelReader读取时间变成12小时形式问题(issue#I5Q1TW@Gitee)
  • 【db 】 修复DB工具分页查询的时候oracle数据库会把ROWNUM_也带出来问题(issue#2618@Github)
  • 【crypto 】 修复部分环境下使用 Bouncy Castle可能的JCE cannot authenticate the provider BC问题(issue#2631@Github)