@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
predictandpredictMessagesare gone from chat models. Both were deprecated in favour ofinvokelong before v1. Emendant attributes the calls through the provider packages, so a call on aChatOpenAI,ChatAnthropic,ChatGoogleGenerativeAIor@langchain/communitymodel is reported.- Four legacy subpaths were removed.
runnables/remote,tracers/initialize,tracers/tracer_langchain_v1and the twoutils/hashutilities, all superseded by LangSmith’s tracing, none with a replacement. - 24 named exports were removed and two deprecated. Found by diffing the two packages’ declaration files, not the migration guide, which does not list them. Most are content block and
*FieldsWith*types in@langchain/core/messages; the rest includegetCacheKey,TraceGroup,traceAsGroup,createChatMessageChunkEncoderStream,LoadOptions,SerializableLike,BaseStoreInterface,getRuntimeEnvironmentSyncandinsecureHash.isToolMessageandisToolMessageChunkgained a deprecation marker.
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.
| Change | Severity | Detects | Fix | Verified by |
|---|---|---|---|---|
predict and predictMessages removed from chat modelslangchain-core-npm-1.0.0-chat-model-predict-removed | Breaking |
| Patch, only when you name a model provider | Your typecheck and tests |
Four legacy core subpaths were removedlangchain-core-npm-1.0.0-legacy-subpaths-removed | Breaking |
| Report only | Not applicable |
Removed getCacheKeylangchain-core-npm-1.0.0-caches-get-cache-key-removed | Breaking |
| Report only | Not applicable |
Removed TraceGrouplangchain-core-npm-1.0.0-callbacks-manager-trace-group-removed | Breaking |
| Report only | Not applicable |
Removed traceAsGrouplangchain-core-npm-1.0.0-callbacks-manager-trace-as-group-removed | Breaking |
| Report only | Not applicable |
Removed createChatMessageChunkEncoderStreamlangchain-core-npm-1.0.0-language-models-chat-models-create-chat-message-chunk-encoder-stream-removed | Breaking |
| Report only | Not applicable |
Removed LoadOptionslangchain-core-npm-1.0.0-load-load-options-removed | Breaking |
| Report only | Not applicable |
Removed SerializableLikelangchain-core-npm-1.0.0-load-serializable-serializable-like-removed | Breaking |
| Report only | Not applicable |
Removed Base64ContentBlocklangchain-core-npm-1.0.0-messages-base64-content-block-removed | Breaking |
| Report only | Not applicable |
Removed BaseDataContentBlocklangchain-core-npm-1.0.0-messages-base-data-content-block-removed | Breaking |
| Report only | Not applicable |
Removed ChatMessageFieldsWithRolelangchain-core-npm-1.0.0-messages-chat-message-fields-with-role-removed | Breaking |
| Report only | Not applicable |
Removed DataContentBlocklangchain-core-npm-1.0.0-messages-data-content-block-removed | Breaking |
| Report only | Not applicable |
Removed DataContentBlockTypelangchain-core-npm-1.0.0-messages-data-content-block-type-removed | Breaking |
| Report only | Not applicable |
Removed FunctionMessageFieldsWithNamelangchain-core-npm-1.0.0-messages-function-message-fields-with-name-removed | Breaking |
| Report only | Not applicable |
Removed IDContentBlocklangchain-core-npm-1.0.0-messages-idcontent-block-removed | Breaking |
| Report only | Not applicable |
Removed PlainTextContentBlocklangchain-core-npm-1.0.0-messages-plain-text-content-block-removed | Breaking |
| Report only | Not applicable |
Removed StandardAudioBlocklangchain-core-npm-1.0.0-messages-standard-audio-block-removed | Breaking |
| Report only | Not applicable |
Removed StandardFileBlocklangchain-core-npm-1.0.0-messages-standard-file-block-removed | Breaking |
| Report only | Not applicable |
Removed StandardImageBlocklangchain-core-npm-1.0.0-messages-standard-image-block-removed | Breaking |
| Report only | Not applicable |
Removed StandardTextBlocklangchain-core-npm-1.0.0-messages-standard-text-block-removed | Breaking |
| Report only | Not applicable |
Removed ToolMessageFieldsWithToolCallIdlangchain-core-npm-1.0.0-messages-tool-message-fields-with-tool-call-id-removed | Breaking |
| Report only | Not applicable |
Removed URLContentBlocklangchain-core-npm-1.0.0-messages-urlcontent-block-removed | Breaking |
| Report only | Not applicable |
Removed ToolMessageFieldsWithToolCallIdlangchain-core-npm-1.0.0-messages-tool-tool-message-fields-with-tool-call-id-removed | Breaking |
| Report only | Not applicable |
Deprecated isToolMessagelangchain-core-npm-1.0.0-messages-tool-is-tool-message-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isToolMessageChunklangchain-core-npm-1.0.0-messages-tool-is-tool-message-chunk-deprecated | Deprecation |
| Report only | Not applicable |
Removed BaseStoreInterfacelangchain-core-npm-1.0.0-stores-base-store-interface-removed | Breaking |
| Report only | Not applicable |
Removed getRuntimeEnvironmentSynclangchain-core-npm-1.0.0-utils-env-get-runtime-environment-sync-removed | Breaking |
| Report only | Not applicable |
Removed insecureHashlangchain-core-npm-1.0.0-utils-hash-insecure-hash-removed | Breaking |
| Report only | Not applicable |
Deprecated ImageDetaillangchain-core-npm-1.0.0-messages-image-detail-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated MessageContentComplexlangchain-core-npm-1.0.0-messages-message-content-complex-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated MessageContentImageUrllangchain-core-npm-1.0.0-messages-message-content-image-url-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated MessageContentTextlangchain-core-npm-1.0.0-messages-message-content-text-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated ProviderFormatTypeslangchain-core-npm-1.0.0-messages-provider-format-types-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated StandardContentBlockConverterlangchain-core-npm-1.0.0-messages-standard-content-block-converter-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated convertToOpenAIImageBlocklangchain-core-npm-1.0.0-messages-convert-to-open-aiimage-block-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated convertToProviderContentBlocklangchain-core-npm-1.0.0-messages-convert-to-provider-content-block-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isAIMessagelangchain-core-npm-1.0.0-messages-is-aimessage-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isAIMessageChunklangchain-core-npm-1.0.0-messages-is-aimessage-chunk-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isBase64ContentBlocklangchain-core-npm-1.0.0-messages-is-base64-content-block-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isBaseMessagelangchain-core-npm-1.0.0-messages-is-base-message-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isBaseMessageChunklangchain-core-npm-1.0.0-messages-is-base-message-chunk-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isChatMessagelangchain-core-npm-1.0.0-messages-is-chat-message-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isChatMessageChunklangchain-core-npm-1.0.0-messages-is-chat-message-chunk-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isDataContentBlocklangchain-core-npm-1.0.0-messages-is-data-content-block-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isHumanMessagelangchain-core-npm-1.0.0-messages-is-human-message-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isHumanMessageChunklangchain-core-npm-1.0.0-messages-is-human-message-chunk-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isIDContentBlocklangchain-core-npm-1.0.0-messages-is-idcontent-block-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isPlainTextContentBlocklangchain-core-npm-1.0.0-messages-is-plain-text-content-block-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isSystemMessagelangchain-core-npm-1.0.0-messages-is-system-message-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isSystemMessageChunklangchain-core-npm-1.0.0-messages-is-system-message-chunk-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isToolMessagelangchain-core-npm-1.0.0-messages-is-tool-message-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isToolMessageChunklangchain-core-npm-1.0.0-messages-is-tool-message-chunk-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated isURLContentBlocklangchain-core-npm-1.0.0-messages-is-urlcontent-block-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated parseBase64DataUrllangchain-core-npm-1.0.0-messages-parse-base64-data-url-deprecated | Deprecation |
| Report only | Not applicable |
Deprecated parseMimeTypelangchain-core-npm-1.0.0-messages-parse-mime-type-deprecated | Deprecation |
| Report only | Not 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.
- Langchain v1langchain-ai/docs at commit bff16d7f
- @langchain/core@1.0.0npm, the published package
- @langchain/core@1.0.0npm registry, the published package
- @langchain/core@0.3.80npm registry, the published package
Scan your repository
Runs locally, reads your lockfile and source, sends nothing anywhere.
npx emendant scanThen npx emendant fix writes the patches the table says exist. The getting started guide covers the flags and the patch grades.