Skip to content

Conversation

@jgeurts
Copy link
Contributor

@jgeurts jgeurts commented Dec 8, 2025

Adds support for zod v4 while maintaining backward compatibility with v3.

  • Updated zod peer dependency to accept both v3 and v4: ^3.25.76 || ^4.0.0
  • Migrated all import statements to use zod/v4 import path for compatibility

@changeset-bot
Copy link

changeset-bot bot commented Dec 8, 2025

🦋 Changeset detected

Latest commit: 405a913

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
llama-cloud-services Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

* Move zod to peer dependency
* Update @llamaindex/workflow-core to a version that supports zod 3 & 4
@jgeurts
Copy link
Contributor Author

jgeurts commented Dec 9, 2025

NOTE: I did not update openapi-ts with this. I manually updated ts/llama_cloud_services/src/client/zod.gen.ts.

openapi-ts needs to update to version 0.80.x or newer to support zod 4. However, that seemed like a larger, separate issue. I can do that in this PR but it will blow it out.

@logan-markewich
Copy link
Contributor

Thanks @jgeurts appreciate it!

@logan-markewich logan-markewich merged commit 576c3d9 into run-llama:main Dec 9, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants