Releases: javadev/underscore-java
Releases · javadev/underscore-java
Version 1.20
- Added more checks for the limit(size) method in chain.
- Added support for the connectTimeout and readTimeout parameters in $.fetch() method, lodash plugin.
- Added xml() method to the FetchResponse.
Version 1.19
- Improved perfomance for
$.intersection(list1, list2) and $ .difference(list1, list2) methods. - Added forEach(inerator) and forEachRight(inerator) for chain.
- Improved $.join(iterable, separator) method.
- Improved
$.debounce(function, delay) method and added $ .throttle(function, wait) method.
Version 1.18
- Replaced call for guava collection objects with java collection objects.
- Added createPermutationWithRepetition method to the math plugin.
- Added ScheduledFuture return type support for the
$.defer(function) and $ .delay(function, delayMilliseconds) methods. - Added
$.fetch(url), $ .fetch(url, method, body) and $.fetch(url, method, body, headerFields) methods to the lodash plugin.
Version 1.17
- Added
$.push(values), $ .pop(),$.shift() and $ .unshift(values) methods to the lodash plugin. - Added
$.copyOf(), $ .copyOfRange(start, end),$.elementAt(index), $ .elementAtOrElse(index, defaultValue) and $.elementAtOrNull(index) methods support. - Changed argument type for the template.apply(map) method.
Version 1.16
- Added $.memoize(function) method.
- Added support for the get(object, path) method in lodash plugin.
Version 1.15
- Made max parameter inclusive in random method.
- Added $.random(int max) method support.
Version 1.14
- Added new methods: first(list, predicate), firstOrNull(list),
firstOrNull(list, predicate), last(list, predicate), lastOrNull(list),
lastOrNull(list, predicate).
Version 1.13
- Added support for the setTimeout(), clearTimeout(), setInterval() and clearInterval() methods.
Version 1.12
- Renamed trimLeft, trimRight, padLeft, padRight to the trimStart, trimEnd, padStart, padEnd in string and lodash plugins.
- Improved once(), after() and before() methods. They returned last stored result for now.
Version 1.11
- Added support for the toMap() method with list of tuples.
- Added compact() support for the chain().