tar 2.0.1
tar: ^2.0.1 copied to clipboard
Memory-efficient, streaming implementation of the tar file format
2.0.1 #
- Use extension type to represent
MaybeTarFormatandTarFormat. - Update to version
6.0.0ofpackage:lints.
2.0.0 #
- Require the
modeparameter when creatingTarHeaders. Previously the field had an implicit default value of0, which made it easy to inadvertently create archives with entries that are hard to delete when extracted with other tar programs.
1.0.5 #
- Migrate to recommended lints from
package:lints. - Add tags to pubspec.
1.0.4 #
- Migrate away from
UnmodifiableUint8ListViewwhich is deprecated in Dart 3.4.
1.0.3 #
- Fix the reader throwing a
FormatException(instead of aTarException) 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.contentssubscription before reading more files.
0.5.5+1 #
- No user-visible changes.
0.5.5 #
- Fix a crash when pausing a subscription to
TarEntry.contentsright 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
formatparameter totarWritingSinkandtarWriterWith
0.3.3 #
- Drop
chunked_streamdependency in favor ofpackage:async.
0.3.2 #
- Allow arbitrarily many zero bytes at the end of an archive when
disallowTrailingDatais enabled.
0.3.1 #
- Add
disallowTrailingDataparameter toTarReader. When the option is set,readNextwill 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.contentsandTarReader.header. Usecurrent.contentsandcurrent.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
tarprefix to exported symbols. - Remove
MemoryEntry. UseTarEntry.datato create a tar entry from bytes. - Make
WritingSinkprivate. UsetarWritingSinkto create a generalStreamSink<tar.Entry>. TarReaderis now aStreamIterator, 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