• v1.0.1 2a33cad709

    CalebQ42 released this 2024-07-17 09:30:16 -05:00 | 65 commits to main since this release

    Improved extraction performance slightly by changing some pointers to normal values.

    Downloads
  • v1.0.0 e9de9e6ad4

    v1.0.0 Stable

    CalebQ42 released this 2023-12-28 00:03:14 -06:00 | 66 commits to main since this release

    This is the first version I'm considering "stable" (ish). I think most parts of the library is now in a stable enough spot that no changes to the actual API should be necessary from now on. This version does have some small changes to the API compared to v0.8.4, but it should be fairly easy to switch over.

    • Separated out the FUSE implementation into it's own library (as requested by #25).
    • Separated out a "low"-er level library from the main library.
      • This library is located at github.com/CalebQ42/squashfs/low and is named squashfslow
      • The main library is largely just a easier to use implementation of the low library.
      • This was necessary to expose a lot of information that's needed for the FUSE library without making the library overly complex for must use cases
    • Re-wrote a lot of the extraction code to fix lingering issues where CPU and RAM get completely devoured
      • Allow setting how many goroutines are used during extraction, with defaults based on runtime.NumCPU()
      • Added FastOptions() to attempt to extract archives as quick as possible
        • This will pin your CPU to 100% for the duration
      • This does seem to slightly improve extraction speed, but only marginally.
      • Fixed #27
    Downloads
  • v0.8.4 54d193a3df

    Sparse Fragments? Pre-Release

    CalebQ42 released this 2023-08-12 13:30:15 -05:00 | 79 commits to main since this release

    Added the ability for a fragment to be sparse (filled with zeroes). This is not documented as being possible, but as with #24 it might be possible and might be the cause of #22.

    Downloads
  • v0.8.3 a129b259be

    Additional fix Pre-Release

    CalebQ42 released this 2023-08-11 18:15:11 -05:00 | 80 commits to main since this release

    Applied fix from v0.8.2 to file's Read in additional to WriteTo

    Downloads
  • v0.8.2 87f7533a17

    CalebQ42 released this 2023-08-11 15:32:52 -05:00 | 81 commits to main since this release

    Fix #24

    Downloads
  • v0.8.1 7e1a584e8f

    Fix Pre-Release

    CalebQ42 released this 2023-04-17 11:40:15 -05:00 | 82 commits to main since this release

    Fixed an error not being reported correctly.

    Downloads
  • v0.8.0 942e0f770f

    Large file fixes Pre-Release

    CalebQ42 released this 2023-04-17 10:38:44 -05:00 | 83 commits to main since this release

    This release has some minor breaking changes:

    • ExtractWithOptions now uses a *ExtractionOptions instead of ExtractionOptions. DefaultOptions now returns a pointer as well.
    • ExtractionOptions.FolderPerm is now ExtractionOptions.Perm and is only used when ExtractionOptions.IgnorePerm is set.

    Fixes:

    • Extracting files is now properly limited. This prevents out of control memory usage when extracting larger archives.
    • Folder's permissions are only set after all it's contents are extracted.
      • Fixes issues relating to the user not having permission to write the folder's contents

    Other:

    • Added ExtractVerbose and ExtractIgnorePermissions for improved ease of use.
    Downloads
  • Ignore permissions Pre-Release

    CalebQ42 released this 2023-04-12 07:57:57 -05:00 | 89 commits to main since this release

    • You can now optionally ignore setting file permissions when extracting using ExtractionOptions.IgnorePerm.
      • Additionally, permissions are now properly set for files, symlinks, and devices.
    • Ignores Device files when on windows.
      • Fifo files are ignored on darwin (until someone else submits a PR for support as I don't have any knowledge on the OS)
    • Properly ignore socket files instead of throwing an error
      • From my research, there doesn't seem to be a good way to implement this. Open to suggestions or PRs.
    Downloads
  • Errors Pre-Release

    CalebQ42 released this 2023-04-11 00:34:43 -05:00 | 90 commits to main since this release

    Missed returning errors on File.ReadAt and File.WriteTo when trying to use them on a non-regular file.

    Downloads
  • CalebQ42 released this 2023-04-09 20:41:45 -05:00 | 92 commits to main since this release

    • Added untested support for device files (both character and block) and Fifo device files. (fixes #22)
    Downloads