[Snyk] Security upgrade langchain from 0.3.31 to 1.0.1#894
[Snyk] Security upgrade langchain from 0.3.31 to 1.0.1#894graymalkin77 wants to merge 1 commit intomasterfrom
Conversation
…k.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-LANGSMITH-16082039
|
The upgrade from Key Breaking Changes:
Source: LangChain v1 Migration Guide, Release Notes Recommendation: This upgrade requires a significant refactoring effort. Developers must carefully follow the official migration guide to update package imports, agent creation logic, and method calls to align with the new v1.0 API. This should be handled in a separate, dedicated effort before merging.
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Pull request overview
This PR is a Snyk-generated security upgrade for the extensions/diffbot extension, intended to remediate a reported vulnerability by upgrading langchain from 0.3.31 to 1.0.1.
Changes:
- Bump
langchaindependency to1.0.1inextensions/diffbot/package.json. - Update
extensions/diffbot/package-lock.jsonto the new dependency tree produced by the upgrade.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
extensions/diffbot/package.json |
Updates the direct langchain dependency version to address the Snyk-reported vulnerability. |
extensions/diffbot/package-lock.json |
Refreshes the resolved dependency graph for the [email protected] upgrade. |
Files not reviewed (1)
- extensions/diffbot/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "flattie": "1.1.1", | ||
| "json-to-plain-text": "1.2.0", | ||
| "langchain": "0.3.31" | ||
| "langchain": "^1.0.1" |
| "dependencies": { | ||
| "@cognigy/extension-tools": "^0.17.0", | ||
| "fetch-retry": "6.0.0", | ||
| "flattie": "1.1.1", | ||
| "json-to-plain-text": "1.2.0", | ||
| "langchain": "0.3.31" | ||
| "langchain": "1.0.1" | ||
| }, |
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
extensions/diffbot/package.jsonextensions/diffbot/package-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-LANGSMITH-16082039
Breaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.