v1.7.0.rc1
📦 huggingface-hubView on GitHub →
✨ 9 features🐛 1 fixes🔧 10 symbols
Summary
This release significantly upgrades the `hf` CLI, introducing support for pip-installable extensions, a new extension discovery command, and quality-of-life improvements across authentication and listing commands.
Migration Steps
- For Homebrew users, run `brew update`; the Hugging Face CLI formula has been renamed to `hf`.
- Users wishing to switch login tokens should use `hf auth login --force`.
✨ New Features
- CLI extensions now support pip-installable Python packages in addition to shell scripts.
- Added `hf extensions search` command to discover extensions by querying GitHub repositories tagged with `hf-extension`.
- Added `--force` flag to `hf auth login` to explicitly re-run the full login flow.
- Added `num_parameters` filtering support to `hf` API and CLI.
- Normalized all list commands in CLI to use `list | ls` alias.
- Added `--format` and `--quiet` options to `hf papers ls`.
- Added hidden `--json` shorthand for `--format json` in CLI.
- Allowed specifying a default directory for `hf skills add`.
- Added `used_storage` field to ModelInfo, DatasetInfo, and SpaceInfo structures.
🐛 Bug Fixes
- Fixed an issue where `snapshot_download` operation raised a generic exception even when a more specific error occurred.