Changes since langchain-groq==1.1.1
release(groq): 1.1.2 (#34977) feat(groq): support lc image types (#34845) chore(deps): bump the uv group across 20 directories with 3 updates (#34941) chore: upgrade urllib3 to 2.6.3 (#34940) chore: update twitter URLs (#34736) chore: ban relative imports on all packages (#34691) chore(groq): document vision support (#34620) fix(core): serialization patch (#34455)
Initial release
release(standard-tests): 1.1.3 (#34949) chore: upgrade urllib3 to 2.6.3 (#34940)
Changes since langchain-xai==1.2.1
release(xai): 1.2.2 (#34880) fix(xai): fix routing of chat completions vs. responses apis during streaming (#34868) 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)
Changes since langchain-core==1.2.12
release(core): 1.2.13 (#35230)
docs(core): expanded get_lc_namespace docstring (#35229)
feat(openrouter): add langchain-openrouter provider package (#35211)
style: bump ruff version to 0.15 (#35042)
Changes since langchain-core==1.2.11
release(core): 1.2.12 (#35192)
fix(core): fix setting ChatGeneration.text (#35191)
Changes since langchain-core==1.2.10
release(core): 1.2.11 (#35144) fix(openai): sanitize urls when counting tokens in images (#35143) chore(core): clean up docstring mismatch and redundant logic in langchain-core (#35064) fix(core): replace bare except with Exception in tracer (#35138)
Changes since langchain==1.2.9
release(langchain): 1.2.10 (#35137)
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)
fix(langchain): fix token counting on partial message sequences (#35101)
refactor(langchain): rename _SUPPORTED_PROVIDERS -> _BUILTIN_PROVIDERS (#35100)
Changes since langchain-core==1.2.9
release(core): 1.2.10 (#35136)
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)
feat(core): add ContextOverflowError, raise in anthropic and openai (#35099)
feat(model-profiles): add text_inputs and text_outputs (#35084)
feat(core): count tokens from tool schemas in count_tokens_approximately (#35098)
docs(core): add missing name docstring for RunnableSerializable (#35088)
Changes since langchain==1.2.8
fix(langchain): normalize raw schemas in middleware response_format override (#35019)
feat: support state updates from wrap_model_call with command(s) (#35033)
test(langchain): types in test_tool_call_limit and test_model_retry (#34629)
fix(langchain): bump min core version and improve approximate token counting (#35026)
release: langchain 1.2.9 (#35023)
feat: threading context through create_agent flows + middleware (#34978)
chore: add make type target (#35015)
revert: "chore: add typing target in Makefile" (#35013)
chore: add typing target in Makefile (#35012)
revert: use usage metadata scaling in SummarizationMiddleware default token counter (#35002)
fix(langchain): use usage metadata scaling in SummarizationMiddleware default token counter (#35001)
fix(langchain): avoid UnboundLocalError when no AIMessage exists (#34816)
chore: enrich pyproject.toml files (#34980)
Changes since langchain-core==1.2.8
release(core): 1.2.9 (#35025)
fix(core): adjust cap when scaling approximate token counts (#35017)
revert: precompile hex color regex pattern at module level (#35016)
chore: add make type target (#35015)
revert: "chore: add typing target in Makefile" (#35013)
chore: add typing target in Makefile (#35012)
fix(core): apply cap when scaling approximate token counts (#35005)
feat(core): allow scaling by reported usage when counting tokens approximately (#34996)
test(core): increase delta_time for flaky test (#34982)
chore: enrich pyproject.toml files (#34980)
Changes since langchain==1.2.7
release(langchain): 1.2.8 (#34976)
chore(deps): bump the uv group across 20 directories with 3 updates (#34941)
fix: reuse ToolStrategy in agent factory to prevent name mismatch (#34871)
chore: upgrade urllib3 to 2.6.3 (#34940)
feat(langchain): add ToolCallRequest to middleware exports (#34894)
style(langchain): lint (#34863)
fix(langchain): blocking unit test (#34866)
test(langchain): use blockbuster to detect blocking calls in the async event loop (#34777)
Changes since langchain-core==1.2.7
release(core): 1.2.8 (#34975)
docs(core): add examples for pretty_repr, pretty_print (#34968)
docs(core): use proper admonition for get_buffer_string (#34967)
docs: add usage examples to core classes (#34841)
chore(core): fix docstring format (#34966)
chore(deps): bump the uv group across 20 directories with 3 updates (#34941)
docs: add example to create_message function docstring (#34851)
docs(core): clarify @tool decorator argument and return type requirements (#34860)
fix(core): fix nested mustache variable extraction and update docs (#34872)
fix(core): allow base model annotations for empty model (#34932)
chore: upgrade urllib3 to 2.6.3 (#34940)
fix(core): prevent crash in ParrotFakeChatModel when messages list is empty (#34943)
fix(core): google docstring parsing with no arguments/reserved arguments (#34861)
test(core): add tests for approximate token counting with multimodal messages (#34898)
fix(core): replace Iterable with Iterator for block iteration (#34934)
fix(core): yield_blobs returns Iterator (#34935)
docs: Fix typo in Runnable description of async variants (#34905)
fix(core): raise outputparserexception for unknown tools (#34923)
docs(core): nit (#34914)
chore(core): nits (#34897)
feat(core): add multimodal support to count_tokens_approximately (#34883)
fix(core): fix typo 'use a a' -> 'use as a' in check_version.py (#34878)
style(core): lint (#34862)
feat(core): add XML format option for get_buffer_string (#34802)
chore(core): relax packaging constraints (#34832)
chore(deps-dev): bump setuptools from 67.8.0 to 78.1.1 in /libs/core in the uv group across 1 directory (#34825)
chore(core, langchain): add version consistency check pre-commit hooks (#34782)
docs(core): enhance docstring for RunnableConfig for clarity on total=False (#34756)
docs(core): clean up callbacks param descriptions (#34738)
fix(core): correctly guard against non-text-block types (#34729)
chore: update twitter URLs (#34736)
refactor(core): generalize comma_list utility to support any Iterable (#34714)
fix(core): add explicit tags parameter to sync LLMManagerMixin methods (#34722)
docs(core): enhance docstrings for ToolCall and ToolCallChunk (#34719)
fix(core): add tool_call_id to on_tool_error event data (#33731)
fix(core): improve error message for missing title in JSON schema functions (#34683)
fix(core): make yield_keys prefix keyword-only to match BaseStore (#34659)
chore(core): bump lock (#34695)
chore(core): improve types for RunnableLambda (#34539)
chore(core): improve types for StreamingRunnable (#34540)
style(core): fix some noqa escapes (#34675)
style: bump ruff version to 0.14.11 (#34674)
fix: remove relative imports (#34680)
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)
Changes since langchain==1.2.5
release(langchain): 1.2.6 (#34781)
fix(langchain): SummarizationMiddleware signature mismatch & config invocation (#34775)
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
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)
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)
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)
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)
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)