v3.7.0

Rich-Harris/degitv3.7.0Sep 4, 2026by YogliB

AI Summary

Improves reliability by redownloading archives on extraction errors and allows users to clone specific files or directories.

Key Highlights

  • Redownloads cached tar archives on extraction errors
  • Added `files` option for selective cloning
  • Improved error handling for tar/zlib errors

New Features

  • Automatic redownload on extraction failure
  • Selective file and directory cloning

Full Release Notes

- Redownload cached tar archives when extraction fails with any tar/zlib error, not only `TAR_BAD_ARCHIVE` ([#41](https://github.com/Rich-Harris/degit/issues/41)).
- Added `files` option to clone only specific files or directories ([#129](https://github.com/Rich-Harris/degit/issues/129)).