# What changed in langchain-perplexity

> 17 changes in langchain-perplexity 1 from its official release notes, upgrade guides and advisories: 5 new APIs and options. Each one cited. Sources checked 2026-11-12. HTML: https://unstale.sh/pypi/langchain-perplexity/

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

## langchain-perplexity 1

### New APIs and options

- Package version tracking was added to tracing metadata. (1.4.1) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.4.1)
- Adds bind_tools and Responses-API tool round-trip support. (1.4.0) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.4.0)
- Adds the use_responses_api flag to ChatPerplexity. (1.3.0) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.3.0)
- Adds PerplexityEmbeddings for using Perplexity embeddings through the integration. (1.2.0) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.2.0)
- A dedicated output parser supports reasoning model output for Perplexity. (1.1.0) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.1.0)

### Behavior and default changes

- Overhauls the integration to use the official SDK and Search API. (1.2.0) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.2.0)

### Fixes and other changes

- Preserves search results returned by the Agent API. (1.4.2) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.4.2)
- Maps Responses API cache tokens into input_token_details. (1.4.2) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.4.2)
- Emits search_context_size once per stream in _astream. (1.4.2) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.4.2)
- Caller-provided extra_body is preserved. (1.4.1) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.4.1)
- The package version trace metadata was renamed. (1.4.1) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.4.1)
- The integration now uses a supported Responses API model. (1.4.1) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.4.1)
- Responses input items now include type="message". (1.4.1) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.4.1)
- Fixes serialization of AIMessage.tool_calls. (1.3.2) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.3.2)
- Fixes serialization of ToolMessage. (1.3.2) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.3.2)
- Usage metadata now includes all keys. (1.1.0) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.1.0)
- Python 3.14 is supported. (1.0.0) — [release notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-perplexity%3D%3D1.0.0)
