Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all[patch]: Loosen core dependencies #5367

Merged
merged 4 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions environment_tests/test-exports-tsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
"devDependencies": {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that this PR adds a resolution for the "@langchain/core" package, which affects the project's dependencies. I've flagged this for your review to ensure it aligns with the project's dependency management strategy. Keep up the great work!

"@types/node": "^18.15.11",
"prettier": "^2.8.3"
},
"resolutions": {
"@langchain/core": "0.2.0-rc.0"
}
}
3 changes: 3 additions & 0 deletions environment_tests/test-exports-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@
"react": "18.2.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that this PR adds a resolution for the "@langchain/core" package, which affects the project's dependencies. This comment is to flag the change for maintainers to review the dependency resolution. Great work on the PR!

"react-dom": "18.2.0",
"typescript": "^5.0.0"
},
"resolutions": {
"@langchain/core": "0.2.0-rc.0"
}
}
3 changes: 3 additions & 0 deletions environment_tests/test-exports-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
"langchain": "workspace:*",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that the recent change in the package.json file added a new resolution for the "@langchain/core" package. This might impact the peer/dev/hard dependencies, so I'm flagging this for the maintainers to review. Keep up the great work!

"typescript": "^5.0.0",
"vite": "^4.2.0"
},
"resolutions": {
"@langchain/core": "0.2.0-rc.0"
}
}
2 changes: 1 addition & 1 deletion libs/create-langchain-integration/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed that the dependency for "@langchain/core" has been updated in the package.json file, allowing for a wider range of versions to be installed. This change is flagged for your review. Keep up the great work! 🚀

