Skip to content

Releases: CalebQ42/zig-squashfs

Xattr & cleaner code

Xattr & cleaner code Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Mar 11:18
  • 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 -Dvalgrind build flag with -Ddebug that enables several build options that help with debugging.
  • Replaced -Duse_c_libs build 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

v0.0.5 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Mar 04:39
  • Add more explicit Allocator arguments to many functions. Previously the library would largely use the Archive'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 ExtractionOptions public.
  • Moved setting thread count to ExtractionOptions instead of when creating an Archive.
    • To facilitate this, Default is now a function that returns an error union (VerboseDefault now also returns an error union)
    • There's now a SingleThreadedDefault option.
  • Removed initAdvanced in favor of just init.

Full Changelog: v0.0.3...v0.0.5

v0.0.3

v0.0.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Feb 07:38
  • unsquashfs verbose flag

Full Changelog: v0.0.2...v0.0.3

v0.0.2

v0.0.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Feb 14:59
  • File/folder mod times are now set when extracted.
  • Fixed files not being closed properly causing FD quota errors.

Initial Release

Initial Release Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Feb 10:33
  • unsquashfs should mostly work, but it's arguments are limited to just -d and -o right now.
    • Further limitation are listed in the README.