Browse our Products

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

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

Release Highlights

Aspose.ZIP for Java 25.2 focuses on performance and metadata improvements during extraction. It introduces support for capturing modification timestamps, optimizes memory allocation and checksum validation, and simplifies password handling for encrypted 7z archives.

New Features

  • Preserve File Modification Time on Extraction
    • All major archive formats now support retrieving the original last modified timestamps, enhancing file system metadata fidelity.
  • Skip Checksum Validation Option
    • Developers can optionally bypass checksum verification to speed up extraction or handle corrupt archives more flexibly.

Enhancements

  • Encrypted Archive Password Handling
    • Unified password supply mechanism added for encrypted 7z archives and unknown formats via ArchiveFactory.
  • Optimized Checksum and Header Processing
    • Improved memory efficiency during archive loading and validation.
  • Improved Content Validation
    • Enhanced validation for Bzip2, Gzip, and Zstandard formats during extraction.

Bug Fixes

  • SevenZip Metadata Loss
    • Fixed issue where encrypted 7z entries failed to retain modification timestamps upon extraction.

Public API and Backward Incompatible Changes

  • Added Methods

    • CabEntry.getModificationTime()
    • IsoEntry.getModificationTime()
    • LhaArchiveEntry.getModificationTime()
    • TarEntry.getModificationTime()
    • WimEntry.getModificationTime()
    • XarEntry.getModificationTime()
    • ArchiveFactory.getArchive(InputStream, String)
    • ArchiveLoadOptions.getSkipChecksumVerification()
    • ArchiveLoadOptions.setSkipChecksumVerification(boolean)
  • Obsoleted Methods

    • LhaArchiveEntry.getLastModified() → use getModificationTime()
    • WimEntry.getLastModified() → use getModificationTime()
    • XarEntry.getLastModified() → use getModificationTime()

🔍 Explore the Full Release Details

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


checksum verification | modification time | 7z decryption | archive metadata | 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