SDKs and developer tools
LangChain Core 1.9.0 gives newly created messages default IDs
Messages can get an ID at creation time. The upgrade is a reason to check replay, storage, and updates by ID.
Official announcement
LangChain released langchain-core 1.9.0 on December 3. Newly created BaseMessage objects receive an lc_-prefixed identifier by default. The implementation notes say serialized messages include generated IDs and that model_copy preserves the identifier.
Analysis
This matters if users can edit earlier messages. Test the whole flow: create a message, save the session, restore it, and update the message by its original ID. If older code used a missing ID as a signal for the first write, replay the same request and check whether it adds or overwrites a row unexpectedly.
What remains unverified
The documented behavior is the framework default. Custom serializers, cache keys, and database uniqueness rules still need evaluation with existing application data.