Skip to content

Releases: openstf/adbkit-apkreader

v3.1.2

17 Jan 16:19
Compare
Choose a tag to compare

3.1.2 (2019-01-18)

Fixes

  • Fixed a file reference leak when a ZIP-related error was encountered when reading an APK file. Thanks @harlentan!

v3.0.2

11 Jul 02:46
Compare
Choose a tag to compare

3.0.2 (2018-07-11)

Fixes

  • Fixed parsing of Chrome 68 Beta APK and other similar APKs with a missing XML namespace. Thanks @zr0827!

v2.1.0

01 Mar 07:38
Compare
Choose a tag to compare

2.1.0 (2017-03-01)

Enhancements

  • Added readContent(path) to read the raw content of any file. Thanks @LegNeato!
  • Exposed usingFileStream(path, action) that allows you to consume the contents of a file as a Stream. Useful for very large files.

Fixes

  • readXml(path) was unable to read any other file than AndroidManifest.xml due to an oversight. You can now read any file with it.

v2.0.0

24 Jan 08:49
Compare
Choose a tag to compare

2.0.0 (2017-01-24)

Breaking changes

It was discovered that our previous Zip parser, adm-zip, could not handle all valid Zip formats. We've therefore switched to yauzl which provides an asynchronous interface. Therefore the following breaking API changes were required:

  • Replaced ApkReader.readFile() with a Promise-returning ApkReader.open() which describes it better, and we have no way of supporting the previous synchronous method with the new dependency.
  • Replaced ApkReader.readManifestSync() with a Promise-returning ApkReader.readManifest() as we have no way of supporting the synchronous method with the new dependency.
  • Replaced ApkReader.readXmlSync() with a Promise-returning ApkReader.readXml() as we have no way of supporting the synchronous method with the new dependency.