v1.7.2
📦 huggingface-hubView on GitHub →
✨ 4 features🐛 3 fixes🔧 4 symbols
Summary
This release focuses on significant improvements to the `hf` CLI, including better self-description and faster extension installation via `uv`. Several minor bug fixes and internal cleanups were also performed.
Migration Steps
- If you rely on virtual environment instructions in documentation, note that `.env` has been renamed to `.venv` in instructions.
✨ New Features
- The `hf` CLI skill now fully expands subcommand groups and inlines all flags and options in SKILL.md, making the CLI self-describing.
- The `hf` CLI now includes common options inline in its discovery mechanism.
- The `hf extension install` command now uses `uv` for Python extension installation when available, resulting in significantly faster installation times.
- Added `--format json` option to `hf auth whoami`.
🐛 Bug Fixes
- Fixed HfFileSystem glob behavior when dealing with missing subdirectories.
- Fixed an issue where bare except clauses were used; now using module logger consistently and narrowing except clauses.
- Fixed a typo in the help text for the --every flag.