Hutool 39 New
:修复了 ExcelPicUtil 中可能出现的空指针异常,提升了 Excel 读取与操作的健壮性。
:
: Simplified the process of sending files via HTTP.
// Aspect-oriented programming made simple with Hutool proxying SimpleAspect aspect = new SimpleAspect(); Cat cat = ProxyUtil.proxy(new Cat(), aspect); cat.eat(); Use code with caution. Advanced Collection & Stream Handling ( CollUtil ) hutool 39 new
: Added a callback parameter to Server-Sent Events (SSE) streaming functions to better handle real-time data flows from large language models.
Lacks specialty tools like or wire cutters . Organized case ensures you notice if a tool is missing.
The 3.9 series is thoroughly documented, making it easy for developers to integrate quickly. Conclusion Lacks specialty tools like or wire cutters
Adding to its robust DesensitizedUtil , Hutool now includes a specific method for passport number masking , making it easier to comply with data privacy regulations like GDPR.
Object serialization inside loops is optimized to recycle internal parser builders. This optimization results in lower garbage collection overhead during deep JSON tree traversals. Crypto Module Overhaul: Strengthened Security Utilities
Which you rely on most (e.g., core , http , crypto , or json ) Conclusion Adding to its robust DesensitizedUtil , Hutool
List<String> lines = new ArrayList<>(); try (BufferedReader br = new BufferedReader(new FileReader("data.txt"))) String line; while ((line = br.readLine()) != null) if (line.trim().length() > 0) lines.add(line.toUpperCase());
Highly efficient collection deduplication.
除了 AI 模块外, hutool-core 等多个核心模块也迎来了一些新功能与性能改进:
Let me start by checking existing documentation or changelogs for Hutool 3.9. Wait, the user might not provide it, so I'll have to assume based on common features that are typically added in library updates. Maybe they added some new utilities, improved existing ones, or enhanced performance. For example, perhaps there are new Date/Time utilities, better file handling, or improvements in Bean operations.
Hutool’s "Core" remains the heart of the library, and 5.8.39 introduces several "quality of life" features: