Skip to content

Releases: mholt/archiver

v4.0.0-alpha.8

27 Apr 04:26
v4.0.0-alpha.8
de8cf22
Compare
Choose a tag to compare
v4.0.0-alpha.8 Pre-release
Pre-release

This release adds support for reading 7zip archives and contains several significant fixes. Thank you to all who contributed!

What's Changed

  • Retain underlying reader if it's an io.Seeker by @jhwz in #327
  • Enhance FilesFromDisk (close #331) by @mholt in #332
  • fs: Improve Open and Stat on ArchiveFS for streams by @mholt in #335
  • Fix nested directory listing for archives without explicit directory names. by @jeremyje in #339
  • Document caveats with compressed fs.FS by @WeidiDeng in #344
  • return zip.Reader in FileSystem if file is a zip file by @WeidiDeng in #349
  • ignore empty root dir name when compressing file by @WeidiDeng in #355
  • rewrite file matching for fs Open, ReadDir and Stat by @WeidiDeng in #354
  • add Archive method to SevenZip by @nikolaymatrosov in #364
  • zip: fix File.Open not working if called after zip.Extract completes by @ncw in #367
  • Allow Identify to take a nil io.Reader by @ncw in #370
  • Rework ArchiveAsync interface to make it return any archiving errors by @ncw in #369
  • Bump golang.org/x/text from 0.3.7 to 0.3.8 by @dependabot in #372

New Contributors

Full Changelog: v4.0.0-alpha.6...v4.0.0-alpha.8

v4.0.0-alpha.6

17 Mar 22:23
v4.0.0-alpha.6
dda6eaa
Compare
Choose a tag to compare
v4.0.0-alpha.6 Pre-release
Pre-release

This release focuses some attention on Identify(), which has a slightly modified signature; please adjust programs accordingly. It can now accept any io.Reader and no longer requires Seek(); however, it returns three values including a new Reader that can re-read the buffered bytes consumed during identification. Callers should use that returned Reader after calling Identify().

What's Changed

  • Fix for Identify() failing on empty and small files: by @congop in #319
  • Change Identify API to accept only an io.Reader by @jhwz in #322

New Contributors

Full Changelog: v4.0.0-alpha.5...v4.0.0-alpha.6

v4.0.0-alpha.5

01 Mar 21:30
v4.0.0-alpha.5
2efff02
Compare
Choose a tag to compare
v4.0.0-alpha.5 Pre-release
Pre-release

A couple minor enhancements (including ArchiveAsync()). Thanks for your participation and contributions!

Full Changelog: v4.0.0-alpha.4...v4.0.0-alpha.5

v4.0.0-alpha.4

22 Jan 23:58
v4.0.0-alpha.4
a44c8d2
Compare
Choose a tag to compare
v4.0.0-alpha.4 Pre-release
Pre-release

A few more bug fixes and enhancements. Thanks for your participation and contributions.

Full Changelog: v4.0.0-alpha.3...v4.0.0-alpha.4

v4.0.0-alpha.3

16 Jan 05:04
v4.0.0-alpha.3
808bd48
Compare
Choose a tag to compare
v4.0.0-alpha.3 Pre-release
Pre-release

Bug fixes and minor-moderate enhancements. Things are looking even better now! Thanks for your participation and contributions.

Full Changelog: https://github.com/mholt/archiver/compare/v4.0.0-alpha.2..v4.0.0-alpha.3

v4.0.0-alpha.2

11 Jan 16:59
v4.0.0-alpha.2
0448c6d
Compare
Choose a tag to compare
v4.0.0-alpha.2 Pre-release
Pre-release

A few enhancements and bug fixes.

v4.0.0-alpha.1

04 Jan 06:37
10c5080
Compare
Choose a tag to compare
v4.0.0-alpha.1 Pre-release
Pre-release

v4 is a complete rewrite with a simpler, stream-oriented API. The arc command has yet to be implemented for v4 (please use v3 for now, if you need that).

PR #302 documents the many issues fixed/closed by this new version.

Some of the major new features:

  • Stream-oriented APIs (no writing to disk!)
  • Simpler APIs (less code and docs!)
  • File system abstraction (treat archives like directories!)
  • Format identification (by filename or header!)

Many other improvements and simplifications have been made.

The v4 godoc is live. See the README for a tour and code examples. Please try it out and leave your feedback!

v3.5.1

01 Nov 20:06
v3.5.1
cc194d2
Compare
Choose a tag to compare

v3.5.0

30 Oct 03:29
Compare
Choose a tag to compare

Changelog

25e050d add a comment explaining backwards compatibility
b736c51 add missing and remove unused modules
ca7993e port to github/pierrec/lz4/v4

v3.4.0

24 Oct 23:09
Compare
Choose a tag to compare

Changelog

c8f35d3 --ext: option to specify file type
fd5996a Add a way to strip top-level folder
10fd729 Add create-evil-tar.go and create-evil-zip.go
858e52c Add exported encoder/decoder opts for zstd
a9434ff Add test
fea6146 Added IllegalPathError
a723054 Added test cases for archive formats
b0ffd5a Implement StripComponents to rar
2e9f979 Implement StripComponents to zip
8217ed3 Prevent arbitrary file overwrite via path traversal (Zip Slip attack)
be59044 Remove bundling of GoLangCI Lint as a dependency.
c7eae9d Resolve a few go lint issues
7d5af0e add double-evil.tar and double-evil.zip inside testdata/testarchives/evilarchives
279e87c use proper mode and type flags