github langchain-ai/langchain langchain-core==1.2.8

latest release: langchain==1.2.8
6 hours ago

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)

Don't miss a new langchain release

NewReleases is sending notifications on new releases.