@langchain/core 1.0.0 sits under every v1 provider package, so a repository picks it up when it upgrades @langchain/openai, @langchain/anthropic or langchain. What breaks: the pre-LCEL entry points on a chat model, four legacy subpaths, and 24 named exports the 0.3.x declaration files carried and 1.0.0 does not.

What changed

Before and after

The two pre-LCEL calls on models held in variables, which is what makes the receiver attributable:

import { ChatAnthropic } from '@langchain/anthropic';
import { ChatOpenAI } from '@langchain/openai';
const openai = new ChatOpenAI({ model: 'gpt-4o' });
const anthropic = new ChatAnthropic({ model: 'claude-sonnet-4-5' });
export async function summarise(text: string): Promise<string> {
return openai.predict(text);
}
export async function reply(messages: never[]) {
return anthropic.predictMessages(messages);
}

The migration is to invoke, which returns a message. The string-returning call reads its text; the other is a rename:

export async function summarise(text: string): Promise<string> {
return (await openai.invoke(text)).text;
}
export async function reply(messages: never[]) {
return anthropic.invoke(messages);
}

A plain rename would typecheck in the second case and silently change the return type in the first, which is why this is an assisted patch rather than a transform.

Migration guidance and its limits

Most findings here are for you to act on rather than for the tool to patch. The predict migration is written only when you name a model provider; read the diff and let your typecheck confirm it followed what invoke returns.

The 24 removed exports and four removed subpaths are report only. The scan’s value is naming the files and names before you upgrade. Whether your code needs a removed content block type at all is a question about your code; several have public replacements in the 1.0 message types, and the entry does not claim to know which. The two deprecations keep working and are reported so you can schedule them.

The langchain package’s own reduction has a page of its own. Behaviour changes in the v1 message model that keep the same names are not in this entry.

What Emendant detects, fixes and verifies

55 changes in @langchain/core 1.0.0. 0 patched by a transform, 1 patched only with a model provider you name, 54 report only. Every patch is proved in a copy of your repository before it is offered, and its header names the checks that passed. This table is generated from the feed entry, so it cannot claim more than the entry does.

ChangeSeverityDetectsFixVerified by
predict and predictMessages removed from chat models
langchain-core-npm-1.0.0-chat-model-predict-removed
Breaking
  • .predict() on an instance constructed from @langchain/openai
  • .predictMessages() on an instance constructed from @langchain/openai
  • .predict() on an instance constructed from @langchain/anthropic
  • .predictMessages() on an instance constructed from @langchain/anthropic
  • .predict() on an instance constructed from @langchain/google-genai
  • .predictMessages() on an instance constructed from @langchain/google-genai
  • .predict() on an instance constructed from @langchain/community
  • .predictMessages() on an instance constructed from @langchain/community
Patch, only when you name a model providerYour typecheck and tests
Four legacy core subpaths were removed
langchain-core-npm-1.0.0-legacy-subpaths-removed
Breaking
  • any import of @langchain/core/runnables/remote
  • any import of @langchain/core/tracers/initialize
  • any import of @langchain/core/tracers/tracer_langchain_v1
  • any import of @langchain/core/utils/hash/insecure
  • any import of @langchain/core/utils/hash/sha256
Report onlyNot applicable
Removed getCacheKey
langchain-core-npm-1.0.0-caches-get-cache-key-removed
Breaking
  • getCacheKey imported from @langchain/core/caches
Report onlyNot applicable
Removed TraceGroup
langchain-core-npm-1.0.0-callbacks-manager-trace-group-removed
Breaking
  • TraceGroup imported from @langchain/core/callbacks/manager
Report onlyNot applicable
Removed traceAsGroup
langchain-core-npm-1.0.0-callbacks-manager-trace-as-group-removed
Breaking
  • traceAsGroup imported from @langchain/core/callbacks/manager
Report onlyNot applicable
Removed createChatMessageChunkEncoderStream
langchain-core-npm-1.0.0-language-models-chat-models-create-chat-message-chunk-encoder-stream-removed
Breaking
  • createChatMessageChunkEncoderStream imported from @langchain/core/language_models/chat_models
Report onlyNot applicable
Removed LoadOptions
langchain-core-npm-1.0.0-load-load-options-removed
Breaking
  • LoadOptions imported from @langchain/core/load
Report onlyNot applicable
Removed SerializableLike
langchain-core-npm-1.0.0-load-serializable-serializable-like-removed
Breaking
  • SerializableLike imported from @langchain/core/load/serializable
Report onlyNot applicable
Removed Base64ContentBlock
langchain-core-npm-1.0.0-messages-base64-content-block-removed
Breaking
  • Base64ContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Removed BaseDataContentBlock
