github dromara/hutool 5.8.29

4 days ago

5.8.29(2024-07-03)

🐣新特性

  • 【core 】 DateUtil增加offsetYear方法
  • 【core 】 ListUtil增加move方法(issue#3603@Github)
  • 【core 】 CollUtil.subtract增加空判定(issue#3605@Github)
  • 【core 】 优化DateUtil.format(Date date, String format)接口效率(pr#1226@Gitee)
  • 【csv 】 CsvWriter.writeBeans增加重载,可选是否写出表头(issue#IA57W2@Gitee)
  • 【core 】 BetweenFormatter支持自定义设置单位(pr#1228@Gitee)
  • 【cache 】 Cache.put变更策略,对于替换的键值对,不清理队列(issue#3618@Github)
  • 【core 】 添加 Windows 资源管理器风格字符串比较器(pr#3620@Github)
  • 【core 】 Week.of支持中文名称(issue#3637@Github)
  • 【core 】 ThreadUtil.newExecutor等方法变更方法签名,返回值变更为ThreadPoolExecutor(pr#1230@Gitee)

🐞Bug修复

  • 【core 】 修复AnnotationUtil可能的空指针错误
  • 【core 】 修复BeanUtil.isBean判断Dict错误问题(issue#I9VTZG@Gitee)
  • 【core 】 修复VersionComparator传入空字符串报错问题(pr#3614@Github)
  • 【core 】 修复CaseInsensitiveLinkedMap顺序错误问题(issue#IA4K4F@Gitee)
  • 【core 】 修复DateUtil.offset空指针问题(issue#3617@Github)
  • 【core 】 修复PathMover.moveContent问题(issue#IA5Q8D@Gitee)
  • 【db 】 修复PooledConnection可能的数据库驱动未找到问题(issue#IA6EUQ@Gitee)
  • 【http 】 修复Mac下的微信浏览器被识别为移动端问题(issue#IA74K2@Gitee)
  • 【core 】 修复Tailer指定初始读取行数的计算错误问题(issue#IA77ML@Gitee)
  • 【http 】 修复getFileNameFromDisposition获取头错误问题(issue#3632@Github)
  • 【core 】 修复\n#出现在双引号中解析错误问题(issue#IA8WE0@Gitee)
  • 【core 】 修复FastDatePrinter处理YY错误问题(issue#3641@Github)

Don't miss a new hutool release

NewReleases is sending notifications on new releases.