Closed
Conversation
Co-authored-by: jeremymeng <7583839+jeremymeng@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update zod package to version 4.3.5
Upgrade zod dependency from 3.x to 4.3.5
Jan 9, 2026
jeremymeng
approved these changes
Jan 9, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades the zod dependency from version 3.x to 4.3.5 across the @azure/openai and @azure/ai-projects packages. According to the zod release notes, there are no breaking changes between 3.25.76 and 4.0.0, making this a safe upgrade.
- Upgrades zod from ^3.24.2 to ^4.3.5 in @azure/openai and its samples
- Upgrades zod from ^4.2.1 to ^4.3.5 in @azure/ai-projects
- Updates pnpm-lock.yaml to reflect the new version and removes references to the old 3.x version
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/openai/openai/package.json | Updates zod devDependency from ^3.24.2 to ^4.3.5 |
| sdk/openai/openai/samples/v2-beta/typescript/package.json | Updates zod dependency from ^3.24.2 to ^4.3.5 for TypeScript samples |
| sdk/openai/openai/samples/v2-beta/javascript/package.json | Updates zod dependency from ^3.24.2 to ^4.3.5 for JavaScript samples |
| sdk/ai/ai-projects/package.json | Updates zod devDependency from ^4.2.1 to ^4.3.5 |
| pnpm-lock.yaml | Updates lock file to resolve all zod references to version 4.3.5 and removes 3.25.76 |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Member
|
/check-enforcer evaluate |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Packages impacted by this PR
Issues associated with this PR
Dependency upgrade tracking issue for zod package.
Describe the problem that is addressed by this PR
The zod dependency was pinned to version 3.x (3.24.2-3.25.76) across packages. Version 4.3.5 is available with no breaking changes between 3.25.76 and 4.0.0.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Direct version bump to latest stable 4.3.5. No code changes required due to backward compatibility.
Updated packages:
@azure/openaiand samples: ^3.24.2 → ^4.3.5@azure/ai-projects: ^4.2.1 → ^4.3.5Are there test cases added in this PR? (If not, why?)
No. Dependency upgrade only. Existing tests validate compatibility.
Provide a list of related PRs (if any)
None
Command used to generate this PR:**(Applicable only to SDK release request PRs)
N/A
Checklists
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.