huggingface-hub breaking changes
Updated December 4, 2026
On this page
Latest version 2.6.0, released December 4, 2026. Source repository
Its 1.9.0 release requires Python 3.10 or later. Python end of life dates.
- From 1.33.0 to 2.4.0: 104 breaking changes in 6 versions.
- From 0.4.0 to 2.4.0: 3,118 breaking changes in 95 versions.
huggingface-hub 2.4.0 breaking changes
- Default changed
create_webhook
When the domains argument is left out, create_webhook now watches both the repo and discussion domains instead of only repos. Pass domains explicitly if you need the old behavior. github.com - Signature changed
huggingface_hub.cli.webhooks.webhooks_create
Was def webhooks_create(watch: Annotated[list[str], Option(--watch, help="Item to watch, in 'type:name' format (e.g. 'model:bert-base-uncased'). Repeatable.")], url: Annotated[str | None, Option(help='URL to send webhook payloads to... pypi.org - Signature changed
huggingface_hub.cli.webhooks.webhooks_update
Was def webhooks_update(webhook_id: Annotated[str, Argument(help='The ID of the webhook to update.')], url: Annotated[str | None, Option(help='New URL to send webhook payloads to.')] = None, job_id: Annotated[str | None, Option(--job - id... pypi.org
huggingface-hub 2.3.0 breaking changes
- Behavior changed
timeout
A timeout now raises InferenceTimeoutError instead of the raw httpx timeout error. Code catching httpx timeout exceptions must catch InferenceTimeoutError instead. github.com - Signature changed
huggingface_hub.cli.discussions.discussion_comment
Was def discussion_comment(repo_id: RepoIdArg, num: DiscussionNumArg, body: Annotated[str | None, Option(--body, help='The comment text (supports Markdown).')] = None, body_file: Annotated[Path | None, Option(--body - file, help="Read the... pypi.org - Signature changed
huggingface_hub.cli.discussions.discussion_create
Was def discussion_create(repo_id: RepoIdArg, title: Annotated[str, Option(--title, help='The title of the discussion or pull request.')], body: Annotated[str | None, Option(--body, help='The description (supports Markdown).')] = None... pypi.org - Signature changed
huggingface_hub.cli.discussions.discussion_edit
Was def discussion_edit(repo_id: RepoIdArg, num: DiscussionNumArg, comment_id: Annotated[str, Argument(help="The ID of the comment to edit (see 'hf discussions info ... --format json').")], body: Annotated[str | None, Option(--body... pypi.org - Signature changed
huggingface_hub.hf_api.AccessRequest.__init__
Was def __init__(self, username: str, fullname: str, email: str | None, timestamp: datetime, status: Literal['pending', 'accepted', 'rejected'], fields: dict[str, Any] | None = None) -> None; now def __init__(self, username: str | None... pypi.org - Signature changed
huggingface_hub.hf_api.AccessRequest.fullname
Was fullname: str; now fullname: str | None. pypi.org - Signature changed
huggingface_hub.hf_api.AccessRequest.username
Was username: str; now username: str | None. pypi.org - Signature changed
huggingface_hub.HfApi.accept_access_request
accept_access_request now takes request_id= instead of user. Pass request.request_id when accepting a request. pypi.org - Signature changed
huggingface_hub.HfApi.cancel_access_request
cancel_access_request now takes request_id= instead of user. Pass request.request_id when cancelling a request. pypi.org - Signature changed
huggingface_hub.HfApi.reject_access_request
reject_access_request now takes request_id= instead of user. Pass request.request_id when rejecting a request. pypi.org
And 1 more in this version. Sign up to see every change
huggingface-hub 2.2.0 breaking changes
- Behavior changed
hf jobs stats
It now prints the latest sample once and exits. Pass -f/--follow to keep the previous live streaming view. github.com - Behavior changed
load_torch_model
Code catching ValueError for a missing checkpoint path must now catch FileNotFoundError instead. github.com - Behavior changed
model_index_to_eval_results
Callers passing an empty list must now handle a ValueError. github.com - Default changed
HfApi.fetch_job_metrics
The follow parameter now defaults to False. Pass follow=True to stream until the job completes. github.com - Signature changed
huggingface_hub.cli.jobs.jobs_stats
Was def jobs_stats(job_ids: JobIdsArg = None, namespace: NamespaceOpt = None, token: TokenOpt = None) -> None; now def jobs_stats(job_ids: JobIdsArg = None, follow: Annotated[bool, Option(-f, --follow, help='Follow stats output (live view... pypi.org - Signature changed
huggingface_hub.HfApi.fetch_job_metrics
Was def fetch_job_metrics(self, *, job_id: str, namespace: str | None = None, token: bool | str | None = None) -> Iterable[dict[str, Any]]; now def fetch_job_metrics(self, *, job_id: str, namespace: str | None = None, follow: bool = False... pypi.org
huggingface-hub 2.1.1 breaking changes
- Signature changed
huggingface_hub.cli.inference_endpoints.deploy_from_catalog
Was def deploy_from_catalog(repo: Annotated[str, Option(help="The name of the model repository associated with the Inference Endpoint (e.g. 'openai/gpt-oss-120b').")], name: NameOpt = None, accelerator: Annotated[str | None... pypi.org - Signature changed
huggingface_hub.cli.inference_endpoints.list_catalog
Was def list_catalog(token: TokenOpt = None) -> None; now def list_catalog(accelerator: Annotated[str | None, Option(click_type=(SoftChoice([cpu, gpu, neuron])), help='Only show recipes running on this accelerator.')] = None, engine... pypi.org - Signature changed
huggingface_hub.cli.jobs.jobs_run
Was def jobs_run(image: ImageArg, command: CommandArg, env: EnvOpt = None, secrets: SecretsOpt = None, name: NameOpt = None, label: LabelsOpt = None, volume: JobVolumesOpt = None, env_file: EnvFileOpt = None, secrets_file: SecretsFileOpt =... pypi.org - Signature changed
huggingface_hub.cli.jobs.jobs_uv_run
Was def jobs_uv_run(script: ScriptArg, script_args: ScriptArgsArg = None, image: ImageOpt = None, flavor: FlavorOpt = None, env: EnvOpt = None, secrets: SecretsOpt = None, name: NameOpt = None, label: LabelsOpt = None, volume... pypi.org - Signature changed
huggingface_hub.cli.jobs.scheduled_run
Was def scheduled_run(schedule: ScheduleArg, image: ImageArg, command: CommandArg, suspend: SuspendOpt = None, concurrency: ConcurrencyOpt = None, env: EnvOpt = None, secrets: SecretsOpt = None, name: NameOpt = None, label: LabelsOpt =... pypi.org - Signature changed
huggingface_hub.cli.jobs.scheduled_uv_run
Was def scheduled_uv_run(schedule: ScheduleArg, script: ScriptArg, script_args: ScriptArgsArg = None, suspend: SuspendOpt = None, concurrency: ConcurrencyOpt = None, image: ImageOpt = None, flavor: FlavorOpt = None, env: EnvOpt = None... pypi.org - Signature changed
huggingface_hub.cli.repos.repo_duplicate
Was def repo_duplicate(from_id: RepoIdArg, to_id: Annotated[str | None, Argument(help='Destination repo ID (e.g. `myorg/my-copy`). Defaults to your namespace with the same repo name.')] = None, repo_type: RepoTypeOpt = RepoType.model... pypi.org - Signature changed
huggingface_hub.cli.webhooks.webhooks_create
Was def webhooks_create(watch: Annotated[list[str], Option(--watch, help="Item to watch, in 'type:name' format (e.g. 'model:bert-base-uncased'). Repeatable.")], url: Annotated[str | None, Option(help='URL to send webhook payloads to... pypi.org - Signature changed
huggingface_hub.cli.webhooks.webhooks_update
Was def webhooks_update(webhook_id: Annotated[str, Argument(help='The ID of the webhook to update.')], url: Annotated[str | None, Option(help='New URL to send webhook payloads to.')] = None, watch: Annotated[list[str] | None... pypi.org - Signature changed
huggingface_hub.HfApi.create_bucket
Was def create_bucket(self, bucket_id: str, *, private: bool | None = None, resource_group_id: str | None = None, region: REPO_REGIONS | None = None, exist_ok: bool = False, token: bool | str | None = None) -> BucketUrl; now def... pypi.org
And 9 more in this version. Sign up to see every change
huggingface-hub 2.1.0 breaking changes
- Behavior changed
Pooled sandboxes with missing, empty or malformed capability tokens are refused. Older pool hosts must be upgraded or recycled, and legacy clients cannot reach new sandboxes. github.com - Behavior changed
Include and exclude patterns for buckets match case-sensitively everywhere. Patterns that matched only by ignoring case will no longer match. github.com - Behavior changed
hf jobs
A bare --secrets NAME that is not set in the local environment now raises an error. Scripts that relied on it being silently skipped must set the variable or pass a value. github.com - Behavior changed
HfFileSystem.get_file
When the remote file is missing, get_file no longer creates an empty local file. Code that relies on that empty file existing must be changed. github.com - Behavior changed
list_inference_catalog
The catalog methods now call the /api/v1/catalog API, and list_inference_catalog returns InferenceCatalogModel dataclasses. Code that reads the old results must be updated. github.com
huggingface-hub 2.0.0 breaking changes
- Removed
delete_space_storage
Use delete_space_volumes instead. github.com - Removed
duplicate_space
Use duplicate_repo instead. github.com - Removed
hf jobs ps --filter
Use --status or --label instead of --filter. github.com - Removed
huggingface_hub.cli.deprecated_cli
huggingface_hub.cli.deprecated_cli was removed in huggingface-hub 2.0.0 pypi.org - Removed
huggingface_hub.cli.inference_endpoints.InferenceEndpointType.PROTECTED
huggingface_hub.cli.inference_endpoints.InferenceEndpointType.PROTECTED was removed in huggingface-hub 2.0.0 pypi.org - Removed
huggingface_hub.cli.repo_files
huggingface_hub.cli.repo_files was removed in huggingface-hub 2.0.0 pypi.org - Removed
huggingface_hub.cli.repos.SpaceStorage
huggingface_hub.cli.repos.SpaceStorage was removed in huggingface-hub 2.0.0 pypi.org - Removed
huggingface_hub.cli.repos.SpaceStorageOpt
huggingface_hub.cli.repos.SpaceStorageOpt was removed in huggingface-hub 2.0.0 pypi.org - Removed
huggingface_hub.cli.upload_large_folder
huggingface_hub.cli.upload_large_folder was removed in huggingface-hub 2.0.0 pypi.org - Removed
huggingface_hub.delete_space_storage
huggingface_hub.delete_space_storage was removed in huggingface-hub 2.0.0 pypi.org
And 50 more in this version. Sign up to see every change
Older versions
90 older versions, each with its first changes. Sign up to see every change
Show 90 older versions
huggingface-hub 1.33.0 breaking changes
- Behavior changed
BucketBatchError
A batch that reports failed operations now raises BucketBatchError, so code that ignored those failures will now get an exception. github.com - Behavior changed
create_inference_endpoint
AWS PrivateLink settings move to privateService.accountId and privateService.region. Use the new private_link_account_id and private_link_region parameters, since the region is required when the account ID is set. github.com
And 13 more in this version.
huggingface-hub 1.32.0 breaking changes
- Removed
huggingface_hub.cli.hf.auth_cli
huggingface_hub.cli.hf.auth_cli was removed in huggingface-hub 1.32.0 pypi.org - Removed
huggingface_hub.cli.hf.buckets_cli
huggingface_hub.cli.hf.buckets_cli was removed in huggingface-hub 1.32.0 pypi.org
And 207 more in this version.
huggingface-hub 1.31.0 breaking changes
- Behavior changed
HfFileSystem.get
Remote filenames with unsafe path segments now raise ValueError on every platform, including downloads to an explicitly named file or a file object. Check the filenames you download with HfFileSystem.get. github.com - Signature changed
huggingface_hub.cli.sandbox.sandbox_create
Was def sandbox_create(image: Annotated[str | None, Argument(help='Docker image (needs /bin/sh).')] = None, pool: Annotated[str | None, Option(--pool, help='Spawn a cheap shared sandbox in this pool (from `hf sandbox pool create`).')] =... pypi.org
And 4 more in this version.
huggingface-hub 1.30.0 breaking changes
- Behavior changed
ResolvedRevision
Passing a ResolvedRevision to a different repo now resolves the requested revision again instead of returning the previously resolved commit. Code that reuses it across repos may get different commit hashes. github.com - Signature changed
huggingface_hub.cli.jobs.scheduled_ps
Was def scheduled_ps(all: Annotated[bool, Option(-a, --all, help='Show all scheduled Jobs (default hides suspended)')] = False, namespace: NamespaceOpt = None, token: TokenOpt = None, filter: Annotated[list[str] | None, Option(-f... pypi.org
And 2 more in this version.
huggingface-hub 1.29.0 breaking changes
- Removed
labels
The deprecated labels parameter was removed from the docstrings and signature. Code that passes labels must stop doing so. github.com - Removed
tags
The deprecated tags parameter was removed from the docstrings and signature. Code that passes tags must stop doing so. github.com
And 1 more in this version.
huggingface-hub 1.28.0 breaking changes
- Removed
huggingface_hub.constants.INFERENCE_ENDPOINT_IMAGE_KEYS
The constant was never exported or documented, but code reading it directly will now get an AttributeError. Stop reading this constant. pypi.org - Signature changed
huggingface_hub.cli.inference_endpoints.deploy
Was def deploy(name: NameArg, repo: Annotated[str, Option(help="The name of the model repository associated with the Inference Endpoint (e.g. 'openai/gpt-oss-120b').")], framework: Annotated[str, Option(help="The machine learning framework... pypi.org
And 3 more in this version.
huggingface-hub 1.27.0 breaking changes
- Removed
huggingface_hub.cli.skills.CENTRAL_GLOBAL
huggingface_hub.cli.skills.CENTRAL_GLOBAL was removed in huggingface-hub 1.27.0 pypi.org - Removed
huggingface_hub.cli.skills.CENTRAL_LOCAL
huggingface_hub.cli.skills.CENTRAL_LOCAL was removed in huggingface-hub 1.27.0 pypi.org
And 9 more in this version.
huggingface-hub 1.26.0 breaking changes
- Behavior changed
Filenames with absolute, UNC or traversal segments are now refused everywhere, so names like folder/..\..\file that worked on Linux will now fail. github.com - Behavior changed
create_inference_endpoint_from_catalog
Passing token=False to create_inference_endpoint_from_catalog now raises an error instead of being silently ignored, so code passing it must be changed. github.com
And 11 more in this version.
huggingface-hub 1.25.0 breaking changes
- Behavior changed
hf jobs run
Jobs created without an explicit name are now auto-named from the Docker image or UV script plus a hash of the command. Code that relies on unnamed jobs or specific job names must account for this; passing --name still takes precedence. github.com - Signature changed
huggingface_hub.cli.cache.ls
Was def ls(cache_dir: Annotated[str | None, Option(help='Cache directory to scan (defaults to Hugging Face cache).')] = None, revisions: Annotated[bool, Option(help='Include revisions in the output instead of aggregated repositories.')] =... pypi.org
And 4 more in this version.
huggingface-hub 1.24.0 breaking changes
- Signature changed
huggingface_hub.cli.jobs.jobs_labels
Was def jobs_labels(job_id: JobIdArg, label: LabelsOpt = None, clear: Annotated[bool, Option(--clear, help='Remove all labels from the job.')] = False, namespace: NamespaceOpt = None, token: TokenOpt = None) -> None; now def... pypi.org - Signature changed
huggingface_hub.cli.jobs.jobs_run
Was def jobs_run(image: ImageArg, command: CommandArg, env: EnvOpt = None, secrets: SecretsOpt = None, label: LabelsOpt = None, volume: JobVolumesOpt = None, env_file: EnvFileOpt = None, secrets_file: SecretsFileOpt = None, flavor... pypi.org
And 8 more in this version.
huggingface-hub 1.23.0 breaking changes
- Removed
huggingface_hub.cli.extensions.ExtensionManifest.executable_name
ExtensionManifest.executable_name was removed in huggingface-hub 1.23.0 pypi.org - Removed
huggingface_hub.cli.extensions.ExtensionManifest.source
ExtensionManifest.source was removed in huggingface-hub 1.23.0 pypi.org
And 13 more in this version.
huggingface-hub 1.22.0 breaking changes
- Removed
black-forest-labs
The black-forest-labs inference provider was removed because the Hub no longer routes to it. github.com - Removed
clarifai
The clarifai inference provider was removed because the Hub no longer routes to it. github.com
And 124 more in this version.
huggingface-hub 1.21.0 breaking changes
- Renamed
hf jobs ps
The CLI command hf jobs ps is renamed to hf jobs ls; ps and list still work as aliases. github.com - Behavior changed
list_jobs
list_jobs() returns an Iterable[JobInfo] instead of list[JobInfo]. Code that indexes the result must wrap it with list(...). github.com
And 4 more in this version.
huggingface-hub 1.20.0 breaking changes
- Removed
huggingface_hub.cli.hf.ANSI
huggingface_hub.cli.hf.ANSI was removed in huggingface-hub 1.20.0 pypi.org - Removed
huggingface_hub.cli.jobs.HfHubHTTPError
huggingface_hub.cli.jobs.HfHubHTTPError was removed in huggingface-hub 1.20.0 pypi.org
And 21 more in this version.
huggingface-hub 1.19.0 breaking changes
- Removed
huggingface_hub.cli.download.RepoTypeOpt
huggingface_hub.cli.download.RepoTypeOpt was removed in huggingface-hub 1.19.0 pypi.org - Removed
huggingface_hub.cli.upload.RepoTypeOpt
huggingface_hub.cli.upload.RepoTypeOpt was removed in huggingface-hub 1.19.0 pypi.org
And 29 more in this version.
huggingface-hub 1.18.0 breaking changes
- Removed
huggingface_hub.cli.buckets.cp
huggingface_hub.cli.buckets.cp was removed in huggingface-hub 1.18.0 pypi.org - Removed
huggingface_hub.cli.buckets.disable_progress_bars
huggingface_hub.cli.buckets.disable_progress_bars was removed in huggingface-hub 1.18.0 pypi.org
And 4 more in this version.
huggingface-hub 1.17.0 breaking changes
- Removed
huggingface_hub.cli.collections.api_object_to_dict
huggingface_hub.cli.collections.api_object_to_dict was removed in huggingface-hub 1.17.0 pypi.org - Removed
huggingface_hub.cli.datasets.api_object_to_dict
huggingface_hub.cli.datasets.api_object_to_dict was removed in huggingface-hub 1.17.0 pypi.org
And 69 more in this version.
huggingface-hub 1.16.1 breaking changes
- Removed
The Together automatic speech recognition task is no longer available, so code calling it will stop working. Use a different provider or task for speech recognition. github.com
huggingface-hub 1.16.0 breaking changes
- Removed
huggingface_hub.BucketUrl.handle
Use BucketUrl.uri instead of BucketUrl.handle. The value is now an HfUri type; call .to_uri() to get the string form. pypi.org - Renamed
huggingface_hub.Volume.to_hf_handle
Call Volume.to_uri() instead of Volume.to_hf_handle(). pypi.org
And 8 more in this version.
huggingface-hub 1.15.0 breaking changes
- Signature changed
huggingface_hub.cli.buckets.create
Was def create(bucket_id: Annotated[str, typer.Argument(help='Bucket ID: bucket_name, namespace/bucket_name, or hf://buckets/namespace/bucket_name')], private: Annotated[bool, typer.Option(--private, help='Create a private bucket.')] =... pypi.org - Signature changed
huggingface_hub.cli.repos.repo_create
Was def repo_create(repo_id: RepoIdArg, repo_type: RepoTypeOpt = RepoType.model, space_sdk: Annotated[str | None, typer.Option(help="Hugging Face Spaces SDK type. Required when --type is set to 'space'.")] = None, private: PrivateOpt =... pypi.org
And 2 more in this version.
huggingface-hub 1.14.0 breaking changes
- Removed
huggingface_hub.cli.buckets.are_progress_bars_disabled
huggingface_hub.cli.buckets.are_progress_bars_disabled was removed in huggingface-hub 1.14.0 pypi.org - Removed
huggingface_hub.cli.buckets.enable_progress_bars
huggingface_hub.cli.buckets.enable_progress_bars was removed in huggingface-hub 1.14.0 pypi.org
And 19 more in this version.
huggingface-hub 1.13.0 breaking changes
- Removed
huggingface_hub.cli.auth.FormatWithAutoOpt
huggingface_hub.cli.auth.FormatWithAutoOpt was removed in huggingface-hub 1.13.0 pypi.org - Removed
huggingface_hub.cli.auth.OutputFormatWithAuto
huggingface_hub.cli.auth.OutputFormatWithAuto was removed in huggingface-hub 1.13.0 pypi.org
And 123 more in this version.
huggingface-hub 1.12.0 breaking changes
- Removed
huggingface_hub.cli.buckets.FormatOpt
huggingface_hub.cli.buckets.FormatOpt was removed in huggingface-hub 1.12.0 pypi.org - Removed
huggingface_hub.cli.buckets.OutputFormat
huggingface_hub.cli.buckets.OutputFormat was removed in huggingface-hub 1.12.0 pypi.org
And 13 more in this version.
huggingface-hub 1.11.0 breaking changes
- Removed
--quiet
On migrated CLI commands the --quiet flag is gone; use --format quiet instead. github.com - Removed
huggingface_hub.cli.cache.OutputFormat
huggingface_hub.cli.cache.OutputFormat was removed in huggingface-hub 1.11.0 pypi.org
And 106 more in this version.
huggingface-hub 1.10.1 breaking changes
- Signature changed
huggingface_hub.UserLikes.__init__
Was def __init__(self, user: str, total: int, datasets: list[str], models: list[str], spaces: list[str]) -> None; now def __init__(self, user: str, total: int, datasets: list[str], kernels: list[str], models: list[str], spaces: list[str])... pypi.org
huggingface-hub 1.10.0 breaking changes
- Behavior changed
The Hub now supports a kernel repository type; only kernel_info, hf_hub_download, snapshot_download, list_repo_refs, list_repo_files and list_repo_tree are officially supported for it. github.com - Signature changed
huggingface_hub.cli.buckets.cp
Was def cp(src: Annotated[str, typer.Argument(help='Source: local file, hf://buckets/... path, or - for stdin')], dst: Annotated[str | None, typer.Argument(help='Destination: local path, hf://buckets/... path, or - for stdout')] = None... pypi.org
And 3 more in this version.
huggingface-hub 1.9.2 breaking changes
- Signature changed
huggingface_hub.HfApi.delete_space_volumes
Was def delete_space_volumes(self, repo_id: str, *, token: bool | str | None = None) -> SpaceRuntime; now def delete_space_volumes(self, repo_id: str, *, token: bool | str | None = None) -> None. pypi.org - Signature changed
huggingface_hub.HfApi.set_space_volumes
Was def set_space_volumes(self, repo_id: str, volumes: list[Volume], *, token: bool | str | None = None) -> SpaceRuntime; now def set_space_volumes(self, repo_id: str, volumes: list[Volume], *, token: bool | str | None = None) -> None. pypi.org
huggingface-hub 1.9.0 breaking changes
- Removed
huggingface_hub.cli.auth.ANSI
huggingface_hub.cli.auth.ANSI was removed in huggingface-hub 1.9.0 pypi.org - Removed
huggingface_hub.cli.auth.FormatOpt
huggingface_hub.cli.auth.FormatOpt was removed in huggingface-hub 1.9.0 pypi.org
And 80 more in this version.
huggingface-hub 1.8.0 breaking changes
- Removed
huggingface_hub.cli.jobs.get_token
huggingface_hub.cli.jobs.get_token was removed in huggingface-hub 1.8.0 pypi.org - Removed
huggingface_hub.cli.jobs.load_dotenv
huggingface_hub.cli.jobs.load_dotenv was removed in huggingface-hub 1.8.0 pypi.org
And 22 more in this version.
huggingface-hub 1.7.2 breaking changes
- Signature changed
huggingface_hub.cli.auth.auth_whoami
Was def auth_whoami() -> None; now def auth_whoami(format: FormatOpt = OutputFormat.table) -> None. pypi.org - Signature changed
huggingface_hub.cli.hf.upload
Was def upload(repo_id: RepoIdArg, local_path: Annotated[Optional[str], typer.Argument(help='Local path to the file or folder to upload. Wildcard patterns are supported. Defaults to current directory.')] = None, path_in_repo... pypi.org
And 1 more in this version.
huggingface-hub 1.7.0 breaking changes
- Removed
huggingface_hub.cli.extensions.tabulate
huggingface_hub.cli.extensions.tabulate was removed in huggingface-hub 1.7.0 pypi.org - Removed
huggingface_hub.cli.hf.CLIError
huggingface_hub.cli.hf.CLIError was removed in huggingface-hub 1.7.0 pypi.org
And 16 more in this version.
huggingface-hub 1.6.0 breaking changes
- Removed
huggingface_hub.HfFileSystemResolvedPath.path_in_repo
HfFileSystemResolvedPath.path_in_repo was removed in huggingface-hub 1.6.0 pypi.org - Removed
huggingface_hub.HfFileSystemResolvedPath.repo_id
HfFileSystemResolvedPath.repo_id was removed in huggingface-hub 1.6.0 pypi.org
And 14 more in this version.
huggingface-hub 1.5.0 breaking changes
- Removed
huggingface_hub.cli.hf.repo_cli
huggingface_hub.cli.hf.repo_cli was removed in huggingface-hub 1.5.0 pypi.org - Removed
huggingface_hub.cli.repo
huggingface_hub.cli.repo was removed in huggingface-hub 1.5.0 pypi.org
And 47 more in this version.
huggingface-hub 1.4.0 breaking changes
- Removed
huggingface_hub.cli.auth.HfHubHTTPError
huggingface_hub.cli.auth.HfHubHTTPError was removed in huggingface-hub 1.4.0 pypi.org - Removed
huggingface_hub.cli.cache.OutputFormat.csv
OutputFormat.csv was removed in huggingface-hub 1.4.0 pypi.org
And 34 more in this version.
huggingface-hub 1.3.5 breaking changes
- Default changed
The default httpx timeout is now taken from the HF_HUB_DOWNLOAD_TIMEOUT environment variable instead of a fixed 10 seconds. CI setups making many Hub requests may need to set HF_HUB_DOWNLOAD_TIMEOUT to a higher value such as 60. github.com
huggingface-hub 1.3.4 breaking changes
- Signature changed
huggingface_hub.CommitInfo.__init__
Was def __init__(self, commit_url: str, commit_message: str, commit_description: str, oid: str, _endpoint: Optional[str], pr_url: Optional[str] = None) -> None; now def __init__(self, commit_url: str, commit_message: str... pypi.org
huggingface-hub 1.3.3 breaking changes
- Default changed
MAX_FILE_SIZE_GB
The MAX_FILE_SIZE_GB limit was raised from 50 to 200 GB, so code that relied on the old limit to reject large files will now accept them. github.com - Signature changed
huggingface_hub.cli.repo_files.repo_files_delete
Was def repo_files_delete(repo_id: RepoIdArg, patterns: Annotated[list[str], typer.Argument(help='Glob patterns to match files to delete.')], repo_type: RepoTypeOpt = RepoType.model, revision: RevisionOpt = None, commit_message... pypi.org
And 2 more in this version.
huggingface-hub 1.3.2 breaking changes
- Signature changed
huggingface_hub.CommitInfo.__init__
Was def __init__(self, commit_url: str, commit_message: str, commit_description: str, oid: str, pr_url: Optional[str] = None) -> None; now def __init__(self, commit_url: str, commit_message: str, commit_description: str, oid: str... pypi.org
huggingface-hub 1.3.1 breaking changes
- Signature changed
huggingface_hub.InferenceClient.feature_extraction
Was def feature_extraction(self, text: str, *, normalize: Optional[bool] = None, prompt_name: Optional[str] = None, truncate: Optional[bool] = None, truncation_direction: Optional[Literal['left', 'right']] = None, model: Optional[str] =... pypi.org
huggingface-hub 1.3.0 breaking changes
- Removed
huggingface_hub.cli.jobs.RepoOpt
huggingface_hub.cli.jobs.RepoOpt was removed in huggingface-hub 1.3.0 pypi.org - Removed
huggingface_hub.cli.repo.logger
huggingface_hub.cli.repo.logger was removed in huggingface-hub 1.3.0 pypi.org
And 13 more in this version.
huggingface-hub 1.2.3 breaking changes
- Default changed
When creating a repo from the CLI, the private flag now defaults to None, so the server decides visibility. Repos are still public unless the organization is set to private by default, so check scripts that rely on the old default. github.com - Signature changed
huggingface_hub.cli.hf.upload
Was def upload(repo_id: RepoIdArg, local_path: Annotated[Optional[str], typer.Argument(help='Local path to the file or folder to upload. Wildcard patterns are supported. Defaults to current directory.')] = None, path_in_repo... pypi.org
And 4 more in this version.
huggingface-hub 1.2.1 breaking changes
- Removed
huggingface_hub.offline_mode
huggingface_hub.offline_mode was removed in huggingface-hub 1.2.1 pypi.org
huggingface-hub 1.2.0 breaking changes
- Behavior changed
InferenceClient.feature_extraction
The truncation_direction parameter now takes lowercase "left" or "right" instead of "Left" or "Right". The async counterpart changed too, so update any capitalized values. github.com - Behavior changed
list_accepted_access_requests
list_accepted_access_requests now returns an iterator rather than a list. Wrap the call with list(...) if you need a list. github.com
And 19 more in this version.
huggingface-hub 1.1.7 breaking changes
- Signature changed
huggingface_hub.HfFileSystem.__init__
Was def __init__(self, *args, endpoint: Optional[str] = None, token: Union[bool, str, None] = None, block_size: Optional[int] = None, **storage_options); now def __init__(self, *args, endpoint: Optional[str] = None, token: Union[bool, str... pypi.org
huggingface-hub 1.1.4 breaking changes
- Behavior changed
list_user_access
list_user_access results are now paginated, a breaking change that matches a server-side API update. Code that reads its results must handle pagination. github.com - Signature changed
huggingface_hub.HfApi.list_accepted_access_requests
Was def list_accepted_access_requests(self, repo_id: str, *, repo_type: Optional[str] = None, token: Union[bool, str, None] = None) -> list[AccessRequest]; now def list_accepted_access_requests(self, repo_id: str, *, repo_type... pypi.org
And 2 more in this version.
huggingface-hub 1.1.3 breaking changes
- Signature changed
huggingface_hub.HfApi.hf_hub_download
Was def hf_hub_download(self, repo_id: str, filename: str, *, subfolder: Optional[str] = None, repo_type: Optional[str] = None, revision: Optional[str] = None, cache_dir: Union[str, Path, None] = None, local_dir: Union[str, Path, None] =... pypi.org - Signature changed
huggingface_hub.HfApi.snapshot_download
Was def snapshot_download(self, repo_id: str, *, repo_type: Optional[str] = None, revision: Optional[str] = None, cache_dir: Union[str, Path, None] = None, local_dir: Union[str, Path, None] = None, etag_timeout: float =... pypi.org
huggingface-hub 1.1.2 breaking changes
- Signature changed
huggingface_hub.cli.inference_endpoints.deploy_from_catalog
Was def deploy_from_catalog(name: NameArg, repo: Annotated[str, typer.Option(help="The name of the model repository associated with the Inference Endpoint (e.g. 'openai/gpt-oss-120b').")], namespace: NamespaceOpt = None, token: TokenOpt =... pypi.org
huggingface-hub 1.1.0 breaking changes
- Behavior changed
snapshot_download
snapshot_download and the hf download CLI now print much less output, with per-file logs hidden by default and progress bars combined into one. Code that depends on the old verbose logs or progress bars may need updating. github.com - Signature changed
huggingface_hub.cli.cache.ls
Was def ls(cache_dir: Annotated[Optional[str], typer.Option(help='Cache directory to scan (defaults to Hugging Face cache).')] = None, revisions: Annotated[bool, typer.Option(help='Include revisions in the output instead of aggregated... pypi.org
And 5 more in this version.
huggingface-hub 1.0.1 breaking changes
- Removed
huggingface_hub[inference]
The inference extra no longer exists because its aiohttp dependency was dropped in favor of httpx. Users who installed huggingface_hub[inference] should install huggingface_hub directly and remove the extra. github.com
huggingface-hub 1.0.0 breaking changes
- Removed
The [cli] extra is removed because the CLI now ships with the core package. Stop installing the extra. github.com - Removed
The minimum Python version is now 3.9. Users on Python 3.8 must upgrade Python before installing this release. github.com
And 214 more in this version.
huggingface-hub 0.36.0 breaking changes
- Removed
huggingface_hub.hf_api.is_xet_available
huggingface_hub.hf_api.is_xet_available was removed in huggingface-hub 0.36.0 pypi.org - Signature changed
huggingface_hub.file_download.http_backoff
Was def http_backoff(method: HTTP_METHOD_T, url: str, *, max_retries: int = 5, base_wait_time: float = 1, max_wait_time: float = 8, retry_on_exceptions: Union[Type[Exception], Tuple[Type[Exception], ...]] = (requests.Timeout... pypi.org
And 8 more in this version.
huggingface-hub 0.35.1 breaking changes
- Behavior changed
Requests that receive a 429 rate-limit response are no longer retried automatically; only 5xx errors are retried. Code that relied on automatic retries for 429 must handle them itself. github.com - Signature changed
huggingface_hub.file_download.http_backoff
Was def http_backoff(method: HTTP_METHOD_T, url: str, *, max_retries: int = 5, base_wait_time: float = 1, max_wait_time: float = 8, retry_on_exceptions: Union[Type[Exception], Tuple[Type[Exception], ...]] = (requests.Timeout... pypi.org
And 3 more in this version.
huggingface-hub 0.35.0 breaking changes
- Removed
huggingface_hub.InferenceClient.get_model_status
InferenceClient.get_model_status was removed in huggingface-hub 0.35.0 pypi.org - Removed
huggingface_hub.InferenceClient.list_deployed_models
InferenceClient.list_deployed_models was removed in huggingface-hub 0.35.0 pypi.org
And 6 more in this version.
huggingface-hub 0.34.4 breaking changes
- Signature changed
huggingface_hub.cli.jobs.load_dotenv
Was def load_dotenv(dotenv_str: str) -> Dict[str, str]; now def load_dotenv(dotenv_str: str, environ: Optional[Dict[str, str]] = None) -> Dict[str, str]. pypi.org - Signature changed
huggingface_hub.JobInfo.owner
Was owner: Optional[JobOwner]; now owner: JobOwner. pypi.org
And 3 more in this version.
huggingface-hub 0.34.3 breaking changes
- Behavior changed
whoami
Output of the whoami command gets a 'user:' prefix, so scripts that parse its raw output must be updated. github.com
huggingface-hub 0.34.0 breaking changes
- Removed
huggingface_hub.HfFileSystemFile.details
HfFileSystemFile.details was removed in huggingface-hub 0.34.0 pypi.org - Removed
huggingface_hub.OAuthOrgInfo.missing_mfa
The missing_mfa field is deprecated and replaced by security_restrictions. pypi.org
And 7 more in this version.
huggingface-hub 0.33.4 breaking changes
- Behavior changed
The default tools used by tiny-agent now omit their parameters. Code that relied on those default tool parameters may need to pass them explicitly. github.com
huggingface-hub 0.33.2 breaking changes
- Signature changed
huggingface_hub.Agent.__init__
Was def __init__(self, *, model: Optional[str] = None, servers: Iterable[Dict], provider: Optional[PROVIDER_OR_POLICY_T] = None, base_url: Optional[str] = None, api_key: Optional[str] = None, prompt: Optional[str] = None); now def... pypi.org
huggingface-hub 0.33.0 breaking changes
- Behavior changed
InferenceClient
Inference calls to a provider in error mode now emit a warning. Existing code keeps working but may show new warnings. github.com - Behavior changed
snapshot_download
The hf-xet component now produces less output. Code relying on its console output may notice the difference. github.com
And 6 more in this version.
huggingface-hub 0.32.2 breaking changes
- Signature changed
huggingface_hub.Agent.__init__
Was def __init__(self, *, model: str, servers: Iterable[Dict], provider: Optional[PROVIDER_OR_POLICY_T] = None, api_key: Optional[str] = None, prompt: Optional[str] = None); now def __init__(self, *, model: Optional[str] = None, servers... pypi.org - Signature changed
huggingface_hub.MCPClient.__init__
Was def __init__(self, *, model: str, provider: Optional[PROVIDER_OR_POLICY_T] = None, api_key: Optional[str] = None); now def __init__(self, *, model: Optional[str] = None, provider: Optional[PROVIDER_OR_POLICY_T] = None, base_url... pypi.org
huggingface-hub 0.32.0 breaking changes
- Removed
huggingface_hub.ChatCompletionInputGrammarType.__init__
ChatCompletionInputGrammarType() was removed in huggingface-hub 0.32.0 pypi.org - Removed
huggingface_hub.ChatCompletionInputGrammarType.__post_init__
ChatCompletionInputGrammarType.__post_init__ was removed in huggingface-hub 0.32.0 pypi.org
And 21 more in this version.
huggingface-hub 0.31.0 breaking changes
- Removed
huggingface_hub.AutomaticSpeechRecognitionParameters.generate_kwargs
AutomaticSpeechRecognitionParameters.generate_kwargs was removed in huggingface-hub 0.31.0 pypi.org - Removed
huggingface_hub.ChatCompletionInputFunctionDefinition.arguments
ChatCompletionInputFunctionDefinition.arguments was removed in huggingface-hub 0.31.0 pypi.org
And 20 more in this version.
huggingface-hub 0.30.0 breaking changes
- Removed
huggingface_hub.file_download.is_tqdm_disabled
huggingface_hub.file_download.is_tqdm_disabled was removed in huggingface-hub 0.30.0 pypi.org - Behavior changed
InferenceClient
The InferenceClient docstring now states that token=False is no longer accepted. Remove any use of token=False. github.com
And 10 more in this version.
huggingface-hub 0.29.0 breaking changes
- Removed
huggingface_hub.AutomaticSpeechRecognitionOutputChunk.timestamps
AutomaticSpeechRecognitionOutputChunk.timestamps was removed in huggingface-hub 0.29.0 pypi.org - Removed
huggingface_hub.HfFolder.path_token
HfFolder.path_token was removed in huggingface-hub 0.29.0 pypi.org
And 146 more in this version.
huggingface-hub 0.28.0 breaking changes
- Removed
huggingface_hub.__version__
huggingface_hub.__version__ was removed in huggingface-hub 0.28.0 pypi.org - Removed
huggingface_hub.HfApi.like
The like endpoint was removed to prevent misuse. Existing likes can still be removed using the unlike endpoint. pypi.org
And 25 more in this version.
huggingface-hub 0.27.0 breaking changes
- Removed
huggingface_hub.AutomaticSpeechRecognitionParameters.generate
AutomaticSpeechRecognitionParameters.generate was removed in huggingface-hub 0.27.0 pypi.org - Removed
huggingface_hub.ChatCompletionInputToolType
huggingface_hub.ChatCompletionInputToolType was removed in huggingface-hub 0.27.0 pypi.org
And 91 more in this version.
huggingface-hub 0.26.5 breaking changes
- Signature changed
huggingface_hub.save_torch_model
Was def save_torch_model(model: torch.nn.Module, save_directory: Union[str, Path], *, filename_pattern: Optional[str] = None, force_contiguous: bool = True, max_shard_size: Union[int, str] = MAX_SHARD_SIZE, metadata: Optional[Dict[str... pypi.org - Signature changed
huggingface_hub.save_torch_state_dict
Was def save_torch_state_dict(state_dict: Dict[str, torch.Tensor], save_directory: Union[str, Path], *, filename_pattern: Optional[str] = None, force_contiguous: bool = True, max_shard_size: Union[int, str] = MAX_SHARD_SIZE, metadata... pypi.org
huggingface-hub 0.26.2 breaking changes
- Signature changed
huggingface_hub.hf_api.BlobSecurityInfo.__init__
Was def __init__(self, safe: bool, av_scan: Optional[Dict], pickle_import_scan: Optional[Dict]) -> None; now def __init__(self, safe: bool, status: str, av_scan: Optional[Dict], pickle_import_scan: Optional[Dict]) -> None. pypi.org
huggingface-hub 0.26.0 breaking changes
- Removed
Any client-side templating utility has been removed from huggingface_hub. github.com - Removed
hf_hub_download.legacy_cache_layout
The legacy_cache_layout argument of hf_hub_download() has been removed; remove it from calls. github.com
And 75 more in this version.
huggingface-hub 0.25.0 breaking changes
- Removed
ConversationalOutput
The ConversationalOutput data class was removed along with the conversational task. github.com - Removed
huggingface_hub.AudioClassificationInput.__getitem__
AudioClassificationInput.__getitem__ was removed in huggingface-hub 0.25.0 pypi.org
And 187 more in this version.
huggingface-hub 0.24.1 breaking changes
- Behavior changed
The release removes the "non-TGI" logic in chat completion, since all models now support server-side rendering. Code relying on the old non-TGI handling may see different behavior. github.com
huggingface-hub 0.24.0 breaking changes
- Removed
huggingface_hub.ChatCompletionInputMessage.tool_calls
ChatCompletionInputMessage.tool_calls was removed in huggingface-hub 0.24.0 pypi.org - Removed
huggingface_hub.ChatCompletionInputToolCall
huggingface_hub.ChatCompletionInputToolCall was removed in huggingface-hub 0.24.0 pypi.org
And 58 more in this version.
huggingface-hub 0.23.0 breaking changes
- Removed
--local-dir-use-symlink
The --local-dir-use-symlink flag is ignored and symlinking to the cache is no longer possible. github.com - Removed
api_endpoint
The api_endpoint argument of push_to_hub was removed. Set the HF_ENDPOINT environment variable instead. github.com
And 222 more in this version.
huggingface-hub 0.22.0 breaking changes
- Removed
huggingface_hub.file_download.http_user_agent
The deprecated http_user_agent function is gone. Use huggingface_hub.utils.build_hf_headers instead. pypi.org - Removed
huggingface_hub.hub_mixin.ModelHubMixin.config
ModelHubMixin.config was removed in huggingface-hub 0.22.0 pypi.org
And 44 more in this version.
huggingface-hub 0.21.0 breaking changes
- Behavior changed
HfApi
All objects returned by the HfApi client are now dataclasses instead of mixed dictionaries and classes. Code relying on dictionary access on returned objects may need updating. github.com - Default changed
PyTorchModelHubMixin
Weights are saved as .safetensors files instead of pytorch pickles by default. Loading old pickles is still supported but planned for deprecation. github.com
And 21 more in this version.
huggingface-hub 0.20.0 breaking changes
- Removed
huggingface_hub.hf_api.RepoFile.__post_init__
RepoFile.__post_init__ was removed in huggingface-hub 0.20.0 pypi.org - Removed
huggingface_hub.hf_file_system.paginate
huggingface_hub.hf_file_system.paginate was removed in huggingface-hub 0.20.0 pypi.org
And 51 more in this version.
huggingface-hub 0.19.0 breaking changes
- Removed
DatasetTags
GeneralTags, ModelTags and DatasetTags classes were removed. github.com - Removed
huggingface_hub.Collection.__repr__
Collection.__repr__ was removed in huggingface-hub 0.19.0 pypi.org
And 74 more in this version.
huggingface-hub 0.18.0 breaking changes
- Removed
huggingface_hub.hf_api.fetch_lfs_files_to_copy
huggingface_hub.hf_api.fetch_lfs_files_to_copy was removed in huggingface-hub 0.18.0 pypi.org - Removed
huggingface_hub.hf_api.fetch_upload_modes
huggingface_hub.hf_api.fetch_upload_modes was removed in huggingface-hub 0.18.0 pypi.org
And 11 more in this version.
huggingface-hub 0.17.0 breaking changes
- Removed
huggingface_hub.community.Literal
huggingface_hub.community.Literal was removed in huggingface-hub 0.17.0 pypi.org - Removed
huggingface_hub.file_download.Literal
huggingface_hub.file_download.Literal was removed in huggingface-hub 0.17.0 pypi.org
And 26 more in this version.
huggingface-hub 0.15.0 breaking changes
- Signature changed
huggingface_hub.hf_api.HfApi.change_discussion_status
Was def change_discussion_status(self, repo_id: str, discussion_num: int, new_status: Literal[open, closed], *, token: Optional[str] = None, comment: Optional[str] = None, repo_type: Optional[str] = None) -> DiscussionStatusChange; now def... pypi.org - Signature changed
huggingface_hub.hf_api.HfApi.create_commit
Was def create_commit(self, repo_id: str, operations: Iterable[CommitOperation], *, commit_message: str, commit_description: Optional[str] = None, token: Optional[str] = None, repo_type: Optional[str] = None, revision: Optional[str] =... pypi.org
And 17 more in this version.
huggingface-hub 0.14.0 breaking changes
- Removed
huggingface_hub.commands.user.currently_setup_credential_helpers
huggingface_hub.commands.user.currently_setup_credential_helpers was removed in huggingface-hub 0.14.0 pypi.org - Removed
huggingface_hub.CommitOperationAdd.validate
CommitOperationAdd.validate was removed in huggingface-hub 0.14.0 pypi.org
And 24 more in this version.
huggingface-hub 0.13.0 breaking changes
- Removed
huggingface_hub.inference_api.ENDPOINT
huggingface_hub.inference_api.ENDPOINT was removed in huggingface-hub 0.13.0 pypi.org - Removed
huggingface_hub.keras_mixin.CommitOperation
huggingface_hub.keras_mixin.CommitOperation was removed in huggingface-hub 0.13.0 pypi.org
And 34 more in this version.
huggingface-hub 0.12.0 breaking changes
- Removed
get_space_secrets
The get_space_secrets endpoint was removed; use add_space_secret to configure Space secrets. github.com - Removed
huggingface_hub.hub_mixin.HfFolder
huggingface_hub.hub_mixin.HfFolder was removed in huggingface-hub 0.12.0 pypi.org
And 43 more in this version.
huggingface-hub 0.11.0 breaking changes
- Removed
create_repo
Passing an organization to create_repo is no longer supported; existing calls that do so will break. github.com - Removed
huggingface_hub.commands.user.run_subprocess
huggingface_hub.commands.user.run_subprocess was removed in huggingface-hub 0.11.0 pypi.org
And 183 more in this version.
huggingface-hub 0.10.0 breaking changes
- Removed
huggingface_hub.fastai_utils.HfFolder
huggingface_hub.fastai_utils.HfFolder was removed in huggingface-hub 0.10.0 pypi.org - Removed
huggingface_hub.hub_mixin.hf_api
huggingface_hub.hub_mixin.hf_api was removed in huggingface-hub 0.10.0 pypi.org
And 62 more in this version.
huggingface-hub 0.9.0 breaking changes
- Removed
huggingface_hub.hf_api.JSONDecodeError
huggingface_hub.hf_api.JSONDecodeError was removed in huggingface-hub 0.9.0 pypi.org - Removed
huggingface_hub.hf_api.REGEX_DISCUSSION_URL
huggingface_hub.hf_api.REGEX_DISCUSSION_URL was removed in huggingface-hub 0.9.0 pypi.org
And 37 more in this version.
huggingface-hub 0.7.0 breaking changes
- Behavior changed
_update_metadata_model_index
The model-index handling in repocard metadata updates changed to overwrite or add results. Check code that relies on the previous model-index merge behavior. github.com
huggingface-hub 0.6.0 breaking changes
- Removed
huggingface_hub.hf_api.DatasetFile
huggingface_hub.hf_api.DatasetFile was removed in huggingface-hub 0.6.0 pypi.org - Removed
huggingface_hub.hf_api.ModelFile
huggingface_hub.hf_api.ModelFile was removed in huggingface-hub 0.6.0 pypi.org
And 10 more in this version.
huggingface-hub 0.5.0 breaking changes
- Removed
Python 3.6 is no longer supported; installing on Python 3.6 now installs v0.4.0 instead. github.com - Removed
huggingface_hub.commands.user.ListReposObjsCommand
huggingface_hub.commands.user.ListReposObjsCommand was removed in huggingface-hub 0.5.0 pypi.org
And 54 more in this version.
huggingface-hub 0.4.0 breaking changes
- Removed
huggingface_hub.hf_api.DatasetInfo.card_data
DatasetInfo.card_data was removed in huggingface-hub 0.4.0 pypi.org - Signature changed
huggingface_hub.hf_api.DatasetInfo.__init__
Was def __init__(self, id: Optional[str] = None, lastModified: Optional[str] = None, tags: List[str] = [], siblings: Optional[List[Dict]] = None, private: Optional[bool] = None, author: Optional[str] = None, description: Optional[str] =... pypi.org
And 6 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.