Skip to content

Releases: javadev/underscore-java

Version 1.64

01 Mar 04:01
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.63

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

Version 1.62

01 Jan 03:48
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.61

01 Dec 03:57
Compare
Choose a tag to compare
  • Minimum java version is 1.8

Version 1.60

01 Nov 07:12
Compare
Choose a tag to compare
  • Added method U.objectBuilder().add("key", U.objectBuilder()).

Version 1.59

01 Oct 01:53
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.58

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

Version 1.57

01 Aug 03:28
Compare
Choose a tag to compare
  • Improved U.update(map1, map2).
  • Updated dependent libraries.

Version 1.56

03 Jul 03:15
Compare
Choose a tag to compare
  • Added U.changeXmlEncoding(xml, encoding).
  • Introduced U.setValue(map, key, newValue).
  • Added U.update(map1, map2).
  • Introduced methods U.gcd(value1, value2) and U.findGcd(value1, ... valuen).
  • Improved U.throttle().

Version 1.55

01 Jun 11:40
Compare
Choose a tag to compare
  • Added Trie class.
  • Fixed single cdata section generation in toXml().
  • Added U.rename(map, oldKey, newKey).