Agent DailyAgent Daily
releaseintermediate

[Release] langchain-ai/langchain langchain-perplexity==1.2.0: langchain-perplexity==1.2.0

By github-actions[bot]github
View original on github

langchain-perplexity v1.2.0 introduces PerplexityEmbeddings support and overhauls the integration with the official Perplexity SDK and Search API. The release includes content-block-centric streaming improvements, dependency updates (langsmith, pillow, pytest), security patches (CVE-2026-4539 via pygments), and standardized integration testing across partners. Multiple maintenance updates ensure compatibility with langchain-core 1.2.21+ and improve code quality through type checking and documentation enhancements.

Key Points

  • New PerplexityEmbeddings feature added for embedding support in Perplexity integration
  • Major integration overhaul with official Perplexity SDK and Search API for improved compatibility
  • Content-block-centric streaming (v2) implemented in core for better streaming support
  • Security patch applied: pygments upgraded to >=2.20.0 to address CVE-2026-4539
  • Minimum langchain-core dependency bumped to 1.2.21 for compatibility
  • Dependency updates: langsmith (0.4.31→0.7.31), pillow (11.3.0→12.2.0), pytest (9.0.3), urllib3 (2.6.3)
  • Model profiles enriched with new fields (text_inputs, text_outputs) and stable sorting
  • Integration testing standardized across all partner packages for consistency
  • Type checking infrastructure added via Makefile targets for improved code quality
  • Documentation improvements including docstring fixes and module-level documentation for partner integrations

Found this useful? Add it to a playbook for a step-by-step implementation guide.

Workflow Diagram

Start Process
Step A
Step B
Step C
Complete
Quality

Concepts