"license": "MIT",
"dependencies": {
"@langchain/core": "<0.3.0"
"@langchain/core": "<0.3.0 || >0.1.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-anthropic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"license": "MIT",
"dependencies": {
"@anthropic-ai/sdk": "^0.20.1",
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"fast-xml-parser": "^4.3.5",
"zod": "^3.22.4",
"zod-to-json-schema": "^3.22.4"
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-azure-openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"dependencies": {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed the change in the "@langchain/core" dependency version in the package.json file. This seems to be a change in the hard dependency, and I'm flagging this for the maintainers to review. Keep up the great work!

"@azure/core-auth": "^1.5.0",
"@azure/openai": "1.0.0-beta.11",
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"js-tiktoken": "^1.0.12",
"zod": "^3.22.3",
"zod-to-json-schema": "3.20.3"
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"license": "MIT",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed the dependency change for "@langchain/core" in the package.json file. This seems to be a change in the hard dependency, and I've flagged it for your review. Keep up the great work!

"dependencies": {
"@cloudflare/ai": "^1.0.47",
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"uuid": "^9.0.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-cohere/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed the dependency change for "@langchain/core" in the package.json file. This seems to be a change in the hard dependency, and I'm flagging this for your review. Keep up the great work!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"cohere-ai": "^7.9.3"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"type": "module",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that the package.json file has a dependency change for "@langchain/core" from "~0.2.0-rc.0" to "<0.3.0 || >0.1.0". This might impact the project's peer/dev/hard dependencies. I've flagged this for your review. Keep up the great work!

"dependencies": {
"convex": "1.4.1",
"@langchain/core": "~0.2.0-rc.0"
"@langchain/core": "<0.3.0 || >0.1.0"
}
}
2 changes: 1 addition & 1 deletion libs/langchain-exa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed that the dependency for "@langchain/core" has been updated to "<0.3.0 || >0.1.0" in the package.json file. This change is flagged for your review to ensure it aligns with the project's requirements. Keep up the great work! 🚀

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"exa-js": "^1.0.12"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-google-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed the dependency change for "@langchain/core" in the package.json file, which could potentially impact the project's peer/dev/hard dependencies. I've flagged this for the maintainers to review. Keep up the great work! 🚀

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"uuid": "^9.0.0",
"zod-to-json-schema": "^3.22.4"
},
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-google-gauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that the dependency for "@langchain/core" has been updated to a broader range of acceptable versions, potentially impacting peer/dev/hard dependencies. I've flagged this for your review. Keep up the great work!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"@langchain/google-common": "~0.0.13",
"google-auth-library": "^8.9.0"
},
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-google-genai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"license": "MIT",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed the package.json change in the dependencies section, specifically for "@langchain/core". This seems to be a change in the hard dependency range, so I'm flagging it for the maintainers to review. Thanks!

"dependencies": {
"@google/generative-ai": "^0.7.0",
"@langchain/core": "~0.2.0-rc.0"
"@langchain/core": "<0.3.0 || >0.1.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-google-vertexai-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed the change in the dependency range for "@langchain/core" in the package.json file. This seems to be a change in the hard dependency range, and I'm flagging this for your review. Keep up the great work!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"@langchain/google-webauth": "~0.0.13"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-google-vertexai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed the package.json change in the dependencies, specifically for "@langchain/core" which has been widened to allow for a broader range of versions. This comment is to flag the change for maintainers to review the impact on peer/dev/hard dependencies. Keep up the great work! 🚀

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"@langchain/google-gauth": "~0.0.14"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-google-webauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed the package.json change in the "@langchain/core" dependency version range, which seems to affect the peer/dev/hard dependencies. I've flagged this for your review to ensure it aligns with our project's dependency management strategy. Keep up the great work! 🚀

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"@langchain/google-common": "~0.0.13",
"web-auth-library": "^1.0.3"
},
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-groq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed the change in the "@langchain/core" dependency version range, which could potentially impact the project's peer/dev/hard dependencies. I've flagged this for your review. Keep up the great work! 🚀

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"@langchain/openai": "~0.0.28",
"groq-sdk": "^0.3.2",
"zod": "^3.22.4",
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-mistralai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that the dependency for "@langchain/core" has been updated to "<0.3.0 || >0.1.0", which seems to be a change in the hard dependency. I've flagged this for your review. Keep up the great work!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"@mistralai/mistralai": "^0.1.3",
"uuid": "^9.0.0",
"zod": "^3.22.4",
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed the change in the "@langchain/core" dependency from a specific version to a range, which affects the hard dependency. I've flagged this for your review. Keep up the great work!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"mongodb": "^6.3.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-nomic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed the change in the "@langchain/core" dependency version range in the package.json file. This seems to be a modification in the hard dependency, and I've flagged it for the maintainers to review. Keep up the great work!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"@nomic-ai/atlas": "^0.8.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed the dependency change for "@langchain/core" from a specific version to a broader range in the package.json. This might impact the project's peer/dev/hard dependencies, so I'm flagging this for the maintainers to review. Thanks!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"js-tiktoken": "^1.0.12",
"openai": "^4.41.1",
"zod": "^3.22.4",
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-pinecone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"author": "Pinecone, Inc",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed the change in the "@langchain/core" dependency version range in the package.json file. This might impact the project's peer/dev/hard dependencies, so I'm flagging this for the maintainers to review. Keep up the great work!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"@pinecone-database/pinecone": "^2.2.0",
"flat": "^5.0.2",
"uuid": "^9.0.0"
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-qdrant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed the change in the "@langchain/core" dependency version range, which seems to affect the peer/dev/hard dependencies. I've flagged this for your review to ensure it aligns with the project's requirements. Keep up the great work!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"@qdrant/js-client-rest": "^1.9.0",
"uuid": "^9.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed the dependency change for "@langchain/core" in the package.json file. This seems to be a change in the peer/dev/hard dependencies, so I'm flagging it for the maintainers to review. Keep up the great work! 🚀

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"redis": "^4.6.13"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-textsplitters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed the change in the "@langchain/core" dependency version range in the package.json file. This seems to be a change in the hard dependency, and I'm flagging this for your review. Keep up the great work!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"js-tiktoken": "^1.0.12"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-weaviate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed the change in the "@langchain/core" dependency version constraint in the package.json file. This seems to affect the peer/dev/hard dependencies, so I'm flagging this for the maintainers to review. Keep up the great work!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0",
"@langchain/core": "<0.3.0 || >0.1.0",
"uuid": "^9.0.1",
"weaviate-ts-client": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion libs/langchain-yandex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"author": "LangChain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed a change in the dependency version range for "@langchain/core" in the package.json file. This might affect the project's peer/dev/hard dependencies. Just flagging this for your review. Keep up the great work!

"license": "MIT",
"dependencies": {
"@langchain/core": "~0.2.0-rc.0"
"@langchain/core": "<0.3.0 || >0.1.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"resolutions": {
"dpdm@^3.12.0": "patch:dpdm@npm%3A3.12.0#./.yarn/patches/dpdm-npm-3.12.0-0dfdd8e3b8.patch",
"typedoc-plugin-markdown@next": "patch:typedoc-plugin-markdown@npm%3A4.0.0-next.6#./.yarn/patches/typedoc-plugin-markdown-npm-4.0.0-next.6-96b4b47746.patch",
"voy-search@0.6.2": "patch:voy-search@npm%3A0.6.2#./.yarn/patches/voy-search-npm-0.6.2-d4aca30a0e.patch"
"voy-search@0.6.2": "patch:voy-search@npm%3A0.6.2#./.yarn/patches/voy-search-npm-0.6.2-d4aca30a0e.patch",
"@langchain/core": "workspace:*"
},
"lint-staged": {
"**/*.{ts,tsx}": [
Expand Down
Loading
Loading