tar 1.0.4 copy "tar: ^1.0.4" to clipboard
tar: ^1.0.4 copied to clipboard

Memory-efficient, streaming implementation of the tar file format

1.0.4 #

  • Migrate away from UnmodifiableUint8ListView which is deprecated in Dart 3.4.

1.0.3 #

  • Fix the reader throwing a FormatException (instead of a TarException) when reading tar files with invalid UTF bytes in their PAX headers.
  • Fix a range error for invalid zero-length PAX entries.

1.0.2 #

  • Fix a few typos in documentation comments.

1.0.1 #

  • Fix an incompatibility with Dart 3.1.

1.0.0 #

  • Breaking Add class modifiers where applicable.

0.5.6 #

  • Allow cancelling a TarEntry.contents subscription before reading more files.

0.5.5+1 #

  • No user-visible changes.

0.5.5 #

  • Fix a crash when pausing a subscription to TarEntry.contents right before it ends.

0.5.4 #

  • Fix generating corrupt tar files when adding lots of entries at very high speeds (#20).
  • Allow tar files with invalid utf8 content in PAX header values if those values aren't used for anything important.

0.5.3 #

  • Improve error messages when reading a tar entry after, or during, a call to moveNext().

0.5.2 #

  • This package now supports being compiled to JavaScript.

0.5.1 #

  • Improve performance when reading large archives

0.5.0 #

  • Support sync encoding with tarConverter.

0.4.0 #

  • Support generating tar files with GNU-style long link names
  • Add format parameter to tarWritingSink and tarWriterWith

0.3.3 #

  • Drop chunked_stream dependency in favor of package:async.

0.3.2 #

  • Allow arbitrarily many zero bytes at the end of an archive when disallowTrailingData is enabled.

0.3.1 #

  • Add disallowTrailingData parameter to TarReader. When the option is set, readNext will ensure that the input stream does not emit further data after the tar archive has been read fully.

0.3.0 #

  • Remove outdated references in the documentation

0.3.0-nullsafety.0 #

  • Remove TarReader.contents and TarReader.header. Use current.contents and current.header, respectively.
  • Fix some minor implementation details

0.2.0-nullsafety #

Most of the tar package has been rewritten, it's now based on the implementation written by Garett Tok Ern Liang in the GSoC 2020.

  • Added tar prefix to exported symbols.
  • Remove MemoryEntry. Use TarEntry.data to create a tar entry from bytes.
  • Make WritingSink private. Use tarWritingSink to create a general StreamSink<tar.Entry>.
  • TarReader is now a StreamIterator, the transformer had some design flaws.

0.1.0-nullsafety.1 #

  • Support writing user and group names
  • Better support for PAX-headers and large files

0.1.0-nullsafety.0 #

  • Initial version
26
likes
140
pub points
90%
popularity

Publisher

verified publishersimonbinder.eu

Memory-efficient, streaming implementation of the tar file format

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

async, meta, typed_data

More

Packages that depend on tar