Releases: CalebQ42/zig-squashfs
Releases · CalebQ42/zig-squashfs
Release list
Xattr & cleaner code
- Added xattr extraction support.
- Added some flags to unsquashfs
--force- Currently this just deletes the extraction location before extracting.
-dx- Don't apply xattrs-dp- Don't apply file permissions.
- We are now using Zig packaged version of zlib-ng, lz4, and zstd.
- This should provide a more consistent build experience and allows for static linking.
- Lookup tables are now separated out into a separate struct, with the value being null by default in an
Archive.- This is to fix some race conditions when extracting.
- Replaced
-Dvalgrindbuild flag with-Ddebugthat enables several build options that help with debugging. - Replaced
-Duse_c_libsbuild flag with-Duse_zig_decomp, making using C libraries the default. - Did some cleanup so that the code should be more readable & logical.
Full Changelog: v0.0.5...v0.0.6
v0.0.5
- Add more explicit
Allocatorarguments to many functions. Previously the library would largely use theArchive's allocator. - Fixed a couple bugs relating to extraction
- Fixed bug from setting a file's modified time
- Fixed bug from multi-threading
WaitGroup
- Made
ExtractionOptionspublic. - Moved setting thread count to
ExtractionOptionsinstead of when creating anArchive.- To facilitate this,
Defaultis now a function that returns an error union (VerboseDefaultnow also returns an error union) - There's now a
SingleThreadedDefaultoption.
- To facilitate this,
- Removed
initAdvancedin favor of justinit.
Full Changelog: v0.0.3...v0.0.5
v0.0.3
v0.0.2
- File/folder mod times are now set when extracted.
- Fixed files not being closed properly causing FD quota errors.
Initial Release
unsquashfsshould mostly work, but it's arguments are limited to just-dand-oright now.- Further limitation are listed in the README.