github dromara/hutool 5.8.6

latest releases: 5.8.27, 5.8.26, 5.8.25...
20 months ago

5.8.6 (2022-09-05)

❌不兼容特性

  • 【json 】 由于设计缺陷,导致JSONObject#write方法中Filter中key的泛型不得已变动为Object,以解决无法递归的bug(issue#I5OMSC@Gitee)

🐣新特性

  • 【core 】 CollUtil新增addIfAbsent方法(pr#750@Gitee)
  • 【core 】 DateUtil.parseUTC支持只有时分的格式(issue#I5M6DP@Gitee)
  • 【core 】 NumberUtil.parseInt忽略科学计数法(issue#I5M55F@Gitee)
  • 【core 】 IterUtil.getFirst优化(pr#753@Gitee)
  • 【core 】 增加Tree add 类型校验(pr#2542@Github)
  • 【core 】 增加PunyCode处理完整域名(pr#2543@Github)
  • 【core 】 增加替换字符串中第一个指定字符串和最后一个指定字符串方法(pr#2533@Github)
  • 【jwt 】 JWT补充部分算法(pr#2546@Github)
  • 【core 】 NumberUtil.roundStr() 修改为使用toPlainString(pr#775@Gitee)
  • 【extra 】 QrCodeUtil新增SVG格式、Ascii Art字符画格式(pr#763@Gitee)
  • 【jwt 】 JWTUtil的parseToken增加空值异常抛出(issue#I5OCQB@Gitee)
  • 【extra 】 resource.loader等过期参数替换(issue#2571@Github)
  • 【core 】 添加ObjectUtil的别名工具类ObjUtil
  • 【core 】 扩展LocalDateTimeUtil.isIn方法使用场景(pr#2589@Github)
  • 【core 】 MapUtil增加根据entry分组(pr#2591@Github)
  • 【core 】 优化 getProcessorCount 潜在的获取不到的问题(pr#792@Gitee)
  • 【core 】 ImgUtil增加sliceByRowsAndCols重载方法支持自定义图片格式(pr#793@Gitee)

🐞Bug修复

  • 【http 】 修复https下可能的Patch、Get请求失效问题(issue#I3Z3DH@Gitee)
  • 【core 】 修复RandomUtil#randomString 入参length为负数时报错问题(issue#2515@Github)
  • 【core 】 修复SecureUtil传入null的key抛出异常问题(pr#2521@Github)
  • 【core 】 修复UrlBuilder的toURI方法将url重复编码(issue#2503@Github)
  • 【core 】 修复CollUtil.lastIndexOf序号错误问题
  • 【core 】 修复zip被识别成jar和apk被识别成jar或zip的问题(pr#2548@Github)
  • 【core 】 修复UrlBuilder.addPath 方法传入非有效路径字符串时,会出现空指针异常的问题(issue#I5O4ML@Gitee)
  • 【core 】 修复FilterIter当参数filter为空时存在问题(issue#I5OG7U@Gitee)
  • 【poi 】 修复Excel读取提示信息错误(issue#I5OSFC@Gitee)
  • 【json 】 解决JSONObject#write无法递归的bug(issue#I5OMSC@Gitee)
  • 【json 】 修复DayOfWeek转json异常问题(issue#2572@Github)
  • 【extra 】 Ftp方法isDir和exist修复及改进(pr#2574@Github)
  • 【json 】 修复JSON反序列化时,引用字段类型的自定义JsonDeserializer无效(issue#2555@Github)

Don't miss a new hutool release

NewReleases is sending notifications on new releases.