Skip to content

Releases: langchain-ai/langchain

langchain-core==1.2.12

12 Feb 20:53
b06716f

Choose a tag to compare

Changes since langchain-core==1.2.11

release(core): 1.2.12 (#35192)
fix(core): fix setting ChatGeneration.text (#35191)

langchain==1.2.10

10 Feb 14:57
74dffca

Choose a tag to compare

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)

langchain-core==1.2.11

10 Feb 20:35
524e1da

Choose a tag to compare

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)

langchain-core==1.2.10

10 Feb 14:48
f41e049

Choose a tag to compare

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)

langchain==1.2.9

06 Feb 12:39
81b4752

Choose a tag to compare

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)

langchain-core==1.2.9

05 Feb 14:22
3e3dbd9

Choose a tag to compare

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)

langchain==1.2.8

02 Feb 15:59
a2bed8f

Choose a tag to compare

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)

langchain-core==1.2.8

02 Feb 15:35
3f2f311

Choose a tag to compare

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)

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)