blob: 0eac290e33b1ec93bdfb19a66e875c8e2a698d6d [file] [log] [blame] [view]
## 2.0.0
- Require the `mode` parameter when creating `TarHeader`s. Previously the field
had an implicit default value of `0`, 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 `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)](https://github.com/simolus3/tar/issues/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](https://github.com/walnutdust)
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`](https://api.dart.dev/stable/2.10.4/dart-async/StreamIterator-class.html),
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