---
title: "@langchain/core 1.5.0 Breaking Changes on npm | Since.dev"
description: "What each @langchain/core release removed, renamed or changed: 2,116 breaking changes in 94 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@langchain/core
last_updated: 2026-12-04
---

# @langchain/core breaking changes

@langchain/core 1.5.0 (November 20, 2026) is its newest release with breaking changes, 20 of them. The first: Renamed FinishReason. Every breaking API change we have recorded in @langchain/core on npm: 2,116 breaking changes in 94 versions. Below, its 94 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.5.2`, released December 3, 2026. [Source repository](https://github.com/langchain-ai/langchainjs)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.3.80](#v-0-3-80) to [1.5.0](#v-1-5-0): 1,083 breaking changes in 54 versions.
- From [0.2.0](#v-0-2-0) to [1.5.0](#v-1-5-0): 2,024 breaking changes in 93 versions.

## @langchain/core 1.5.0 breaking changes

@langchain/core 1.5.0, released November 20, 2026: 20 breaking changes.

- **Renamed** `FinishReason`  

The FinishReason type now accepts stop, length, tool_call, content_filter, refusal, context_exceeded, error and other. Code that matches the old tool_use value must switch to tool_call. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.5.0)
- **Behavior changed** `response_metadata.finish_reason`  

On streamed messages, response_metadata.finish_reason now holds the raw provider value instead of the normalized one. Code that reads it expecting normalized values must read normalized_finish_reason instead. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.5.0)
- **Signature changed** `decisions:Box`  

Was type Box = z$1.infer\<typeof boxSchema>; now type Box = z.infer\<typeof boxSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `decisions:BoxAnswer`  

Was type BoxAnswer = z$1.infer\<typeof boxAnswerSchema>; now type BoxAnswer = z.infer\<typeof boxAnswerSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `decisions:BoxCoordinates`  

Was type BoxCoordinates = z$1.infer\<typeof boxCoordinatesSchema>; now type BoxCoordinates = z.infer\<typeof boxCoordinatesSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `decisions:Choice`  

Was type Choice = z$1.infer\<typeof choiceSchema>; now type Choice = z.infer\<typeof choiceSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `decisions:Content`  

Was type Content = z$1.infer\<typeof contentSchema>; now type Content = z.infer\<typeof contentSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `decisions:JsonValue`  

Was type JsonValue = z$1.infer\<typeof jsonValueSchema>; now type JsonValue = z.infer\<typeof jsonValueSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `decisions:Noul`  

Was type Noul = z$1.infer\<typeof noulSchema>; now type Noul = z.infer\<typeof noulSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `decisions:NoulAnswer`  

Was type NoulAnswer = z$1.infer\<typeof noulAnswerSchema>; now type NoulAnswer = z.infer\<typeof noulAnswerSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `decisions:NoulCriteria`  

Was type NoulCriteria = z$1.infer\<typeof noulCriteriaSchema>; now type NoulCriteria = z.infer\<typeof noulCriteriaSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `decisions:Question`  

Was type Question = z$1.infer\<typeof questionSchema>; now type Question = z.infer\<typeof questionSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `decisions:Score`  

Was type Score = z$1.infer\<typeof scoreSchema>; now type Score = z.infer\<typeof scoreSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `decisions:ScoreAnswer`  

Was type ScoreAnswer = z$1.infer\<typeof scoreAnswerSchema>; now type ScoreAnswer = z.infer\<typeof scoreAnswerSchema>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `language_models/event:FinishReason`  

Was type FinishReason = "stop" | "length" | "tool_use" | "content_filter"; now type FinishReason = "stop" | "length" | "tool_call" | "content_filter" | "refusal" | "context_exceeded" | "error" | "other". [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `language_models/event:MessageFinishEvent.reason`  

Was reason?: FinishReason; now reason?: "stop" | "length" | "tool_use" | "content_filter". [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `language_models/openai_completions_stream:OpenAICompletionsFinishReason`  

Was type OpenAICompletionsFinishReason = "stop" | "length" | "max_tokens" | "tool_calls" | "function_call" | "content_filter" | null; now type OpenAICompletionsFinishReason = "stop" | "length" | "max_tokens" | "tool_calls" |... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `tracers/tracer_langchain:LangChainTracer.getRunTreeWithTracingConfig`  

Was getRunTreeWithTracingConfig(id: string): RunTree | undefined; now getRunTreeWithTracingConfig(id: string): RunTree$1 | undefined. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `tracers/tracer_langchain:LangChainTracer.getTraceableRunTree`  

Was static getTraceableRunTree(): RunTree | undefined; now static getTraceableRunTree(): RunTree$1 | undefined. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)
- **Signature changed** `tracers/tracer_langchain:LangChainTracer.updateFromRunTree`  

Was updateFromRunTree(runTree: RunTree): void; now updateFromRunTree(runTree: RunTree$1): void. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.5.0)

## @langchain/core 1.4.2 breaking changes

@langchain/core 1.4.2, released November 18, 2026: 1 breaking change.

- **Signature changed** `messages:addNotificationMetadata`  

Was function addNotificationMetadata(message: HumanMessage, metadata: NotificationMetadata): HumanMessage; now function addNotificationMetadata\<T extends HumanMessage | ToolMessage>(message: T, metadata: NotificationMetadata): T. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.4.2)

## @langchain/core 1.4.0 breaking changes

@langchain/core 1.4.0, released November 11, 2026: 1 breaking change.

- **Configuration changed**  

Installed Zod must be version 4.6.6 or newer; users pinned to older Zod versions need to upgrade. Zod v3 schemas remain supported through the bundled zod/v3 entry point. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.4.0)

## @langchain/core 1.3.7 breaking changes

@langchain/core 1.3.7, released November 10, 2026: 5 breaking changes.

- **Behavior changed**  

When a model refuses, JSON, tool-call, and structured output parsers now throw ModelRefusalError from @langchain/core/errors. Code that catches the generic parsing error for refusals should catch ModelRefusalError instead. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.3.7)
- **Signature changed** `messages:ContentBlock.Standard`  

Was type Standard = Text | Reasoning | NonStandard | Tools.Standard | Multimodal.Standard; now type Standard = Text | Reasoning | Refusal | NonStandard | Tools.Standard | Multimodal.Standard. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.7)
- **Signature changed** `output_parsers:JsonMarkdownStructuredOutputParser.parseResult`  

Was parseResult(generations: Generation\[\] | ChatGeneration\[\], callbacks?: Callbacks): Promise\<T>; now parseResult(generations: Generation\[\] | ChatGeneration\[\], callbacks?: Callbacks): Promise\<InferInteropZodOutput\<T>>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.7)
- **Signature changed** `output_parsers:StandardSchemaOutputParser.parseResult`  

Was parseResult(generations: Generation\[\] | ChatGeneration\[\], callbacks?: Callbacks): Promise\<T>; now parseResult(generations: Generation\[\] | ChatGeneration\[\], callbacks?: Callbacks): Promise\<RunOutput>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.7)
- **Signature changed** `output_parsers:StructuredOutputParser.parseResult`  

Was parseResult(generations: Generation\[\] | ChatGeneration\[\], callbacks?: Callbacks): Promise\<T>; now parseResult(generations: Generation\[\] | ChatGeneration\[\], callbacks?: Callbacks): Promise\<InferInteropZodOutput\<T>>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.7)

## @langchain/core 1.3.5 breaking changes

@langchain/core 1.3.5, released November 5, 2026: 12 breaking changes.

- **Removed** `callbacks/base:BaseCallbackHandlerMethodsClass`  

BaseCallbackHandlerMethodsClass was removed in @langchain/core 1.3.5 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.5)
- **Removed** `callbacks/base:Error`  

Error was removed in @langchain/core 1.3.5 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.5)
- **Removed** `callbacks/manager:BaseCallbackManagerMethods`  

BaseCallbackManagerMethods was removed in @langchain/core 1.3.5 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.5)
- **Removed** `document_loaders/langsmith:ClientConfig`  

ClientConfig was removed in @langchain/core 1.3.5 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.5)
- **Removed** `language_models/base:CalculateMaxTokenProps`  

CalculateMaxTokenProps was removed in @langchain/core 1.3.5 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.5)
- **Removed** `language_models/stream:ReplayBuffer`  

ReplayBuffer was removed in @langchain/core 1.3.5 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.5)
- **Removed** `language_models/structured_output:FunctionCallingParserConstructor`  

FunctionCallingParserConstructor was removed in @langchain/core 1.3.5 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.5)
- **Removed** `utils/async_caller:RateLimitAction`  

RateLimitAction was removed in @langchain/core 1.3.5 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.5)
- **Removed** `utils/async_caller:RateLimitClassification`  

RateLimitClassification was removed in @langchain/core 1.3.5 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.5)
- **Removed** `utils/math:VectorFunction`  

VectorFunction was removed in @langchain/core 1.3.5 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.3.5)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @langchain/core 1.3.3 breaking changes

@langchain/core 1.3.3, released November 2, 2026: 1 breaking change.

- **Behavior changed** `RunnableSequence`  

Each run in a batch of RunnableSequence calls now records its own output when traced, instead of the previous recording. Check any tracing or LangSmith dashboards or code that depended on the old batched trace output. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.3.3)

## Older versions

88 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @langchain/core 1.3.0 breaking changes

@langchain/core 1.3.0, released October 22, 2026: 1 breaking change.

- **Behavior changed**  

Tool-call and server-tool-call args now arrive as tool-call-delta events carrying only the new slice, not block-delta snapshots of the args so far. If you read raw events and block-delta fields.args mid-stream, read tool-call-delta... [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.3.0)

### @langchain/core 1.2.19 breaking changes

@langchain/core 1.2.19, released October 20, 2026: 1 breaking change.

- **Signature changed** `language_models/event:ContentBlockDelta`  

Was type ContentBlockDelta = TextDelta | ReasoningDelta | DataDelta | BlockDelta; now type ContentBlockDelta = TextDelta | ReasoningDelta | DataDelta | ToolCallDelta | BlockDelta. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.2.19)

### @langchain/core 1.2.18 breaking changes

@langchain/core 1.2.18, released October 15, 2026: 2 breaking changes.

- **Behavior changed** `LangChainTracer`  

Project and agent address destinations are inherited together, and default destination resolution is delegated to the LangSmith SDK, which may change where traces are sent. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.2.18)
- **Configuration changed**  

Installs now require langsmith 0.11.0 or later. Projects pinning an older langsmith must upgrade it. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.2.18)

### @langchain/core 1.2.16 breaking changes

@langchain/core 1.2.16, released October 6, 2026: 17 breaking changes.

- **Signature changed** `errors:ContextOverflowError.isInstance`  

Was isInstance: \<T extends abstract new (...args: any\[\]) => any>(this: T, obj: unknown) => obj is InstanceType\<T>; now isInstance: IsInstanceFn. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.2.16)
- **Signature changed** `errors:LangChainError.isInstance`  

Was isInstance: \<T extends abstract new (...args: any\[\]) => any>(this: T, obj: unknown) => obj is InstanceType\<T>; now isInstance: IsInstanceFn. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.2.16)

And 15 more in this version.

### @langchain/core 1.2.13 breaking changes

@langchain/core 1.2.13, released September 27, 2026: 1 breaking change.

- **Behavior changed**  

Formatting chat messages as strings now shortens long tool-call IDs in the output. Original message objects are not changed, but code that parses the formatted string may see different IDs. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.2.13)

### @langchain/core 1.2.12 breaking changes

@langchain/core 1.2.12, released September 20, 2026: 15 breaking changes.

- **Signature changed** `callbacks/manager:CallbackManager.handleToolStart`  

Was handleToolStart(tool: Serialized, input: string, runId?: string, \_parentRunId?: string | undefined, \_tags?: string\[\] | undefined, \_metadata?: Record\<string, unknown> | undefined, runName?: string | undefined, toolCallId?: string |... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.2.12)
- **Signature changed** `tracers/base:BaseTracer._createRunForToolStart`  

Was \_createRunForToolStart(tool: Serialized, input: string, runId: string, parentRunId?: string, tags?: string\[\], metadata?: KVMap, name?: string): {name: string; run_type: string; extra?: KVMap; error?: string; serialized?: object... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.2.12)

And 13 more in this version.

### @langchain/core 1.2.11 breaking changes

@langchain/core 1.2.11, released September 12, 2026: 1 breaking change.

- **Behavior changed** `llmOutput.tokenUsage`  

Streamed token usage is now computed from the fully accumulated chunk, so per-chunk deltas are summed. Provider authors that repeat cumulative totals on every chunk will see inflated llmOutput.tokenUsage and should emit the total only once. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.2.11)

### @langchain/core 1.2.8 breaking changes

@langchain/core 1.2.8, released August 14, 2026: 3 breaking changes.

- **Behavior changed** `modelRetryMiddleware`  

Errors marked non-retryable now fail immediately instead of retrying. To restore the old retry-everything default, pass retryOn: () => true. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.2.8)
- **Behavior changed** `onFailedAttempt`  

A custom onFailedAttempt replaces the built-in handler and opts out of error marking, so code relying on the built-in classification changes behavior. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.2.8)

And 1 more in this version.

### @langchain/core 1.2.6 breaking changes

@langchain/core 1.2.6, released August 12, 2026: 3 breaking changes.

- **Signature changed** `messages:FunctionMessage.isInstance`  

Was static isInstance(obj: unknown): obj is BaseMessage; now static isInstance(obj: unknown): obj is FunctionMessage. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.2.6)
- **Signature changed** `messages:FunctionMessageChunk.isInstance`  

Was static isInstance(obj: unknown): obj is BaseMessageChunk; now static isInstance(obj: unknown): obj is FunctionMessageChunk. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.2.6)

And 1 more in this version.

### @langchain/core 1.2.5 breaking changes

@langchain/core 1.2.5, released August 5, 2026: 50 breaking changes.

- **Signature changed** `messages:$Expand`  

Was type $Expand\<T> = T extends infer U ? {\[K in keyof U\]: U\[K\]} : never; now type $Expand\<T> = T extends (infer U) ? {\[K in keyof U\]: U\[K\];} : never. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.2.5)
- **Signature changed** `messages:$InferMessageContent`  

Was type $InferMessageContent\<TStructure extends MessageStructure, TRole extends MessageType> = TRole extends "tool" ? $InferToolOutputs\<TStructure> extends infer TOutput ? \[TOutput\] extends \[never\] ? string | Array\<ContentBlock |... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.2.5)

And 48 more in this version.

### @langchain/core 1.2.1 breaking changes

@langchain/core 1.2.1, released June 22, 2026: 1 breaking change.

- **Behavior changed** `ToolMessage`  

Tool outputs that are arrays are only treated as message content blocks when every element is an object with a type; other arrays are now JSON-stringified. Code relying on the old forwarding of such arrays may see different content. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.2.1)

### @langchain/core 1.2.0 breaking changes

@langchain/core 1.2.0, released June 17, 2026: 8 breaking changes.

- **Signature changed** `language_models/chat_models:BaseChatModel.streamEvents`  

Was streamEvents(input: RunInput, options: Partial\<CallOptions> & {version: "v1" | "v2"; encoding: "text/event-stream";}, streamOptions?: Omit\<EventStreamCallbackHandlerInput, "autoClose">): IterableReadableStream\<Uint8Array>... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.2.0)
- **Signature changed** `language_models/chat_models:SimpleChatModel.streamEvents`  

Was streamEvents(input: RunInput, options: Partial\<CallOptions> & {version: "v1" | "v2"; encoding: "text/event-stream";}, streamOptions?: Omit\<EventStreamCallbackHandlerInput, "autoClose">): IterableReadableStream\<Uint8Array>... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.2.0)

And 6 more in this version.

### @langchain/core 1.1.49 breaking changes

@langchain/core 1.1.49, released June 12, 2026: 4 breaking changes.

- **Signature changed** `messages:BaseMessageLike`  

Was type BaseMessageLike = BaseMessage | MessageFieldWithRole | \[MessageType, MessageContent\] | string | ({type: MessageType | "user" | "assistant" | "placeholder";} & BaseMessageFields & Record\<string, unknown>) | SerializedConstructor... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.49)
- **Signature changed** `messages:RemoveMessage`  

Was class RemoveMessage\<TStructure extends MessageStructure = MessageStructure> extends BaseMessage\<TStructure, "remove">; now class RemoveMessage extends BaseMessage. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.49)

And 2 more in this version.

### @langchain/core 1.1.48 breaking changes

@langchain/core 1.1.48, released May 21, 2026: 13 breaking changes.

- **Removed** `utils/uuid:v5.DNS`  

v5.DNS was removed in @langchain/core 1.1.48 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.48)
- **Removed** `utils/uuid:v5.URL`  

v5.URL was removed in @langchain/core 1.1.48 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.48)

And 11 more in this version.

### @langchain/core 1.1.46 breaking changes

@langchain/core 1.1.46, released May 12, 2026: 3 breaking changes.

- **Removed** `ansi-styles`  

Core no longer depends directly on ansi-styles; its equivalent logic is inlined. Code that imports ansi-styles through core's dependencies must add it as its own dependency. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.1.46)
- **Removed** `camelcase`  

Core no longer depends directly on camelcase; its equivalent logic is inlined. Code that imports camelcase through core's dependencies must add it as its own dependency. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.1.46)

And 1 more in this version.

### @langchain/core 1.1.43 breaking changes

@langchain/core 1.1.43, released May 2, 2026: 10 breaking changes.

- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; handleLLMStart?(llm: Serialized, prompts: string\[\], runId: string, parentRunId?: string, extraParams?: Record\<string, unknown>, tags?: string\[\], metadata?... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.43)
- **Signature changed** `tracers/base:BaseTracer.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; handleLLMStart?(llm: Serialized, prompts: string\[\], runId: string, parentRunId?: string, extraParams?: Record\<string, unknown>, tags?: string\[\], metadata?... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.43)

And 8 more in this version.

### @langchain/core 1.1.41 breaking changes

@langchain/core 1.1.41, released April 22, 2026: 1 breaking change.

- **Behavior changed**  

Tracer metadata for special keys now inherits differently. Check any code that relies on how tracing metadata propagates to child runs. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.1.41)

### @langchain/core 1.1.40 breaking changes

@langchain/core 1.1.40, released April 15, 2026: 1 breaking change.

- **Behavior changed** `ensureConfig`  

ensureConfig no longer mirrors configurable metadata into runnable metadata except for model, and tracer-only metadata defaults are now handled by LangChainTracer. Code that relied on other metadata appearing in runnable config should read... [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.1.40)

### @langchain/core 1.1.39 breaking changes

@langchain/core 1.1.39, released April 3, 2026: 62 breaking changes.

- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; handleLLMStart?(llm: Serialized, prompts: string\[\], runId: string, parentRunId?: string | undefined, extraParams?: Record\<string, unknown> | undefined, tags?: string\[\]... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.39)
- **Signature changed** `language_models/base:getEmbeddingContextSize`  

Was const getEmbeddingContextSize: (modelName?: string | undefined) => number; now const getEmbeddingContextSize: (modelName?: string) => number. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.39)

And 60 more in this version.

### @langchain/core 1.1.38 breaking changes

