Browse our Products

<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-zip</artifactId>
    <version>25.4</version>
</dependency>
copied!  
                                                
                                                  compile(group: 'com.aspose', name: 'aspose-zip', version: '25.4')
                                                
                                              
copied!  
<dependency org="com.aspose" name="aspose-zip" rev="25.4">
    <artifact name="aspose-zip" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.aspose" % "aspose-zip" % "25.4"
copied!  

What’s new in the Aspose.ZIP for Java 25.4

Release Highlights

Aspose.ZIP for Java 25.4 introduces the ability to create .lz4 archives and supports one-step extraction of .tar.lz4 files. The release also enhances Unix file mode preservation for TAR and ZIP formats, reduces memory usage in LZMA decompression, and improves password validation for ZIP extraction.

New Features

  • Compose LZ4 Archives
    • Added methods to define source content and save .lz4 archives programmatically using Lz4Archive.

Enhancements

  • Unix File Mode Preservation
    • File permissions are now stored in TAR headers and retained for both TAR and ZIP formats on Unix systems.
  • Efficient TAR.LZ4 Extraction
    • Introduced Tar.fromLZ4() method to directly unpack .tar.lz4 archives.
  • Optimized Memory Usage
    • Reduced memory allocation during LZMA decompression of 7z files.
  • Improved Commentary Grammar
    • Corrected textual output and in-archive metadata for clearer documentation.

Bug Fixes

  • ZIP Password Validation
    • Passwords are now verified before decompression for traditionally encrypted ZIP files, preventing indefinite blocking.
  • PPMD Compressed ZIP Blockage
    • Fixed issue causing application to hang when processing ZIPs with PPMD compression.

Public API and Backward Incompatible Changes

  • Added Methods
    • Lz4Archive.setSource(...) — Sets the input source for .lz4 archive creation.
    • Lz4Archive.save(...) — Saves the archive to a stream or file.
    • Tar.fromLZ4(...) — Extracts .tar.lz4 archive in a single operation.

🔍 Explore the Full Release Details

For full list of updates, please visit Aspose.ZIP for Java 25.4 Release Notes.


lz4 compression | tar.lz4 extraction | unix file permissions | zip password protection | aspose.zip for java

VersionRelease Date
25.5May 14, 2025
25.4April 30, 2025
25.3March 27, 2025
25.2February 28, 2025
25.1January 31, 2025
24.12December 19, 2024
24.11November 29, 2024
24.10October 30, 2024
24.9September 30, 2024
24.8August 30, 2024
24.7July 31, 2024
24.6June 29, 2024
24.5May 14, 2024
24.4April 25, 2024
24.3March 29, 2024
24.2March 11, 2024
24.1January 31, 2024
23.12December 22, 2023