langchain-perplexity==1.2.0

LangChain Releases / 4/30/2026

📰 NewsDeveloper Stack & InfrastructureTools & Practical UsageModels & Research

Key Points

  • langchain-perplexity==1.2.0は、langchain-perplexity==1.1.0からの更新としてPerplexity向けの新機能と修正を含んでいます。
  • PerplexityEmbeddingsの追加により、Perplexityを使った埋め込み(embeddings)処理が利用しやすくなります。
  • core側ではcontent-block-centric streaming(v2)を追加し、ストリーミングの方式が強化されています。
  • 最低限のcoreバージョン引き上げ(bump)やCIの修正(nobenchmarkフラグ削除)など、互換性・開発/検証フローに関わるホットフィックスが入っています。
  • ドキュメント更新や、パートナー連携の統合テスト実行方法の標準化など、周辺作業(chore)も行われています。

Changes since langchain-perplexity==1.1.0

release(perplexity): 1.2.0 (#37091)
feat(perplexity): add PerplexityEmbeddings (#37082)
chore(docs): update x handle references (#37081)
hotfix: bump min core versions (#36996)
feat(core): add content-block-centric streaming (v2) (#36834)
hotfix(ci): remove nobenchmark flag (#36959)
chore(partners): standardize integration test invocation (#36958)
chore(deps): bump pytest to 9.0.3 (#36801)
chore: bump langsmith from 0.6.3 to 0.7.31 in /libs/partners/perplexity (#36785)
chore: bump pillow from 12.1.1 to 12.2.0 in /libs/partners/perplexity (#36778)
chore: add comment explaining pygments>=2.20.0 (#36570)
chore: pygments>=2.20.0 across all packages (CVE-2026-4539) (#36385)
chore: bump requests from 2.32.5 to 2.33.0 in /libs/partners/perplexity (#36246)
chore(partners): bump langchain-core min to 1.2.21 (#36183)
fix(core,model-profiles): add missing ModelProfile fields, warn on schema drift (#36129)
ci: suppress pytest streaming output in CI (#36092)
ci: avoid unnecessary dep installs in lint targets (#36046)
chore: bump orjson from 3.11.5 to 3.11.6 in /libs/partners/perplexity (#35865)
feat(model-profiles): new fields + Makefile target (#35788)
fix(model-profiles): sort generated profiles by model ID for stable diffs (#35344)
docs(perplexity): Fix docstring of output_parsers.strip_think_tags() (#35264)
chore: bump model profiles (#35294)
fix(nomic,openai,perplexity): update pillow version to >= 12.1.1, <13.0.0 (#35254)
chore: bump pillow from 11.3.0 to 12.1.1 in /libs/partners/perplexity (#35176)
chore(deps): bump langsmith from 0.4.31 to 0.6.3 in /libs/partners/perplexity (#35154)
feat(model-profiles): add text_inputs and text_outputs (#35084)
chore: add make type target (#35015)
revert: "chore: add typing target in Makefile" (#35013)
chore: add typing target in Makefile (#35012)
chore: enrich pyproject.toml files (#34980)
chore(deps): bump the uv group across 20 directories with 3 updates (#34941)
chore: upgrade urllib3 to 2.6.3 (#34940)
docs: add missing module-level docstrings to partner integrations (#34838)
chore: update twitter URLs (#34736)
chore: ban relative imports on all packages (#34691)
feat(perplexity): overhaul integration with official SDK and Search API (#34412)
chore: update core dep in lockfiles (#34216)