langchain-core-npm-1.0.0-messages-base-data-content-block-removed
Breaking
  • BaseDataContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Removed ChatMessageFieldsWithRole
langchain-core-npm-1.0.0-messages-chat-message-fields-with-role-removed
Breaking
  • ChatMessageFieldsWithRole imported from @langchain/core/messages
Report onlyNot applicable
Removed DataContentBlock
langchain-core-npm-1.0.0-messages-data-content-block-removed
Breaking
  • DataContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Removed DataContentBlockType
langchain-core-npm-1.0.0-messages-data-content-block-type-removed
Breaking
  • DataContentBlockType imported from @langchain/core/messages
Report onlyNot applicable
Removed FunctionMessageFieldsWithName
langchain-core-npm-1.0.0-messages-function-message-fields-with-name-removed
Breaking
  • FunctionMessageFieldsWithName imported from @langchain/core/messages
Report onlyNot applicable
Removed IDContentBlock
langchain-core-npm-1.0.0-messages-idcontent-block-removed
Breaking
  • IDContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Removed PlainTextContentBlock
langchain-core-npm-1.0.0-messages-plain-text-content-block-removed
Breaking
  • PlainTextContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Removed StandardAudioBlock
langchain-core-npm-1.0.0-messages-standard-audio-block-removed
Breaking
  • StandardAudioBlock imported from @langchain/core/messages
Report onlyNot applicable
Removed StandardFileBlock
langchain-core-npm-1.0.0-messages-standard-file-block-removed
Breaking
  • StandardFileBlock imported from @langchain/core/messages
Report onlyNot applicable
Removed StandardImageBlock
langchain-core-npm-1.0.0-messages-standard-image-block-removed
Breaking
  • StandardImageBlock imported from @langchain/core/messages
Report onlyNot applicable
Removed StandardTextBlock
langchain-core-npm-1.0.0-messages-standard-text-block-removed
Breaking
  • StandardTextBlock imported from @langchain/core/messages
Report onlyNot applicable
Removed ToolMessageFieldsWithToolCallId
langchain-core-npm-1.0.0-messages-tool-message-fields-with-tool-call-id-removed
Breaking
  • ToolMessageFieldsWithToolCallId imported from @langchain/core/messages
Report onlyNot applicable
Removed URLContentBlock
langchain-core-npm-1.0.0-messages-urlcontent-block-removed
Breaking
  • URLContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Removed ToolMessageFieldsWithToolCallId
langchain-core-npm-1.0.0-messages-tool-tool-message-fields-with-tool-call-id-removed
Breaking
  • ToolMessageFieldsWithToolCallId imported from @langchain/core/messages/tool
Report onlyNot applicable
Deprecated isToolMessage
langchain-core-npm-1.0.0-messages-tool-is-tool-message-deprecated
Deprecation
  • isToolMessage imported from @langchain/core/messages/tool
Report onlyNot applicable
Deprecated isToolMessageChunk
langchain-core-npm-1.0.0-messages-tool-is-tool-message-chunk-deprecated
Deprecation
  • isToolMessageChunk imported from @langchain/core/messages/tool
Report onlyNot applicable
Removed BaseStoreInterface
langchain-core-npm-1.0.0-stores-base-store-interface-removed
Breaking
  • BaseStoreInterface imported from @langchain/core/stores
Report onlyNot applicable
Removed getRuntimeEnvironmentSync
langchain-core-npm-1.0.0-utils-env-get-runtime-environment-sync-removed
Breaking
  • getRuntimeEnvironmentSync imported from @langchain/core/utils/env
Report onlyNot applicable
Removed insecureHash
langchain-core-npm-1.0.0-utils-hash-insecure-hash-removed
Breaking
  • insecureHash imported from @langchain/core/utils/hash
Report onlyNot applicable
Deprecated ImageDetail
langchain-core-npm-1.0.0-messages-image-detail-deprecated
Deprecation
  • ImageDetail imported from @langchain/core/messages
Report onlyNot applicable
Deprecated MessageContentComplex
langchain-core-npm-1.0.0-messages-message-content-complex-deprecated
Deprecation
  • MessageContentComplex imported from @langchain/core/messages
Report onlyNot applicable
Deprecated MessageContentImageUrl
langchain-core-npm-1.0.0-messages-message-content-image-url-deprecated
Deprecation
  • MessageContentImageUrl imported from @langchain/core/messages
Report onlyNot applicable
Deprecated MessageContentText
langchain-core-npm-1.0.0-messages-message-content-text-deprecated
Deprecation
  • MessageContentText imported from @langchain/core/messages
