Hutool 39 New < 2026 Release >

Map<String, Object> merged = MapUtil.merge(mapA, mapB);

| Area | 5.x | 6.x | |------|-----|-----| | Minimum JDK | 8 | 17 | | DateTime | Mutable | Immutable (better thread safety) | | DateUtil | Some methods return new objects | Consistent immutability | | SecureUtil | Many deprecated methods removed | Use KeyUtil , Crypto classes instead | | IoUtil | close() quietly | Throws IOException (no more swallowing) |

Support has been added for Doubao and Grok text-to-image interfaces. Additionally, Doubao now supports video generation via specific model configurations.

DateUtil.parse() now handles and UTC offsets like 2025-03-15T14:30:45.123456789+05:30 . hutool 39 new

// Verification Claims claims = JwtUtil.parse(token).verify("mySecret").getClaims();

: Version 5.8.39 is part of the long-term stable v5-master branch, ensuring it is ready for production environments. Implementation

Security is a top priority in Hutool 5.8.0. The library now supports additional cryptographic algorithms, including: Map&lt;String, Object&gt; merged = MapUtil

Moreover, the adoption of JDK 21 virtual threads future-proofs your codebase. The migration effort is minimal (1-2 hours for a medium-sized project), and the performance gains are immediate.

A: Visit hutool.cn/docs/#/changelog and search for "6.0.0.M39".

Addressed specific edge cases where JSONUtil might fail to parse certain complex or malformed JSON structures correctly. Impact: This improves compatibility when consuming APIs that return non-standard JSON formats, preventing unexpected crashes in data ingestion pipelines. // Verification Claims claims = JwtUtil

The old SecureUtil.md5() (deprecated) is replaced by – the winner of the Password Hashing Competition:

// Before: Type erasure hell List<Map<String, Integer>> list = JSONUtil.toBean(jsonStr, new TypeReference<>() {});