v0.7.0
Highlights
Security/integrity hardening and opt-in resource limits.
- Resource limits (keyword-only):
max_entries,max_entry_size,max_total_uncompressed_size, andmax_archive_size(streams) raising a newLimitExceededexception. - Integrity validation (from 0.6.1): fixes a decompression DoS, verifies CRC-32 / exact size / truncation, and extracts atomically.
- Reject unsupported compression methods (bzip2/lzma) with
NotImplementedErroron both paths. - Deprecate
unzip_stream(in_memory=True). - Top-level exports:
from async_unzip import unzip, unzip_stream, LimitExceeded.
See the README changelog for full 0.6.1 + 0.7.0 details.