Releases: javadev/underscore-java17
Releases · javadev/underscore-java17
Version 1.30
- Fixed encoding problem for POST and PUT requests.
- Added fetch with retry.
- Added FetchResponse.jsonMap(), FetchResponse.xmlMap() and ObjectBuilder.addMap(map) methods.
- Added methods U.objectBuilder().addNull("Key") and U.arrayBuilder().addNull().
- Fixed sonar warnings.
- Migrated to junit 5.
- Updated dependent libraries for spring-boot example.
- Added StringJoiner to generate json.
- Introduced methods U.downloadUrl(url, fileName) and U.decompressGzip(source, target).
Version 1.29
- Added method U.replaceNilWithNull(map).
Version 1.28
- Added U.objectBuilder().fromMap(map).
- Changed default format for json and xml with two spaces.
Version 1.27
- Added codeql analysis support.
- Added new mode FORCE_ADD_ROOT_JSON_TO_XML to the U.jsonToXml(json, mode, [newRootName]).
- Fixed warning Unsafe hostname verification
Version 1.26
- Added windows and sonar builds, added cache maven packages in github actions.
- Renamed com.github.underscore.U with com.github.underscore.Underscore.
- Added new mode REMOVE_FIRST_LEVEL_XML_TO_JSON to the U.xmlToJson() method.
Version 1.25
- Added set(path, value) for chain.
- Added Optional.toJavaOptional(), changed Optional.toString().
- Formated source codes.
Version 1.24
- Added toChain() method for object and array builder.
- Updated underscore.js with version 1.13.1.
- Added new modes REPLACE_EMPTY_TAG_WITH_NULL and REPLACE_EMPTY_TAG_WITH_EMPTY_STRING for the U.xmlToJson(xml).
- Added new mode REPLACE_EMPTY_STRING_WITH_EMPTY_VALUE to the U.jsonToXml(json).
- Added spring boot example.
- Improved github workflows.
Version 1.23
- Added U.mapMulti(list, mapper) method.
Version 1.22
- Added new mode REPLACE_NULL_WITH_EMPTY_VALUE to the U.jsonToXml().
Version 1.21
- Fixed Template should not fail when value has dollar.
- Improved \r escape in xml.
- Added new mode FORCE_ATTRIBUTE_USAGE_AND_DEFINE_ROOT_NAME to the U.jsonToXml().
- Improved unescape xml attributes.
- Added method U.jsonToXml(json, newRootName).