Skip to content

Releases: javadev/underscore-java17

Version 1.25

01 Jul 02:20
Compare
Choose a tag to compare
  • Added set(path, value) for chain.
  • Added Optional.toJavaOptional(), changed Optional.toString().
  • Formated source codes.

Version 1.24

01 Jun 02:47
Compare
Choose a tag to compare
  • 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

09 May 08:59
Compare
Choose a tag to compare
  • Added U.mapMulti(list, mapper) method.

Version 1.22

01 Apr 05:12
Compare
Choose a tag to compare
  • Added new mode REPLACE_NULL_WITH_EMPTY_VALUE to the U.jsonToXml().

Version 1.21

01 Mar 04:02
Compare
Choose a tag to compare
  • 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

01 Feb 01:48
Compare
Choose a tag to compare
  • Added new mode for jsonToXml() method FORCE_ATTRIBUTE_USAGE.

Version 1.19

01 Jan 03:49
Compare
Choose a tag to compare
  • 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

01 Dec 04:06
Compare
Choose a tag to compare
  • Replaced anonymous classes with lambda

Version 1.16

01 Oct 01:57
Compare
Choose a tag to compare
  • 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

08 Sep 14:35
Compare
Choose a tag to compare
  • Fixed format(pattern, values) with a backslash.
  • Added minimumDays(rows, columns, grid) method.
  • Added U.topNCompetitors(numCompetitors, topNCompetitors, competitors, numReviews, reviews) method.