Releases Index

huggingface_hub

$npx @buildinternet/releases get huggingface-hub
Mon
Wed
Fri
OctNovDecJanFebMarAprMayJunJulAugSepOct
Less
More
Releases18Avg6/moVersionsv1.23.0 to v2.2.0
v2.2.0

hf jobs stats and HfApi.fetch_job_metrics now return a single snapshot instead of streaming until job completion, with -f/--follow on the CLI and follow=True in Python restoring the previous behavior. Also fixed a race in _get_version that made concurrent downloads skip hf_xet, and multiple HfFileSystem cache issues including duplicate listings and stale not-found results.

Read more →
v2.1.0

Pooled sandboxes now refuse missing, empty, or malformed capability tokens instead of substituting the host-management credential, and the client is pinned to sbx-server 0.7.0, which removes host-token acceptance on per-sandbox routes — legacy pool hosts must be upgraded. Jobs gain automatic retry via the attempts parameter, rerun from a saved spec, rescheduling, and port exposure, plus a new HfApi.get_zero_gpu_quota() method and a Model Catalog migration to the /api/v1 API.

Read more →
v2.0.0

huggingface_hub v2.0 replaces its HTTP dependency with httpx2, so client factories and transport-error except clauses must use httpx2/httpcore2 types, and logging config should target the httpx2 and httpcore2 loggers. All APIs deprecated in 1.x are removed, including upload_large_folder, duplicate_space, and the huggingface-cli entry point.

Read more →
v1.33.0

AWS PrivateLink settings in create_inference_endpoint are now sent as privateService.accountId and privateService.region via the new private_link_account_id and private_link_region parameters; the legacy account_id keyword is ignored and emits a FutureWarning. Large Xet uploads now show a Validating progress bar during shard finalization, and hf skills add installs to .agents/skills and symlinks into .claude/skills without the --claude flag.

Read more →
v1.32.0

A 9-PR sandbox security audit replaces host-wide credentials with per-sandbox capability tokens, validates pool hosts before sending credentials, and keeps secret values out of argv; torch checkpoint deserialization now defaults to safe=True across 11 reported vulnerabilities. Imports drop from 2.36s to 0.39s through lazy loading, and the cache now deduplicates Xet files across repos via a shared blob store.

Read more →
v1.31.0

Dedicated sandboxes now accept custom labels for cost attribution and bookkeeping, attached to the underlying Job. Downloads are more resilient to server response issues, network hiccups, and concurrent usage: timeouts on streamed response headers are now retried, HEAD requests without Content-Length no longer fail, snapshot_download writes cache files atomically to fix races under concurrent access, and dry-run no longer copies cached files to disk. A path-traversal vulnerability in HfFileSystem.get() on Windows is fixed, and httpx is now re-exported from huggingface_hub.utils for library integrators.

Read more →
v1.30.0

hf jobs scheduled ls now filters by --status, repeatable --label, and --name, matching hf jobs ls; the old -f/--filter flag is accepted but ignored with a warning and will be removed in a future release. ResolvedRevision now records the repo_id and repo_type it was resolved for, so re-resolving for the same repo returns as-is while different repos are resolved again.

Read more →
v1.28.0

The new hf endpoints hardware command lists valid hardware combinations with pricing and quota, mirrored in the SDK via list_inference_endpoints_hardware(). custom_image now accepts engine-specific container types (keyed by engine name) with new --engine, --tensor-parallel-size, and --data-parallel-size flags for deploy and update, while INFERENCE_ENDPOINT_IMAGE_KEYS is removed.

Read more →
v1.27.0

The hf-cli skill for AI agents is now installed globally by default by the standalone installers (bash and PowerShell), refreshed on hf update, with a once-daily hint if missing — silenced by HF_HUB_DISABLE_UPDATE_CHECK=1. --container-command and --container-args no longer require --custom-image for Inference Endpoints and can be changed after deploy via hf endpoints update; --health-route and --port still require a custom image. Baseten joins as an inference provider for the conversational task, plus a bucket prefix collision fix in HfFileSystem and a fix preventing double deletion of snapshot files.

Read more →
v1.26.0

HfApi.resolve_revision and ResolvedRevision let libraries pin a revision once and guarantee all files come from the same commit. Two security fixes: downloads now reject absolute, UNC, and traversal filenames on all platforms, and the sandbox bootstrap no longer injects the HF token. Resource groups are now supported for Jobs and Collections, and the CLI surfaces job names as a first-class field.

Read more →
v1.25.0

Jobs now get an automatic name derived from the Docker image plus a command hash, making reruns and grouping easier. Also adds timeout parameter to safetensors metadata methods, updates file-count progress bars on download completion, and warns on cache inconsistency.

Read more →
v1.23.0.rc0

You can now create Spaces from official Hub templates (JupyterLab, Gradio, Streamlit) using the new list_space_templates() API or hf spaces templates CLI command, passing the template ID to create_repo() or hf repos create. A new hf extensions update command updates installed CLI extensions to their latest GitHub versions in place, skipping those already current. Xet downloads now display dual progress bars — one for network transfer and one for disk reconstruction — so slow connections show visible progress instead of stalling at 0%. Removes legacy XetConnectionInfo, refresh_xet_connection_info, and fetch_xet_connection_info_from_repo_info exports. Also fixes a v1.22 regression where snapshot_download silently skipped files on Windows due to backslash handling, and another where enum-option-defaulted CLI commands failed at runtime.

Read more →
v1.23.0

Create Spaces from official templates (JupyterLab, Gradio, Streamlit, etc.) using the new list_space_templates() API or hf spaces templates CLI command. A new hf extensions update command brings installed CLI extensions to their latest version. Xet downloads now show dual progress bars — one for network transfer and one for disk reconstruction — making progress visible even on slow connections, and the built-in hf-cli skill is now generated locally and works fully offline. Plus bug fixes for Windows file handling, enum defaults, and install verification.

Read more →
v1.22.0

Sandboxes introduce isolated cloud VMs with live-streamed output, file transfer, and a proxy for reaching in-sandbox servers. Snapshot downloads now cache repo file listings on disk for a single-network-call re-download. The CLI was rebuilt on Click, deprecating Typer. Breaking changes include case-sensitive pattern matching on all platforms, removal of six inference providers, and deprecation of upload_large_folder.

Read more →
Last Checked
1h ago
Tracking since Dec 20, 2023