Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Latest commit

 

History

History
251 lines (195 loc) · 7.52 KB

CHANGELOG.md

File metadata and controls

251 lines (195 loc) · 7.52 KB

Change Log

All notable changes to this project will be documented in this file.

0.13.0 - 2022-04-16

Added

  • RandomAcessInputStream: Support java.nio.channels.FileChannel (#49)
    • add RandomAccessInputStream#getFileChannel

Fixed

  • RandomAccessInputStream: fix return value of RandomAccessInputStream#skip
    • return actual skip bytes

0.12.2 - 2022-03-01

Fixed

  • Fix Out of bound error, because of readFully wrongly increment position.(#53)

0.12.1 - 2022-02-28

Fixed

  • RrandomAccessInputStream return wrong postion() value after call read() at end of file.(#51)

0.12.0 - 2022-02-27

Changed

  • RandomAccessInputStream now buffering input from RandomAccessFile class(#48)

0.11.2 - 2022-02-05

Added

  • NIO aware methods to create objects
    • DictZipFiles.newDictZipInputStream
    • DictZipFiles.newDictZipOutputStream
    • DictZipFiles.newRandomAccessInputStream
    • DictZipFiles.newRandonAccessOutputStream
  • Move check methods to DictZipFiles class
    • DictZipFiles.checkDictZipInputStream
    • DictZipFiles.checkDictZipFile

Deprecated

  • Deprecate check methods in DictZipUtils class

0.11.1 - 2022-01-30

Added

  • Support mark/reset method in DictZipInputStream(#43)

0.11.0 - 2022-01-30

Fixed

  • Fix EOFException on some archive when read(#42)

Changed

  • Introduce length and position method that return size and content position as long
    • DictZipInputStream#length
    • DictZipInputStream#position
    • RandomAccessInputStream#position
    • RandomAccessOutputStream#position

Deprecated

  • RandomAccessInputStream#getPos method that return int.

0.10.3 - 2022-01-18

Fixed

  • Release actions script
  • Fix test case to pass when external dictzip does not exist

0.10.0 - 2022-01-18

Fixed

  • DictZipOutputStream to produce good archive.(#38) all old versions of dictzip-java produce broken archive.

Changed

  • Bump [email protected]
  • Bump [email protected]
  • generate version property by gradle
  • reorganize test utility library
  • Add test cases for DictZipOutputStream class.
  • test: move to JUnit5
  • Enable header CRC check
  • Bump actions/[email protected]
  • Use actions gradle/gradle-build-action@v2

Removed

  • Artifact upload on actions page

0.9.5 - 2021-03-20

Changed

  • Publish to sonatype/OSSRH
  • Fix POM package name and jar name

0.9.2 - 2021-03-13

Changed

  • Change group ID to 'io.github.dictzip'
  • Publish to Github packages and Azure artifactory
  • Github actions: publish and release to Github packages
  • Change gradle versioning plugin
  • Gradle: bump to gradle 6.8.3

Fixed

  • Fix project github url

Removed

  • Github actions: don't upload to bintray
  • good-bye to travis-ci

0.9.1 - 2020-05-13

Fixed

  • Gradle: JavadocJar and SourcesJar generation configuration.
  • Github Actions: fix tag release script.

0.9.0 - 2020-05-12

Added

  • Github Actions: Automate making release and upload artifacts.
  • Github Actions: Upload bintray when tag release automatically.

Removed

  • Gradle: Key signing. Now release file are signed by could service.

Changed

  • Gradle: Automatically detect a version from git tag.
  • Gradle: Bump Gradle to 5.6.3
  • Gradle: Consolidate gradle build script.

0.8.2 - 2016-10-16

Fixed

  • Fix a coding Style warning for DictZipInputStream
  • Test fix for header comparison range.

Changed

0.8.1 - 2016-4-29

Fixed

  • Gradle: github and bintray release error.
  • [#21] fixed unexpected EOFException when readFully() called after seek().

0.8.0 - 2016-4-29

Add

  • More javadoc description. Complete for library APIs.

Changed

  • DictZipHeader.setHeaderCRC() argument become final.
  • DictZipFileUtils class become final.
  • CLI: drop -S -E arugment.
  • CLI: support -s/-e hex(0xAAAA) and octet(0777) numbers.
  • CLI: update man page according to option changes.
  • Manpage description.
  • CLI: start script is now 'dictzip' and 'dictzip.bat', all small caps.

Fixed

  • Generate Maven POM with a proper groupId.
  • DictZipInputStream: copy buffer with offset by System.copyarray().
  • CLI: Enable -t --test functionarity.
  • CLI: Fix --version not working.
  • CLI: Fix all coding style warnings.

0.7.0 - 2016-4-25

Add

  • Add test option for DictZip CLI.
  • Add DictZipInputStream consructor that get a filename as argument.
  • More tests.

Changed

  • Default buffer size in the DictZipInputStream was changed to 8192 byte from 512 byte as same as java.io.BufferedInputStream.
  • Test static utility isFileBinaryEquals becomes an external library.

Fixed

  • Check return value of InputStream.skip() method in the utility method for test.

0.6.1 - 2016-4-12

Fixed

  • CLI: test compile error because DictZipFileUtils is package private, but cli test depends on it. We add a utility method on test class.

0.6.0 - 2016-4-10

Add

  • gradle.properties.template You need to copy to gradle.properties and edit its configuration.
  • [#8] Support -# --fast --best option in CLI.
  • DictZipHeader.getExtraFlag() method.

Changed

  • [#3] License changed to GPL2++classpath(lib) exception and GPL3(CLI)
  • We have now dictzip-lib and dictzip-cli subprojects.
  • Target jars become dictzip-lib.jar and dictzip-cli.jar
  • [#2] Now this is a Gradle project.
  • Reorganize file structures on Maven rules.
  • Command script by Gradle.
  • Delete external libraries. Now gradle will download it.
  • README: add build procedure, contribution and copyright.
  • Coding style checks by checkstyle 6.16.1
  • DictZip header information API through DictZipInputStream.

Fixed

  • [#7] Fix DictZipInputStream.seek().Previous all releases are broken.
  • [#5] Fix coding styles and potential problematic codes.

0.5.0 - 2016-03-21

Added

  • [#1] Command line tool subproject.
  • CHANGELOG.md file.

Changed

  • DictZipHeader interface.
  • DictZipOutputStream constructor interface.

Fixed

  • Broken output features in previous releases.

0.0.2 - 2016-03-06

Added

  • Readme document.

0.0.1 - 2016-02-28

Added

  • Start project.