Skip to content

Releases: langchain-ai/langchain

langchain==1.2.12

11 Mar 22:21
2a137bf

Choose a tag to compare

Changes since langchain==1.2.11

release(langchain_v1): 1.2.12 (#35770)
feat: tracing for wrap model + tool call (#35765)

langchain==1.2.11

10 Mar 19:46
057c484

Choose a tag to compare

Changes since langchain==1.2.10

release(langchain_v1): 1.2.11 (#35723)
fix(langchain): normalize custom detector output to prevent KeyError in hash/mask strategies (#35651)
chore: bump the minor-and-patch group across 3 directories with 7 updates (#35605)
chore(langchain): switch refs from gemini-3 to gemini-3.1 (#35535)
chore: bump the langchain-deps group across 3 directories with 7 updates (#35513)
chore: bump langgraph-checkpoint from 3.0.1 to 4.0.0 in /libs/langchain_v1 (#35445)
chore: bump the langchain-deps group across 3 directories with 14 updates (#35441)
chore: bump google-cloud-aiplatform from 1.127.0 to 1.133.0 in /libs/langchain_v1 (#35397)
revert: add ChatAnthropicBedrockWrapper (#35371)
fix(langchain): support anthropic-bedrock in init_chat_model (#35366)
style: fix some ruff noqa (#35321)
fix(langchain): allow Gemini 3 models to use ProviderStrategy with tools (#34464)
docs: fix docstring inaccuracies and update outdated LangSmith URLs (#35283)
feat(openai): support automatic server-side compaction (#35212)
chore: bump the langchain-deps group across 3 directories with 8 updates (#35257)
feat(openrouter): add langchain-openrouter provider package (#35211)
style: bump ruff version to 0.15 (#35042)
chore(deps): bump pillow from 12.0.0 to 12.1.1 in /libs/langchain_v1 (#35174)
chore(core): raise more descriptive model error in init_chat_model (#35167)
chore(deps): bump langsmith from 0.4.42 to 0.6.3 in /libs/langchain_v1 (#35149)
chore(deps): bump cryptography from 46.0.3 to 46.0.5 in /libs/langchain_v1 (#35148)

langchain-openai==1.1.11

09 Mar 23:02
fcca6e2

Choose a tag to compare

Changes since langchain-openai==1.1.10

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)

langchain-core==1.2.18

09 Mar 20:40
6b25caf

Choose a tag to compare

Changes since langchain-core==1.2.17

release(core): 1.2.18 (#35704)
fix(core): fix double backticks in deprecation docstring for alternative_import (#35658)
fix(core): preserve default_factory when generating tool call schema (#35550)
feat(openai): support tool search (#35582)
chore: bump the minor-and-patch group across 3 directories with 7 updates (#35605)

langchain==0.3.28

06 Mar 22:45
4fe869f

Choose a tag to compare

Changes since langchain==0.3.27

fix(langchain): bump minimum langchain-core to 0.3.73 (#35608)
release(langchain): 0.3.28 (#35607)
fix(langchain): backport patch ReDoS vulnerability in MRKL and ReAct action regex (CVE-2024-58340) (#35603)
feat(core,langchain,text-splitters): (v0.3) use uuid7 for run ids (#34732)
fix(core): serialization patch (#34458)
feat(openai): enable stream_usage when using default base URL and client (#33296)
fix(langchain): handle gpt-5 model name in init_chat_model (#33148)
fix(langchain): add context_management to Anthropic chat model init (#33150)
docs: more standardization (#33124)
refactor(langchain): resolve pydantic deprecation warnings (#33125)
docs: standardize .. code-block directive usage (#33122)
chore: bump ruff version to 0.13 (#33043)
fix: update method calls from dict to model_dump in Chain (#33035)
chore: update pyproject.toml files, remove codespell (#33028)
chore(langchain): drop cap on python version (#32974)
chore: restore commented out optional deps (#32971)
docs(langchain): add docstring for _load_map_reduce_chain (#32961)
docs(langchain): add docstring for _load_stuff_chain (#32932)
revert: "chore: remove ruff target-version" (#32895)
fix(openai): ainvoke uses async _aget_response; add async tests (#32459)
chore: remove ruff target-version (#32880)
chore(langchain): enable ruff docstring-code-format in langchain (#32858)
chore(langchain): add ruff rule BLE (#32868)
chore(docs): update package READMEs (#32869)
chore(langchain): add ruff rule ERA (#32867)
fix(langchain): preserve supplied llm in FlareChain.from_llm (#32847)
chore(langchain): add ruff rules D (except D100 and D104) (#31994)
chore(langchain): add ruff rules N (#32098)
chore(langchain): improve PostgreSQL Manager upsert SQLAlchemy API calls. (#32748)
chore: adress pytest-asyncio deprecation warnings + other nits (#32696)
chore(langchain): add mypy pydantic plugin (#32610)
chore: update references to use the latest version of Claude-3.5 Sonnet (#32594)
chore(langchain): add mypy warn_unreachable setting (#32529)
docs: update outdated README.md content (#32540)
fix(tests): add anthropic_proxy to configurable test parameters
chore(langchain): select ALL rules with exclusions (#31930)
feat: port various nit changes from wip-v0.4 (#32506)
chore: formatting across codebase (#32466)
feat(openai): minimal and verbosity (#32455)
fix: use new Google model names in examples (#32288)
fix: update bar_model to use the correct model version claude-3-7-sonnet-20250219 (#32284)
refactor: remove references to unsupported model claude-3-sonnet-20240229 (#32281)
fix(core): track within-batch deduplication in indexing num_skipped count (#32273)
fix: formatting issues in docstrings (#32265)
fix: devcontainer (#32260)
chore(langchain): add ruff rules ARG (#32110)
chore(langchain): add ruff rules TC (#31921)
feat(docs): improve devx, fix Makefile targets (#32237)
chore(langchain): add ruff rules D1 (except D100 and D104) (#32123)
chore(langchain): add ruff rules SLF (#32112)
chore(langchain): strip_ansi fucntion to remove ANSI escape sequences (#32200)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
refactor(langchain): refactor unit test stub classes (#32209)

langchain-classic==1.0.2

06 Mar 20:20
409c20a

Choose a tag to compare

Changes since langchain-classic==1.0.1

release(langchain): bump langchain-classic to 1.0.2 (#35601)
fix(langchain-classic): patch ReDoS vulnerability in MRKL and ReAct action regex (CVE-2024-58340) (#35598)
chore: bump the langchain-deps group across 3 directories with 7 updates (#35513)
chore: bump the langchain-deps group across 3 directories with 14 updates (#35441)
chore: bump google-cloud-aiplatform from 1.117.0 to 1.133.0 in /libs/langchain (#35392)
docs: fix docstring inaccuracies and update outdated LangSmith URLs (#35283)
feat(openai): support automatic server-side compaction (#35212)
chore: bump langchainhub from 0.1.18 to 0.1.21 in /libs/langchain in the langchain-deps group across 1 directory (#35280)
chore: bump the langchain-deps group across 3 directories with 8 updates (#35257)
style: bump ruff version to 0.15 (#35042)
docs(langchain-classic): clarify MultiVectorRetriever usage (#35053)
fix(langchain-classic): validate ensemble retriever weights (#35078)
chore(deps): bump pillow from 11.3.0 to 12.1.1 in /libs/langchain (#35175)
chore(deps): bump cryptography from 46.0.1 to 46.0.5 in /libs/langchain (#35147)
chore(deps): bump the langchain-deps group across 3 directories with 40 updates (#35129)
chore(deps): bump the langchain-deps group across 3 directories with 11 updates (#35121)
docs(langchain-classic): warn about older create_react_agent (#35052)
docs(langchain-classic): add warning for initialize_agent function (#35051)
feat: support state updates from wrap_model_call with command(s) (#35033)
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)
refactor: replace print with logger.info in llm_summarization_checker (#34903)
fix(langchain): fix typo 'safegaurd' -> 'safeguard' (#34789)
chore(deps): bump langgraph-checkpoint from 2.1.2 to 3.0.0 in /libs/cli in the uv group across 1 directory (#34787)
chore(deps): bump the uv group across 5 directories with 5 updates (#34785)
chore(deps): bump the uv group across 3 directories with 1 update (#34741)
chore: update twitter URLs (#34736)
test(langchain): delete ontotext graphdb test (#34710)
fix(core): make yield_keys prefix keyword-only to match BaseStore (#34659)
chore: ban relative imports on all packages (#34691)
style: bump ruff version to 0.14.11 (#34674)
fix(langchain,langchain-classic): more descriptive error msg when dep is not installed (#34679)
fix(langchain): correct typo 'langchain experiment' to 'langchain_experimental' in error messages (#34608)
fix(infra): use langchain_v1 for dev container deps (#34534)
chore(deps): bump mypy to v1.19 and ruff to v1.14 (#34521)
chore(langchain-classic): bump markupsafe lock for python 3.14 (#34523)
fix(langchain-classic): pass default to config.getoption (#34034)
style(core): fix mypy no-any-return violations (#34204)

langchain-openrouter==0.1.0

04 Mar 21:10
c8f3942

Choose a tag to compare

Changes since langchain-openrouter==0.0.2

fix(openrouter): include role in sdk model_construct for min dep compat (#35562)
release(openrouter): 0.1.0 (#35560)
feat(openrouter): add streaming token usage support (#35559)
feat(fireworks,groq,openrouter): add standard model property (#35542)
feat(openrouter): surface cost and cost_details in response_metadata (#35461)
chore(model-profiles): refresh model profile data (#35477)
feat(openrouter): default headers (#35369)
fix(model-profiles): sort generated profiles by model ID for stable diffs (#35344)
chore: bump model profiles (#35294)
fix(infra): create GitHub releases for partner package releases (#35234)

langchain-huggingface==1.2.1

02 Mar 18:44
d2c86df

Choose a tag to compare

Changes since langchain-huggingface==1.2.0

fix(huggingface): switch integration test provider to together (#35525)
fix(huggingface): resolve huggingface-hub 1.x compat (#35524)
fix(huggingface): bump transformers and sentence-transformers lower bounds (#35522)
chore: bump langgraph-checkpoint from 3.0.0 to 4.0.0 in /libs/partners/huggingface (#35447)
fix(model-profiles): sort generated profiles by model ID for stable diffs (#35344)
chore: bump model profiles (#35294)
release(huggingface): 1.2.1 (#35182)
chore(huggingface): version bump for huggingface-hub and transformers deps (#35061)
chore(deps): bump pillow from 11.3.0 to 12.1.1 in /libs/partners/huggingface (#35179)
chore(deps): bump langsmith from 0.4.32rc0 to 0.6.3 in /libs/partners/huggingface (#35152)
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(deps): bump the uv group across 8 directories with 6 updates (#34773)
chore: update twitter URLs (#34736)
chore: ban relative imports on all packages (#34691)

langchain-core==1.2.17

02 Mar 22:48
cdf140e

Choose a tag to compare

Changes since langchain-core==1.2.16

release(core): 1.2.17 (#35527)
fix(core): extract usage metadata from serialized tracer message outputs (#35526)
chore: bump the langchain-deps group across 3 directories with 7 updates (#35513)
chore: bump the langchain-deps group across 3 directories with 14 updates (#35441)

langchain-core==1.2.16

25 Feb 16:27
94a5882

Choose a tag to compare

Changes since langchain-core==1.2.15

release(core): 1.2.16 (#35439)
fix(core): treat empty tool chunk ids as missing in merge (#35414)