Skip to content

v0.7.0 - smol & fast

Latest

Choose a tag to compare

@dignifiedquire dignifiedquire released this 24 Nov 13:57

⛰️ Features

  • [breaking] Replace async-std with smol (#91) - (01a7bb3)
  • Make the extension header and sparse map limits configurable - (b51a3dd)

🐛 Bug Fixes

  • [breaking] Drop the Send and Sync bounds on Builder (#87) - (ef50a03)
  • [breaking] Reject ambiguous tar archives (#94) - (fd3ab9b)
  • End pax records at a NUL - (299603f)
  • Reject member sizes beyond i64::MAX - (60010e7)
  • Reject a name ending in a slash on a member with data - (40b7c64)
  • Cap GNU long names and pax headers at 1 MiB - (7a45bf4)
  • Cap old GNU sparse maps at 1 MiB - (8049318)
  • Read sparse entries in linear time - (cd7b352)
  • Stop creating directories at the first error but NotFound - (f6a371c)
  • Reject a NUL inside a name or link target - (402e751)
  • Fail reads of a member that ends before its size - (635738b)
  • Reject a GNU sparse map that continues after an empty slot - (4bd5f12)
  • Read any nonzero GNU sparse isextended flag as extended - (415cc0e)
  • Validate a long path before writing its GNU long name - (0583e3d)
  • [breaking] Clear group and other write on unpack by default - (a6529c5)
  • Write a member's extension headers only after all its fields are set - (39e9a11)
  • Reject a colon in a name component on Windows - (7dbd050)
  • Refuse to write after a member was left incomplete - (aea0886)
  • Write exactly a member's header size of data - (0199378)
  • Reject Windows device names when unpacking on Windows - (44965fb)

🚜 Refactor

  • Expand lints - (6938648)
  • Build an empty GNU sparse extension header without unsafe code - (142553c)
  • View headers through zerocopy's checked transmutes - (2d3f460)
  • Remove unsafe code from the header views (#105) - (50ea38e)

📚 Documentation

  • Describe what Builder::finish writes and that it does not flush (#88) - (5b9d746)
  • Recommend a buffered reader for tokio files - (373af68)
  • Update reference reader comments - (e361293)

⚡ Performance

  • Write octal header fields without allocating - (016f80c)
  • Skip unread data through an uninitialized buffer on tokio - (56e49fd)
  • Canonicalize the unpack destination once - (3f19c15)
  • Copy file data in chunks of up to 128 KiB - (56c0551)
  • Read directories and small files in batched blocking calls when building - (23100f1)
  • Create, write and timestamp small files in one blocking call - (001ba6c)
  • Unpack each small file in one blocking call - (8d8820e)
  • Write consecutive small files in batched blocking calls - (12f5b30)

⚙️ Miscellaneous Tasks

  • Run on pushes to main (#92) - (5327304)
  • Check the default features on aarch64-linux-android (#89) - (8a6a834)
  • Generate the changelog with git-cliff (#93) - (cb59698)
  • Ship the test archives in the published crate (#90) - (443c3c6)
  • Fix all warnings and deny them in CI (#95) - (d474c5d)
  • Run formatting and clippy through cargo make (#96) - (266c9a4)
  • Pin actions and check workflows and dependencies (#97) - (a2b6824)