# What changed in langchain-huggingface

> 9 changes in langchain-huggingface 1 from its official release notes, upgrade guides and advisories: 3 breaking, 1 security, 2 new APIs and options. Each one cited. Sources checked 2026-10-24. HTML: https://unstale.sh/pypi/langchain-huggingface/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## langchain-huggingface 1

### Breaking changes

- The retired IPEX backend has been removed. (1.2.3) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-huggingface%3D%3D1.2.3)
- The minimum langchain-core version was raised to 1.2.21. (1.2.2) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-huggingface%3D%3D1.2.2)
- Hostname validation is hardened, and URLs are rejected in repo_id. (1.2.2) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-huggingface%3D%3D1.2.2)

### Security

- The API token is hidden from object representations, reducing the chance of exposing it when instances are printed or logged. (1.2.3) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-huggingface%3D%3D1.2.3)

### New APIs and options

- Adds text_inputs to model profiles. (1.2.1) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-huggingface%3D%3D1.2.1)
- Adds text_outputs to model profiles. (1.2.1) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-huggingface%3D%3D1.2.1)

### Behavior and default changes

- Device-count detection uses torch.accelerator for device-agnostic detection. (1.2.3) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-huggingface%3D%3D1.2.3)

### Fixes and other changes

- Using a local HuggingFaceEndpoint avoids Hugging Face API calls. (1.2.2) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-huggingface%3D%3D1.2.2)
- Resolves compatibility with huggingface-hub 1.x. (1.2.1) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-huggingface%3D%3D1.2.1)
