Releases: javadev/underscore-java
Releases · javadev/underscore-java
Version 1.44
- Added sum method for array.
- Added U.filter() for iterable.
- Added support for U.nonNull(object).
- Added new chunk() and chunkFilter().
- Added methods U.singleOrNull(iterable) and U.singleOrNull(iterable, predicate).
- Added method U.cycle(iterable, times).
- Added method U.toCardinalityMap(iterable).
- Added U.interpose(iterable, element) and U.interposeByList(iterable, elements) methods.
- Added methods containsAtLeast(iterable, value, count) and containsAtMost(iterable, value, count).
- Added U.splitAt(iterable, position) method.
- Added U.repeat(element, times) method.
- Added U.binarySearch(iterable, value) method.
- Added U.first(iterable, pred, n) method and fix other U.first() methods.
- Improved U.fill(list, item), added U.fill(array, item) methods.
- Added U.average(iterable) and U.average(iterable, function) methods.
- Added U.explode(string) and U.implode(strings) methods.
- Added U.replace(iterable, predicate, value) and U.replaceIndexed() methods.
- Improved U.concat(iterables) method.
- Added U.takeSkipping(iterable, stepSize) method.
- Added U.subtract(values) method.
- Changed return value for methods U.range(stop), U.range(start, stop) and U.range(start, stop, step).
- Improved U.functions(object) method.
- Removed U.shortestPathAllKeys(grid).
Version 1.43
- Added support U.fromXml(xml) for format.
- Introduced U.defaultTo(value, defaultValue).
- Added U.isNotEmpty(interable).
Version 1.42
- Added U.shortestPathAllKeys(string[]).
- Fixed pmd warnings.
Version 1.41
- Added U.count(iterable, predicate).
- Fixed U.fromXmlWithoutNamespaces(string).
- Added check for #item in U.get(map).
Version 1.40
- Improved processing instruction node support.
- Improved external dtd processing in U.fromXml(string).
Version 1.39
- Improved format xml without header.
- Improved Euro generation in U.toXml(map).
- Improved standalone parser in xml header.
- Added Xml.fromXmlWithoutNamespaces(string).
- Added U.fromXmlWithoutAttributes(string) and U.fromXmlWithoutNamespacesAndAttributes(string).
- Added processing instruction node support.
Version 1.38
- Added self-closing xml element support.
- Improved nested array support.
- Added Optional.isEmpty().
- Improved support for xml with dtd.
- Improved U.every(list, pred).
Version 1.37
- Added ident support for U.xmlToJson(string) and U.jsonToXml(string).
- Improved support for text and comments in U.fromXml(string).
- Added U.formatXml(string) and U.formatJson(string) methods.
- Improved U.range(start, stop), updated underscore.js with version 1.91.
- Added sonarcloud support.
Version 1.36
- Merged math and string modules to the lodash package.
- Added attributes support for U.fromXml(string) and U.toXml(map).
- Improved escape in U.toXml(object).
- Added U.xmlToJson(string) and U.jsonToXml(string) methods in lodash.