Releases: javadev/underscore-java
Releases · javadev/underscore-java
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().
Version 1.10
- Removed redundant type casting
- Added support for the toJsonJavaString() method in string plugin
- Added support for the fromXml() method in string and lodash plugins
- Fixed max password length in uniquePassword() method
- Added examples for methods intersection, xor, snakeCase, chaining, fromXml and fromJson
Version 1.9
- Improved toJson() method in string and lodash plugins
- Added support for the uniquePassword() to generate 8-15 length passwords
- Improved return types in chain() methods
- Improved escape/unescape methods
- Added java8 unit test examples
Version 1.8
- Added methods fromNullable(), or() and orNull() for the Optional class
- Added support for the toXml() method in string and lodash plugins
- Fixed unicode parser in string and lodash plugins
- Added support for the methods upperFirst and lowerFirst in string and lodash plugins
- Fixed compiler warnings
Version 1.7
- Added support for the range() methods in chain()
- Added support for the method sum(array, function) in math and lodash plugins
- Added chain methods in lodash, math and string plugins
- Added support for better formatting in toJson() method in string and lodash plugins
- Added support for the cyrillic characters in words() method in string and lodash plugins
Version 1.6
- Added support for the method chunk(array, size)
- Added support for the method name in where() and findWhere() methods
- Added support for the methods toJson() and fromJson() in lodash and string plugins
- Added support for the object and chain methods invoke(), pluck(), where(), findWhere(), max() and min()
- Added read class data by method name into pluck()