@langchain/core 1.1.38, released March 31, 2026: 32 breaking changes.

- **Removed** `language_models/base:LanguageModelLike._batchWithConfig`  

LanguageModelLike.\_batchWithConfig was removed in @langchain/core 1.1.38 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.38)
- **Removed** `language_models/base:LanguageModelLike._callWithConfig`  

LanguageModelLike.\_callWithConfig was removed in @langchain/core 1.1.38 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.38)

And 30 more in this version.

### @langchain/core 1.1.37 breaking changes

@langchain/core 1.1.37, released March 30, 2026: 1 breaking change.

- **Behavior changed**  

The earlier feature that added all chat model and LLM invocation params to metadata has been reverted, so code relying on those metadata fields may no longer find them. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/core%401.1.37)

### @langchain/core 1.1.35 breaking changes

@langchain/core 1.1.35, released March 22, 2026: 41 breaking changes.

- **Signature changed** `language_models/base:BaseLanguageModel.withStructuredOutput`  

Was withStructuredOutput?\<RunOutput extends Record\<string, any> = Record\<string, any>>(schema: $ZodType\<RunOutput> | Record\<string, any>, config?: StructuredOutputMethodOptions\<false>): Runnable\<BaseLanguageModelInput, RunOutput>... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.35)
- **Signature changed** `language_models/chat_models:BaseChatModel.withStructuredOutput`  

Was withStructuredOutput\<RunOutput extends Record\<string, any> = Record\<string, any>>(outputSchema: $ZodType\<RunOutput> | Record\<string, any>, config?: StructuredOutputMethodOptions\<false>): Runnable\<BaseLanguageModelInput, RunOutput>... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.35)

And 39 more in this version.

### @langchain/core 1.1.33 breaking changes

@langchain/core 1.1.33, released March 17, 2026: 1 breaking change.

- **Behavior changed** `getBufferString`  

Multimodal message content passed to getBufferString is now rendered as placeholders in the returned string instead of its previous output. Code that parses or compares that string may need updating. [github.com](https://github.com/langchain-ai/langchainjs/blob/@langchain/core@1.1.33/libs/langchain-core/CHANGELOG.md)

### @langchain/core 1.1.32 breaking changes

@langchain/core 1.1.32, released March 11, 2026: 18 breaking changes.

- **Behavior changed** `_mergeLists`  

Tool call chunks with an empty string ID are merged the same way as chunks with null or undefined IDs. Code relying on the old separation of such chunks may see different merged results. [github.com](https://github.com/langchain-ai/langchainjs/blob/@langchain/core@1.1.32/libs/langchain-core/CHANGELOG.md)
- **Signature changed** `tools:DynamicStructuredTool`  

Was class DynamicStructuredTool\<SchemaT = ToolInputSchemaBase, SchemaOutputT = ToolInputSchemaOutputType\<SchemaT>, SchemaInputT = ToolInputSchemaInputType\<SchemaT>, ToolOutputT = ToolOutputType, NameT extends string = string> extends... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.32)

And 16 more in this version.

### @langchain/core 1.1.31 breaking changes

@langchain/core 1.1.31, released March 5, 2026: 3 breaking changes.

- **Removed** `utils/testing:fakeModel`  

fakeModel was removed in @langchain/core 1.1.31 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.31)
- **Renamed** `fakeModel`  

