Skip to content

Releases: langchain-ai/langchain

langchain==1.2.7

23 Jan 15:22
cc72a8c

Choose a tag to compare

Changes since langchain==1.2.6

release: langchain 1.2.7 (#34854)
feat: dynamic tool registration via middleware (#34842)
fix(langchain): strip trailing whitespace from the summarization prompt (#34835)
fix(langchain): improve grammar in SummarizationMiddleware system prompt (#34834)
docs(langchain): nit (#34788)
chore(deps): bump the uv group across 5 directories with 5 updates (#34785)
chore(deps): bump the uv group across 8 directories with 6 updates (#34773)
chore(core, langchain): add version consistency check pre-commit hooks (#34782)

langchain==1.2.6

16 Jan 19:21
6247998

Choose a tag to compare

Changes since langchain==1.2.5

release(langchain): 1.2.6 (#34781)
fix(langchain): SummarizationMiddleware signature mismatch & config invocation (#34775)

langchain==1.2.5

16 Jan 16:09
57279c7

Choose a tag to compare

Changes since langchain==1.2.4

release(langchain): 1.2.5 (#34772)
fix(langchain): add metadata configuration to summarization model invocation (#34763)
feat(langchain): update summarization prompt (#34754)
chore: add tests for agent name metadata when streaming (#34764)
Revert "metadata"
metadata

langchain==1.2.4

14 Jan 19:35
1d60235

Choose a tag to compare

Changes since langchain==1.2.3

release: langchain 1.2.4 (#34755)
chore(langchain): add agent name metadata (#34743)
chore: update twitter URLs (#34736)
chore: add tests for private state attr use (really, lack thereof) (#34725)
docs(langchain): clarify model ID usage for reliable behavior (#34718)
fix(langchain): tag messages generated from summarization (#34693)
fix(langchain): activate test_return_direct_spec tests, fix types (#34565)
chore(langchain): fix types in test_todo, test_tool_retry (#34503)
chore(langchain): fix types in test_shell_tool (#34502)
chore(langchain): activate mypy warn_return_any rule (#34549)
chore(langchain): fix types in test_tool_selection and test_tool_emulator (#34499)
chore(langchain): fix types in test_shell_execution_policies (#34498)
chore(langchain): improve ignore_missing_imports config (#34551)
test(langchain): complete and activate test_responses tests (#34560)
fix(langchain): activate mypy warn-unreachable (#34553)
chore(langchain): fix types in test_injected_runtime_create_agent, test_create_agent_tool_validation (#34568)
chore(langchain): fix types in test_response_format and test_state_schema (#34571)
chore(langchain): remove generic from FakeToolCallingModel (#34572)
chore(langchain): fix types in test_context_editing, test_agent_name, test_response_format_integration (#34574)
chore(langchain): fix types in test_overrides (#34635)
feat(langchain): add state to _ModelRequestOverrides (#34692)
chore(langchain): fix types in test_tools (#34592)
chore(langchain): fix types in test_summarization (#34656)
test(langchain): activate test_responses_spec tests (#34564)
style(langchain): fix some ruff preview rules (#34663)
chore(langchain): fix types in test_framework (#34567)
chore(langchain): fix types in memory_assert, conftest, conftest_checkpointer and conftest_store (#34636)
chore(langchain): fix types in test_system_message (#34634)
style: bump ruff version to 0.14.11 (#34674)
fix: remove relative imports (#34680)
fix(langchain,langchain-classic): more descriptive error msg when dep is not installed (#34679)
fix(langchain): infer provider from mixed-case prefixes (#34672)
fix: add test confirming we don't inject args based on args_schema alone (#34677)

langchain-core==0.3.83

13 Jan 01:19
c0e2f08

Choose a tag to compare

Changes since langchain-core==0.3.82

release(core): 0.3.83 (#34733)
feat(core,langchain,text-splitters): (v0.3) use uuid7 for run ids (#34732)

langchain-core==1.2.7

09 Jan 17:44
9bd028d

Choose a tag to compare

Changes since langchain-core==1.2.6

release: langchain-core 1.2.7 (#34678)
fix: don't trace injected args only found in signature (#34670)
feat(core): add more file extensions to ignore in HTML link extraction (#34552)
refactor(core): improve docstrings for HTML link extraction utilities (#34550)
test(core): add edge case for empty examples in LengthBasedExampleSelector (#34641)
fix(core): fix strict schema generation for functions with optional args (#34599)
feat(core): support custom message separator in get_buffer_string() (#34569)
refactor(core): add warning for fallback GPT-2 tokenizer usage (#34621)
fix(core,langchain): use get_buffer_string for message summarization (#34607)
test(core): add tests for formatting utils and merge functions (#34511)
fix(core): strip message IDs from cache keys using model_copy (#33915)
fix(core): exclude injected args from tool schema (#34582)
refactor(core): select chunk_id via ranking and remove extra allocation (#34588)

langchain-core==0.3.82

09 Jan 18:33
e6dde2b

Choose a tag to compare

Changes since langchain-core==0.3.81

release(core): 0.3.82 (#34688)
fix(core): defer persisting traces for iterator inputs (#34687)
feat(core): add usage_metadata to metadata in LangChainTracer (#34686)

langchain==1.2.3

08 Jan 20:26
76da99e

Choose a tag to compare

Changes since langchain==1.2.2

release(langchain): 1.2.3 (#34668)
refactor(langchain): engage summarization based on reported usage_metadata (#34632)
fix(langchain): keep tool call / AIMessage pairings when summarizing (#34609)
test(langchain): cover chat model provider inference (#34657)
fix(langchain): fix copy-paste error on azure_openai embedding provider map (#34655)

langchain==1.2.2

07 Jan 22:54
ceca38d

Choose a tag to compare

Changes since langchain==1.2.1

fix(langchain): add test to verify version (#34644)
release(langchain): release 1.2.2 (#34643)
fix(langchain): handle parallel usage of the todo tool in planning middleware (#34637)
chore(langchain): fix types in test_wrap_model_call (#34573)

langchain==1.2.1

07 Jan 00:13
aa9c63b

Choose a tag to compare

Changes since langchain==1.2.0

release(langchain): 1.2.1 (#34622)
fix(core,langchain): use get_buffer_string for message summarization (#34607)
chore(langchain): fix types in test_model_fallback (#34615)
chore(langchain): fix types in test_pii (#34617)
chore(langchain): add admonition around redaction_rules (#34618)
chore(langchain): fix types in test_composition (#34580)
chore(langchain): fix types in test_decorators (#34583)
chore(langchain): fix types in test_wrap_tool_call (#34600)
chore(langchain): fix types in test_model_call_limit_types (#34601)
chore(langchain): fix types in test_file_search and test_human_in_the_loop (#34602)
fix(core): exclude injected args from tool schema (#34582)
chore(langchain): fix types in test_diagram and test_sync_async_wrappers (#34591)
style(langchain): add ruff rule PLC0415 (#34559)
fix(langchain): resolve race condition in ShellSession.execute() (#34535)
fix(infra): use langchain_v1 for dev container deps (#34534)
chore(deps): bump mypy to v1.19 and ruff to v1.14 (#34521)
fix(langchain-classic): pass default to config.getoption (#34034)
style(langchain): add ruff rule RUF012 (#34497)
refactor(langchain): refactor optional imports logic (#32813)
style: add ruff ISC001 rule (#34493)
style(langchain): add TC ruff rules (#34496)
style(langchain): fix some ruff preview rules (#34504)
style(langchain): fix some PLC0415 rules (#34475)
style(langchain): add ruff rules PT (#34434)
feat(langchain): enhance init_chat_model with improved validation (#34226)
docs(langchain): Docstring improved to show Streaming custom events (#34353)
feat(langchain): Add support to google_genai provider in init_embeddings (#34388)
release(core): 1.2.3 (#34421)
release(openai): 1.1.6: update max input tokens for gpt-5 series (#34419)
release(openai): 1.1.5 (#34409)
feat(infra): add CI check for out of date lockfiles (#34397)