@huggingface/hub breaking changes
@huggingface/hub 2.18.0 (November 27, 2026) is its newest release with breaking changes, 3 of them. The first: Signature changed uploadFile. Every breaking API change we have recorded in @huggingface/hub on npm: 14 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.18.1, released December 1, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@huggingface/hub 2.18.0 breaking changes
- Signature changed
uploadFile
Was function uploadFile(params: {repo: CommitParams["repo"]; file: URL | File | {path: string; content: ContentSource;} | CommitEditFileParams; commitTitle?: CommitParams["title"]; commitDescription?: CommitParams["description"]; hubUrl?... npmjs.com - Signature changed
uploadFiles
Was function uploadFiles(params: {repo: CommitParams["repo"]; files: Array<URL | File | {path: string; content: ContentSource;} | CommitEditFileParams>; commitTitle?: CommitParams["title"]; commitDescription?: CommitParams["description"]... npmjs.com - Signature changed
uploadFilesWithProgress
Was function uploadFilesWithProgress(params: {repo: CommitParams["repo"]; files: Array<URL | File | {path: string; content: ContentSource;} | CommitEditFileParams>; commitTitle?: CommitParams["title"]; commitDescription?... npmjs.com
@huggingface/hub 2.17.9 breaking changes
- Signature changed
createRepo
Was function createRepo(params: {repo: RepoDesignation; visibility?: "public" | "private" | "protected"; private?: boolean; resourceGroupId?: string; license?: string; files?: Array<{content: ArrayBuffer | Blob; path: string;}>; sdk?... npmjs.com - Signature changed
SpaceHardwareFlavor
Was type SpaceHardwareFlavor = "cpu-basic" | "cpu-upgrade" | "cpu-performance" | "cpu-xl" | "sprx8" | "zero-a10g" | "inf2x6" | "t4-small" | "t4-medium" | "l4x1" | "l4x4" | "l40sx1" | "l40sx4" | "l40sx8" | "a10g-small" | "a10g-large" |... npmjs.com
@huggingface/hub 2.17.8 breaking changes
- Signature changed
parseSafetensorsMetadata
Was function parseSafetensorsMetadata(params: {repo: RepoDesignation; path?: string; computeParametersCount: true; library?: string; hubUrl?: string; revision?: string; fetch?: typeof fetch;} & Partial<CredentialsParams>)... npmjs.com
@huggingface/hub 2.17.0 breaking changes
- Signature changed
uploadFile
Was function uploadFile(params: {repo: CommitParams["repo"]; file: URL | File | {path: string; content: ContentSource;}; commitTitle?: CommitParams["title"]; commitDescription?: CommitParams["description"]; hubUrl?: CommitParams["hubUrl"]... npmjs.com - Signature changed
uploadFiles
Was function uploadFiles(params: {repo: CommitParams["repo"]; files: Array<URL | File | {path: string; content: ContentSource;}>; commitTitle?: CommitParams["title"]; commitDescription?: CommitParams["description"]; hubUrl?... npmjs.com - Signature changed
uploadFilesWithProgress
Was function uploadFilesWithProgress(params: {repo: CommitParams["repo"]; files: Array<URL | File | {path: string; content: ContentSource;}>; commitTitle?: CommitParams["title"]; commitDescription?: CommitParams["description"]; hubUrl?... npmjs.com
@huggingface/hub 2.16.3 breaking changes
- Signature changed
getQuantizationMultiplier
Was function getQuantizationMultiplier(tensorName: string, dtype: Dtype, quantConfig?: QuantizationConfig, expertDtype?: string): number; now function getQuantizationMultiplier(tensorName: string, dtype: Dtype, quantConfig?... npmjs.com - Signature changed
isQuantizedTensor
Was function isQuantizedTensor(tensorName: string, quantConfig?: QuantizationConfig): boolean; now function isQuantizedTensor(tensorName: string, quantConfig?: QuantizationConfig, mlxQuantizedModules?: ReadonlySet<string>): boolean. npmjs.com - Signature changed
ModelConfig.quantization_config
Was quantization_config?: QuantizationConfig; now quantization_config?: QuantizationConfig | MlxQuantizationConfig. npmjs.com - Signature changed
ModelConfig.text_config
Was text_config?: {quantization_config?: QuantizationConfig;} & Pick<ModelConfig, "expert_dtype">; now text_config?: Pick<ModelConfig, "expert_dtype" | "quantization" | "quantization_config">. npmjs.com
@huggingface/hub 2.16.0 breaking changes
- Signature changed
CommitParams
Was type CommitParams = {title: string; description?: string; repo: RepoDesignation; operations: CommitOperation[]; branch?: string; parentCommit?: string; isPullRequest?: boolean; hubUrl?: string; useWebWorkers?: boolean | {minSize?... npmjs.com
Related packages
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.