Skip to content

4.8.3

Compare
Choose a tag to compare
@tsolomko tsolomko released this 22 Oct 17:09
· 48 commits to develop since this release
4.8.3
6fe73cb
  • There are now minimum deployment targets specified in the Swift Package Manager manifest. They match the ones used for CocoaPods spec and in the Xcode project.
  • The properties of GzipHeader are now var-properties instead of let.
  • GZip extra fields are now supported.
    • Added GzipHeader.ExtraField struct.
    • Added GzipHeader.extraFields property.
    • Added a new extraFields argument to GzipArchive.archive function with a default empty array value.

Comment: This is an extremely rarely used format feature and its support has been added mostly for completeness.

  • Fixed potential crashes that could occur when processing GZip archives truncated in a header or a "footer".
  • Some non-well-formed values of PAX extended header records no longer cause TarError.wrongPaxHeaderEntry to be thrown.
    • The record values with newline characters are now fully supported.
    • The record values that do not contain UTF-8 strings are now ignored.

Comment: Such records have been observed to be produced by other implementations, e.g., the one used by default in macOS. It is debatable, however, if these records (especially, non-UTF8 non-string ones) are in conformance with the format specifications.

  • swcomp changes:
    • The symbolic links are now extracted with the values recorded in the containers instead of with a reconstructed absolute path (#37).
    • The hard links are now extracted from TAR containers instead of being ignored.
    • benchmark is now a command group with two commands, run and show.
    • Added -a, --append option to the benchmark run command.
    • Added -d, --description option to the benchmark run command.
    • Added -t, --preserve-timestamp option to the benchmark run command.
    • The file format of saved results is now more flexible and allows multi-way comparisons.
    • Improved precision of time measurements in benchmarks.
    • Fixed build issues on Linux and Windows.