Releases: iyxan23/zipalign-java
v1.2.2 Release
This release addresses #14, a bug where zipalign-java could incorrectly identify a false EOCD header signature if the byte pattern appears before the EOCD itself (e.g. in variable-length comment, or even the file content itself). Now zipalign-java scans backwards instead to ensure it will never encounter fields that may contain the same byte pattern as the EOCD header signature.
Thank you to @wustwg for discovering the issue!
v1.2.1
v1.2.0 Release
Implement the ability for the function to be able to set a custom alignment for .so files whilst retaining compatibility with the older functions.
Old functions now align .so files in 16384-byte boundaries (16KiB) by default as required in newer Android 15+ versions.
Full Changelog: v1.1.3...v1.2.0
v1.1.3 Hotfix Release
Fixes an issue where most zips that doesn't need alignment to get corrupted (#11)
Thanks to @deroko for reporting the issue and providing a fix!
Full Changelog: v1.1.2...v1.1.3
v1.1.2 Hotfix Release
Merged a PR by @klecko: #9 which prevents overflowing from happening, because of an overlooked issue that comes with implementing aligning .so files. Big thanks to him!
Full Changelog: v1.1.1...v1.1.2
v1.1.1 Hotfix Release
Fixed the publication to jitpack, it apparently didn't include any jar files (weirdly no one seems to be complaining) ever since zipalign-java was first released (1.0.0).
And also huge thanks to @klecko for a patch where the parser wouldn't reset its position when encountering an .so file (#8).
Full Changelog: v1.1.0...v1.1.1
v1.1.0
Implemented aligning .so files in 4KiB page boundaries.
Full Changelog: v1.0.0...v1.1.0
v1.0.0 Release
The first release of zipalign-java.