Change8

v1.12.0

📦 huggingface-hubView on GitHub →
3 features🐛 1 fixes1 deprecations🔧 2 symbols

Summary

This release unifies the output format for all `hf buckets` CLI commands using a single `--format` flag and introduces the ability to search buckets by name in listings. Several internal improvements and bug fixes related to fsspec configuration were also included.

Migration Steps

  1. Replace usage of deprecated `--quiet` or `--format table|json` flags on `hf buckets` commands with the unified `--format` flag (e.g., use `--format quiet` instead of `--quiet`).
  2. When listing buckets programmatically, use the `search` parameter in `list_buckets()` instead of client-side filtering.

✨ New Features

  • All `hf buckets` commands now use the unified `--format [auto|human|agent|json|quiet]` flag and the `out` singleton for consistent, scriptable output.
  • Added ability to filter buckets by name when listing them via the Python API (`list_buckets(search=...)`) and CLI (`hf buckets list --search "<pattern>"`).
  • CLI now detects the `pi` agent.

🐛 Bug Fixes

  • Applied fsspec config in HfFileSystem metaclass.

Affected Symbols

⚡ Deprecations

  • The previous `--quiet` and `--format table|json` flags for `hf buckets` commands have been replaced by the unified `--format [auto|human|agent|json|quiet]` flag.