tar
Memory-efficient, streaming implementation of the tar file format
2.0.2
130K downloads/mo
#1012 most downloaded on pub.dev
simolus3/tar
What this package is like to depend on
Last release 8 months ago
29 Nov 2025
Release timing varies
gaps range from 4 weeks to 1.2 years
Nearly every release is documented
notes for 21 of 21 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
26 releases · first in 2020
2 releases in the last 12 months
see the full history below
Release timeline
26 releases · Dec 2020 to Nov 2025
2021
2022
2023
2024
2025
2026
Releases
latest 26-
2.0.229 Nov 2025 -
2.0.111 Sep 2025Release notes
Open source →- Use extension type to represent
MaybeTarFormatandTarFormat. - Update to version
6.0.0ofpackage:lints.
Release notes
Open source →- Use extension type to represent
MaybeTarFormatandTarFormat. - Update to version
6.0.0ofpackage:lints.
- Use extension type to represent
-
2.0.013 Jun 2024Release notes
Open source →- 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.
- Require the
-
1.0.514 May 2024 -
1.0.417 Feb 2024Release notes
Open source →- Migrate away from
UnmodifiableUint8ListViewwhich is deprecated in Dart 3.4.
Release notes
Open source →- Migrate away from
UnmodifiableUint8ListViewwhich is deprecated in Dart 3.4.
- Migrate away from
-
1.0.310 Dec 2023Release notes
Open source →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.
Release notes
Open source →- 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.
- Fix the reader throwing a
-
1.0.219 Oct 2023 -
1.0.125 Jul 2023 -
1.0.025 Jul 2023 withdrawn -
0.5.625 Aug 2022Release notes
Open source →0.5.6
- Allow cancelling a
TarEntry.contentssubscription before reading more files (#23).
Release notes
Open source →- Allow cancelling a
TarEntry.contentssubscription before reading more files.
- Allow cancelling a
-
0.5.522 Mar 2022Release notes
Open source →- Fix a crash when pausing a subscription to
TarEntry.contentsright before it ends.
- Fix a crash when pausing a subscription to
-
0.5.5+103 Jun 2022 -
0.5.418 Feb 2022Release notes
Open source →- 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.317 Feb 2022Release notes
Open source →- Improve error messages when reading a tar entry after, or during, a call to
moveNext().
- Improve error messages when reading a tar entry after, or during, a call to
-
0.5.216 Feb 2022 -
0.5.114 Sep 2021 -
0.5.020 Aug 2021 -
0.4.020 May 2021Release notes
Open source →- Support generating tar files with GNU-style long link names
- Add
formatparameter totarWritingSinkandtarWriterWith
-
0.3.328 Apr 2021 -
0.3.212 Apr 2021Release notes
Open source →- Allow arbitrarily many zero bytes at the end of an archive when
disallowTrailingDatais enabled.
- Allow arbitrarily many zero bytes at the end of an archive when
-
0.3.129 Mar 2021Release notes
Open source →- 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.
- Add
-
0.3.001 Mar 2021 -
0.3.0-nullsafety.021 Jan 2021 pre-releaseRelease notes
Open source →- Remove
TarReader.contentsandTarReader.header. Usecurrent.contentsandcurrent.header, respectively. - Fix some minor implementation details
- Remove
-
0.2.0-nullsafety11 Jan 2021 pre-releaseRelease notes
Open source →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.
- Added
-
0.1.0-nullsafety.127 Dec 2020 pre-releaseRelease notes
Open source →- Support writing user and group names
- Better support for PAX-headers and large files
-
0.1.0-nullsafety.024 Dec 2020 pre-release