generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 30
feat!: Update langchain to v1 #1187
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
8afa0dd
Update langchain to v1 alpha
davidkna-sap a1fa73c
feat: upgrade zod to v4
davidkna-sap e237d91
bump to langchain v1 release
davidkna-sap ca5efdc
fix: use `switch` instead of `instanceof` again
davidkna-sap c1c74ab
format
davidkna-sap 826f87b
re-add deprecated`additional_kwargs.tool_calls`
davidkna-sap 579e071
chore: bump langchain packages
davidkna-sap 7281b0d
Merge branch 'main' into push-toqoormrvxpy
deekshas8 9b946a6
pnpm local
deekshas8 b3968bd
workaround for cjs compilation
deekshas8 adf70d5
check dep fix
deekshas8 baa15be
update pnpm lock file
deekshas8 67e9c44
chore: fix tests by bumping zod to v4
davidkna-sap da2abe1
Merge branch 'main' into push-toqoormrvxpy
deekshas8 f07f95b
Merge remote-tracking branch 'origin/main' into push-toqoormrvxpy
davidkna-sap 22a5abb
chore: bump langchain
davidkna-sap 1056808
fix: api updates
davidkna-sap f535bb1
chore: create changeset
davidkna-sap 4230201
fix: revert sample-code to zod@3 for mcp-support
davidkna-sap 9802b98
chore: add compatibility note for zod v4
davidkna-sap 53913c0
Squashed commit of the following:
davidkna-sap 0bedbc0
chore: re-bump mcp sdk
davidkna-sap 7b59aec
Merge branch 'main' into push-toqoormrvxpy
davidkna-sap 2a6ef39
chore: Migrate from `strict` to `strictObject`
davidkna-sap 8dafc25
chore: allow major langchain updates to `main` again, but group futur…
davidkna-sap d7ace55
Merge branch 'main' into push-toqoormrvxpy
ZhongpinWang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| '@sap-ai-sdk/prompt-registry': minor | ||
| '@sap-ai-sdk/orchestration': minor | ||
| '@sap-ai-sdk/langchain': minor | ||
| --- | ||
|
|
||
| [Compatibility Note] `zod` was upgraded to v4 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@sap-ai-sdk/langchain': minor | ||
| --- | ||
|
|
||
| [feat] Bump langchain to v1 |
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
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
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "extends": "./tsconfig.json", | ||
| "compilerOptions": { | ||
| "module": "CommonJS", | ||
| "module": "nodenext", | ||
| "outDir": "./dist-cjs" | ||
| } | ||
| } |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,6 +36,6 @@ | |
| }, | ||
| "dependencies": { | ||
| "@sap-ai-sdk/core": "workspace:^", | ||
| "zod": "^3.25.76" | ||
| "zod": "^4.1.12" | ||
| } | ||
| } | ||
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this to ensure there is a notification for future major updates, and added grouping because the packages are tightly coupled.