Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d783557
relnotes draft
sydney-runkle Nov 20, 2025
9323182
Merge branch 'main' into sr/1.1-release-notes
christian-bromann Nov 21, 2025
f909b9a
v1.1 JS release notes (#1557)
christian-bromann Nov 21, 2025
6d8570d
updates
ccurme Nov 21, 2025
1098a58
nits: v1.1 release notes (#1577)
mdrxy Nov 22, 2025
d1ca5c2
Merge branch 'main' into sr/1.1-release-notes
sydney-runkle Nov 22, 2025
f944647
new-org
sydney-runkle Nov 22, 2025
66f8025
system message stuff
sydney-runkle Nov 22, 2025
3b50c01
boom
sydney-runkle Nov 22, 2025
ccc9ab6
content blocks, oh my
sydney-runkle Nov 22, 2025
2684af6
Merge branch 'main' into sr/changelog-approach-instead
sydney-runkle Nov 22, 2025
b87c176
removing dupes
sydney-runkle Nov 22, 2025
4796217
concat
sydney-runkle Nov 22, 2025
8482c5f
broken links, folks
sydney-runkle Nov 22, 2025
e26df2d
use sys message
sydney-runkle Nov 22, 2025
0857827
more fixes
sydney-runkle Nov 22, 2025
a4538bd
christian addition
sydney-runkle Nov 22, 2025
07e3d44
prompt
sydney-runkle Nov 22, 2025
13e85f9
links
sydney-runkle Nov 22, 2025
539c5c1
please fix
sydney-runkle Nov 22, 2025
89dd2f4
all that I can do
sydney-runkle Nov 22, 2025
c33f5f9
chore: extend changelog docs on changing dynamic system prompt middle…
christian-bromann Nov 22, 2025
e0617e2
fix: agent jump example, enhanced state docs for JS
christian-bromann Nov 22, 2025
d82ebf5
add section on custom context
christian-bromann Nov 22, 2025
77debde
improvements to openAIModerationMiddleware in JS
christian-bromann Nov 22, 2025
3bbd380
add references to middleware videos
christian-bromann Nov 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions pipeline/preprocessors/link_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ class LinkMap(TypedDict):
"BaseMessage": "classes/_langchain_core.messages.BaseMessage.html",
"HumanMessage": "classes/_langchain_core.messages.HumanMessage.html",
"SystemMessage": "classes/_langchain_core.messages.SystemMessage.html",
"SystemMessage.concat": "classes/_langchain_core.messages.SystemMessage.html#concat",
"ToolMessage": "classes/_langchain_core.messages.ToolMessage.html",
"ToolCallChunk": "classes/_langchain_core.messages.ToolCallChunk.html",
"BaseChatModel": "classes/_langchain_core.language_models_chat_models.BaseChatModel.html",
Expand All @@ -350,8 +351,8 @@ class LinkMap(TypedDict):
"Document": "classes/_langchain_core.documents.Document.html",
"Embeddings": "classes/_langchain_core.embeddings.Embeddings.html",
"initChatModel": "functions/langchain.chat_models_universal.initChatModel.html",
"RunnableConfig": "interfaces/_langchain_core.runnables.RunnableConfig.html",
"Runnable": "classes/_langchain_core.runnables.Runnable.html",
"RunnableConfig": "interfaces/_langchain_core.runnables.RunnableConfig.html",
"Retrievers": "interfaces/_langchain_core.retrievers.BaseRetriever.html",
"VectorStore": "classes/_langchain_core.vectorstores.VectorStore.html",
"VectorStore.maxMarginalRelevanceSearch": "classes/_langchain_core.vectorstores.VectorStore.html#maxMarginalRelevanceSearch",
Expand All @@ -376,7 +377,9 @@ class LinkMap(TypedDict):
"BaseCheckpointSaver": "classes/_langchain_langgraph-checkpoint.BaseCheckpointSaver.html",
"BaseStore": "classes/_langchain_langgraph-checkpoint.BaseStore.html",
"BaseStore.put": "classes/_langchain_langgraph-checkpoint.BaseStore.html#put",
"InMemorySaver": "classes/_langchain_langgraph-checkpoint.MemorySaver.html",
"MemorySaver": "classes/_langchain_langgraph-checkpoint.MemorySaver.html",
"AsyncPostgresSaver": "classes/_langchain_langgraph-checkpoint-postgres.AsyncPostgresSaver.html",
"PostgresSaver": "classes/_langchain_langgraph-checkpoint-postgres.index.PostgresSaver.html",
"protocol": "interfaces/_langchain_langgraph-checkpoint.SerializerProtocol.html",
"SerializerProtocol": "interfaces/_langchain_langgraph-checkpoint.SerializerProtocol.html",
Expand All @@ -390,24 +393,22 @@ class LinkMap(TypedDict):
"addEdge": "classes/_langchain_langgraph.index.StateGraph.html#addEdge",
"add_node": "classes/_langchain_langgraph.index.StateGraph.html#addNode",
"add_messages": "functions/_langchain_langgraph.index.messagesStateReducer.html",
"LastValue": "classes/_langchain_langgraph.channels.LastValue.html",
"Topic": "classes/_langchain_langgraph.channels.Topic.html",
"BinaryOperatorAggregate": "classes/_langchain_langgraph.index.BinaryOperatorAggregate.html",
"Command": "classes/_langchain_langgraph.index.Command.html",
"CompiledStateGraph": "classes/_langchain_langgraph.index.CompiledStateGraph.html",
"create_agent": "functions/langchain.index.createAgent.html",
"create_react_agent": "functions/_langchain_langgraph.prebuilt.createReactAgent.html",
"create_supervisor": "functions/_langchain_langgraph-supervisor.createSupervisor.html",
"createAgent": "functions/langchain.index.createAgent.html",
"createReactAgent": "functions/_langchain_langgraph.prebuilt.createReactAgent.html",
"createSupervisor": "functions/_langchain_langgraph-supervisor.createSupervisor.html",
"entrypoint": "functions/_langchain_langgraph.index.entrypoint.html",
"entrypoint.final": "functions/_langchain_langgraph.index.entrypoint.html#final",
"get_state_history": "classes/_langchain_langgraph.pregel.Pregel.html#getStateHistory",
"getStateHistory": "classes/_langchain_langgraph.pregel.Pregel.html#getStateHistory",
"HumanInterrupt": "interfaces/_langchain_langgraph.prebuilt.HumanInterrupt.html",
"interrupt": "functions/_langchain_langgraph.index.interrupt.html",
"InMemorySaver": "classes/_langchain_langgraph-checkpoint.MemorySaver.html",
"AsyncPostgresSaver": "classes/_langchain_langgraph-checkpoint-postgres.index.PostgresSaver.html",
"CompiledStateGraph.invoke": "classes/_langchain_langgraph.index.CompiledStateGraph.html#invoke",
"langgraph.json": "cloud/reference/cli/#configuration-file",
"LastValue": "classes/_langchain_langgraph.channels.LastValue.html",
"Topic": "classes/_langchain_langgraph.channels.Topic.html",
"messagesStateReducer": "functions/_langchain_langgraph.index.messagesStateReducer.html",
"Pregel": "classes/_langchain_langgraph.pregel.Pregel.html",
"Pregel.stream": "classes/_langchain_langgraph.pregel.Pregel.html#stream",
Expand Down Expand Up @@ -435,6 +436,8 @@ class LinkMap(TypedDict):
"ContextEdit": "interfaces/langchain.index.ContextEdit.html",
"toolRetryMiddleware": "functions/langchain.index.toolRetryMiddleware.html",
"modelRetryMiddleware": "functions/langchain.index.modelRetryMiddleware.html",
"systemPrompt": "types/langchain.index.CreateAgentParams.html#systemprompt",
"openAIModerationMiddleware": "classes/_langchain_openai.middleware.OpenAIModerationMiddleware.html",
},
},
]
Expand Down
8 changes: 6 additions & 2 deletions src/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,10 @@
"pages": [
"oss/python/langchain/overview",
{
"group": "LangChain v1.0",
"group": "Releases",
"pages": [
"oss/python/releases/langchain-v1",
"oss/python/releases/changelog",
"oss/python/migrate/langchain-v1"
]
},
Expand Down Expand Up @@ -417,6 +418,7 @@
{
"group": "Releases",
"pages": [
"oss/python/releases/changelog",
"oss/python/releases/langchain-v1"
]
},
Expand Down Expand Up @@ -487,9 +489,10 @@
"pages": [
"oss/javascript/langchain/overview",
{
"group": "LangChain v1.0",
"group": "Releases",
"pages": [
"oss/javascript/releases/langchain-v1",
"oss/javascript/releases/changelog",
"oss/javascript/migrate/langchain-v1"
]
},
Expand Down Expand Up @@ -792,6 +795,7 @@
{
"group": "Releases",
"pages": [
"oss/javascript/releases/changelog",
"oss/javascript/releases/langchain-v1"
]
},
Expand Down
2 changes: 1 addition & 1 deletion src/langsmith/rate-limiting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def evaluator(inputs: dict, outputs: dict, reference_outputs: dict) -> dict:
...
```

See the [`langchain`](oss/langchain/models#rate-limiting) documentation for more on how to configure rate limiters.
See the [`langchain`](/oss/langchain/models#rate-limiting) documentation for more on how to configure rate limiters.

## Retrying with exponential backoff

Expand Down
26 changes: 26 additions & 0 deletions src/oss/javascript/releases/changelog.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: Changelog
sidebarTitle: Changelog
---

A chronological log of updates and improvements to LangChain JavaScript.

## v1.1 (11/25/2025)

* [Model profiles](/oss/langchain/models#model-profiles): Chat models now expose supported features and capabilities through a `.profile` getter. These data are derived from [models.dev](https://github.com/sst/models.dev), an open source project providing model capability data.
* [Summarization middleware](/oss/langchain/middleware/built-in#summarization): Updated to support flexible trigger points using model profiles for context-aware summarization.
* [Structured output](/oss/langchain/structured-output): `ProviderStrategy` support (native structured output) can now be inferred from model profiles.
* [`SystemMessage` for `createAgent`](/oss/langchain/middleware/custom#working-with-system-messages): Support for passing `SystemMessage` instances directly to `createAgent`'s `systemPrompt` parameter and a new `concat` method for extending system messages. Enables advanced features like cache control and structured content blocks.
* [Dynamic system prompt middleware](/oss/langchain/agents#dynamic-system-prompt): Return values from `dynamicSystemPromptMiddleware` are now purely additive. When returning a @[`SystemMessage`] or `string`, they are merged with existing system messages rather than replacing them, making it easier to compose multiple middleware that modify the prompt.
* [Model retry middleware](/oss/langchain/middleware/built-in#model-retry): New middleware for automatically retrying failed model calls with configurable exponential backoff, improving agent reliability.
* [Content moderation middleware](/oss/langchain/middleware/built-in#content-moderation): OpenAI content moderation middleware for detecting and handling unsafe content in agent interactions. Supports checking user input, model output, and tool results.
* __Compatibility improvements:__ Fixed error handling for Zod v4 validation errors in structured output and tool schemas, ensuring detailed error messages are properly displayed.

### Resources

- [V1 Migration guide](/oss/migrate/langchain-v1) - How to migrate to LangChain v1
- [V1 Release notes](/oss/releases/langchain-v1) - Detailed release notes
- [Release policy](/oss/release-policy) - Detailed release policies
- [Versioning](/oss/versioning) - Understanding version numbers
- [Report issues on GitHub](https://github.com/langchain-ai/langchainjs/issues)

4 changes: 2 additions & 2 deletions src/oss/javascript/releases/langchain-v1.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: What's new in v1
sidebarTitle: Release notes
sidebarTitle: V1 Release Notes
---

**LangChain v1 is a focused, production-ready foundation for building agents.** We've streamlined the framework around three core improvements:
Expand Down Expand Up @@ -310,7 +310,7 @@ Please report any issues discovered with 1.0 on [GitHub](https://github.com/lang
<Card title="LangChain 1.0" icon="rocket" href="https://blog.langchain.com/langchain-langchain-1-0-alpha-releases/">
Read the announcement
</Card>
<Card title="Middleware Guide" icon="puzzle-piece" href="https://blog.langchain.com/agent-middleware/">
<Card title="Middleware guide" icon="puzzle-piece" href="https://blog.langchain.com/agent-middleware/">
Deep dive into middleware
</Card>
<Card title="Agents Documentation" icon="book" href="/oss/langchain/agents" arrow>
Expand Down
Loading