v3.6.5

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

AI Summary

Fixes crashes in interactive mode and improves handling of subdirectories and aliases.

Key Highlights

  • Fix interactive mode crash when cache missing
  • Added repository aliases to the CLI
  • Respect `repo.subdir` and report correct `mode`

New Features

  • CLI repository aliases
  • Subdirectory validation
  • Interactive mode crash fix

Full Release Notes

- Fix interactive mode crash when the cache directory does not exist ([#345](https://github.com/Rich-Harris/degit/issues/345)).
- Add repository aliases to the CLI ([#362](https://github.com/Rich-Harris/degit/issues/362)).
- Respect `repo.subdir` and report the correct `mode` when using `mode: 'git'` ([#349](https://github.com/Rich-Harris/degit/issues/349)).
- Throw an error instead of creating an empty destination when the requested subdirectory does not exist in git mode ([#331](https://github.com/Rich-Harris/degit/issues/331)).