Releases: javadev/underscore-java17
Releases · javadev/underscore-java17
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).
Version 1.20
- Added new mode for jsonToXml() method FORCE_ATTRIBUTE_USAGE.
Version 1.19
- Added new mode REPLACE_EMPTY_VALUE_WITH_NULL to the U.xmlToJson() method.
- Added remove(path) and clear() for object and array builder.
Version 1.18
- Replaced anonymous classes with lambda
Version 1.16
- Added U.xmlToJson("<a/>", U.Mode.REPLACE_SELF_CLOSING_WITH_EMPTY).
- Introduced U.of(1, 2, 3) // or java.util.Arrays.asList(1, 2, 3) or new Integer[] {1, 2, 3} and toList().
- Fixed initialization error.
Version 1.15
- Fixed format(pattern, values) with a backslash.
- Added minimumDays(rows, columns, grid) method.
- Added U.topNCompetitors(numCompetitors, topNCompetitors, competitors, numReviews, reviews) method.