fakeModel is no longer exported from utils/testing. Import it from the testing namespace instead. [github.com](https://github.com/langchain-ai/langchainjs/blob/@langchain/core@1.1.31/libs/langchain-core/CHANGELOG.md)

And 1 more in this version.

### @langchain/core 1.1.30 breaking changes

@langchain/core 1.1.30, released March 3, 2026: 2 breaking changes.

- **Signature changed** `utils/json_schema:toJsonSchema`  

Was function toJsonSchema(schema: InteropZodType | JsonSchema7Type, params?: ToJSONSchemaParams): JsonSchema7Type; now function toJsonSchema(schema: StandardJSONSchemaV1 | InteropZodType | JsonSchema7Type, params?: ToJSONSchemaParams)... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.30)
- **Signature changed** `utils/types:getSchemaDescription`  

Was function getSchemaDescription(schema: InteropZodType\<unknown> | Record\<string, unknown>): string | undefined; now function getSchemaDescription(schema: SerializableSchema | InteropZodType\<unknown> | Record\<string, unknown>): string |... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.30)

### @langchain/core 1.1.29 breaking changes

@langchain/core 1.1.29, released February 26, 2026: 1 breaking change.

- **Behavior changed**  

When a RunTree sets tracingEnabled to false, inherited LangChainTracer handlers are now removed, so child runs no longer send traces. Code that relied on child runs being traced under that setting should set tracing explicitly. [github.com](https://github.com/langchain-ai/langchainjs/blob/@langchain/core@1.1.29/libs/langchain-core/CHANGELOG.md)

### @langchain/core 1.1.28 breaking changes

@langchain/core 1.1.28, released February 24, 2026: 20 breaking changes.

- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; handleLLMStart?(llm: Serialized, prompts: string\[\], runId: string, parentRunId?: string | undefined, extraParams?: Record\<string, unknown> | undefined, tags?: string\[\]... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.28)
- **Signature changed** `callbacks/base:BaseCallbackHandler.handleToolStart`  

Was handleToolStart?(tool: Serialized, input: string, runId: string, parentRunId?: string, tags?: string\[\], metadata?: Record\<string, unknown>, runName?: string): Promise\<any> | any; now handleToolStart?(tool: Serialized, input: string... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.28)

And 18 more in this version.

### @langchain/core 1.1.25 breaking changes

@langchain/core 1.1.25, released February 17, 2026: 22 breaking changes.

- **Removed** `errors:ModelAbortError.lc_error_code`  

ModelAbortError.lc_error_code was removed in @langchain/core 1.1.25 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.25)
- **Behavior changed**  

Context overflow errors from the Anthropic and OpenAI providers are now ContextOverflowError instances, so code that matches the previous error type may need updating. [github.com](https://github.com/langchain-ai/langchainjs/blob/@langchain/core@1.1.25/libs/langchain-core/CHANGELOG.md)

And 20 more in this version.

### @langchain/core 1.1.22 breaking changes

@langchain/core 1.1.22, released February 11, 2026: 1 breaking change.

- **Behavior changed** `ChatOpenAI.contentBlocks`  

Empty text blocks are now skipped when building ChatOpenAI contentBlocks, so code that counted or indexed those blocks may see fewer entries. [github.com](https://github.com/langchain-ai/langchainjs/blob/@langchain/core@1.1.22/libs/langchain-core/CHANGELOG.md)

### @langchain/core 1.1.21 breaking changes

@langchain/core 1.1.21, released February 11, 2026: 1 breaking change.

- **Behavior changed** `RecursiveUrlLoader`  

The loader now rejects URLs that point at private IPs, cloud metadata endpoints, or localhost, and uses origin-based matching instead of string comparison. Code that crawled such URLs must change its targets. [github.com](https://github.com/langchain-ai/langchainjs/blob/@langchain/core@1.1.21/libs/langchain-core/CHANGELOG.md)

### @langchain/core 1.1.18 breaking changes

@langchain/core 1.1.18, released January 30, 2026: 40 breaking changes.

- **Behavior changed** `invoke`  

When aborted during streaming with streaming callback handlers, invoke() now throws ModelAbortError carrying the partial output instead of a plain abort error. Code that catches abort errors should check for ModelAbortError. [github.com](https://github.com/langchain-ai/langchainjs/blob/@langchain/core@1.1.18/libs/langchain-core/CHANGELOG.md)
- **Signature changed** `language_models/base:BaseLanguageModelInterface.generatePrompt`  

Was generatePrompt(promptValues: BasePromptValueInterface\[\], options?: string\[\] | CallOptions, callbacks?: Callbacks): Promise\<LLMResult>; now generatePrompt(promptValues: BasePromptValueInterface\[\], options?: string\[\] |... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.18)

And 38 more in this version.

### @langchain/core 1.1.17 breaking changes

@langchain/core 1.1.17, released January 24, 2026: 1 breaking change.

- **Signature changed** `tracers/log_stream:StreamEventData`  

Was type StreamEventData = {input?: any; output?: any; chunk?: any;}; now type StreamEventData = {input?: any; output?: any; chunk?: any; error?: string;}. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.17)

### @langchain/core 1.1.16 breaking changes

@langchain/core 1.1.16, released January 20, 2026: 2 breaking changes.

- **Behavior changed**  

OpenAI image generation results are now image content blocks instead of their previous form. Code that reads those outputs may need to handle the new block format. [github.com](https://github.com/langchain-ai/langchainjs/blob/@langchain/core@1.1.16/libs/langchain-core/CHANGELOG.md)
- **Behavior changed**  

Tool call content is serialized as compacted JSON rather than its previous formatting. Code that parses or compares this string output may need updating. [github.com](https://github.com/langchain-ai/langchainjs/blob/@langchain/core@1.1.16/libs/langchain-core/CHANGELOG.md)

### @langchain/core 1.1.14 breaking changes

@langchain/core 1.1.14, released January 14, 2026: 3 breaking changes.

- **Signature changed** `messages:_mergeDicts`  

Was function \_mergeDicts(left: Record\<string, any> | undefined, right: Record\<string, any> | undefined): Record\<string, any> | undefined; now function \_mergeDicts(left: Record\<string, any> | undefined, right: Record\<string, any> |... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.14)
- **Signature changed** `messages:_mergeLists`  

Was function \_mergeLists\<Content extends ContentBlock>(left?: Content\[\], right?: Content\[\]): Content\[\] | undefined; now function \_mergeLists\<Content extends ContentBlock>(left?: Content\[\], right?: Content\[\], options?: MergeDictsOptions)... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.14)

And 1 more in this version.

### @langchain/core 1.1.12 breaking changes

@langchain/core 1.1.12, released January 8, 2026: 34 breaking changes.

- **Signature changed** `caches:deserializeStoredGeneration`  

Was function deserializeStoredGeneration(storedGeneration: StoredGeneration): {text: string; message: AIMessage\<MessageStructure> | ChatMessage\<MessageStructure> | FunctionMessage\<MessageStructure> | HumanMessage\<MessageStructure> |... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.12)
- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; handleLLMStart?(llm: Serialized, prompts: string\[\], runId: string, parentRunId?: string | undefined, extraParams?: Record\<string, unknown> | undefined, tags?: string\[\]... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.12)

And 32 more in this version.

### @langchain/core 1.1.10 breaking changes

@langchain/core 1.1.10, released January 6, 2026: 1 breaking change.

- **Signature changed** `messages:_mergeDicts`  

Was function \_mergeDicts(left?: Record\<string, any>, right?: Record\<string, any>): Record\<string, any>; now function \_mergeDicts(left: Record\<string, any> | undefined, right: Record\<string, any> | undefined): Record\<string, any> |... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.10)

### @langchain/core 1.1.9 breaking changes

@langchain/core 1.1.9, released January 6, 2026: 3 breaking changes.

- **Signature changed** `utils/types:InteropZodObject`  

Was type InteropZodObject = ZodObjectV3 | ZodObjectV4; now type InteropZodObject = ZodObjectV3 | ZodObjectV4 | ZodObjectV4Classic | ZodObjectMain. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.9)
- **Signature changed** `utils/types:InteropZodObjectShape`  

Was type InteropZodObjectShape\<T extends InteropZodObject = InteropZodObject> = T extends z3.ZodObject\<infer Shape> ? {\[K in keyof Shape\]: Shape\[K\]} : T extends z4.$ZodObject\<infer Shape> ? {\[K in keyof Shape\]: Shape\[K\]} : never; now type... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.9)

And 1 more in this version.

### @langchain/core 1.1.8 breaking changes

@langchain/core 1.1.8, released December 22, 2025: 2 breaking changes.

- **Signature changed** `load:load`  

Was function load\<T>(text: string, mappings?: {secretsMap?: SecretMap; optionalImportsMap?: OptionalImportMap; optionalImportEntrypoints?: string\[\]; importMap?: Record\<string, unknown>;}): Promise\<T>; now function load\<T>(text: string... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.8)
- **Signature changed** `messages:BaseMessageFields`  

Was type BaseMessageFields\<TStructure extends MessageStructure = MessageStructure, TRole extends MessageType = MessageType> = {id?: string; name?: string; content?: $InferMessageContent\<TStructure, TRole>; contentBlocks?... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.8)

### @langchain/core 1.1.7 breaking changes

@langchain/core 1.1.7, released December 18, 2025: 24 breaking changes.

- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; handleLLMStart?(llm: Serialized, prompts: string\[\], runId: string, parentRunId?: string | undefined, extraParams?: Record\<string, unknown> | undefined, tags?: string\[\]... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.7)
- **Signature changed** `callbacks/base:BaseCallbackHandler.handleChainStart`  

Was handleChainStart?(chain: Serialized, inputs: ChainValues, runId: string, parentRunId?: string, tags?: string\[\], metadata?: Record\<string, unknown>, runType?: string, runName?: string): Promise\<any> | any; now handleChainStart?(chain... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.7)

And 22 more in this version.

### @langchain/core 1.1.6 breaking changes

@langchain/core 1.1.6, released December 16, 2025: 2 breaking changes.

- **Signature changed** `messages:_mergeObj`  

Was function \_mergeObj\<T = any>(left: T | undefined, right: T | undefined): T; now function \_mergeObj\<T = any>(left: T | undefined, right: T | undefined): T | undefined. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.6)
- **Signature changed** `utils/testing:FakeStreamingChatModel._streamResponseChunks`  

