You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alpha 9 introduces some new features, and also important fixes and optimizations, especially related to FileSystems and tar archives.
⚠️This release has some breaking changes to the API, but fairly minor all things considered. Be advised that the next release may have a new package name: archives. See #427.
Using fs.WalkDir() is now much faster when walking large tar archives.
A FileSystem can be created from a stream instead of just a file name (but the stream must be a Reader, ReaderAt, and Seeker).
Added lzip compression.
Renamed CompressedArchive to Archive since compression is optional.
Split Archival into Archival and Extraction, since not all archive formats can archive (some, like rar and 7z, can only extract).
Removed the filename filter argument from Extract() since it was mostly pointless and even confusing.
Brotli-compressed files can now be identified by their stream, maybe... sometimes (it's worth a shot; brotli has no notable magic number or header so we just try our best).
Removed ErrStopWalk in favor of fs.SkipAll which is apparently the same thing
Renamed ErrNoMatch to NoMatch since it is a sentinel (error) value and not an actual error.
What's Changed
Bugfix: Tar files created in their target directory shouldn't recurse infinitely by @drewstinnett in #384
zlib format incorrectly matches on ASCII files starting with the letter x by @dpgarrick in #386
Option to use number for user and/or group names by @breezerider in #385
Fix create archive to a continuous writing source file failed by @halfcrazy in #388
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v4.0.0-alpha.8→v4.0.0-alpha.9Release Notes
mholt/archiver (github.com/mholt/archiver/v4)
v4.0.0-alpha.9Compare Source
Alpha 9 introduces some new features, and also important fixes and optimizations, especially related to FileSystems and tar archives.
archives. See #427.fs.WalkDir()is now much faster when walking large tar archives.FileSystemcan be created from a stream instead of just a file name (but the stream must be a Reader, ReaderAt, and Seeker).CompressedArchivetoArchivesince compression is optional.ArchivalintoArchivalandExtraction, since not all archive formats can archive (some, like rar and 7z, can only extract).Extract()since it was mostly pointless and even confusing.ErrStopWalkin favor offs.SkipAllwhich is apparently the same thingErrNoMatchtoNoMatchsince it is a sentinel (error) value and not an actual error.What's Changed
New Contributors
Full Changelog: mholt/archiver@v4.0.0-alpha.8...v4.0.0-alpha.9
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.