v1.1.0 - API Enhancements & Memory Optimizations
New Features
readlines()andwritelines()- Bulk line operations forAsyncGzipTextFile, improving compatibility with standard file APIsnameproperty - Access the underlying filename on bothAsyncGzipBinaryFileandAsyncGzipTextFile- Runtime checkable protocols -
AsyncGzipBinaryFileProtocolandAsyncGzipTextFileProtocolnow supportisinstance()checks
Performance & Memory
__slots__on both file classes for reduced memory footprint- Cookie cache eviction - Prevents unbounded memory growth during extensive seek operations
- Configurable buffer threshold -
BUFFER_COMPACTION_THRESHOLDclass constant
Quality
- Test coverage improved: 85% → 88% (253 tests)
- CI coverage reporting via py-cov-action
Full Changelog: https://github.com/geoff-davis/aiogzip/blob/main/CHANGELOG.md