Releases: codeclysm/extract
Releases · codeclysm/extract
Release 4.0.0
What's Changed
- Added more methods to FS interface. Prepare for release v4. by @cmaglie in #28
- Allow overwriting symlinks by @lugray in #26
- Zip permissions fixes by @chrissawer in #23
- Archive extraction bugfix by @cmaglie (thanks to @buglloc for the notification)
Full Changelog: v3.1.1...v4.0.0
Release 3.1.1
- Improved memory usage on decompression of .zip files.
Release 3.1.0
- Added support for
xz
andzstd
- Fixed bug in
FS
handling onextractor.Bz2
method
Switch to go.mod
v3.0.0 release v3 (#12)
Add Extractor struct
Merge pull request #6 from codeclysm/v3 Add Extractor struct
Support Buggy zip archives
There are archives in the wild made with buggy compressors that use backslash as path separator. The ZIP format explicitly denies the use of \ so we just replace it with slash /.
Moreover it seems that folders are stored as "files" but with a final \ in the filename, in this case we force directory creation even if the entry is stored as "file".
Lock dependencies
v2.1.0 Use dep for dependencies
Use context for cancelation
v2.0.0 Added 100% coverage test for cancelableReader
Add Archive function to infer type from stream
Thanks to @AlessandroSanino1994 who provided most of the code
Fix permission issue
Sometimes folders in zip files don't have the proper permissions, so the extraction fails.