1 2XZ for Java release notes 3========================= 4 51.8 (2018-01-04) 6 7 * Fix a binary compatibility regression: XZ for Java 1.7 binaries 8 in the Maven Central require Java 9 which is too new. XZ for 9 Java 1.8 binaries require Java 5. (XZ for Java 1.6 and older 10 binaries require Java 1.4.) 11 12 If you are using OpenJDK 9 or later, you will need to edit the 13 "sourcever = 1.5" line in the file "build.properties" before 14 running "ant". Set it to 1.6 or higher. The default value 1.5 15 isn't supported by OpenJDK 9 or later. 16 17 * Add "Automatic-Module-Name" = "org.tukaani.xz". 18 191.7 (2017-12-29) 20 21 * Fix LZMA2InputStream.available() which could return a too high 22 value in case of uncompressed LZMA2 chunks. This incorrect 23 value was visible via other available() methods too, for example, 24 XZInputStream.available(). 25 26 * Add the ArrayCache API. It's a pool-like API to reuse large byte 27 and int arrays between compressor and decompressor instances. 28 If you are (de)compressing many tiny files in a row, taking 29 advantage of this API can improve performance significantly. 30 311.6 (2016-11-27) 32 33 * Fix LZMA2Options.getInputStream to work with a preset dictionary. 34 35 * Make it possible to disable verification of integrity checks in 36 XZ decompression. It should almost never be used but may be useful 37 in some rare situations. This feature is available via new 38 constructors in XZInputStream, SingleXZInputStream, and 39 SeekableXZInputStream. 40 41 * Add LZMAOutputStream for encoding to raw LZMA (i.e. LZMA1) streams 42 and to the legacy .lzma format. 43 441.5 (2014-03-08) 45 46 * Fix a wrong assertion in BCJ decoders. 47 48 * Use a field instead of reallocating a temporary one-byte buffer 49 in read() and write() implementations in several classes. 50 511.4 (2013-09-22) 52 53 * Add LZMAInputStream for decoding .lzma files and raw LZMA streams. 54 551.3 (2013-05-12) 56 57 * Fix a data corruption bug when flushing the LZMA2 encoder or 58 when using a preset dictionary. 59 60 * Make information about the XZ Block positions and sizes available 61 in SeekableXZInputStream by adding the following public functions: 62 - int getStreamCount() 63 - int getBlockCount() 64 - long getBlockPos(int blockNumber) 65 - long getBlockSize(int blockNumber) 66 - long getBlockCompPos(int blockNumber) 67 - long getBlockCompSize(int blockNumber) 68 - int getBlockCheckType(int blockNumber) 69 - int getBlockNumber(long pos) 70 - void seekToBlock(int blockNumber) 71 72 * Minor improvements to javadoc comments were made. 73 741.2 (2013-01-29) 75 76 * Use fields instead of reallocating frequently-needed temporary 77 objects in the LZMA encoder. 78 79 * Fix the contents of xz-${version}-sources.jar. 80 81 * Add OSGi attributes to xz.jar. 82 831.1 (2012-07-05) 84 85 * The depthLimit argument in the LZMA2Options constructor is 86 no longer ignored. 87 88 * LZMA2Options() can no longer throw UnsupportedOptionsException. 89 90 * Fix bugs in the preset dictionary support in the LZMA2 encoder. 91 921.0 (2011-10-22) 93 94 * The first stable release 95 96