Skip to content

Releases: langchain-ai/langchain

langchain-perplexity==1.4.1

Choose a tag to compare

@github-actions github-actions released this 21 Aug 14:08
5feb55b

Changes since langchain-perplexity==1.4.0

release(perplexity): 1.4.1 (#39826)
fix(perplexity): include type="message" on Responses input items (#39774)
fix(perplexity): preserve caller extra_body (#39203)
chore: bump pillow from 12.2.0 to 12.3.0 in /libs/partners/perplexity (#38991)
chore(deps): refresh lockfiles (#38746)
fix(perplexity): use supported Responses API model (#38337)
chore: bump vcrpy from 8.1.1 to 8.2.1 in /libs/partners/perplexity (#38290)
chore: bump langsmith from 0.8.5 to 0.8.18 in /libs/partners/perplexity (#38289)
docs: refresh README installation and resources (#38119)
release(core): 1.4.7 (#38111)
fix(core,partners): rename package version trace metadata (#38110)
style(core,langchain,langchain-classic,partners): replace double backticks in docstrings (#38095)
release(core): 1.4.6 (#38061)
feat(core,partners): add package version tracking to tracing metadata (#35295)
chore(infra): bump mypy to 2.1 and unify type-check config across the monorepo (#36470)
feat(standard-tests): validate tool call chunks during streaming (#34707)
chore(partners): bump locks (#38052)

langchain==1.3.16

Choose a tag to compare

@github-actions github-actions released this 20 Aug 14:35
86ae76a

Changes since langchain==1.3.15

release(langchain): 1.3.16 (#39806)
feat(core): add standard model exception types (#39538)
feat(langchain): support custom token_counter in ContextEditingMiddleware (#39754)
fix(langchain): re-raise non-retryable exceptions in ModelRetryMiddleware (#38960)
chore(langchain): update docs on error handling for json schema (#39632)
fix(langchain): preserve final repeated schema ordering (#39284)

langchain-fireworks==1.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Aug 17:47
ca3acde

Changes since langchain-fireworks==1.5.2

release(fireworks): 1.6.0 (#39810)
feat(fireworks): add document reranking (#39732)
fix(fireworks): filter invalid tool calls from v1 content (#39805)
feat(core): add standard model exception types (#39538)
chore(model-profiles): refresh model profile data (#39646)
fix(fireworks): avoid repeated service_tier [closes #39619] (#39620)
chore: bump langsmith from 0.10.6 to 0.10.16 in /libs/partners/fireworks (#39279)
chore: bump aiohttp from 3.14.1 to 3.14.3 in /libs/partners/fireworks (#39236)
chore(model-profiles): refresh model profile data (#39166)

langchain-anthropic==1.6.1

Choose a tag to compare

@github-actions github-actions released this 20 Aug 14:06
9bdaf43

Changes since langchain-anthropic==1.6.0

release(anthropic): 1.6.1 (#39804)
fix(anthropic): filter invalid tool calls from v1 content (#39803)

langchain-openai==1.6.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 21:45
3478c28

Changes since langchain-openai==1.5.2

release(openai): 1.6.0 (#39762)
feat(core): add standard model exception types (#39538)
fix(openai): raise clear error on unexpected response type in _create_chat_result (#39731)

langchain-core==1.6.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 15:55
85602c3

Changes since langchain-core==1.5.6

release(core): 1.6.0 (#39760)
fix(core): resolve postponed annotations in StructuredTool._injected_args_keys (#39602)
feat(core): add standard model exception types (#39538)
fix(core): allow deserializing RunnablePick (#39753)
fix(core): make convert_to_openai_function handle callables and non-dict mappings (#39750)
fix(core): make subprocess and temporary file tests portable on Windows (#39664)
fix(core): fail fast when tool schemas can't resolve forward refs during serialization (#39570)
test(core): avoid version-dependent runnable snapshots (#39705)
fix(core): require all nested properties for strict tool schemas (#39306)
fix(core): remove stale sync-stream xfail [closes #39720] (#39723)
perf(core): Lazily import transformers (#38037)
fix(core): accept non-dict Mapping values in mustache templates (#39680)
docs(core): clarify Runnable pipe coercion [closes #39075] (#39707)
fix(core): finalize chain-group runs on BaseException (#39699)

langchain-anthropic==1.6.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 21:39
3478c28

Changes since langchain-anthropic==1.5.6

release(anthropic): 1.6.0 (#39763)
feat(core): add standard model exception types (#39538)
fix(anthropic): exclude sibling directories from grep search scope (#39681)
chore(infra): support langsmith gateway in CI (#39651)

langchain-openai==1.5.2a1

Choose a tag to compare

@github-actions github-actions released this 18 Aug 01:51
9f2d56e

Initial release

release(openai): 1.5.2a1 (#39709)
feat(openai): extract gateway metadata from response headers when available (#39706)
chore(openai): update snapshots (#39657)
fix(openai): support o-series models in get_num_tokens_from_messages (#38710)
release(openai): 1.5.1 (#39653)
fix(openai): preserve streamed encrypted reasoning (#39635)
chore(infra): support langsmith gateway in CI (#39651)
release(openai): 1.5.0 (#39629)
feat(openai): support openai 3.0 SDK (#39613)
chore(partners): bump langgraph floor in openai and huggingface lockfiles (#39617)
release(openai): 1.4.3 (#39485)
fix(openai): filter invalid tool calls from content (#39366)
chore(openai): update guidance for responses API for OpenAI-compatible providers (#39327)
chore(openai): update docstring for include_response_headers (#39326)
release(openai): 1.4.2 (#39322)
fix(openai): handle ContextWindowExceededError (#39300)
chore: bump the minor-and-patch group across 3 directories with 7 updates (#39187)
fix(openai): filter langchain-generated content block IDs (#39209)
fix(openai): preserve Responses text options (#39204)
fix(openai): redact MCP authorization (#39155)
chore(model-profiles): refresh model profile data (#39050)
release(openai): 1.4.1 (#39045)
feat(anthropic,fireworks,openai): support langsmith gateway through env var (#38742)
fix(openai): correct gpt-5.3-chat-latest profile (#39009)
release(openai): 1.4.0 (#38983)
chore: bump pillow from 12.2.0 to 12.3.0 in /libs/partners/openai (#38999)
feat(core): add reasoning_effort as a standard chat model parameter (#38887)
chore(model-profiles): refresh model profile data (#38797)
release(openai): 1.3.5 (#38785)
feat(openai): support explicit prompt caching (#38762)
chore(model-profiles): refresh model profile data (#38774)
release(openai): 1.3.4 (#38731)
fix(openai): suppress Pydantic serializer warning on structured output parsed field (#37727)
test(openai): skip Codex VCR tests before cassette setup (#38690)
chore: bump the minor-and-patch group across 3 directories with 11 updates (#38587)
chore: bump langgraph-checkpoint from 4.1.0 to 4.1.1 in /libs/partners/openai (#38476)
fix(core): use asyncio.get_running_loop() in async contexts (#38157)
test(openai): clarify async API key sync failure trace (#38379)
release(openai): 1.3.3 (#38375)
fix(openai): drop response item ids when store is false (#38372)
fix(langchain,openai): only set strict=True on tools for OpenAI-compatible models in ProviderStrategy (#38370)
test(openai): clarify expected strict schema error (#38338)
fix(openai): drop stop from Responses API payload (#38336)
chore: bump langsmith from 0.8.5 to 0.8.18 in /libs/partners/openai (#38293)
chore: bump vcrpy from 8.1.1 to 8.2.1 in /libs/partners/openai (#38294)
chore(model-profiles): refresh model profile data (#38274)
test(openai): vcr embedding raw equivalence tests (#38199)
release(openai): 1.3.2 (#38130)
fix(openai): build Codex async headers off the event loop in _agenerate (#38129)
fix(openai): avoid sync token reads in Codex streaming (#38128)
hotfix(openai): skip Codex live integration tests in CI (#38124)
hotfix(openai): switch version (#38123)
refactor(openai): mark Codex OAuth classes private (#38122)
release(openai): 1.4.0 (#38120)
feat(openai): add ChatGPT OAuth-backed ChatOpenAICodex chat model (#37569)
docs: refresh README installation and resources (#38119)
test(core,langchain): update tests for explicit deserialization allowlists (#38118)
release(core): 1.4.7 (#38111)
fix(core,partners): rename package version trace metadata (#38110)
style(core,langchain,langchain-classic,partners): replace double backticks in docstrings (#38095)
test(openai): use gpt-4o for image token counting (#38089)
release(core): 1.4.6 (#38061)
feat(core,partners): add package version tracking to tracing metadata (#35295)
fix(core,openai): normalize v1 streamed tool calls (#35983)
chore(infra): bump mypy to 2.1 and unify type-check config across the monorepo (#36470)
feat(standard-tests): validate tool call chunks during streaming (#34707)
fix(langchain): tighten structured output model fallbacks (#38042)
hotfix(openai): min core dep (#37990)
release(openai): 1.3.0 (#37989)
feat(openai): support apply_patch built-in tool (#37157)
chore(model-profiles): refresh model profile data (#37973)
test(langchain,partners): disable pytest-benchmark under xdist to silence PytestBenchmarkWarning (#37901)
chore(model-profiles): refresh model profile data (#37895)
release(openai): 1.2.2 (#37617)
chore(infra): bump langchain-tests floor to 1.1.9 (#37610)
test(openai): unbreak audio chat and Azure embedding integration tests (#37589)
fix(openai): guard httpx finalizers (#37570)
chore: bump langsmith from 0.8.4 to 0.8.5 in /libs/partners/openai (#37549)
chore: bump idna from 3.11 to 3.15 in /libs/partners/openai (#37548)
ci(infra): harden Dependabot version-bound preservation (#37510)
test(standard-tests): assert ls_model_name honors per-call model override (#37504)
fix(openai): source LLM context size from model profiles (#37489)
chore(core,langchain,openai): refresh stale OpenAI model references (#37487)
fix(openai): broaden condition for ContextOverflowError to accommodate other providers (#37457)
docs(openai): document base_url env var fallback chain (#37436)
chore: bump langsmith from 0.8.0 to 0.8.4 in /libs/partners/openai (#37416)
chore: bump langsmith from 0.7.31 to 0.8.0 in /libs/partners/openai (#37398)
chore(infra): merge v1.4 into master (#37350)
chore: bump urllib3 from 2.6.3 to 2.7.0 in /libs/partners/openai (#37330)
chore: bump langchain-core from 1.3.2 to 1.3.3 in /libs/partners/openai (#37266)
chore(docs): update x handle references (#37081)
chore(model-profiles): refresh model profile data (#37074)
chore(docs): update comment for chatopenai (#37034)
chore(model-profiles): refresh model profile data (#37015)
hotfix: bump min core versions (#36996)
release(openai): 1.2.1 (#36995)
fix(openai): add gpt-5.5 pro to Responses API check (#36994)
feat(core): add content-block-centric streaming (v2) (#36834)
chore(model-profiles): refresh model profile data (#36982)
release(openai): 1.2.0 (#36961)
feat(openai): prevent silent streaming hangs in ChatOpenAI (#36949)
hotfix(ci): remove nobenchmark flag (#36959)
chore(partners): standardize integration test invocation (#36958)
release(openai): 1.1.16 (#36927)
fix(openai): tolerate prompt_cache_retention drift in streaming (#36925)
release(openai): 1.1.15 (#36901)
fix(openai): accommodate dict response items in streaming (#36899)
fix(openai): infer azure chat profiles from model name (#36858)
chore(model-profiles): refresh model profile data (#36864)
release(openai): 1.1.14 (#36820)
fix(openai): use SSRF-safe transport for image token counting (#36819)
chore(deps): bump pytest to 9.0.3 (#36801)
chore: bump langsmith from 0.6.3 to 0.7.31 in /libs/partners/openai (#36795)
chore: bump pillow from 12.1.1 to 12.2.0 in /libs/partners/openai (#36777)
release(openai): 1.1.13 (#36729)
fix(openai): handle content blocks without type key in responses api conversion (#36725)
chore(model-profiles): refresh model profile data (#36539)
chore(openai): fix broken vcr cassette playback and add ci guard (#36502)
fix(openai,groq,openrouter): use is-not-None checks in usage metadata token extraction (#36500)
fix(core): fixed typos in the documentation (#36459)
chore(model-profiles): refresh model profile data (#36455)
feat(core): impute placeholder filenames for OpenAI file inputs (#36433)
chore: pygments>=2.20.0 across all packages (CVE-2026-4539) (#36385)
chore(model-profiles): refresh model profile data (#36368)
fix(openai): update computer call test (#36352)
fix(openai): let user-provided User-Agent override the Azure default (#35523)
chore: bump requests from 2.32.5 to 2.33.0 in /libs/partners/openai (#36248)
fix(openai): bump min core version (#36180)
release(openai): 1.1.12 (#36178)
fix(core,model-profiles): add missing ModelProfile fields, warn on schema drift (#36129)
fix(openai): support phase parameter (#36161)
fix(openai): preserve namespace field in streaming function_call chunks (#36108)
ci: suppress pytest streaming output in CI (#36092)
ci: avoid unnecessary dep installs in lint targets (#36046)
chore(model-profiles): refresh model profile data (#36039)
chore: bump orjson from 3.11.5 to 3.11.6 in /libs/partners/openai (#35860)
fix(openai): add type: message to Responses API input items (#35693)
perf(.github): set a timeout on get min versions HTTP calls (#35851)
feat(model-profiles): new fields + Makefile target (#35788)
fix(openai): close PIL Image handles in token counting to prevent fd leak (#35742)
fix(openai): typo (#35763)
chore(model-profiles): refresh model profile data (#35754)
fix(openai): bump min core version (#35705)
release(openai): 1.1.11 (#35703)
fix(openai): update responses API model detection for pro and codex models (#35594)
feat(openai): support tool search (#35582)
chore: bump langgraph from 1.0.8 to 1.0.10rc1 in /libs/partners/openai (#35612)
chore(model-profiles): refresh model profile data (#35593)
fix(openai): avoid PydanticSerializationUnexpectedValue for structured output (#35543)
feat(openrouter): add streaming token usage support (#35559)
fix: compaction typo (#35467)
fix(openai): add test for CSV and accommodate breaking changes in file url inputs (#35454)
chore: bump langgraph-checkpoint from 3.0.0 to 4.0.0 in /libs/partners/openai (#35448)
fix(model-profiles): sort generated profiles by model ID for stable diffs (#35344)
fix(openai): accept valid responses that are falsy at runtime (#35307)
release(openai): 1.1.10 (#35292)
feat(openai): support automatic server-side compaction (#35212)
fix(openai): add model property (#35284)
fix(nomic,openai,perplexity): update pillow version to >= 12.1.1, <13.0.0 (#35254)
docs(openai): more nits (#35277)
docs(openai): clarify reasoning config for openai-compatible endpoints (#35202)
fix(openai): gpt-5.2-pro Model Profile `str...

Read more

langchain-openai==1.5.2

Choose a tag to compare

@github-actions github-actions released this 18 Aug 17:38
5cfde66

Changes since langchain-openai==1.5.1

release(openai): 1.5.2 (#39719)
fix(openai): preserve reasoning item boundaries (#39278)
release(openai): 1.5.2a1 (#39709)
feat(openai): extract gateway metadata from response headers when available (#39706)
chore(openai): update snapshots (#39657)
fix(openai): support o-series models in get_num_tokens_from_messages (#38710)

langchain-core==1.5.6

Choose a tag to compare

@github-actions github-actions released this 17 Aug 21:26
4033a4e

Changes since langchain-core==1.5.5

chore(core): release 1.5.6 (#39704)
feat(core): incorporate gateway metadata to traces (#39703)