Releases: CalebQ42/squashfs
Releases · CalebQ42/squashfs
Fix stray println
What's Changed
- fix: remove stray println by @willmurphyscode in #31
New Contributors
- @willmurphyscode made their first contribution in #31
Full Changelog: v1.0.3...v1.0.4
Bug fix
Offset
Improved performance
Improved extraction performance slightly by changing some pointers to normal values.
v1.0.0
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 namedsquashfslow
- 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
- This library is located at
- 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
- Allow setting how many goroutines are used during extraction, with defaults based on
Sparse Fragments?
Additional fix
Applied fix from v0.8.2
to file's Read
in additional to WriteTo
Fix sub blocksize sparse files
Fix #24
Fix
Large file fixes
This release has some minor breaking changes:
ExtractWithOptions
now uses a*ExtractionOptions
instead ofExtractionOptions
.DefaultOptions
now returns a pointer as well.ExtractionOptions.FolderPerm
is nowExtractionOptions.Perm
and is only used whenExtractionOptions.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
andExtractIgnorePermissions
for improved ease of use.