---
title: "@huggingface/inference 4.0.0 Breaking Changes on npm"
description: "What each @huggingface/inference release removed, renamed or changed: 28 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@huggingface/inference
last_updated: 2026-12-04
---

# @huggingface/inference breaking changes

@huggingface/inference 4.0.0 (June 2, 2025) is its newest release with breaking changes. The first: Removed InferenceOutputError. Every breaking API change we have recorded in @huggingface/inference on npm: 28 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.14.2`, released December 4, 2026. 

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 1 breaking change in 1 version.

## @huggingface/inference 4.0.0 breaking changes

@huggingface/inference 4.0.0, released June 2, 2025: 1 breaking change.

- **Removed** `InferenceOutputError`  

InferenceOutputError was removed in @huggingface/inference 4.0.0 [npmjs.com](https://www.npmjs.com/package/@huggingface/inference/v/4.0.0)

## @huggingface/inference 3.0.0 breaking changes

@huggingface/inference 3.0.0, released January 17, 2025: 27 breaking changes.

- **Signature changed** `AudioClassificationArgs.model`  

Was model?: string; now model?: ModelId. [npmjs.com](https://www.npmjs.com/package/@huggingface/inference/v/3.0.0)
- **Signature changed** `AudioToAudioArgs.model`  

Was model?: string; now model?: ModelId. [npmjs.com](https://www.npmjs.com/package/@huggingface/inference/v/3.0.0)
- **Signature changed** `AutomaticSpeechRecognitionArgs.model`  

Was model?: string; now model?: ModelId. [npmjs.com](https://www.npmjs.com/package/@huggingface/inference/v/3.0.0)
- **Signature changed** `BaseArgs.model`  

Was model?: string; now model?: ModelId. [npmjs.com](https://www.npmjs.com/package/@huggingface/inference/v/3.0.0)
- **Signature changed** `DocumentQuestionAnsweringArgs.model`  

Was model?: string; now model?: ModelId. [npmjs.com](https://www.npmjs.com/package/@huggingface/inference/v/3.0.0)
- **Signature changed** `FeatureExtractionArgs.model`  

Was model?: string; now model?: ModelId. [npmjs.com](https://www.npmjs.com/package/@huggingface/inference/v/3.0.0)
- **Signature changed** `FillMaskArgs.model`  

Was model?: string; now model?: ModelId. [npmjs.com](https://www.npmjs.com/package/@huggingface/inference/v/3.0.0)
- **Signature changed** `ImageClassificationArgs.model`  

Was model?: string; now model?: ModelId. [npmjs.com](https://www.npmjs.com/package/@huggingface/inference/v/3.0.0)
- **Signature changed** `ImageSegmentationArgs.model`  

Was model?: string; now model?: ModelId. [npmjs.com](https://www.npmjs.com/package/@huggingface/inference/v/3.0.0)
- **Signature changed** `ImageToImageArgs.model`  

Was model?: string; now model?: ModelId. [npmjs.com](https://www.npmjs.com/package/@huggingface/inference/v/3.0.0)

And 17 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [@huggingface/hub](https://since.dev/packages/npm/@huggingface/hub.md)
- [@huggingface/transformers](https://since.dev/packages/npm/@huggingface/transformers.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
