unstale

pypi / langchain-huggingface

langchain-huggingface

What changed in langchain-huggingface 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

3 breaking1 security2 new APIs and options1 behavior and defaults2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

langchain-huggingface 19 changes

Breaking changes 3

  • The retired IPEX backend has been removed.

    1.2.3release notes

  • The minimum langchain-core version was raised to 1.2.21.

    1.2.2release notes

  • Hostname validation is hardened, and URLs are rejected in repo_id.

    1.2.2release notes

Security 1

  • The API token is hidden from object representations, reducing the chance of exposing it when instances are printed or logged.

    1.2.3release notes

New APIs and options 2

Behavior and default changes 1

  • Device-count detection uses torch.accelerator for device-agnostic detection.

    1.2.3release notes

Fixes and other changes 2

  • Using a local HuggingFaceEndpoint avoids Hugging Face API calls.

    1.2.2release notes

  • Resolves compatibility with huggingface-hub 1.x.

    1.2.1release notes