Was \_streamResponseChunks(\_messages: BaseMessage\[\], \_options: this\["ParsedCallOptions"\], runManager?: CallbackManagerForLLMRun): AsyncGenerator\<ChatGenerationChunk>; now \_streamResponseChunks(\_messages: BaseMessage\[\], options... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.6)

### @langchain/core 1.1.5 breaking changes

@langchain/core 1.1.5, released December 13, 2025: 13 breaking changes.

- **Behavior changed**  

Newly created run IDs use the UUIDv7 format. Code that assumes a particular UUID version for run IDs may need updating. [github.com](https://github.com/langchain-ai/langchainjs/blob/@langchain/core@1.1.5/libs/langchain-core/CHANGELOG.md)
- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {handleLLMStart?(llm: Serialized, prompts: string\[\], runId: string, parentRunId?: string | undefined, extraParams?: Record\<string, unknown> | undefined, tags?: string\[\] | undefined... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.5)

And 11 more in this version.

### @langchain/core 1.1.4 breaking changes

@langchain/core 1.1.4, released December 5, 2025: 9 breaking changes.

- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; handleLLMStart?(llm: Serialized, prompts: string\[\], runId: string, parentRunId?: string | undefined, extraParams?: Record\<string, unknown> | undefined, tags?: string\[\]... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.4)
- **Signature changed** `example_selectors:LengthBasedExampleSelector.examplePrompt`  

Was examplePrompt: PromptTemplate; now examplePrompt!: PromptTemplate. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.4)

And 7 more in this version.

### @langchain/core 1.1.3 breaking changes

@langchain/core 1.1.3, released December 5, 2025: 9 breaking changes.

- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {handleLLMStart?(llm: Serialized, prompts: string\[\], runId: string, parentRunId?: string | undefined, extraParams?: Record\<string, unknown> | undefined, tags?: string\[\] | undefined... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.3)
- **Signature changed** `example_selectors:LengthBasedExampleSelector.examplePrompt`  

Was examplePrompt!: PromptTemplate; now examplePrompt: PromptTemplate. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.3)

And 7 more in this version.

### @langchain/core 1.1.2 breaking changes

@langchain/core 1.1.2, released December 3, 2025: 1 breaking change.

- **Signature changed** `output_parsers:parsePartialJson`  

Was function parsePartialJson(s: string): any; now function parsePartialJson(s: string): any | null. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.2)

### @langchain/core 1.1.1 breaking changes

@langchain/core 1.1.1, released December 2, 2025: 1 breaking change.

- **Signature changed** `tools:StructuredToolParams`  

Was interface StructuredToolParams extends Pick\<StructuredToolInterface, "name" | "schema">; now interface StructuredToolParams extends Pick\<StructuredToolInterface, "name" | "schema" | "extras">. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.1)

### @langchain/core 1.1.0 breaking changes

@langchain/core 1.1.0, released November 24, 2025: 6 breaking changes.

- **Signature changed** `messages:$Expand`  

Was type $Expand\<T> = T extends infer U ? {\[K in keyof U\]: U\[K\]} : never; now type $Expand\<T$1> = T$1 extends infer U ? {\[K in keyof U\]: U\[K\]} : never. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.0)
- **Signature changed** `messages:$InferMessageProperty`  

Was type $InferMessageProperty\<TStructure extends MessageStructure, TRole extends MessageType, K extends string> = K extends keyof $InferMessageProperties\<TStructure, TRole> ? $InferMessageProperties\<TStructure, TRole>\[K\] : never; now type... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.1.0)

And 4 more in this version.

### @langchain/core 1.0.0 breaking changes

@langchain/core 1.0.0, released October 17, 2025: 552 breaking changes.

- **Removed** `caches:getCacheKey`  

getCacheKey was removed in @langchain/core 1.0.0 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.0.0)
- **Removed** `callbacks/manager:traceAsGroup`  

traceAsGroup was removed in @langchain/core 1.0.0 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/1.0.0)

And 550 more in this version.

### @langchain/core 0.3.80 breaking changes

@langchain/core 0.3.80, released December 23, 2025: 1 breaking change.

- **Signature changed** `load:load`  

Was function load\<T>(text: string, mappings?: {secretsMap?: SecretMap; optionalImportsMap?: OptionalImportMap; optionalImportEntrypoints?: string\[\]; importMap?: Record\<string, unknown>;}): Promise\<T>; now function load\<T>(text: string... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.80)

### @langchain/core 0.3.76 breaking changes

@langchain/core 0.3.76, released September 15, 2025: 7 breaking changes.

- **Signature changed** `embeddings:Embeddings`  

Was abstract class Embeddings implements EmbeddingsInterface; now abstract class Embeddings\<TOutput = number\[\]> implements EmbeddingsInterface\<TOutput>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.76)
- **Signature changed** `embeddings:Embeddings.embedDocuments`  

Was abstract embedDocuments(documents: string\[\]): Promise\<number\[\]\[\]>; now abstract embedDocuments(documents: string\[\]): Promise\<TOutput\[\]>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.76)

