Skip to content

Commit 7c975e6

Browse files
committed
feat: upgrade zod to v4
1 parent 8afa0dd commit 7c975e6

File tree

7 files changed

+151
-145
lines changed

7 files changed

+151
-145
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"devDependencies": {
3636
"orval": "^7.13.2",
37-
"zod": "^3.25.76",
37+
"zod": "^4.1.12",
3838
"@changesets/cli": "^2.29.7",
3939
"@jest/globals": "^30.2.0",
4040
"@sap-ai-sdk/ai-api": "workspace:^",

packages/orchestration/src/orchestration-client.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -597,13 +597,12 @@ describe('orchestration service client', () => {
597597
).toThrowErrorMatchingInlineSnapshot(`
598598
"Prompt Template YAML does not conform to the defined type. Validation errors: [
599599
{
600-
"code": "invalid_type",
601600
"expected": "object",
602-
"received": "undefined",
601+
"code": "invalid_type",
603602
"path": [
604603
"spec"
605604
],
606-
"message": "Required"
605+
"message": "Invalid input: expected object, received undefined"
607606
}
608607
]"
609608
`);

packages/prompt-registry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
},
3232
"dependencies": {
3333
"@sap-ai-sdk/core": "workspace:^",
34-
"zod": "^3.25.76"
34+
"zod": "^4.1.12"
3535
}
3636
}

0 commit comments

Comments
 (0)