{
  "kind": "story",
  "slug": "langchain-developer-documentation-update-7723875",
  "id": 1779577120127723875,
  "record_id": 1779560099079515140,
  "headline": "LangChain developer documentation update",
  "summary": "",
  "source": "langchain-changelog",
  "source_url": "https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.4.0",
  "home_domain": "engineering-technology",
  "claim_type": null,
  "sentiment": "neutral",
  "significance": "medium",
  "claim_count": 135,
  "reading_time_minutes": 6,
  "published_date": "2026-05-11",
  "created_on": "2026-05-23T22:58:39.693925+00:00",
  "claims": [
    {
      "id": 1779577121294050998,
      "text": "LangChain Core improved JSON `get_format_instructions` using `Opik Agent Optimizer`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121282801314,
      "text": "LangChain Core improved LangSmith tracing by accepting integer temperature values in `_get_ls_params`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121162741244,
      "text": "LangChain Core added support for built-in tools in Groq message content.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121146677079,
      "text": "LangChain Core added support for VertexAI standard content.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121290404739,
      "text": "LangChain Core added a warning for fallback GPT-2 tokenizer usage.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121286837476,
      "text": "LangChain Core improved error messages for missing titles in JSON schema functions.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121298033665,
      "text": "LangChain Core added support for Python 3.14.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121058863431,
      "text": "LangChain Core version 1.4.0 was released.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121070551363,
      "text": "LangChain Core added content-block-centric streaming (v2).",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121074772423,
      "text": "LangChain Core's streaming v2 (stream_v2/astream_v2) is marked as beta.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121078596689,
      "text": "LangChain Core added support for passing lists of ToolOutputMixin instances to _format_output.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121082973420,
      "text": "LangChain Core deprecated `function_call` in favor of `tool_calls` for `get_buffer_string`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121086966114,
      "text": "LangChain Core added PEP 702 __deprecated__ attribute support to the @deprecated decorator.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121090680122,
      "text": "LangChain Core automatically counts and stores metadata for tool call count.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121094659020,
      "text": "LangChain Core's BaseTool now supports extras.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121098520692,
      "text": "LangChain Core added chat model and LLM invocation parameters to traceable metadata.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121102300678,
      "text": "LangChain Core added LangSmith integration metadata to `create_agent` and `init_chat_model`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121106383393,
      "text": "LangChain Core added `usage_metadata` to metadata in `LangChainTracer`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121110826110,
      "text": "LangChain Core started using `uuid7` for run IDs.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121114044714,
      "text": "LangChain Core added ChatBaseten to its serializable mapping.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121117370739,
      "text": "LangChain Core added support for imputing placeholder filenames for OpenAI file inputs.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121122264625,
      "text": "LangChain Core added support for OpenAI tool search.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121126235586,
      "text": "LangChain Core added a ChatAnthropicBedrock wrapper.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121130061811,
      "text": "LangChain Core added the langchain-openrouter provider package.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121134239862,
      "text": "LangChain Core added support for Google Maps grounding in the GenAI block translator.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121138180523,
      "text": "LangChain Core minted langchain-model-profiles and added a profile property to BaseChatModel.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121142145068,
      "text": "LangChain Core model profiles data is now distributed across packages.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121150068299,
      "text": "LangChain Core includes original block type in server tool results for Google GenAI.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121166571182,
      "text": "LangChain Core added ContextOverflowError which is raised in Anthropic and OpenAI.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121170868642,
      "text": "LangChain Core model profiles added text_inputs and text_outputs.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121174708789,
      "text": "LangChain Core added support for counting tokens from tool schemas approximately.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121178096728,
      "text": "LangChain Core added support for scaling approximate token counts by reported usage.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121182582660,
      "text": "LangChain Core added multimodal support to approximate token counting.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121186046352,
      "text": "LangChain Core added 'approximate' alias in place of `count_tokens_approximately`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121190421110,
      "text": "LangChain Core added an XML format option for `get_buffer_string`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121194049521,
      "text": "LangChain Core added support for custom message separators in `get_buffer_string()`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121198637445,
      "text": "LangChain Core added proxy support for Mermaid PNG rendering.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121210727364,
      "text": "LangChain Core added support for drawing subgraphs using `pygraphviz`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121214455734,
      "text": "LangChain Core added anti-SSRF hardening.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121217156378,
      "text": "LangChain Core hardened `load()` against untrusted manifests.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121222109409,
      "text": "LangChain Core restored cloud metadata IPs and link-local range in SSRF policy.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121226063640,
      "text": "LangChain Core added more sanitization to templates.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121230260445,
      "text": "LangChain Core hardened checks for txt files in deprecated prompt loading functions.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121234211796,
      "text": "LangChain Core deprecated `prompt.save` and `load_prompt` methods.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121238734732,
      "text": "LangChain Core removed `BaseMemory` (moved to `langchain-classic`).",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121242526229,
      "text": "LangChain Core removed items marked for removal in `schemas.py`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121246168007,
      "text": "LangChain Core removed `function_calling.py` utilities marked for removal.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121250080508,
      "text": "LangChain Core removed `pydantic_v1/`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121254918132,
      "text": "LangChain Core removed `get_relevant_documents`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121258868220,
      "text": "LangChain Core removed globals from `langchain-v1` and updated globals in `langchain-classic` and `langchain-core`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121262347137,
      "text": "LangChain Core removed deprecated items.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121266777278,
      "text": "LangChain Core improved performance by using reference counting for storing inherited run trees.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121269629600,
      "text": "LangChain Core improved performance by reducing streaming metadata.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121274906243,
      "text": "LangChain Core moved `BaseCrossEncoder` to `langchain-core`.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121276567600,
      "text": "LangChain Core improved error messages for non-JSON-serializable tool schemas.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121050560509,
      "text": "LangChain Core delegates to core implementation on invoke when streaming=True for OpenAI and Anthropic.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121042097238,
      "text": "LangChain Core restores add_user_message and add_ai_message methods.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121026945836,
      "text": "LangChain Core fixes PydanticOutputParser's get_format_instructions for v1 models.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121038236539,
      "text": "LangChain Core overrides streaming callback if the streaming attribute is set.",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    },
    {
      "id": 1779577121054802598,
      "text": "LangChain Core fixes string content when streaming with output_version=\"v1\".",
      "evidence_type": "paraphrase",
      "confidence": "stated",
      "home_domain": "engineering-technology",
      "published_date": "2026-05-11"
    }
  ],
  "tags": [
    {
      "id": 17730927833179877,
      "slug": "amazon-bedrock-organization",
      "name": "Amazon Bedrock",
      "type": "organization"
    },
    {
      "id": 17723038995093165,
      "slug": "groq-organization",
      "name": "Groq",
      "type": "organization"
    },
    {
      "id": 17723038993660793,
      "slug": "langchain-organization",
      "name": "LangChain",
      "type": "organization"
    },
    {
      "id": 17731089899386373,
      "slug": "vertexai-organization",
      "name": "VertexAI",
      "type": "organization"
    },
    {
      "id": 17795771131587570,
      "slug": "anthropic-bedrock-resource",
      "name": "Anthropic Bedrock",
      "type": "resource"
    },
    {
      "id": 17795771156343336,
      "slug": "basecrossencoder-resource",
      "name": "BaseCrossEncoder",
      "type": "resource"
    },
    {
      "id": 17795771190065018,
      "slug": "basememory-resource",
      "name": "BaseMemory",
      "type": "resource"
    },
    {
      "id": 17795771119180433,
      "slug": "chatbaseten-resource",
      "name": "ChatBaseten",
      "type": "resource"
    },
    {
      "id": 17795771152624625,
      "slug": "google-genai-resource",
      "name": "Google GenAI",
      "type": "resource"
    },
    {
      "id": 17795668455984955,
      "slug": "langchain-resource",
      "name": "langchain",
      "type": "resource"
    },
    {
      "id": 17795672160624169,
      "slug": "openai-codex-resource",
      "name": "OpenAI Codex",
      "type": "resource"
    },
    {
      "id": 17795771132421790,
      "slug": "openrouter-resource",
      "name": "OpenRouter",
      "type": "resource"
    }
  ]
}