And 5 more in this version.

### @langchain/core 0.3.64 breaking changes

@langchain/core 0.3.64, released July 16, 2025: 50 breaking changes.

- **Signature changed** `tracers/base:BaseTracer._addRunToRunMap`  

Was \_addRunToRunMap(run: Run): {id: string; start_time: number; execution_order: number; child_runs: Run\[\]; child_execution_order: number; events: Array<{name: string; time: string; kwargs?: Record\<string, unknown>;}>; trace_id?: string... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.64)
- **Signature changed** `tracers/base:BaseTracer._createRunForChainStart`  

Was \_createRunForChainStart(chain: Serialized, inputs: ChainValues, runId: string, parentRunId?: string, tags?: string\[\], metadata?: KVMap, runType?: string, name?: string): {id: string; start_time: number; execution_order: number... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.64)

And 48 more in this version.

### @langchain/core 0.3.61 breaking changes

@langchain/core 0.3.61, released June 21, 2025: 1 breaking change.

- **Signature changed** `utils/types:interopZodTransformInputSchema`  

Was function interopZodTransformInputSchema(schema: InteropZodType): InteropZodType | undefined; now function interopZodTransformInputSchema(schema: InteropZodType, recursive?: boolean): InteropZodType. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.61)

### @langchain/core 0.3.60 breaking changes

@langchain/core 0.3.60, released June 20, 2025: 64 breaking changes.

- **Signature changed** `caches:getCacheKey`  

Was const getCacheKey: (...strings: string\[\]) => string; now const getCacheKey: HashKeyEncoder. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.60)
- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; lc_serializable: boolean; readonly lc_namespace: \["langchain_core", "callbacks", string\]; readonly lc_secrets: {\[key: string\]: string;} | undefined; readonly... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.60)

And 62 more in this version.

### @langchain/core 0.3.59 breaking changes

@langchain/core 0.3.59, released June 17, 2025: 2 breaking changes.

- **Renamed** `tracers/tracer_langchain:LangChainTracer.convertToRunTree`  

Use LangChainTracer.getRunTreeWithTracingConfig instead. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.59)
- **Signature changed** `language_models/base:BaseLanguageModelCallOptions`  

Was interface BaseLanguageModelCallOptions extends RunnableConfig; now interface BaseLanguageModelCallOptions extends RunnableConfig, BaseLanguageModelTracingCallOptions. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.59)

### @langchain/core 0.3.58 breaking changes

@langchain/core 0.3.58, released June 11, 2025: 123 breaking changes.

- **Signature changed** `documents:BaseDocumentTransformer.asTool`  

Was asTool\<T extends RunInput = RunInput>(fields: {name?: string; description?: string; schema: z.ZodType\<T>;}): RunnableToolLike\<z.ZodType\<T | ToolCall>, RunOutput>; now asTool\<T extends RunInput = RunInput>(fields: {name?: string... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.58)
- **Signature changed** `documents:MappingDocumentTransformer.asTool`  

Was asTool\<T extends RunInput = RunInput>(fields: {name?: string; description?: string; schema: z.ZodType\<T>;}): RunnableToolLike\<z.ZodType\<T | ToolCall>, RunOutput>; now asTool\<T extends RunInput = RunInput>(fields: {name?: string... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.58)

And 121 more in this version.

### @langchain/core 0.3.57 breaking changes

@langchain/core 0.3.57, released May 22, 2025: 8 breaking changes.

- **Signature changed** `runnables:RunnableBinding.withConfig`  

Was withConfig(config: RunnableConfig): Runnable\<RunInput, RunOutput, CallOptions>; now withConfig(config: Partial\<CallOptions>): Runnable\<RunInput, RunOutput, CallOptions>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.57)
- **Signature changed** `runnables:RunnableBindingArgs`  

Was type RunnableBindingArgs\<RunInput, RunOutput, CallOptions extends RunnableConfig = RunnableConfig> = {bound: Runnable\<RunInput, RunOutput, CallOptions>; kwargs?: Partial\<CallOptions>; config: RunnableConfig; configFactories?... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.57)

And 6 more in this version.

### @langchain/core 0.3.56 breaking changes

@langchain/core 0.3.56, released May 16, 2025: 6 breaking changes.

- **Signature changed** `utils/testing:FakeStreamingChatModel`  

Was class FakeStreamingChatModel extends BaseChatModel; now class FakeStreamingChatModel extends BaseChatModel\<FakeStreamingChatModelCallOptions>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.56)
- **Signature changed** `utils/testing:FakeStreamingChatModel._streamResponseChunks`  

Was \_streamResponseChunks(messages: BaseMessage\[\], \_options: this\["ParsedCallOptions"\], \_runManager?: CallbackManagerForLLMRun): AsyncGenerator\<ChatGenerationChunk>; now \_streamResponseChunks(\_messages: BaseMessage\[\], \_options... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.56)

And 4 more in this version.

### @langchain/core 0.3.55 breaking changes

@langchain/core 0.3.55, released May 8, 2025: 77 breaking changes.

- **Signature changed** `documents:BaseDocumentTransformer.withConfig`  

Was withConfig(config: RunnableConfig): Runnable\<RunInput, RunOutput, CallOptions>; now withConfig(config: Partial\<CallOptions>): Runnable\<RunInput, RunOutput, CallOptions>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.55)
- **Signature changed** `documents:MappingDocumentTransformer.withConfig`  

Was withConfig(config: RunnableConfig): Runnable\<RunInput, RunOutput, CallOptions>; now withConfig(config: Partial\<CallOptions>): Runnable\<RunInput, RunOutput, CallOptions>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.55)

And 75 more in this version.

### @langchain/core 0.3.54 breaking changes

@langchain/core 0.3.54, released May 7, 2025: 38 breaking changes.

- **Signature changed** `messages:ToolMessage.lc_direct_tool_output`  

Was lc_direct_tool_output: boolean; now lc_direct_tool_output: true. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.54)
- **Signature changed** `messages/tool:DirectToolOutput.lc_direct_tool_output`  

Was readonly lc_direct_tool_output: boolean; now readonly lc_direct_tool_output: true. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.54)

And 36 more in this version.

### @langchain/core 0.3.50 breaking changes

@langchain/core 0.3.50, released April 30, 2025: 1 breaking change.

- **Signature changed** `prompts:StructuredPrompt.fromMessagesAndSchema`  

Was static fromMessagesAndSchema\<RunInput extends InputValues = any>(promptMessages: (ChatPromptTemplate\<InputValues, string> | BaseMessagePromptTemplateLike)\[\], schema: StructuredPromptInput\["schema"\]): ChatPromptTemplate\<RunInput, any>... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.50)

### @langchain/core 0.3.48 breaking changes

@langchain/core 0.3.48, released April 24, 2025: 9 breaking changes.

- **Signature changed** `messages:HumanMessage.content`  

Was content: MessageContent; now content: string | (MessageContentComplex | DataContentBlock)\[\]. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.48)
- **Signature changed** `messages:HumanMessageChunk.content`  

Was content: MessageContent; now content: string | (MessageContentComplex | DataContentBlock)\[\]. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.48)

And 7 more in this version.

### @langchain/core 0.3.47 breaking changes

@langchain/core 0.3.47, released April 23, 2025: 1 breaking change.

- **Signature changed** `prompts:DictPromptTemplate.inputVariables`  

Was readonly inputVariables: Array\<Extract\<keyof RunInput, string>>; now inputVariables: Array\<Extract\<keyof RunInput, string>>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.47)

### @langchain/core 0.3.46 breaking changes