Report onlyNot applicable
Deprecated ProviderFormatTypes
langchain-core-npm-1.0.0-messages-provider-format-types-deprecated
Deprecation
  • ProviderFormatTypes imported from @langchain/core/messages
Report onlyNot applicable
Deprecated StandardContentBlockConverter
langchain-core-npm-1.0.0-messages-standard-content-block-converter-deprecated
Deprecation
  • StandardContentBlockConverter imported from @langchain/core/messages
Report onlyNot applicable
Deprecated convertToOpenAIImageBlock
langchain-core-npm-1.0.0-messages-convert-to-open-aiimage-block-deprecated
Deprecation
  • convertToOpenAIImageBlock imported from @langchain/core/messages
Report onlyNot applicable
Deprecated convertToProviderContentBlock
langchain-core-npm-1.0.0-messages-convert-to-provider-content-block-deprecated
Deprecation
  • convertToProviderContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isAIMessage
langchain-core-npm-1.0.0-messages-is-aimessage-deprecated
Deprecation
  • isAIMessage imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isAIMessageChunk
langchain-core-npm-1.0.0-messages-is-aimessage-chunk-deprecated
Deprecation
  • isAIMessageChunk imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isBase64ContentBlock
langchain-core-npm-1.0.0-messages-is-base64-content-block-deprecated
Deprecation
  • isBase64ContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isBaseMessage
langchain-core-npm-1.0.0-messages-is-base-message-deprecated
Deprecation
  • isBaseMessage imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isBaseMessageChunk
langchain-core-npm-1.0.0-messages-is-base-message-chunk-deprecated
Deprecation
  • isBaseMessageChunk imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isChatMessage
langchain-core-npm-1.0.0-messages-is-chat-message-deprecated
Deprecation
  • isChatMessage imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isChatMessageChunk
langchain-core-npm-1.0.0-messages-is-chat-message-chunk-deprecated
Deprecation
  • isChatMessageChunk imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isDataContentBlock
langchain-core-npm-1.0.0-messages-is-data-content-block-deprecated
Deprecation
  • isDataContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isHumanMessage
langchain-core-npm-1.0.0-messages-is-human-message-deprecated
Deprecation
  • isHumanMessage imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isHumanMessageChunk
langchain-core-npm-1.0.0-messages-is-human-message-chunk-deprecated
Deprecation
  • isHumanMessageChunk imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isIDContentBlock
langchain-core-npm-1.0.0-messages-is-idcontent-block-deprecated
Deprecation
  • isIDContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isPlainTextContentBlock
langchain-core-npm-1.0.0-messages-is-plain-text-content-block-deprecated
Deprecation
  • isPlainTextContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isSystemMessage
langchain-core-npm-1.0.0-messages-is-system-message-deprecated
Deprecation
  • isSystemMessage imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isSystemMessageChunk
langchain-core-npm-1.0.0-messages-is-system-message-chunk-deprecated
Deprecation
  • isSystemMessageChunk imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isToolMessage
langchain-core-npm-1.0.0-messages-is-tool-message-deprecated
Deprecation
  • isToolMessage imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isToolMessageChunk
langchain-core-npm-1.0.0-messages-is-tool-message-chunk-deprecated
Deprecation
  • isToolMessageChunk imported from @langchain/core/messages
Report onlyNot applicable
Deprecated isURLContentBlock
langchain-core-npm-1.0.0-messages-is-urlcontent-block-deprecated
Deprecation
  • isURLContentBlock imported from @langchain/core/messages
Report onlyNot applicable
Deprecated parseBase64DataUrl
langchain-core-npm-1.0.0-messages-parse-base64-data-url-deprecated
Deprecation
  • parseBase64DataUrl imported from @langchain/core/messages
Report onlyNot applicable
Deprecated parseMimeType
langchain-core-npm-1.0.0-messages-parse-mime-type-deprecated
Deprecation
  • parseMimeType imported from @langchain/core/messages
Report onlyNot applicable

emendant explain <change-id> prints any row's entry, guidance and sources at the terminal.

Coverage

Snapshot
2026-09-09.5, sequence 17, signed 9 September 2026
Minimum CLI
emendant@0.1.0
Feed entry
feed/npm/@langchain/core/1.0.0.json

emendant feed status shows the snapshot your machine holds, and emendant feed update fetches the latest.

Primary sources

Every claim above was checked against these, each pinned to the release rather than to a default branch.

Scan your repository

Runs locally, reads your lockfile and source, sends nothing anywhere.

npx emendant scan

Then npx emendant fix writes the patches the table says exist. The getting started guide covers the flags and the patch grades.