← All news

LangChain core 1.9.0 gives every message an ID by default

LangChain

LangChain released langchain-core 1.9.0, which assigns an id to every BaseMessage by default. The release also standardizes more content block shapes, adds prompt-cache policies to model profiles, and replaces retiring Claude 4.5 models.

Source: github.com ↗ · By CapyLaunch

Releaselangchain-core==1.9.0
Previous versionlangchain-core==1.8.5
Released03 Dec (GitHub release date)
Repositorylangchain-ai/langchain on GitHub

LangChain released langchain-core 1.9.0, a core library release for the LangChain framework. The headline change is that every BaseMessage now gets an id by default. The release also standardizes more content block shapes and adds prompt-cache policies to model profiles.

The release notes list the changes since langchain-core 1.8.5. They include feature work to give each BaseMessage an id by default, fixes to content_blocks shapes, and support for prompt-cache policies in model profiles. The release also fixes JSON Pointer escape decoding in dereference_refs.

Message IDs are often used to store, track and deduplicate chat history, so the new default can change how existing data behaves. The release also replaces retiring Claude 4.5 models, so apps that reference them will need updates.

For builders: If your app stores or deduplicates chat messages, check how the new default IDs interact with your existing data, and update any retired Claude 4.5 model references.

For: Developers and teams building apps on LangChain that store or deduplicate chat messages, or that call Claude 4.5 models.

Try:

https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.9.0

What changed by default for messages?

Every BaseMessage now gets an id by default, according to the feat(core) change 'give every BaseMessage an id by default'.

Do I need to update anything for Claude models?

The release replaces retiring Claude 4.5 models across core, langchain, langchain-classic, anthropic and openrouter. Apps that reference those models should check and update them.

What else is in this release?

It standardizes more content block shapes in content_blocks, resolves block translators for hyphenated provider names, exposes prompt-cache policies in model profiles, and fixes JSON Pointer escape decoding in dereference_refs.

All 34 Developer tools stories →

Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.

Get CapyLaunch Weekly

New indie launches and the week in AI tools and models, every Monday. Free, and you can unsubscribe anytime.

We send a confirm link first. Privacy