Releasing jerry-core 3.0.0
Posted on 21 December 2016
I am happy to announce that exactly after an year of the last release, I have a new major release for jerry-core library: version 3.0.0. You may get hold of the library from Maven Central with the following coordinates:
<dependency>
<groupId>com.sangupta</groupId>
<artifactId>jerry-core</artifactId>
<version>3.0.0</version>
</dependency>
Following are the major changes in this release:
- Minimum supported JDK version is now 1.7 than earlier 1.6
- Upgraded the dependencies to the latest available versions
- Fixed a critical bug in
Base62Encoderwhere conflicting codes were being generated - this impacts if numbers encoded were both positive and negative. And thus this makes us bump up the major version - as theBase62Encoderis no longer compatible with codes generated with any of the previous versions
Other additions to the library include (and not limited to):
- Added
ResourceUtilsto read files from classpath including from packaged JARs - Added
StringArrayIteratorto iterate over a string array usingIterator - Added
IndentedStringWriterthat takes care of writing long indented text that breaks at a given line length - Added
count,removeAll,ltrim()andrtrim()methods toStringUtils - Updated
ReflectionUtilsto bind values to object-wrappers for primitives - Allow counter names to be read from
IntegerCounterandLongCounter - Added
SimpleMultiMap.numValues() - Added
StringUtils.wildcardMatch()method - Added
jitpack.ymlfor allowingjerry-corevia https://jitpack.io - Added
isJDK8()andisJDK9()methods toJDKUtils - Added
asMap()andclearmethods toIntegerCounterandLongCounter - Added
getNextSetBit()method toBitArrayand implementations - Added
AdvancedStringReaderand corresponding unit-tests
And lastly, the Javadocs have been updated heavily to add missing documentation and update the existing one to bring in more clarity.
Usage examples will be posted soon to this blog :)
Hope you find this release useful.