github chinabugotech/hutool 5.8.40

6 days ago

5.8.40(2025-08-26)

🐣新特性

  • 【captcha】 MathGenerator四则运算方式支持不生成负数结果(pr#1363@Gitee)
  • 【core 】 增加MapValueProviderRecordConverter并支持Record转换(issue#3985@Github)
  • 【core 】 CalendarUtil增加isSameYearcalendar方法(issue#3995@Github)
  • 【core 】 DateUtil增加yyyy-MM-dd'T'HH:mmXXX格式支持(pr#1367@Gitee)
  • 【core 】 MapUtil增加flatten方法(pr#1368@Gitee)
  • 【extra 】 getClientIP优先获取传入的请求头信息(pr#1373@Gitee)
  • 【db 】 增加Gbase8s驱动支持(issue#ICSFAM@Gitee)
  • 【db 】 增加TDSQL PostgreSQL版本、TDSQL-H LibraDB、Snowflake、Teradata 的驱动支持(pr#4024@Github)
  • 【core 】 EnumUtil增加缓存支持(pr#1376@Gitee)

🐞Bug修复

  • 【extra 】 Sftp``reconnectIfTimeout方法改为捕获所有异常(issue#3989@Github)
  • 【core 】 修复ChineseDate 闰年闰月节日获取问题(issue#ICL1BT@Gitee)
  • 【core 】 修复TreeBuilderappend重复向idTreeMap中put问题(pr#3992@Github)
  • 【extra 】 修复QLExpressEngineallowClassSet无效问题(issue#3994@Github)
  • 【core 】 修复StrBuilderinsert插入计算错误问题(issue#ICTSRZ@Gitee)
  • 【cron 】 修复CronPatternUtil.nextDateAfter计算下一个匹配表达式的日期时,计算错误问题(issue#4006@Github)
  • 【cache 】 ReentrantCache修改get逻辑key锁改为全局锁,保证安全(issue#4022@Github)
  • 【core 】 修复NumberWordFormatterformatSimple输出错误问题(pr#4034@Github)

Don't miss a new hutool release

NewReleases is sending notifications on new releases.