langchain-core==0.3.56rc1
Initial release
core: release 0.3.56rc1 (#30998)
core[patch]: fix edge cases for _is_openai_data_block (#30997)
feat(core): Autogenerate filenames for when converting file content blocks to OpenAI format (#30984)
core, standard-tests: support PDF and audio input in Chat Completions format (#30979)
core[patch]: update dict prompt template (#30967)
core, openai: support standard multi-modal blocks in convert_to_openai_messages (#30968)
core[patch]: release 0.3.55 (#30952)
core: Make Graph.Node.data optional (#30943)
core: Improve OutputParser error messaging when model output is truncated (max_tokens) (#30936)
core[patch]: de-beta usage callback (#30928)
core: release 0.3.54 (#30911)
core[patch]: add retries and better messages to draw_mermaid_png (#30881)
core[patch]: Raise AttributeError
(instead of ModuleNotFoundError
) in custom __getattr__
(#30905)
core: release 0.3.53 (#30901)
multiple: permit optional fields on multimodal content blocks (#30887)
core: Removing unnecessary pydantic
core schema rebuilds (#30848)
core[fix]: Fix __dir__
in __init__.py
for output_parsers
module (#30856)
core: Remove some noqa (#30855)
core[fix]: remove load
from dynamic imports dict (#30849)
core: release 0.3.52 (#30850)
Fix from langchain_core.load.load import load
import (#30843)
core[patch]: dict chat prompt template support (#25674)
multiple: multi-modal content blocks (#30746)
Tinkering with CodSpeed (#30824)
Consistent docstring indentation (#30834)
core[lint]: fix issue with unused ignore in __init__.py
files (#30825)
core[performance]: use custom __getattr__
in __init__.py
files for lazy imports (#30769)
core: Improve mypy config (#30737)
core: Add ruff rules FBT001 and FBT002 (#30695)
core[patch]: Share executor for async callbacks run in sync context (#30779)
core[lint]: Use 3.9 formatting for docs and tests (#30780)
core[lint]: Fix typing in test_async_callbacks
(#30788)
core: Specify code when ignoring type issue (ruff PGH003) (#30675)
core[patch]: support customization of backoff parameters in with_retries
(#30773)
Async callback benchmark (#30777)
[performance]: Use hard coded langchain-core
version to avoid importlib
import (#30744)
Adding more import time benchmarks for langchain-core
(#30770)
core: Add ruff rules PLR (#30696)
core: Add ruff rules ARG (#30732)
[performance]: Adding benchmarks for common langchain-core
imports (#30747)
Clean up numpy
dependencies and speed up 3.13 CI with numpy>=2.1.0
(#30714)
core: Add ruff rules PYI (#29335)
core: Add ruff rules PGH (except PGH003) (#30656)
core: Fix handler removal in BaseCallbackManager (Fixes #30640) (#30659)
core: Add ruff rules DTZ (#30657)
core: Rework pydantic version checks (#30653)
core: Add ruff rules TD and FIX (#30654)
release: bump core to v0.3.51
(#30668)
core[patch]: log information from certain errors (#30626)
partners: Add Perplexity Chat Integration (#30618)
core: Add ruff rules RET (#29384)
core: 0.3.50 release (#30623)
core: Add ruff rules for Pylint PLC (Convention) and PLE (Errors) (#29286)
core: Propagate config_factories in RunnableBinding (#30603)
core: Add ruff rule FBT003 (boolean-trap) (#29424)
core: Add ruff rules PERF (#29375)
core: Add ruff rules PT (pytest) (#29381)
core: Add ruff rules S110 and S112 (#30599)
core: Add ruff rules D (docstring) (#29406)
core: Accept ALL ruff rules with exclusions (#30595)
core[patch]: pydantic 2.11 compat (#30554)
core: Fix test_stream_error_callback (#30228)
core: Add ruff rules G, FA, INP, AIR and ISC (#29334)
Include delayed inputs in langchain tracer (#30546)
core[patch]: fix loss of partially initialized variables during prompt composition (#30096)
core[patch]: specify default event loop scope in pyproject.toml (#30543)
fix types
Merge branch 'master' of github.com:xzq-xu/langchain into xzq-xu/master
x
Merge branch 'master' into master
x
core: Bump ruff version to 0.11 (#30519)
core[patch]: stop deleting records with "scoped_full" when doc is empty (#30520)
core[patch]: Add ruff rules for PLW (Pylint Warnings) (#29288)
format test lint passed
modify test name
add a unit test
core[patch]: release 0.3.49 (#30500)
format import
add a new-line
remove unused e
_prep_run_args,tool_input copy, Exception
_prep_run_args,tool_input copy
Fix: Prevent run_manager from being added to state object
core[patch]: store model names on usage callback handler (#30487)
core[patch]: mark usage callback handler as beta (#30486)
core[patch]: Remove old accidental commit (#30483)
core[patch]: add token counting callback handler (#30481)
core[patch]: Fix handling of title
when tool schema is specified manually via JSONSchema (#30479)
docs[patch]: update trim_messages doc (#30462)
core[patch]: release 0.3.48 (#30458)
core: add tool_call exclusion in filter_message (#30289)
docs[patch]: add warning to token counter docstring (#30426)
core(mermaid): allow greater customization (#29939)
core[patch]: optimize trim_messages (#30327)
core[patch]: more tests for trim_messages (#30421)
core: release 0.3.47 (#30396)
multiple: enforce standards on tool_choice (#30372)
core[patch]: release 0.3.46 (#30383)
Dereference run tree (#30377)
Unset context to None in var (#30380)
Unset context after step (#30378)
core[patch]: add util for approximate token counting (#30373)
Rm test for parent_run presence (#30356)
core: release 0.3.45 (#30277)
fix(core): Ignore missing secrets on deserialization (#30252)
openai[patch]: support Responses API (#30231)
core[patch]: release 0.3.44 (#30236)
core[patch]: support single-node subgraphs and put subgraph nodes under the respective subgraphs (#30234)
Flush (#30157)
core[patch]: release 0.3.43 (#30173)
core[patch]: catch structured_output_format (#30172)
core[patch]: export ArgsSchema (#30169)
core[patch]: release 0.3.42 (#30163)
core[patch]: update structured output tracing (#30123)
core, openai, standard-tests: improve OpenAI compatibility with Anthropic content blocks (#30128)
core(mermaid): fix error when 3+ subgraph levels (#29970)
core[patch]: release 0.3.41 (#30100)
[Doc] Improve api doc (#30073)
core: make with_alisteners() example workable. (#30059)
core: Add ruff rules PTH (pathlib) (#29338)
core[patch]: Fix FileCallbackHandler name resolution, Fixes #29941 (#29942)
core: Add ruff rules TC (#29268)
core[patch]: version 0.3.40 (#29997)
core[patch]: allow passing description to @tool decorator (#29976)
docs[patch]: update disable_streaming docstring (#29968)
core[patch]: release 0.3.39 (#29966)
core[patch]: pydantic 2.11 compat (#29963)
core[patch]: release 0.3.38 (#29962)
core, openai[patch]: support serialization of pydantic models in messages (#29940)
core: Add ruff rules ANN (type annotations) (#29271)
core[patch]: dont deep copy merge_message_runs (#28454)
core[patch]: return ToolMessage from tools when tool call ID is empty string (#29921)
core: add sambanova chat models to load module mapping (#29855)
core[patch]: set version="v2" as default in astream_events (#29894)
core[patch]: release 0.3.37 (#29895)
core[patch]: de-beta rate limiters (#29891)
core: basemessage.text() (#29078)
core: release 0.3.36 (#29869)
core[patch]: allow passing JSON schema as args_schema to tools (#29812)
all: Bump blockbuster version to 1.5.18 (#29806)
multiple: fix uv path deps (#29790)
core : update the class docs of InMemoryVectorStore in in_memory.py (#29781)
core[patch]: release 0.3.35 (#29764)
core: Fix output of convert_messages when called with BaseMessage.model_dump() (#29763)
core: Make abatch_as_completed respect max_concurrency (#29426)
Core: Fix add for concatting two BaseMessageChunk's (#29531)
core: Handle unterminated escape character when parsing partial JSON (#29065)
core: release 0.3.34 (#29644)
infra: migrate to uv (#29566)
core: allow passing message dicts into ChatPromptTemplate (#29363)
Drop duplicate inputs (#29589)
core[patch]: Use Blockbuster to detect blocking calls in asyncio during tests (#29043)
core: release 0.3.33 (#29483)
multiple: structured output tracing standard metadata (#29421)
docs:Fix Imports for Document and BaseRetriever (#29473)
core: release 0.3.32 (#29450)
change behavior for converting a string to openai messages (#29446)
core: Add ruff rules TRY (tryceratops) (#29388)
core: Cache RunnableLambda repr (#29199)
core: Cache RunnableLambda deps (#29200)
core[patch]: fix API reference for draw_ascii (#29370)
core: Bump ruff version to 0.9 (#29201)
core: Auto-fix some docstrings (#29337)
core: fix call to get closure vars for partial-wrapped funcs (#29316)
core[patch]: 0.3.31 (#29320)
core: Add ruff rule S101 (no assert) (#29267)
core: Add ruff rule W293 (whitespaces) (#29272)
core[patch]: release 0.3.30 (#29256)
core: Add support for calls in get_function_nonlocals (#29255)
DOC: Improve human input prompt in FewShotChatMessagePromptTemplate example (#29023)
core: allow artifact in create_retriever_tool (#28903)
core[patch]: release 0.3.29 (#29017)
core[patch]: substantially speed up @deprecated (#29016)
core[patch]: remove deprecated functions from tool binding hotpath (#29015)
core[patch]: fix deprecation admonition in API ref (#28992)
(Core) Small Change in Docstring for method partial
for BasePromptTemplate
(#28969)
infra: speed up unit tests (#28974)
core,anthropic[patch]: fix with_structured_output typing (#28950)
core[patch]: remove redundant imports (#28861)
core[patch]: release 0.3.28 (#28837)
core: dont mutate tool_kwargs during tool run (#28824)
fix crash when using create_xml_agent with parameterless function as … (#26002)
core: typo Utilities for tests.
-> Utilities for pydantic.
(#28814)
core: typo in runnable (#28815)
core[patch]: Release 0.3.27 (#28799)
core[patch], openai[patch]: Handle OpenAI developer msg (#28794)
[Core] respect tracing project name cvar (#28792)
core: release 0.3.26 (#28793)
refactor: improve docstring parsing logic for Google style (#28730)
core[patch]: export InjectedToolCallId (#28772)
core: add kwargs support to VectorStore (#25934)
core: xml output parser tags docstring (#28745)
core: release 0.3.25 (#28718)
core[patch]: throw exception indexing code if deletion fails in vectorstore (#28103)
core[minor]: add new clean up strategy "scoped_full" to indexing (#28505)
core[patch]: Update error message in indexing code for unreachable code assertion (#28712)
core[patch]: Reverts PR #25754 and add unit tests (#28702)
core[patch]: Release 0.3.24 (#28656)
core,langchain,community[patch]: allow langsmith 0.2 (#28598)
core[patch]: Release 0.3.23 (#28648)
core[patch]: return ToolMessage from tool (#28605)
core: deprecate PipelinePromptTemplate (#28644)
Core: google docstring parsing fix (#28404)
[Core]: Small Docstring Clarification for BaseTool
(#28148)
core[patch]: Fixed trim functions, and added corresponding unit test for the solved issue (#28429)
core: fix path test (#28584)
multiple: combine sync/async vector store standard test suites (#28580)
core[patch]: Release 0.3.22 (#28582)
core, tests: more tolerant _aget_relevant_documents function (#28462)
core: deprecation doc removal (#28553)
docs: more api ref links, add linting step to prevent more (#28495)
fix: Handle response metadata in merge_messages_runs (#28453)
core[patch]: release 0.3.21 (#28314)
core[patch]: Compat pydantic 2.10 (#28308)
core[patch]: release 0.3.20 (#28293)
core[patch]: support final AIMessage responses in tool_example_to_messages
(#28267)
core: add space at end of error message link (#28270)
core[minor]: Add other langgraph packages to sys_info (#28190)
standard-tests: rename langchain_standard_tests to langchain_tests, release 0.3.2 (#28203)
multiple: langchain-standard-tests -> langchain-tests (#28139)
core: release 0.3.19 (#28137)
core[patch]: add caching to get_function_nonlocals (#28131)
core[patch]: support numpy 2 (#27991)
core: release 0.3.18 (#28070)
core: added DeleteResponse to the module (#28069)
core[patch]: Update doc-strings in callbacks (#28073)
partners: add xAI chat integration (#28032)
core[patch]: release 0.3.17 (#28060)
anthropic[major]: support python 3.13 (#27916)
core[patch]: Release 0.3.16 (#28045)
docs: new stack diagram (#27972)
langchain_core: add file_type
option to make file type default as png
(#27855)
docs: fix trim_messages docstring (#27948)
core[patch]: make oai tool description optional (#27756)
core: fix CommaSeparatedListOutputParser to handle columns that may contain commas in it (#26365)
langchain[patch]: Add warning in react agent (#26980)
core: use friendlier names for duplicated nodes in mermaid output (#27747)
core[patch]: update image util err msg (#27803)
core[patch]: Release 0.3.15 (#27802)
core[patch]: rm image loading (#27797)
Improvement [docs] Improve api docs (#27787)
core[patch]: Release 0.3.14 (#27764)
core[patch]: make get_all_basemodel_annotations public (#27761)
core[patch]: support bedrock converse -> openai tool (#27754)
Support message trimming on single messages (#27729)
core: JsonOutputParser UTF characters bug (#27306)
core[patch]: Improve type checking for the tool decorator (#27460)
core: test runner improvements (#27654)
core[patch]: improve performance of InMemoryVectorStore (#27538)
all: test 3.13 ci (#27197)
core[patch]: Release 0.3.13 (#27651)
core: remove mustache in extended deps (#27629)
core: add flake8-bandit (S) ruff rules to core (#27368)
core[patch]: fix repr and str for Serializable (#26786)
core[patch]: convert_to_openai_tool Anthropic support (#27591)
core: fix Image prompt template hardcoded template format (#27495)
core: release 0.3.12 (#27410)
docs, core: error messaging [wip] (#27397)
core[patch]: 0.3.11 release (#27403)
core[patch]: add convert_to_openai_messages util (#27263)
multiple: rely on asyncio_mode auto in tests (#27200)
core[patch]: Ignore ASYNC110 to upgrade to newest ruff version (#27229)
core[patch],langchain[patch],community[patch]: Bump version dependency of tenacity to >=8.1.0,!=8.4.0,<10 (#27201)
core: release 0.3.10 (#27209)
core[patch]: utils for adding/subtracting usage metadata (#27203)
core[patch]: support ValidationError from pydantic v1 in tools (#27194)
core: Add various ruff rules (#26836)
core: update make format to fix all autofixable things (#27174)
core: Add ruff rules for error messages (EM) (#26965)
core[minor]: Improve support for id in VectorStore (#26660)
core[patch]: Update AsyncCallbackManager
to honor run_inline
attribute and prevent context loss (#26885)
core[minor]: add **kwargs to index and aindex functions for custom vector_field support (#26998)
core[patch]: correct typo doc-string for astream_events method (#27108)
core[patch]: Release 0.3.9 (#27117)
core,integrations[minor]: Dont error on fields in model_kwargs (#27110)
core: fix batch race condition in FakeListChatModel (#26924)
core[patch]: exclude model cache from ser (#27086)
core[patch]: add UsageMetadata details (#27072)
core[patch]: Release 0.3.8 (#27046)
core[patch]: Support injected tool args that are arbitrary types (#27045)
core[patch]: fix init of RunnableAssign (#26903)
multiple: update docs urls to latest 2 (#26837)
core[patch]: improve index/aindex api when batch_size<n_docs (#25754)
core[patch]: Add kwargs to Runnable (#27008)
Merge pull request #26794
core[patch]: Release 0.3.7 (#27004)
core[patch]: fix structured prompt template format (#27003)
core: Add ruff rules for pycodestyle Warning (W) (#26964)
core[patch]: Add ruff rules for flake8-simplify (SIM) (#26848)
docs: Upgrade examples with RunnableWithMessageHistory to langgraph memory (#26855)
core: Add ruff rules for PIE (#26939)
core[fix]: using async rate limiter methods in async code (#26914)
core: Fix IndexError
when trim_messages
invoked with empty list (#26896)
core: release 0.3.6 (#26863)
core: Add ruff rules for comprehensions (C4) (#26829)
[Core] Add more interops tests (#26841)
[Core] Inherit tracing metadata & tags (#26838)
core: Run LangChainTracer inline (#26797)
core[patch]: On Chain Start Fix for Chain
Class (#26593)
core[patch]: set default on Blob (#26787)
core: release 0.3.5 (#26737)
[LangChainTracer] Omit Chunk (#26602)
[Tracer] add project name to run from tracer (#26736)
core: fix "template" not allowed as prompt param (#26060)
core: release 0.3.4 (#26729)
core: In astream_events propagate cancellation reason to inner task (#26727)
core: release 0.3.3 (#26713)
core[patch]: Fix defusedxml import (#26718)
core/langchain: fix version used in deprecation (#26724)
core[patch],langchain[patch]: deprecate memory and entity abstractions and implementations (#26717)
Avoid copying runs (#26689)
core[patch]: support js chat model namespaces (#26688)
core[patch]: Release 0.3.2 (#26686)
core[patch]: Fix load of ChatBedrock (#26679)
core[patch]: support load from path for default namespaces (#26675)
core, community: move graph vectorstores to community (#26678)
core: Add N(naming) ruff rules (#25362)
core: use ruff.target-version instead (#26634)
core: remove [project] tag from pyproject (#26633)
core: Put Python version as a project requirement so it is considered by ruff (#26608)
core[patch]: Add ruff rule UP006(use PEP585 annotations) (#26574)
docs: pypi readme image links (#26590)
core,openai,grow,fw[patch]: deprecate bind_functions, update chat mod… (#26584)
core[patch]: Release 0.3.1 (#26581)
core[patch]: Fix "argument of type 'NoneType' is not iterable" error in LangChainTracer (#26576)
core[minor]: remove beta from RemoveMessage (#26579)
core: release 0.3.0 (#26453)
multiple: pydantic 2 compatibility, v0.3 (#26443)
core[patch]: Release 0.2.40 (#26435)
core: add additional import mappings to loads (#26406)
core[patch]: fix empty OpenAI tools when strict=True (#26287)
core[patch]: fix regression in convert_to_openai_tool with instances of Tool (#26327)
core[patch]: Support non ASCII characters in tool output if user doesn't output string (#26319)
Keyword-like runnable config (#26295)
core[patch]: Release 0.2.39 (#26279)
core[minor]: Remove serialized manifest from tracing requests for non-llm runs (#26270)
core[patch]: wrap mermaid node names w/ markdown in
tag (#26235)
core[patch]: fix edge labels for mermaid graphs (#26201)
infra: Clear cache for env-var checks (#26073)
fmt
fmt
core[patch]: Release 0.2.38 (#25974)
core[minor]: Add support for multiple env keys for secrets_from_env (#25971)
docs: fix bullet list spacing (#25950)
core[patch]: support additional kwargs on StructuredPrompt (#25645)
core: Include global variables in variables found by get_function_nonlocals (#25936)
core[patch]: handle serializable fields that cant be converted to bool (#25903)
community[patch], docs: Add API reference doc for GraphVectorStore (#25751)
core[patch]: Release 0.2.37 (#25900)
core[patch]: dont mutate merged lists/dicts (#25858)
core: prompt variable error msg (#25787)
core: release 0.2.36 (#25819)
core[patch]: Add B(bugbear) ruff rules (#25520)
docs: improve docs for InMemoryVectorStore (#25786)
core[patch]: Release 0.2.35 (#25729)
all: Improve make lint command (#25344)
infra: reenable min version testing 2, ci ignore ai21 (#25709)
core[patch]: Fix type for inner input in base prompts (#25713)
partners: Use simsimd types (#25299)
core[patch]: mmr util (#25689)
core: pydantic output parser streaming fix (#24415)
core[patch]: Add _api.rename_parameter to support renaming of parameters in functions (#25101)
core[patch]: add additionalProperties recursively to oai function if strict (#25169)
infra: xfail pydantic v2 arg to py function (#25686)
core[patch]: Add UP(upgrade) ruff rules (#25358)
core[patch]: Remove different parent run id warning (#25683)
core[patch]: support drawing nested subgraphs in draw_mermaid (#25581)
core[patch]: add option to specify the chunk separator in merge_message_runs
(#24783)
Fix UnionType type var replacement (#25566)
core[patch]: Improve some error messages and add another test for checking RunnableWithMessageHistory (#25209)
infra: test convert_message (#25632)
core[patch]: Release 0.2.34 (#25622)
core[patch]: support oai dicts as messages (#25621)
core: fix fallback context overwriting (#25550)
core[minor]: add langsmith document loader (#25493)
core[patch]: Allow bound models as token_counter in trim_messages (#25563)
core,community: add beta decorator to missed GraphVectorStore extensions (#25562)
infra: test chat prompt ser/des (#25557)
core[patch]: Release 0.2.33 (#25498)
core, partners: implement standard tracing params for LLMs (#25410)
core[minor], anthropic[patch]: Upgrade @root_validator usage to be consistent with pydantic 2 (#25457)
fireworks[patch]: Upgrade @root_validators to be pydantic 2 compliant (#25443)
Merge support for group manager (#25360)
core[patch]: Release 0.2.32 (#25420)
core[patch]: tool import fix (#25419)
core[patch]: Release 0.2.31 (#25388)
core: fix issue#24660, slove error messages about ValueError
when use model with history (#25183)
docs: udpated api reference (#25172)
core[minor]: Prevent PydanticOutputParser from encoding schema as ASCII (#25386)
multiple: update removal targets (#25361)
core: release 0.2.30 (#25321)
core[patch]: Update API reference for fake embeddings (#25313)
core[patch]: add standard tracing params for retrievers (#25240)
docs: update numbering of items in docstring (#25267)
core[patch]: Deprecating beta upsert APIs in vectorstore (#25069)
community[patch],core[patch]: Update EdenaiTool root_validator and add unit test in core (#25233)
core[patch]: use time.monotonic() instead time.time() in InMemoryRateLimiter
core[patch]: fix deprecation pydantic bug (#25204)
core[minor]: Add factory for looking up secrets from the env (#25198)
core: autodetect more ls params (#25044)
core[minor]: Add from_env utility (#25189)
core[patch]: Add pydantic get_fields adapter (#25187)
core[patch]: Fix aindex API (#25155)
core[patch]: Add unit tests for Serializable (#25152)
core[patch]: support Field deprecation (#25004)
core[patch]: check for model_fields attribute (#25108)
core[patch]: Release 0.2.29 (#25126)
core[patch]: base language model disable_streaming (#25070)
core[patch]: Relax rate limit unit tests in terms of timing (#25140)
core[patch]: Sort Config attributes (#25127)
core[patch]: Release 0.2.29rc1 (#25115)
core[patch], openai[patch]: enable strict tool calling (#25111)
core[minor]: Add support for DocumentIndex in the index api (#25100)
Set Context in RunnableSequence & RunnableParallel (#25073)
docs: runnable docstring space (#25106)
core[patch]: Include dependencies in sys_info (#25076)
docs: update numbering of items in method docs (#25093)
core[patch]: Remove default BaseModel init docstring (#25009)
core[patch]: Add pydantic metadata to subset model (#25032)
docs: change for optional variables in chatprompt (#25017)
core[patch]: exclude special pydantic init params (#25084)
core[patch]: Relax time constraints on rate limit test (#25071)
core[minor]: Introduce DocumentIndex abstraction (#25062)
docs: show beta directive (#25013)
docs: fix kwargs docstring (#25010)
docs: show deprecation warning first in api ref (#25001)
core[patch]: Release 0.2.28 (#25000)
core[patch]: merge message runs nit (#24997)
core[patch]: Release 0.2.27 (#24952)
core[patch]: Fix tool args schema inherited field parsing (#24936)
core: docstrings BaseCallbackHandler update (#24948) core[patch]: runnable config ensure_config deep copy from var_child_runnable… (#24862) core[patch]: In unit tests, use
schema()instead of BaseModel.schema() (#24930) core[patch]: stringify tool non-content blocks (#24626) core[minor]: Add support for pydantic 2 to utility to get fields (#24899) core[patch]: Release 0.2.26 (#24898) core[patch]: Update unit tests with a workaround for using AnyID in pydantic 2 (#24892) core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641) core: release 0.2.25 (#24833) core: Fix implementation of trim_first_node/trim_last_node to use exact same definition of first/last node as in the getter methods (#24802) core[patch]: introduce ToolMessage.status (#24628) core[patch]: support tool calls with non-pickleable args in tools (#24741) core[patch]: Respect injected in bound fns (#24733) core: use mypy<1.11 (#24749) Add type() in error msg (#24723) core[patch]: Correct doc-string for InMemoryRateLimiter (#24730) core[patch]: Release 0.2.24 (#24722) core[patch]: ChatPromptTemplate.init same as ChatPromptTemplate.from_… (#24486) core[minor]: Add BaseModel.rate_limiter, RateLimiter abstraction and in-memory implementation (#24669) core: Don't draw None edge labels (#24690) core[patch]: fix mutating tool calls (#24677) core[minor]: Support asynchronous in InMemoryVectorStore (#24472) core[minor]: Add InMemoryRateLimiter (#21992) core[patch]: add to RunnableLambda docstring (#24575) core[patch]: Release 0.2.23 (#24557) core[patch]: Fix word spelling error in
globals.py(#24532) core[patch]: merge_content fix (#24526) community[minor]: add document transformer for extracting links (#24186) all: add release notes to pypi (#24519) core[patch]: don't serialize BasePromptTemplate.input_types (#24516) core,groq,openai,mistralai,robocorp,fireworks,anthropic[patch]: Update BaseModel subclass and instance checks to handle both v1 and proper namespaces (#24417) core[patch]: enable RunnableWithMessageHistory without config (#23775) core[patch]: Accept configurable keys top-level (#23806) core[patch]: ensure
iteratorin scope for
atransform_stream_with_configexcept (#24454) core[minor]: Relax constraints on type checking for tools and parsers (#24459) core[patch]: Fix utils.json_schema.dereference_refs (#24335 KeyError: 400 in JSON schema processing) (#24337) core[patch]: Release 0.2.22 (#24423) core[patch]: core lint fix (#24447) core: In ensure_config don't copy dunder configurable keys to metadata (#24420) standard-tests[patch]: Add pytest assert rewrites (#24408) core[minor]: Support all versions of pydantic base model in argsschema (#24418) core[patch]: Update API reference for astream events (#24359) core[patch]: Release 0.2.21 (#24372) core[patch]: add InjectedToolArg annotation (#24279) core[patch]: Fix regression requiring input_variables in few chat prompt templates (#24360) core[patch]: Fix one unit test for chat prompt template (#24362) core[patch]: Release 0.2.20 (#24322) Docs: Add how to dispatch custom callback events (#24278) core: docstrings
vectorstoresupdate (#24281) core[patch]: fix Typing.cast import (#24313) core: docstrings
documents(#23506) core[patch]: Add encoding options when create prompt template from a file (#24054) core[patch]: docstrings
langchain_core/files update (#24285) core[patch]: Update typing for template format to include jinja2 as a Literal (#24144) core[patch]: allow message utils to work with lcel (#23743) docs: Spell check fixes (#24217) core docstrings
tracersupdate (#24211) core: docstrings
utilsupdate (#24213) core[patch]: Release 0.2.19 (#24272) core[patch]: support passing
args_schemathrough
as_tool(#24269) langchain[minor]: Generic configurable model (#23419) core[patch]: add tool name to tool message (#24243) core[patch]: Release 0.2.18 (#24230) core[patch]: fix ToolCall "type" when streaming (#24218) core[patch]: Mark GraphVectorStore as beta (#24195) core[patch]: Release 0.2.17 (#24189) core[minor]: rename ToolMessage.raw_output -> artifact (#24185) core[patch]: docstrings
runnablesupdate (#24161) core: release 0.2.16 (#24159) core: Remove extra newline (#24157) core[patch]: Tool accept RunnableConfig (#24143) core[minor], integrations...[patch]: Support ToolCall as Tool input and ToolMessage as Tool output (#24038) core[patch]: Release 0.2.15 (#24149) core[patch]: Update styles for mermaid graphs (#24147) core[patch]: propagate
parse_docstringto tool decorator (#24123) core[patch]: Clean up indexing test code (#24139) core[patch]: add versionadded to
as_tool(#24138) core: release 0.2.14, remove poetry 1.7 incompatible flag from root (#24137) core: Add metadata to graph json repr (#24131) core: fix docstring (#24129) core: mermaid: Render metadata key-value pairs when drawing mermaid graph (#24103) core[minor]: Add dispatching for custom events (#24080) core: release 0.2.13 (#24096) core[patch]: support conversion of runnables to tools (#23992) core[minor]: Add ToolMessage.raw_output (#23994) [Core] Fix fstring in logger warning (#24043) core: Speed up json parse for large strings (#24036) core: Move json parsing in base chat model / output parser to bg thread (#24031) core: release 0.2.12 (#23991) core[minor],community[patch],standard-tests[patch]: Move InMemoryImplementation to langchain-core (#23986) core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) core[patch]: Use InMemoryChatMessageHistory in unit tests (#23916) core[patch]: Clarify upsert response semantics (#23921) core[patch]: Add comment to clarify aadd_documents (#23920) core, anthropic[patch]: support streaming tool calls when function has no arguments (#23915) core[minor]: Add Graph Store component (#23092) core: docstrings
load(#23787) core[minor]: add upsert, streaming_upsert, aupsert, astreaming_upsert methods to the VectorStore abstraction (#23774) core[patch]: Fix typo in docstring (graphm -> graph) (#23910) core: docstrings
outputs(#23889) core: docstrings
prompts(#23890) core[patch]: Accounting for Optional Input Variables in BasePromptTemplate (#22851) core[patch]: Fix logic in BaseChatModel that processes the llm string that is used as a key for caching chat models responses (#23842) core[minor]: update conversion utils to handle RemoveMessage (#23840) core[patch]: Speed up unit tests for imports (#23837) core[patch]: extract input variables for
pathand
detailkeys in order to format an
ImagePromptTemplate(#22613) core[patch]: docstrings
output_parsers(#23825) infra: update mypy 1.10, ruff 0.5 (#23721) [Core] Unify function schema parsing (#23370) core: docstrings
indexing(#23785) core: docstrings
messages(#23788) core[patch]: Release 0.2.11 (#23780) core[patch]: mark RemoveMessage beta (#23656) core[patch]: fix nested sections for mustache templating (#23747) core[patch]: Add versionadded to get_by_ids (#23728) core[minor]: Create BaseMedia object (#23639) core[patch]: use async messages where possible (#23718) core[minor]: Add maxsize for InMemoryCache (#23405) core[patch]: Fix llm string representation for serializable models (#23416) core: fix NameError (#23658) core[minor]: Add get_by_ids to vectorstore interface (#23594) core: add RemoveMessage (#23636) docs[patch]: Update diagrams (#23613) core:
chat*docstrings (#23412) core[patch]: Add unit test when catching generator exit (#23402) core[minor]: Add optional ID field to Document schema (#23411) docs[patch]: Update docs introduction and README (#23558) core[patch]: docstrings
agents(#23502) core[patch]:
callbacksdocstrings (#23375) core: docstrings
example_selectors(#23542) core[patch]: use args_schema doc for tool description (#23503) core: release 0.2.10 (#23420) [docs]: split up tool docs (#22919) [Core] Logging: Suppress missing parent warning (#23363) core[patch]: export tool output parsers from langchain_core.output_parsers (#23305) core[patch]: Add unit test for str and repr for Document (#23414) Merge pull request #22662 [Core] Add support for inferring Annotated types (#23284) core[minor]: update draw_mermaid node label processing (#23285) docs: fix merge message runs docstring (#23279) docs: fix trim_messages code blocks (#23271) docs: fix message transformer docstrings (#23264) core[minor]: BaseChatModel with_structured_output implementation (#22859) core[patch]: fix no current event loop for sql history in async mode (#22933) core[patch]: set schema format for AsyncRootListenersTracer (#23214) docs: BaseChatModel key methods table (#23238) docs: fix chat model methods table (#23233) core[patch]: Fix doc-strings for code blocks (#23232) core[patch]: Add clarification about streaming to RunnableLambda (#23227) Fix return value type of dumpd (#20123) core(patch): Fix encoding problem of load_prompt method (#21559) core[minor]: Adds an in-memory implementation of RecordManager (#13200) core:Add optional max_messages to MessagePlaceholder (#16098) core[patch]: Document agent schema (#23194) core[patch]: Document messages namespace (#23154) core[patch]: Add doc-strings to outputs, fix @root_validator (#23190) core[patch[: add exceptions propagation test for astream_events v2 (#23159) core[patch]: fix chat history circular import (#23182) core[patch]: Add an example to the Document schema doc-string (#23131) core[patch]: update test to catch circular imports (#23172) core[patch]: Add documentation to load namespace (#23143) core[patch]: Add doc-string to document compressor (#23085) core[patch]: Expand documentation in the indexing namespace (#23134) core[patch]: Document embeddings namespace (#23132) core[patch]: Update documentation in LLM namespace (#23138) core[patch]: runnablewithchathistory from core.runnables (#23136) core[minor]: handle boolean data in draw_mermaid (#23135) core[patch]: Pin pydantic in py3.12.4 (#23130) docs: Fix URL formatting in deprecation warnings (#23075) core[minor]: Support multiple keys in get_from_dict_or_env (#23086) core[patch]: Release 0.2.9 (#23091) core[patch]: Document BaseStore (#23082) core[patch],community[patch],langchain[patch]:
tenacitydependency to version
>=8.1.0,<8.4.0(#22973) Include "no escape" and "inverted section" mustache vars in Prompt.input_variables and Prompt.input_schema (#22981) core[minor]: message transformer utils (#22752) core[patch]: Release 0.2.8 (#23012) core: run_in_executor: Wrap StopIteration in RuntimeError (#22997) core: release 0.2.7 (#22917) core: in astream_events v2 always await task even if already finished (#22916) core[patch]: Fix FunctionCallbackHandler._on_tool_end (#22908) core[patch]: fix validation of @deprecated decorator (#22513) core: release 0.2.6 (#22868) core[patch]: Treat type as a special field when merging lists (#22750) core: In astream_events v2 propagate cancel/break to the inner astream call (#22865) core[patch]: allowing latest
packagingversions (#22792) ci: add testing with Python 3.12 (#22813) core[patch]: Update remaining root_validators (#22829) core[patch]: update some root_validators (#22787) core: fix mustache falsy cases (#22747) core[patch]: Add missing type annotations (#22756) core: add error message for non-structured llm to StructuredPrompt (#22684) [Core] Unified Enable/Disable Tracing (#22576) multiple: get rid of pyproject extras (#22581) core[patch]: Release 0.2.5 (#22642) core[patch]: Correctly order parent ids in astream events (from root to immediate parent), add defensive check for cycles (#22637) core[minor]: Add parent_ids to astream_events API (#22563) core[minor]: Add an async root listener and with_alisteners method (#22151) core[patch]: Use explicit classes for InMemoryByteStore and InMemoryStore (#22608) docs: Fix description (#22611) docs: Fix typo (#22603) core[patch]: Improve VectorStore API doc (#22547) core[patch]: Add similarity_score_threshold to VectorStore search types (#22477) core[patch]: Deduplicate of callback handlers in merge_configs (#22478) core[patch]: Release 0.2.4 (#22489) core[patch]: bump langsmith (#22476) Use immutable sequence type for batch/batch_as_completed types (#22433) core[patch]: Fix VectorStore's as_retriever mutating tags param (#22470) core(patch):fix partial_variables not working with SystemMessagePromptTemplate (#20711) core[patch]: RFC: Allow concatenation of messages with multi part content (#22002) core: In BaseRetriever make get_relevant_docs delegate to invoke (#22434) core: In RunnableSequence pass kwargs to the first step (#22393) core[patch]: Release 0.2.3 (#22329) core[patch]: fix runnable history and add docs (#22283) [Core] Update Tracing Interops (#22318) core[patch]: Release 0.2.2 (#22289) core[patch]: allow access RunnableWithFallbacks.runnable attrs (#22139) core[patch]: Add
TypeErrorhandler into
get_graphof
Runnable(#19856) docs: fix some spelling mistakes caught by newest version of code spell (#22090) core: bump to 0.2.1rc (#22080) core, partners: add token usage attribute to AIMessage (#21944) infra: rm unused # noqa violations (#22049) core[patch]: Release 0.2.1 (#22003) core[patch]: Add unit test for RunnableGenerator for eventstream v2 (#21990) core[patch]: In astream_events(version=v2) tap output of root run (#21977) docs: set default anthropic model (#21988) core[patch]: Fix NPE in function_calling._get_python_function_required_args (#21863) Fix base.py typo (#21862) docs: lcel how to and cheatsheet (#21851) core: Tap output of sync iterators for astream_events (#21842) core[patch]: Check if event loop is closed in memory stream (#21841) core: release 0.2.0 (#21829) core, standard tests, partner packages: add test for model params (#21677) core[major]: only use function description (#21622) Finish agent migration doc (#21731) [Core] Check is async callable (#21714) core[minor]: Add v2 implementation of astream events (#21638) docs: update structured how to (#21679) core[patch]: Update mypy config (#21684) core[patch]: Add unit tests with some streaming scenarios (#21668) core[patch]: Add unit test to catch ordering (#21669) core[patch]: Fix typo in VectorStoreExampleSelector doc-string (#21574) multiple: core 0.2 nonbreaking dep, check_diff community->langchain dep (#21646) core[major]: AsyncCallbackManagerForToolRun no longer casts return object to string (#20374) core[patch]:Fix Incorrect listeners parameters for Runnable.with_listeners() and .map() (#20661) core: allow mermaid node labels to have any characters (#21385) core: release 0.1.52 (#21350) fix: core: Include in json output also fields set outside the constructor (#21342) core: release 0.1.51 (#21328) core[patch]:
utils.guard_importfix (#21133) fix: core: draw_mermaid() would create subgroup for edges with same src and tgt (#21275) (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) core: release 0.1.50 (#21230) core: tracer: remove numeric execution order (#21220) core[patch]: Release 0.1.49 (#21211) core[patch]: Fixes for convert_messages (#21207) [Core] Tracing: update parent run_tree's child_runs (#21049) core: release 0.1.48 (#21113) core[minor],langchain[patch],community[patch]: Move storage interfaces to core (#20750) core: release 0.1.47 (#21094) [Patch] Dedent docstring (#20959) community[minor]: Add async methods to CassandraCache and CassandraSemanticCache (#20654) [Core] Feat Pretty Print Tool calls (#20997) core[patch[: docstring update (#21036) Ignore self/cls from required args of class functions in convert_to_openai_tool (#20691) Catch System Error in ast parse (#20961) core[patch]: Enhance link extraction with query parameters (#20259) core[minor], community[patch], langchain[patch]: move BaseChatLoader to core (#19607) core: fix batch ordering test (#20952) remove placeholder error message (#20340) Use lstv2 (#20747) core[patch]: improve comma separated list output parser to handle non-space separated list (#20434) core, community: deprecate tool.__call__ (#20900) core[minor], langchain[patch], community[patch]: mv StructuredQuery (#20849) core[patch]: Release 0.1.46 (#20891) [Core] Feat: update config CVar in tool.invoke (#20808) support messages in messages out (#20862) docs, multiple: de-beta with_structured_output (#20850) Better support for subgraphs in graph viz (#20840) core[minor],langchain[patch]: Move base indexing interface and logic to core (#20667) core[patch],community[patch]: Move file chat history back to community (#20834) core: use qualname in beta message (#20361) community[patch],core[minor]: Move in memory cache implementation to core (#20753) core[patch]: Remove autoupgrade to addable dict in Runnable/RunnableLambda/RunnablePassthrough transform (#20677) core[minor],langchain[patch],community[patch]: Move InMemory and File implementations of Chat History to core (#20752) core, openai: support custom token encoders (#20762) community[patch],core[minor]: Move BaseToolKit to core.tools (#20669) patch: deprecate (a)get_relevant_documents (#20477) core: release 0.1.45 (#20664) core[patch]: Fix runnable map ser/de (#20631) core: deprecation default to qualname (#20578) core: fix fireworks mapping (#20613) community, core[callbacks]: move FileCallbackHandler from community to core (#20495) docs: aws docs updates (#20571) core: fix attributeerror in runnablelambda.deps (#20569) core[patch]: Release 0.1.44 (#20564) anthropic[patch]: serialization in partner package (#18828) core: default chat/llm _identifying_params to lc_attributes (#20232) Runnable graph viz improvements (#20529) Fix getattr in runnable binding for cases where config is passed in as arg too (#20528) core[minor], langchain[patch]:
toolsdependencies refactoring (#18759) community[minor]: Add glue catalog loader (#20220) core[patch]: Fix imports defined in messages sub-package (#20500) core: release 0.1.43 (#20489) core: forward config params to default (#20402) core: Add concept of conditional edge to graph rendering (#20480) Remove logic to exclude intermediate nodes from rendering time (#20459) Fix CDN URL in mermaid graph renderer (#20381) docs: Refine RunnablePassthrough docstring (#19812) community[patch]: update use of deprecated llm methods (#20393) core[patch]: configurable init params (#20070) core: bind_tools interface on basechatmodel (#20360) core[patch]: Update documentation for base retriever (#20345) docs: Update documentation for custom LLMs (#19972) core[patch]: Release 0.1.42 (#20332) mistral[patch]: add IDs to tool calls (#20299) core[patch]: For now remove user warning (#20321) core[patch]: fix ChatGeneration.text with content blocks (#20294) core[patch]: include tool_calls in ai msg chunk serialization (#20291) core: mustache prompt templates (#19980) update agents to use tool call messages (#20074) infra, multiple: rc release versions (#20252) core[patch]: Pre-release 0.1.42-rc.1 (#20248) core[minor], ...: add tool calls message (#18947) core[patch]: Release 0.1.41 (#20233) core[minor]: Implement aformat_messages for _StringImageMessagePromptTemplate (#20036) core[minor]: Implement aformat for FewShotPromptWithTemplates (#20039) [core] fix: manually specifying run_id for chat models.invoke() and .ainvoke() (#20082) langchain-core[minor]: Allow passing local cache to language models (#19331) core[patch]: Document BaseCache abstraction in code (#20046) core[minor]: Implement aformat_prompt and ainvoke in BasePromptTemplate (#20035) core[minor]: Add async aformat_document method (#20037) Merge pull request #20038 anthropic[minor]: tool use (#20016) core[minor]: support pydantic V2 for JSONOutputParser, allow for other sources of JSON schemas (#19716) core[minor]: Add aformat to FewShotPromptTemplate (#19652) core[patch]: mypy ignore fixes #17048 (#19931) core: fix try_load_from_hub for older langchain versions load_chain (#19964) core[minor]: Add aload to document loader (#19936) core: fix return of draw_mermaid_png and change to not save image by default (#19950) core[patch]: Release 0.1.39 (#19940) core: BaseChatModel modify chat message before passing to run_manager (#19939) core[patch]: remove requests (#19891) core[patch]: Release 0.1.38 (#19895) Core[major]: Base Tracer to propagate raw output from tool for on_tool_end (#18932) core: Assign missing message ids in BaseChatModel (#19863) core: Add docs for RunnableConfigurableFields (#19849) core: generate mermaid syntax and render visual graph (#19599) core[patch]: Release 0.1.37 (#19831) dont mutate metadata/tags (#19742) core[minor]: Add aformat_messages to FewShotChatMessagePromptTemplate and ChatPromptTemplate (#19648) core[patch]:: XML parser to cover the case when the xml only contains the root level tag (#17456) core[patch]: fix beta, deprecated typing (#18877) core[runnables]: docstring for class RunnableSerializable, method configurable_fields (#19722) core[runnables]: docstring of class RunnableSerializable, method configurable_alternatives (#19724) core[patch]: Fix jsonOutputParser fails if a json value contains ``` inside it. (#19717) core[patch], infra: release 0.1.36, run partner CI on core PRs (#19688) core: Two updates to chat model interface (#19684) core[patch]: ToolException docs/exception message (#17590) core[minor]: Add async methods to MaxMarginalRelevanceExampleSelector (#19639) core[minor]: support pydantic v2 models in PydanticOutputParser (#18811) docs: Improve docstring for Runnable bind method (#19659) core: Add async methods to LengthBasedExampleSelector (#19640) core[patch]: Release 0.1.35 (#19660) core[patch]: Patch XML vulnerability in XMLOutputParser (CVE-2024-1455) (#19653) core[patch]: XMLOutputParser fix to handle changes to xml standard library (#19612) docs: Update docstring for MessagesPlaceholder (#19601) core[patch]: Release 0.1.34 (#19609) load: Optionally disable reading secrets from env (#19596) core[patch]: Temporarily disable test for streaming xml parser (#19610) core[patch]: Reverting changes with defusedXML (#19604) core[patch]: Remove anyio dependency (#19583) core[minor]: Use BaseChatMessageHistory async methods in RunnableWithMessageHistory (#19565) core: Add async methods to BaseExampleSelector and SemanticSimilarityExampleSelector (#19399) core[minor]: Add default implementations to amax_marginal_relevance_search_by_vector and adelete (#19269) docs: Add in code documentation to core Runnable map methods (docs only) (#19517) core[patch]: fix xml output parser transform (#19530) core[runnables]: docstring for class runnable, method with_listeners() (#19515) core[patch]: Use defusedxml in XMLOutputParser (#19526) docs: docstring Runnable
pipeand
pickmethods (docs only) (#19395) core[minor]: Add utility code to create tool examples (#18602) core[patch]: allow "placeholder" type in from_messages tuples (#19152) core[patch]: Release 0.1.33 (#19348) [Feat] Accept non-dict if only 1 prompt input variable (#19156) core: Updated docstring for RunnablePick (#18832) core[patch]: Update
messagesnamespace to fix API reference docs (#19161) core: Simplify astream logic in BaseChatModel and BaseLLM (#19332) core: implement a batch_size parameter for CacheBackedEmbeddings (#18070) code[patch]: Add in code documentation to core Runnable with_retry method (docs only) (#19192) core[patch]: Pass sync run manager for sync stream fallback in astream (#19280) core[patch]: Move
globalsto a module instead of a package (non breaking change) (#19159) core[minor]: Enhance cache flexibility in BaseChatModel (#17386) core: update _rm_titles to account for title argument name bug (#19036) core: Updated docstring for Context class (#19079) core: Fix Exception handling in XMLOutputParser (#19126) [Enhancement] Add support for directly providing a run_id (#18990) core[patch]: Add LLM output to message response_metadata (#19158) core[minor]: moved fake llms and embeddings to core (#19226) docs: Add docs for RouterRunnable (#19191) docs: Add in code documentation to core Runnable with_fallbacks method (docs only) (#19104) core[minor]: allow LLMs async streaming to fallback on sync streaming (#18960) community, langchain, infra: revert store extended test deps outside of poetry (#19153) community, langchain, infra: store extended test deps outside of poetry (#18995) core[patch]: rc release 0.1.33-rc.1 (#19103) core[patch]: Change structured prompt lc id to match js (#19099) core[patch]: RunnablePassthrough transform to autoupgrade to AddableDict (#19051) code[patch]: Add in code documentation to core Runnable assign method (docs only) (#18951) core[patch]: Release 0.1.32 (#19088) core: Runnable pass kwargs to _astream_log_implementation in astream_log (#19055) Add new beta StructuredPrompt (#19080) core[minor]: Add Runnable.batch_as_completed (#17603) core[patch]: release 0.1.31 (#18989) core[patch]: fixed circular dependency with json schema (#18657) core[minor]: add streaming support to OAI tool parsers (#18940) core[minor]: generation info on msg (#18592) core[patch]: support labeled json schema as tools (#18935) core[patch]: move some attr/methods to BaseLanguageModel (#18936) core[major]: On Tool End Observation Casting Fix (#18798) core: add in-code docs for RunnableAssign class (#18826) core[patch]: fix arbitrary config keys (#18827) core[minor]: Chat Models to fallback astream to fallback on sync stream if available (#18748) core[minor]: add BaseMessage.response_metadata (#18699) core[patch]: improve PydanticOutputParser typing (#18740) core[patch]: Automatic upgrade to AddableDict in transform and atransform (#18743) Docs: Add custom parsing documentation and extending langchain (#18331) core: upgrade mypy to recent mypy (#18753) community: If load() has been overridden, use it in default lazy_load() (#18690) core[patch]: release 0.1.30 (#18706) core: Move document loader interfaces to core (#17723) core[patch]: deprecate hwchase17/langchain-hub, address path traversal (#18600) core[patch]: Release 0.1.29 (#18530) infra: fake model invoke callback prior to yielding token (#18286) docs:
runnablemodule description (#17966) Fix missing labels (#18356) [Core] Patch: rm dumpd of outputs from runnables/base (#18295) multiple[patch]: fix deprecation versions (#18349) core[patch]: deprecation docstring with lib (#18350) core[patch]: Release 0.1.28 (#18341) Add PNG drawer for Runnable.get_graph() (#18239) Remove check preventing passing non-declared config keys (#18276) docs: deprecation of OpenAI functions agent, astream_events docstring (#18164) core[patch]: Release 0.1.27 (#18159) core[minor]: move document compressor base (#17910) core[patch]: support JS message serial namespaces (#18151) langchain[patch], core[patch], openai[patch], fireworks[minor]: ChatFireworks.with_structured_output (#18078) core[patch], langchain[patch], templates: move openai functions parsers to core (#18060) Improve runnable generator error messages (#18142) Fix bug with using configurable_fields after configurable_alternatives (#18139) Add BaseMessage.id (#17835) core[patch]: Runnable with message history to use add_messages (#17958) core[patch]: Release 0.1.26 (#17990) docs, templates: update schema imports to core (#17885) core[minor], openai[minor], langchain[patch]: BaseLanguageModel.with_structured_output #17302) docs: modules descriptions (#17844) core: fix .bind when used with RunnableLambda async methods (#17739) core[patch]: Release 0.1.25 (#17833) Add JSON representation of runnable graph to serialized representation (#17745) Docs: Add custom chat model documenation (#17595) Cache calls to create_model for get_input_schema and get_output_schema (#17755) core[patch]: Release 0.1.24 (#17744) docs: Fix bug that caused the word "Beta" to appear twice in doc-strings (#17704) core[patch], community[patch], langchain[patch], experimental[patch], robocorp[patch]: bump LangSmith 0.1.* (#17567) docs: Fix bug that caused the word "Deprecated" to appear twice in doc-strings (#17615) core[minor]: add name to basemessage (#17539) langchain.core : Use shallow copy for schema manipulation in JsonOutputParser.get_format_instructions (#17162) core[patch]: Release 0.1.23 (#17479) core: improve None value processing in merge_dicts() (#17462) core[patch]: Support .yml extension for YAML (#16783) infra: unit testing
check_package_version(#16825) core[patch]: Replace memory stream implementation used by LogStreamCallbackHandler (#17185) Support serialization when inputs/outputs contain generators (#17338) infra: add print rule to ruff (#16221) infra, multiple: Upgrade configuration for Ruff v0.2.0 (#16905) core[patch]: docstring update (#16813) core[patch]: Add unit test to cover different streaming format for json parsing (#17063) core[patch]: Release 0.1.22 (#17274) [Langchain_core]: Added Docstring for RunnableConfigurableAlternatives (#17263) langchain[minor], core[minor]: update json, pydantic parser. add openai-json structured output runnable (#16914) langchain[minor], community[minor], core[minor]: Async Cache support and AsyncRedisCache (#15817) Fix stream events/log with some kinds of non addable output (#17205) core[patch]: Release 0.1.21 (#17202) core[patch], community[patch]: link extraction continue on failure (#17200) core[patch]: Release 0.1.20 (#17194) core[minor]: Use batched tracing in sdk (#16305) Add trace_as_chain_group metadata (#17187) core[patch]: Release 0.1.19 (#17117) core[patch]: Add astream events config test (#17055) Add prompt metadata + tags (#17054) docs: update parse_partial_json source info (#17036) Fix condition on custom root type in runnable history (#17017) Shield callback methods from cancellation: Fix interrupted runs marked as pending forever (#17010) infra: add -p to mkdir in lint steps (#17013) core[patch]: Add langsmith to printed sys information (#16899) Add async methods to BaseChatMessageHistory and BaseMemory (#16728) core[patch]: Fixed bug in dict to message conversion. (#17023) core[patch]: handle some optional cases in tools (#16954) core[patch]: Add doc-string to RunnableEach (#16892) core[patch]: doc init positional args (#16854) core[patch]: Message content as positional arg (#16921) core[patch]: fix chat prompt partial messages placeholder var (#16918) core[minor]: add validation error handler to
BaseTool(#14007) core[patch]: Remove deep copying of run prior to submitting it to LangChain Tracing (#16904) core[patch]: Hide aliases when serializing (#16888) Fix loading of ImagePromptTemplate (#16868) core[patch]: Release 0.1.18 (#16870) Add async methods to BaseStore (#16669) core(minor): Add bulk add messages to BaseChatMessageHistory interface (#15709) docs: Update doc-string in base callback managers (#15885) Fix Dep Recommendation (#16793) docs: add csv use case (#16756) core[patch]: preserve inspect.iscoroutinefunction with @beta decorator (#16440) core[patch]: Release 0.1.17 (#16737) core: expand docstring for RunnableGenerator (#16672) Core: fix Anthropic json issue in streaming (#16670) core[minor]: Image prompt template (#14263) In stream_event and stream_log handle closed streams (#16661) Accept message-like things in Chat models, LLMs and MessagesPlaceholder (#16418) core: expand docstring for RunnableParallel (#16600) docs: Update in code documentation for runnable with message history (#16585) core[patch]: Release 0.1.16 (#16589) core[patch], community[patch], openai[patch]: consolidate openai tool… (#16485) core[patch]: passthrough BaseRetriever.invoke(**kwargs) (#16551) core[patch]: consolidate conditional in BaseTool (#16530) Remove double line (#16426) core[patch]: Release 0.1.15 (#16473) Core[Patch] Parse tool input after on_start (#16430) core[patch] Do not try to access attribute of None (#16321) core[patch]: Fix f-string formatting in error message for configurable_fields (#16411) infra: absolute
EXAMPLE_DIRpath in core unit tests (#16325) multiple: update langsmith dep (#16407) core[patch]: preserve inspect.iscoroutinefunction with @deprecated decorator (#16295) core[patch]: Release 0.1.14 (#16382) core[patch], community[patch], langchain[patch], docs: Update SQL chains/agents/docs (#16168) core[patch]: Remove
printstatement on missing
grandalfdependency in favor of more explicit ImportError (#16326) Docs: Update README.md in core (#16329) core[patch]: Update sys info information (#16297) core[patch] Fix tracer output of streamed runs with non-addable output (#16324) core[patch]: simple fallback streaming (#16055) astream_events: Add version parameter while method is in beta (#16290) core[patch]: Release 0.1.13 (#16287) core[patch], openai[patch]: Chat openai stream logprobs (#16218) core[minor]: RFC Add astream_events to Runnables (#16172) Use env for revision id if not passed in as param; use
git describeas backup (#16227) core[patch]: testing add chat model for unit-tests (#16209) Update readme (#16160) core[patch]: Release 0.1.12 (#16161) core[patch]: support old core namespaces (#16155) docs: in RunnableRetry, correct the example snippet that uses with_retry method on Runnable (#16108) google-vertexai[minor]: add function calling on VertexAI (#15822) core[patch]: Release 0.1.11 (#16100) core[patch]: pass exceptions to fallbacks (#16048) core[patch]: simple prompt pretty printing (#15968) Batch update of alt text and title attributes for images in md/mdx files across repo (#15357) stop making copies of inputs (#15926) Passthrough configurable primitive values as tracer metadata (#15915) core[patch]: release 0.1.10 (#15911) add old serializable mapping (#15906) core[patch]: release 0.1.9 (#15794) core[patch]: add alternative_import to deprecated (#15781) core(minor): Add a way to print out system information for debugging purposes. (#15718) core[patch]: Release 0.1.8 (#15677) Do not issue beta or deprecation warnings on internal calls (#15641) Populate streamed_output for all runs handled by atransform_stream_with_config (#15599) docs: langchain-openai (#15513) core[patch]: deprecate v1 tracer (#15608) core[patch]: Release 0.1.7 (#15610) openai[minor]: implement langchain-openai package (#15503) core[patch], community[patch]: mark runnable context, lc load as beta (#15603) core[patch]: add beta decorator (#15589) core[minor], langchain[minor]: deprecate old Chain and LLM methods (#15499) core[patch]: Further restrict recursive URL loader (#15559) core[patch]: Release 0.1.6 (#15547) core[patch], langchain[patch], community[patch]: Revert #15326 (#15546) core[patch]: Release 0.1.5 (#15480) Patch: improve type hint (#15451) core[patch]: update LanguageModelInput from List to Sequence (#14405) adding vectorstore_kwarg attribute to search_similarity function (#14604) core: update json output parser (#15079) core:adds tests for partial_variables (#15427) docs, experimental[patch], langchain[patch], community[patch]: update storage imports (#15429) add get prompts method (#15425) Use tz-aware utc datetimes in tracer (#15187) docs, community[patch], experimental[patch], langchain[patch], cli[pa… (#15412) Fetch runnable config from context var inside runnable lambda and runnable generator (#15334) langchain[patch], experimental[patch]: replace langchain.schema imports (#15410) Calculate trace_id and dotted_order client side (#15351) Update _retrieve_ref inside json_schema.py to include an isdigit() check (#14745) Docs: add param comment for
tracing_v2_enabled(#15308) Catch type errors in dumps/dumpd (#15336) Propagate context vars in all classes/methods (#15329) Delete V1 tracer and refactor tracer tests to core (#15326) Fix executor Patch: improve check openai version (#15301) core: Update messages/__init__.py to account for AIMessageChunk which breaks message history runnable. (#15327) old py compat Propagate context vars in all classes/methods [core] add test for json parser (#15297) Improve markdown list parser (#15295) core[patch]: Release 0.1.4 (#15319) Strip code block fences and extra test from xml when doing streaming … (#15293) core, community: propagate context between threads (#15171) Make all json parsing less strict by default (#15287) [core, langchain] modelio code improvements (#15277) Update passthrough.py (#15252) Fix: Use
Unioninstead of
|to improve compatibility, fix #15244 (#15245) Add .pick and .assign methods to Runnable (#15229) Implement nicer runnable seq constructor, Propagate name through Runn… (#15226) Add create_conv_retrieval_chain func (#15084) [core] prompt changes (#15186) Better input and output schemas for chains that start or end with a R… (#15185) Implement RunnablePassthrough.pick() (#15184) Implement stream and astream for RunnableLambda (#14794) Fix runnable vistitor for funcs without pos args (#15182) [core: minor] fix getters (#15181) [core] langauge model like (#15180) [core] print ascii (#15179) Improve graph repr for runnable passthrough and itemgetter (#15083) Nc/dec22/runnable graph lambda (#15078) core(minor): Allow explicit types for ChatMessageHistory adds (#14967) Improve: remove extra spaces in get_from_env error (#15064) Add Runnable.get_graph() to get a graph representation of a Runnable (#15040) infra: Fix test filesystem paths incompatible with windows (#14388) Move json and xml parsers to core (#15026) Add option to make messages placeholder optional (#15031) core[patch]: Release 0.1.3 (#15022) Implement streaming for all list output parsers (#14981) core[patch]: update langchain-core runtime library name (#14884) core(minor): Implement stream and astream for RunnableBranch (#14805) core[patch]: 0.1.2 (#14959) docstrings
coreupdate (#14871) add methods to deserialize prompts that were old (#14857) docs: developer docs (#14776) [Tracing] String Stacktrace (#14131) core[patch]: Release 0.1.1 (#14738) core[patch]: Fix runnable with message history (#14629) \Fix tool_calls message merge (#14613) docs: fix links in readme (#14624) docs: core and community readme (#14623) core[minor]: Release 0.1.0 (#14607) allow other namespaces (#14606) Update RunnableWithMessageHistory (#14351) infra: import checking bugfix (#14569) infra: import CI speed (#14566) infra: import CI fix (#14562) core[patch]: Release 0.0.13 (#14558) Move runnable context to beta (#14507) community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) RunnableWithMessageHistory: Fix input schema (#14516) manual mapping (#14422) core[patch], langchain[patch], experimental[patch]: import CI (#14414) Use deepcopy in RunLogPatch (#14244) core[patch]: Release 0.0.12 (#14415) core[patch], langchain[patch]: fix required deps (#14373) core[patch]: Release 0.0.11 (#14367) [core/minor] Runnables: Implement a context api (#14046) core[patch]: message history error typo (#14361) core[patch], langchain[patch]: ByteStore (#14312) Update doc-string in RunnableWithMessageHistory (#14262) Adding
BaseChatMessageHistory.str(#14311) Fixing empty input variable crashing
PromptTemplatevalidations (#14314) core[patch]: Release 0.0.10 (#14303) Harrison/delegate from template (#14266) fix: call _on_llm_error() (#13581) core[patch]: add response kwarg to on_llm_error langchain[patch]: Fix
configarg detection for wrapped lambdarunnable (#14230) Fix Azure Openai function calling in streaming mode (#13768) Removing extra
StdOutCallbackHandleroverridden methods (#14136) core[patch]: Release 0.0.9 (#14182) core[patch]:
BaseTracerhelper method for
Runlookup (#14139) core[minor], langchain[patch], experimental[patch]: Added missing
py.typedto
langchain_core` (#14143)
Update Prompt Format Error (#14044)
core[patch]: release 0.0.8 (#14086)
core[patch]: Add **kwargs to Langchain's dumps() to allow passing of json.dumps() … (#10628)
infra[patch]: add base deps and fix docs lint (#13998)
core[patch]: release 0.0.7 (#13989)
Track RunnableAssign as a separate run trace (#13972)
In Runnable.stream_log build up final_output from adding output chunks (#12781)
Fixes for opengpts release (#13960)
infra[patch], langchain[patch]: fix test deps and upper bound langchain dep on core(#13984)
fix merge None value and non None value error (#13703)
RELEASE: core 0.0.7 (#13973)
RunnableLambda: create afunc instance from func when not provided (#13408)
Implement stream() and astream() for agents (#12783)
langchain[patch], core[patch]: Make common utils public (#13932)
Document Runnable Binding (#13927)
RELEASE: 0.0.341 (#13926)
improvement: fix chat prompt loading from config (#13818)
Add option to prefix config keys in configurable_alts (#13714)
DOCS: fixed error in the docstring of RunnablePassthrough class (#13843)
RELEASE: core 0.0.6 (#13853)
BUGFIX: Add import types and typevars from core (#13829)
RELEASE: core 0.0.5 (#13786)
IMPROVEMENT: filter global warnings properly (#13754)
Add Batch Size kwarg to the llm start callback (#13483)
RELEASE: core 0.0.4 (#13745)
REFACTOR: combine core documents files (#13733)
BUGFIX: add prompt imports for backwards compat (#13702)
IMPROVEMENT: Conditionally import core type hints (#13700)
BUGFIX: llm backwards compat imports (#13698)
BUGFIX: handle tool message type when converting to string (#13626)
Added partial_variables to BaseStringMessagePromptTemplate.from_template(...) (#13645)
INFRA: Lint for imports (#13632)
BUG: more core fixes (#13665)
REFACTOR: Refactor langchain_core (#13627)
Separate out langchain_core package (#13577)