Skip to content

Releases: javadev/underscore-java

Version 1.23

02 Feb 06:44
Compare
Choose a tag to compare
  • Moved push(), pop(), shift() and unshift() to the underscore library.
  • Removed each and print support from template.

Version 1.22

02 Jan 07:20
Compare
Choose a tag to compare
  • Added support for the $.sortWith(list, comparator) method.

Version 1.21

01 Dec 03:24
Compare
Choose a tag to compare
  • Added methods firstOrNull(list), firstOrNull(list, pred), lastOrNull(list) and lastOrNull(list, pred) for chain.
  • Added methods $.checkNotNull(), Optional.map(function1) and Optional.orThrow(function).
  • Changed newHashSet with newLinkedHashSet for uniq/distinct methods.
  • Added lastIndex(array), distinct(array) and distinctBy(array, func) methods.
  • Added support for the $.chain(int[]) and $.map(int[], function) methods.

Version 1.20

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

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

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

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

01 Jul 01:43
Compare
Choose a tag to compare
  • Added $.memoize(function) method.
  • Added support for the get(object, path) method in lodash plugin.

Version 1.15

01 Jun 06:03
Compare
Choose a tag to compare
  • Made max parameter inclusive in random method.
  • Added $.random(int max) method support.

Version 1.14

03 May 10:25
Compare
Choose a tag to compare
  • Added new methods: first(list, predicate), firstOrNull(list),
    firstOrNull(list, predicate), last(list, predicate), lastOrNull(list),
    lastOrNull(list, predicate).