Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 31, 2025

Bumps langchain from 0.3.35 to 1.0.2.

Release notes

Sourced from langchain's releases.

langchain==1.0.2

What's Changed

Patch Changes

  • 2e45c43: remove bad dynamic import for LS
  • 28eceac: preserve full model name when deciding model provider

langchain==1.0.0

🎉 LangChain v1.0 is here! This release provides a focused, production-ready foundation for building agents. We've streamlined the framework around three core improvements: createAgent, standard content blocks, and a simplified package structure. See the release notes for complete details.

✨ Major Features

createAgent - A new standard for building agents

createAgent is the new standard way to build agents in LangChain 1.0. It provides a simpler interface than createReactAgent from LangGraph while offering greater customization potential through middleware.

Key features:

  • Clean, intuitive API: Build agents with minimal boilerplate
  • Built on LangGraph: Get persistence, streaming, human-in-the-loop, and time travel out of the box
  • Middleware-first design: Highly customizable through composable middleware
  • Improved structured output: Generate structured outputs in the main agent loop without additional LLM calls

Example:

import { createAgent } from "langchain";
const agent = createAgent({
model: "anthropic:claude-sonnet-4-5-20250929",
tools: [getWeather],
systemPrompt: "You are a helpful assistant.",
});
const result = await agent.invoke({
messages: [{ role: "user", content: "What is the weather in Tokyo?" }],
});
console.log(result.content);

Under the hood, createAgent is built on the basic agent loop—calling a model using LangGraph, letting it choose tools to execute, and then finishing when it calls no more tools.

Built on LangGraph features (work out of the box):

  • Persistence: Conversations automatically persist across sessions with built-in checkpointing
  • Streaming: Stream tokens, tool calls, and reasoning traces in real-time
  • Human-in-the-loop: Pause agent execution for human approval before sensitive actions
  • Time travel: Rewind conversations to any point and explore alternate paths

... (truncated)

Commits
  • a4a60d2 release(langchain): 1.0.2 (#9274)
  • 2e45c43 fix(langchain): remove bad dynamic import for LS (#9271)
  • 28eceac fix(chat): enhance model name parsing to preserve full model name wit… (#9244)
  • 6426eb6 fix(core): fix chunks constructed with tool calls + chunks (#9255)
  • 3f750bc feat(examples): Add supervisor example (#9235)
  • 619ae64 feat(core): Add BaseMessage.toFormattedString() (#9228)
  • dda9ea4 chore: add missing changeset for #9242 (#9251)
  • 053b278 feat(langchain): reinstate OpenAIModerationChain (#9242)
  • f88cde5 fix(agents): improve middleware type inference with const type parameters (#9...
  • bf158d2 chore(deps-dev): bump mammoth from 1.9.1 to 1.11.0 (#9224)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 31, 2025
@github-actions github-actions bot enabled auto-merge (squash) October 31, 2025 22:09
github-actions[bot]
github-actions bot previously approved these changes Oct 31, 2025
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from 049a68c to ce4b7c2 Compare November 18, 2025 03:35
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from ce4b7c2 to dae4d83 Compare November 18, 2025 03:37
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from dae4d83 to 8b8e781 Compare November 18, 2025 03:40
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from 8b8e781 to 6159482 Compare November 18, 2025 03:43
github-actions[bot]
github-actions bot previously approved these changes Nov 18, 2025
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from 6159482 to 0c5a1f9 Compare November 18, 2025 03:45
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from 0c5a1f9 to b698b10 Compare November 18, 2025 03:47
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from b698b10 to 2b70336 Compare November 18, 2025 03:49
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from 2b70336 to ce43d02 Compare November 18, 2025 03:51
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from ce43d02 to 3a4d3e8 Compare November 18, 2025 03:53
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from 3a4d3e8 to af6e5e3 Compare November 18, 2025 03:56
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from af6e5e3 to 5a3f7a5 Compare November 18, 2025 05:04
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from 5a3f7a5 to cc0e700 Compare November 18, 2025 05:06
github-actions[bot]
github-actions bot previously approved these changes Nov 18, 2025
Bumps [langchain](https://github.com/langchain-ai/langchainjs) from 0.3.35 to 1.0.2.
- [Release notes](https://github.com/langchain-ai/langchainjs/releases)
- [Commits](langchain-ai/langchainjs@langchain==0.3.35...langchain==1.0.2)

---
updated-dependencies:
- dependency-name: langchain
  dependency-version: 1.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-langchain-1.0.2 branch from cc0e700 to 17f95d6 Compare November 19, 2025 18:13
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 30, 2025

Superseded by #115.

@dependabot dependabot bot closed this Nov 30, 2025
auto-merge was automatically disabled November 30, 2025 22:05

Pull request was closed

@dependabot dependabot bot deleted the dependabot-npm_and_yarn-main-langchain-1.0.2 branch November 30, 2025 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code type: chore 🧹

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant