Hutool 39 New [best]
import cn.hutool.core.io.file.FileReader; import cn.hutool.core.util.StrUtil; import cn.hutool.json.JsonUtil; import cn.hutool.crypto.symmetric.AesGcm;
: Developers can now explicitly configure timeout durations for AI-related functions to ensure application stability. Core & Utility Enhancements
Db 模块新增了 。
<dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.8.0</version> </dependency>
Removes jwt.jar (400KB) from your dependencies and provides a fluent API consistent with Hutool's design. hutool 39 new
StrUtil.subBetween() now returns null (instead of empty string) when the delimiters aren’t found. This aligns with “absent” semantics. A quick grep of your codebase will catch any affected calls.
// String utilities boolean isBlank = StrUtil.isBlank(" "); System.out.println(isBlank); // true import cn
Hutool provides a migration guide with an automated script (in /bin/migrate-to-6.sh ).
// AES-GCM encryption var aes = new AesGcm("1234567890123456".getBytes()); var encrypted = aes.encrypt("Secret".getBytes()); This aligns with “absent” semantics
Parsing data across web environments demands reliable data mapping. Hutool 3.9 drastically stabilizes the hutool-json module, reducing technical friction when building APIs or interacting with unstructured datastores. 1. Robust Document Processing