@langchain/core 0.3.46, released April 22, 2025: 6 breaking changes.

- **Signature changed** `prompts:AIMessagePromptTemplate.fromTemplate`  

Was static fromTemplate(template: string | Array\<string | \_TextTemplateParam | \_ImageTemplateParam>, additionalOptions?: \_StringImageMessagePromptTemplateOptions): \_StringImageMessagePromptTemplate\<any, BaseMessage\[\]>; now static... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.46)
- **Signature changed** `prompts:AIMessagePromptTemplate.prompt`  

Was prompt: BaseStringPromptTemplate\<InputValues\<Extract\<keyof RunInput, string>>, string> | Array\<BaseStringPromptTemplate\<InputValues\<Extract\<keyof RunInput, string>>, string> | ImagePromptTemplate\<InputValues\<Extract\<keyof RunInput... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.46)

And 4 more in this version.

### @langchain/core 0.3.44 breaking changes

@langchain/core 0.3.44, released April 9, 2025: 31 breaking changes.

- **Signature changed** `language_models/base:FunctionDefinition.parameters`  

Was parameters: Record\<string, unknown>; now parameters: Record\<string, unknown> | JSONSchema. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.44)
- **Signature changed** `tools:DynamicStructuredTool`  

Was class DynamicStructuredTool\<T extends ZodObjectAny | Record\<string, any> = ZodObjectAny> extends StructuredTool\<T extends ZodObjectAny ? T : ZodObjectAny>; now class DynamicStructuredTool\<SchemaT extends ToolInputSchemaBase =... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.44)

And 29 more in this version.

### @langchain/core 0.3.43 breaking changes

@langchain/core 0.3.43, released March 24, 2025: 1 breaking change.

- **Signature changed** `prompts:ChatMessagePromptTemplate.fromTemplate`  

Was static fromTemplate(template: string, role: string, options?: {templateFormat?: TemplateFormat;}): ChatMessagePromptTemplate\<any>; now static fromTemplate\<RunInput extends InputValues = Symbol, T extends string = string>(template: T... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.43)

### @langchain/core 0.3.41 breaking changes

@langchain/core 0.3.41, released February 27, 2025: 1 breaking change.

- **Signature changed** `output_parsers:BytesOutputParser.textEncoder`  

Was protected textEncoder: any; now protected textEncoder: InstanceType\<typeof TextEncoder>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.41)

### @langchain/core 0.3.39 breaking changes

@langchain/core 0.3.39, released February 7, 2025: 9 breaking changes.

- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; lc_serializable: boolean; readonly lc_namespace: \["langchain_core", "callbacks", string\]; readonly lc_secrets: {\[key: string\]: string;} | undefined; readonly... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.39)
- **Signature changed** `tracers/base:BaseTracer.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; lc_serializable: boolean; readonly lc_namespace: \["langchain_core", "callbacks", string\]; readonly lc_secrets: {\[key: string\]: string;} | undefined; readonly... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.39)

And 7 more in this version.

### @langchain/core 0.3.33 breaking changes

@langchain/core 0.3.33, released January 21, 2025: 49 breaking changes.

- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; lc_serializable: boolean; readonly lc_namespace: \["langchain_core", "callbacks", string\]; readonly lc_secrets: {\[key: string\]: string;} | undefined; readonly... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.33)
- **Signature changed** `callbacks/base:BaseCallbackHandler.handleLLMEnd`  

Was handleLLMEnd?(output: LLMResult, runId: string, parentRunId?: string, tags?: string\[\]): Promise\<any> | any; now handleLLMEnd?(output: LLMResult, runId: string, parentRunId?: string, tags?: string\[\], extraParams?: Record\<string... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.33)

And 47 more in this version.

### @langchain/core 0.3.29 breaking changes

@langchain/core 0.3.29, released January 11, 2025: 1 breaking change.

- **Signature changed** `language_models/chat_models:BaseChatModelParams`  

Was type BaseChatModelParams = BaseLanguageModelParams; now type BaseChatModelParams = BaseLanguageModelParams & {disableStreaming?: boolean;}. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.29)

### @langchain/core 0.3.27 breaking changes

@langchain/core 0.3.27, released December 31, 2024: 6 breaking changes.

- **Signature changed** `structured_query:castValue`  

Was function castValue(input: unknown): string | number; now function castValue(input: unknown): string | number | boolean. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.27)
- **Signature changed** `structured_query:Comparison`  

Was class Comparison extends FilterDirective; now class Comparison\<ValueTypes = string | number> extends FilterDirective. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.27)

And 4 more in this version.

### @langchain/core 0.3.25 breaking changes

@langchain/core 0.3.25, released December 19, 2024: 1 breaking change.

- **Signature changed** `messages:MessageType`  

Was type MessageType = "human" | "ai" | "generic" | "system" | "function" | "tool" | "remove"; now type MessageType = "human" | "ai" | "generic" | "developer" | "system" | "function" | "tool" | "remove". [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.25)

### @langchain/core 0.3.24 breaking changes

@langchain/core 0.3.24, released December 16, 2024: 1 breaking change.

- **Signature changed** `tracers/log_stream:LogStreamCallbackHandler`  

Was class LogStreamCallbackHandler extends BaseTracer; now class LogStreamCallbackHandler extends BaseTracer implements CallbackHandlerPrefersStreaming. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.24)

### @langchain/core 0.3.23 breaking changes

@langchain/core 0.3.23, released December 11, 2024: 14 breaking changes.

- **Removed** `utils/json_schema:Validator.addSchema`  

Validator.addSchema was removed in @langchain/core 0.3.23 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.23)
- **Removed** `utils/json_schema:Validator.constructor`  

new Validator() was removed in @langchain/core 0.3.23 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.23)

And 12 more in this version.

### @langchain/core 0.3.20 breaking changes

@langchain/core 0.3.20, released December 3, 2024: 50 breaking changes.

- **Signature changed** `tracers/base:BaseTracer._addRunToRunMap`  

Was \_addRunToRunMap(run: Run): {id: string; start_time: number; execution_order: number; child_runs: Run\[\]; child_execution_order: number; events: {name: string; time: string; kwargs?: Record\<string, unknown> | undefined;}\[\]; trace_id?... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.20)
- **Signature changed** `tracers/base:BaseTracer._createRunForChainStart`  

Was \_createRunForChainStart(chain: Serialized, inputs: ChainValues, runId: string, parentRunId?: string, tags?: string\[\], metadata?: KVMap, runType?: string, name?: string): {id: string; start_time: number; execution_order: number... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.20)

And 48 more in this version.

### @langchain/core 0.3.19 breaking changes

@langchain/core 0.3.19, released November 25, 2024: 1 breaking change.

- **Signature changed** `output_parsers:BytesOutputParser.textEncoder`  

Was protected textEncoder: TextEncoder; now protected textEncoder: any. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.19)

### @langchain/core 0.3.18 breaking changes

@langchain/core 0.3.18, released November 12, 2024: 1 breaking change.

- **Signature changed** `language_models/base:StructuredOutputMethodOptions`  

Was type StructuredOutputMethodOptions\<IncludeRaw extends boolean = false> = {name?: string; method?: "functionCalling" | "jsonMode" | "jsonSchema" | string; includeRaw?: IncludeRaw;}; now type StructuredOutputMethodOptions\<IncludeRaw... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.18)

### @langchain/core 0.3.15 breaking changes

@langchain/core 0.3.15, released October 25, 2024: 48 breaking changes.

- **Signature changed** `tracers/base:BaseTracer._addRunToRunMap`  

Was \_addRunToRunMap(run: Run): {id: string; start_time: number; execution_order: number; child_runs: Run\[\]; child_execution_order: number; events: {name: string; time: string; kwargs?: Record\<string, unknown> | undefined;}\[\]; trace_id?... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.15)
- **Signature changed** `tracers/base:BaseTracer._createRunForChainStart`  

Was \_createRunForChainStart(chain: Serialized, inputs: ChainValues, runId: string, parentRunId?: string, tags?: string\[\], metadata?: KVMap, runType?: string, name?: string): {id: string; start_time: number; execution_order: number... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.15)

And 46 more in this version.

### @langchain/core 0.3.14 breaking changes

@langchain/core 0.3.14, released October 24, 2024: 2 breaking changes.

- **Signature changed** `runnables:RunnableSequence.constructor`  

Was constructor(fields: {first: Runnable\<RunInput>; middle?: Runnable\[\]; last: Runnable\<any, RunOutput>; name?: string;}); now constructor(fields: RunnableSequenceFields\<RunInput, RunOutput>). [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.14)
- **Signature changed** `runnables:RunnableSequence.from`  

Was static from\<RunInput = any, RunOutput = any>(\[first, ...runnables\]: \[RunnableLike\<RunInput>, ...RunnableLike\[\], RunnableLike\<any, RunOutput>\], name?: string): RunnableSequence\<RunInput, Exclude\<RunOutput, Error>>; now static... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.14)

### @langchain/core 0.3.11 breaking changes

@langchain/core 0.3.11, released October 13, 2024: 2 breaking changes.

- **Signature changed** `context:getContextVariable`  

Was function getContextVariable(name: PropertyKey): any; now function getContextVariable\<T = any>(name: PropertyKey): T | undefined. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.11)
- **Signature changed** `context:setContextVariable`  

Was function setContextVariable(name: PropertyKey, value: any): void; now function setContextVariable\<T>(name: PropertyKey, value: T): void. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.11)

### @langchain/core 0.3.9 breaking changes

@langchain/core 0.3.9, released October 10, 2024: 91 breaking changes.

- **Signature changed** `documents:BaseDocumentTransformer._transformStreamWithConfig`  

Was protected \_transformStreamWithConfig\<I extends RunInput, O extends RunOutput>(inputGenerator: AsyncGenerator\<I>, transformer: (generator: AsyncGenerator\<I>, runManager?: CallbackManagerForChainRun, options?: Partial\<CallOptions>) =>... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.9)
- **Signature changed** `documents:MappingDocumentTransformer._transformStreamWithConfig`  

Was protected \_transformStreamWithConfig\<I extends RunInput, O extends RunOutput>(inputGenerator: AsyncGenerator\<I>, transformer: (generator: AsyncGenerator\<I>, runManager?: CallbackManagerForChainRun, options?: Partial\<CallOptions>) =>... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.9)

And 89 more in this version.

### @langchain/core 0.3.8 breaking changes

@langchain/core 0.3.8, released October 8, 2024: 12 breaking changes.

- **Signature changed** `language_models/base:BaseFunctionCallOptions.configurable`  

Was configurable?: Record\<string, any>; now configurable?: ConfigurableFieldType. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.8)
- **Signature changed** `language_models/base:BaseLanguageModelCallOptions.configurable`  

Was configurable?: Record\<string, any>; now configurable?: ConfigurableFieldType. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.8)

And 10 more in this version.

### @langchain/core 0.3.7 breaking changes

@langchain/core 0.3.7, released October 3, 2024: 1 breaking change.

- **Signature changed** `messages:BaseMessageLike`  

Was type BaseMessageLike = BaseMessage | MessageFieldWithRole | \[StringWithAutocomplete\<MessageType | "user" | "assistant" | "placeholder">, MessageContent\] | string | ({type: MessageType | "user" | "assistant" | "placeholder";} &... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.7)

### @langchain/core 0.3.6 breaking changes

@langchain/core 0.3.6, released October 2, 2024: 1 breaking change.

- **Signature changed** `runnables/graph:Graph.addNode`  

Was addNode(data: RunnableInterface | RunnableIOSchema, id?: string): Node; now addNode(data: RunnableInterface | RunnableIOSchema, id?: string, metadata?: Record\<string, any>): Node. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.6)

### @langchain/core 0.3.5 breaking changes

@langchain/core 0.3.5, released September 30, 2024: 1 breaking change.

- **Signature changed** `language_models/chat_models:BaseChatModel`  

Was abstract class BaseChatModel\<CallOptions extends BaseChatModelCallOptions = BaseChatModelCallOptions, OutputMessageType extends BaseMessageChunk = BaseMessageChunk> extends BaseLanguageModel\<OutputMessageType, CallOptions>; now... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.5)

### @langchain/core 0.3.4 breaking changes

@langchain/core 0.3.4, released September 30, 2024: 1 breaking change.

- **Signature changed** `prompts:ParamsFromFString`  

Was type ParamsFromFString\<T extends string> = {\[Key in ExtractTemplateParamsRecursive\<T>\[number\] | (string & Record\<never, never>)\]: string;}; now type ParamsFromFString\<T extends string> = {\[Key in... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.4)

### @langchain/core 0.3.3 breaking changes

@langchain/core 0.3.3, released September 19, 2024: 78 breaking changes.

- **Signature changed** `documents:BaseDocumentTransformer.withConfig`  

Was withConfig(config: RunnableConfig): RunnableBinding\<RunInput, RunOutput, CallOptions>; now withConfig(config: RunnableConfig): Runnable\<RunInput, RunOutput, CallOptions>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.3)
- **Signature changed** `documents:MappingDocumentTransformer.withConfig`  

Was withConfig(config: RunnableConfig): RunnableBinding\<RunInput, RunOutput, CallOptions>; now withConfig(config: RunnableConfig): Runnable\<RunInput, RunOutput, CallOptions>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.3)

And 76 more in this version.

### @langchain/core 0.3.0 breaking changes

@langchain/core 0.3.0, released September 13, 2024: 144 breaking changes.

- **Removed** `language_models/base:FunctionDefinition.strict`  

FunctionDefinition.strict was removed in @langchain/core 0.3.0 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.0)
- **Removed** `messages:ToolCall`  

ToolCall was removed in @langchain/core 0.3.0 [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.3.0)

And 142 more in this version.

### @langchain/core 0.2.0 breaking changes

@langchain/core 0.2.0, released May 17, 2024: 92 breaking changes.

- **Signature changed** `callbacks/base:BaseCallbackHandler.fromMethods`  

Was static fromMethods(methods: CallbackHandlerMethods): {name: string; lc_serializable: boolean; readonly lc_namespace: \["langchain_core", "callbacks", string\]; readonly lc_secrets: {\[key: string\]: string;} | undefined; readonly... [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.2.0)
- **Signature changed** `documents:BaseDocumentTransformer.invoke`  

Was invoke(input: RunInput, \_options: BaseCallbackConfig): Promise\<RunOutput>; now invoke(input: RunInput, \_options?: BaseCallbackConfig): Promise\<RunOutput>. [npmjs.com](https://www.npmjs.com/package/@langchain/core/v/0.2.0)

And 90 more in this version.

## Related packages

- [langchain](https://since.dev/packages/npm/langchain.md)
- [@langchain/anthropic](https://since.dev/packages/npm/@langchain/anthropic.md)
- [@langchain/openai](https://since.dev/packages/npm/@langchain/openai.md)
- [@langchain/pinecone](https://since.dev/packages/npm/@langchain/pinecone.md)
- [@langchain/community](https://since.dev/packages/npm/@langchain/community.md)
- [@langchain/langgraph](https://since.dev/packages/npm/@langchain/langgraph.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
