Hutool 4.5.15 release, rectifies

Hutool is a Java toolkit, it is only a tool kit that helps us simplify every line of code, reducing each way for Java language can also be "sweet." It was originally a project of the "util" package of a sort, then slowly accumulate and adding more non-business-related functions, and extensive learning the essence of other open-source project, after finishing their own modifications, eventually forming a rich set of open source tools.

Hutool is Hu + tool of self coinage, homophonic "confused", meaning, the pursuit of "all things be foolish concept, the loss does not matter, it does not matter too" realm.

How Hutool change our way of coding

Hutool goal is to use a utility method instead of a complicated code to the maximum to avoid problems "cut and paste" code, to completely change the way we write the code.

To calculate MD5 as an example:

  • [Previously] open Baidu -> Search "Java MD5 Encryption" -> open a blog entry -> copy and paste -> easy to change to change
  • [Now] the introduction of Hutool -> SecureUtil.md5 ()

Similarly, when we want to achieve what functions, the head of the first thought is to find XXXUtil, rather than Baidu.

-----------------------------------------------------------------------------------

With Hutool more widely used, the problems exposed gradually to come out. However, "there is no silver bullet", there is no perfect bug-free project, the key is whether it can be repaired.

Recently, two friends questioned Hutool, stems from two bug, Hutool the day two bursts version fixes these bug. Although I was not happy, but looking back I thought, every open source project will inevitably encounter ups and downs on the road to development, and these ups and downs is a mature project a valuable asset.

Thanks to help every enthusiastic user to Hutool caused, and thank you for all kinds of criticism. Hutool strive to achieve rectifies, timely repair bug.

-----------------------------------------------------------------------------------

Bug Fixes
[extra] does not fix the problem JschUtil.exec execution named (issue # 405 @ Github)
[http] repair CookieManager global settings cause a conflict may exist, add custom GlobalCookieManager
[core] repair ZipUtil.zlib compression recognition (thanks @ [Shanghai] hourglass)
[log] to adjust the log module hierarchy, slf4j compatible with the API (issue # IY8DX @ Gitee)
[core] Convert.toXXX with default values into convertQuietly achieve, to avoid abnormal (issue # 403 @ Gitee)
[log] to solve the problem the wrong line number
[log] fix integer loss problem (issue # IY9OV @ Gitee) decimalFormatMoney in
[log] repair log module template does not determine whether or not the level of closed issue when splicing
[poi] to solve the three head operations character causes a type conversion issue (issue # 385 @ Github)
[core] resolve NumberUtil.decimalFormatMoney format error problem (issue # 391 @ Github)
[core] bug fix NumberUtil.decimalFormatMoney only integers (issue # IWKVL @ Gitee)
[] BloomFilter repair BitMapBloomFilter constructor bug (issue # IWMIN @ Gitee)
[extra] MailUtil.send method incoming Custom Setting failures (thanks @ [Shanghai] Kang)
[core] repair NetUtil.localIpv4s method name, instead localIps (issue # IWS2C @ Gitee)
[http] repair method HttpUtil.toParams not escape certain symbols issue (issue # 356 @ Github)
[repair] captcha code is blocked issue (issue # IWERW @ Gitee)
[poi] repair readBySax repeat problem (issue # IVKLQ @ Gitee)
[] fix the problem json JSON contains a timestamp that contains the date resulting in double quotes

New features
[poi] increase TableUtil
[http] HttpRequest increase setCookieManager method
error message when the [http] improved url error (thanks @ [Beijing] thumb)
[crypto] provides HmacSM3 support (issue # 396 @ Github)
[setting] SettingLoader add Genlock (issue # 396 @ Github)
[parse] json JSON string is removed on both sides of the blank character (string while solving problems bom (issue # 381 @ Github)
[poi] Sax parsing logic increases (issue closes the file after the exception # IXBOU @ Gitee)
[core] MapUtil increase get overloaded (typeReference) (issue # IXL81 @ Gitee)
[crypto] RC4 increase encryptHex and encryptBase64 method (issue # 387 @ Github)
[core] DateUtil.parse increased format (issue # 385 @ Github)
[core] increase CollUtil.containsAny (quiet thanks to [Beijing])
[core] increase CollUtil.keySet and values (issue # IXYQJ @ Gitee)
[core] DateUtil.parse method for identifying a time enhancement (issue # IWMM6 @ Gitee )
Files in the [Mail] extra optional accessory is empty (issue # 365 @ Github)
[] extra increase containsEmoji EmojiUtil method (pr # 373 @ Github)
[core] Convert.toDBC () increases null check (issue # 369 @ Github )
[extra] modify MailUtil logic, a single case of non-default mail client (issue # IWFRQ @ Gitee)
[core] modification Singleton singleton strategy, IdUtil increase getSnowflake (issue # IWA0G @ Gitee)
[core] increase RandomUtil. randomBoolean (issue # 351 @ Github)
[core] achieve increased Base62, Base62 class

Guess you like

Origin www.oschina.net/news/107735/hutool-4-5-15-released