v1.10.0
📦 huggingface-hubView on GitHub →
✨ 3 features🐛 3 fixes🔧 12 symbols
Summary
This release introduces server-side file copy operations between storage locations and adds initial support for interacting with the new `kernel` repository type. Several minor bugs related to Space volume management and tqdm usage were also resolved.
Migration Steps
- Users building, publishing, or using compute kernels should use the dedicated `kernels` package instead of direct Hub interaction for full functionality.
✨ New Features
- Introduced server-side file copy operations via `copy_files` to move data between Buckets and Repositories without downloading/re-uploading (e.g., Bucket to Bucket, Repo to Bucket).
- Added support for interacting with the new `kernel` repository type via Python API methods: `kernel_info`, `hf_hub_download`, `snapshot_download`, `list_repo_refs`, `list_repo_files`, and `list_repo_tree`.
- Added `hf buckets cp` command in CLI for server-side file copying.
🐛 Bug Fixes
- Fixed custom `tqdm_class` being silently broken in non-TTY environments.
- Fixed `set_space_volumes` sending a bare array instead of an object.
- Fixed return types for `set_space_volume` and `delete_space_volume`.