chore: update langchain dependencies to v1.0.0#4353
Merged
whysosaket merged 2 commits intomainfrom Mar 16, 2026
Merged
Conversation
whysosaket
approved these changes
Mar 16, 2026
jamebobob
pushed a commit
to jamebobob/mem0-vigil-recall
that referenced
this pull request
Mar 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The mem0ai npm package declares @langchain/core: "^0.3.44" as a peer dependency. The semver range ^0.3.44 resolves to >=0.3.44 <0.4.0, which excludes @langchain/core@1.x. Since LangChain JS
officially released v1 (now at v1.1.32), users installing mem0ai alongside @langchain/core@^1.x get npm ERESOLVE errors.
This updates the peer dependency from ^0.3.44 to ^1.0.0.
No source code changes needed — all existing @langchain/core subpath imports (/messages, /embeddings, /vectorstores, /documents, /language_models/base, /memory) were verified to exist in v1.
Python SDK was also verified and requires no changes — all current import paths work with langchain==1.2.12.
Fixes #3793
Type of change
How Has This Been Tested?
Reproduced original bug with published mem0ai@2.4.0:
npm error ERESOLVE unable to resolve dependency tree
npm error peer @langchain/core@"^0.3.44" from mem0ai@2.4.0
Verified fix:
Checklist:
Maintainer Checklist