5.8.48(2026-09-26)
🐣新特性
- 【core 】
NumberUtil.toInt增加长度校验(pr#4289@Github) - 【core 】
FileUtil.subPath增加重载,可选是否追踪链接(issue#IK3K5Z@Gitee) - 【core 】 添加
Base85编码(pr#1474@Gitee)
🐞Bug修复
- 【ai 】 Set hasProxy in BaseConfig.setProxy so a directly-set proxy is not ignored(pr#4291@Github)
- 【ai 】 Serialize the streaming AI request body as UTF-8(pr#4294@Github)
- 【ai 】 Attach generationConfig to the Gemini chatJson request(pr#4295@Github)
- 【ai 】 Separate video parameter flag and value with a space(pr#4296@Github)
- 【core 】 修复
NumberUtil的range方法对step为0时未检查问题(pr#1463@Gitee) - 【socket 】 修复
ChannelUtil的前缀,修复为Hutool-socket-(pr#1457@Gitee) - 【ai 】 Merge additional config into the Doubao tokenization request(pr#4300@Github)
- 【ai 】 Ignore query string and fragment when detecting a media URL MIME type(pr#4299@Github)
- 【ai 】 Build the Gemini upload URL with the upload path, not the full base URL(pr#4298@Github)
- 【json 】 修复
JSONArray.toJSONObject数组越界问题(pr#1455@Gitee) - 【core 】 修复
ClassUtil.getShortClassName空指针问题(pr#1453@Gitee) - 【core 】 修复
Ftp.download文件下载失败0字节文件残留问题(pr#4305@Github) - 【core 】 修复
AnnotationUtil缓存key引起的缓存失效问题(issue#4310@Github) - 【core 】 修复
CsvParser.readLine()跳过注释字符时没有更新preChar问题(pr#4321@Github) - 【core 】 修复
CsvParser引号字段中连续\r的行号统计问题(pr#4324@Github) - 【core 】 修复
ReentrantCache双重检查返回空值问题(pr#4325@Github) - 【core 】 修复
CharSequenceUtil.replaceFirst在含增补字符时替换位置错误的问题(pr#4337@Github) - 【core 】 修复
Caesar.encode负偏移量抛出异常及非字母表字符被静默损坏问题(pr#4327@Github) - 【core 】 修复
Convert.toInstant转换目标类型写错、以及Map转LocalDateTime纳秒取错字段的问题(pr#4333@Github) - 【core 】 修复CRC16校验值随数据喂入方式变化的问题(pr#4335@Github)