Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
microsoft
TypeChat
Repository navigation
Code
Issues
23
(23)
Pull requests
24
(24)
Discussions
Actions
Projects
Security and quality
Insights
More
items
Upgrade Zod peer dependency to v4
- #327
#327
Merged
robgruen
merged 15 commits into
main
microsoft/TypeChat:main
from
copilot/upgrade-to-zod-v4
microsoft/TypeChat:copilot/upgrade-to-zod-v4
Copy head branch name to clipboard
Jun 1, 2026
Conversation
Commits
15
(15)
Checks
Files changed
Merged
Upgrade Zod peer dependency to v4
#327
robgruen
merged 15 commits into
main
microsoft/TypeChat:main
from
copilot/upgrade-to-zod-v4
microsoft/TypeChat:copilot/upgrade-to-zod-v4
Copy head branch name to clipboard
Commits
Commits on Jun 1, 2026
Initial plan
Copilot
authored and
robgruen
committed
6a5e0f5
View commit details
Copy full SHA for 6a5e0f5
Browse repository at this point
Initial plan for Zod v4 upgrade
Show description for 5967225
Copilot
and
robgruen
committed
5967225
View commit details
Copy full SHA for 5967225
Browse repository at this point
Upgrade to Zod v4: update validate.ts to use v4 API and update peer dependencies
Show description for e2ecb9f
Copilot
and
robgruen
committed
e2ecb9f
View commit details
Copy full SHA for e2ecb9f
Browse repository at this point
Fix literal type handling to support Zod v4 multi-value literals
Show description for bfb1406
Copilot
and
robgruen
committed
bfb1406
View commit details
Copy full SHA for bfb1406
Browse repository at this point
Add comprehensive unit tests for Zod v4 integration (48 tests covering all type code paths)
Show description for 2095c1a
Copilot
and
robgruen
committed
2095c1a
View commit details
Copy full SHA for 2095c1a
Browse repository at this point
Improve test clarity: add Zod v4 note on array literal, remove unnecessary 'as any' cast
Show description for 2b310f0
Copilot
and
robgruen
committed
2b310f0
View commit details
Copy full SHA for 2b310f0
Browse repository at this point
Define ZodTypeKind type alias for v4 discriminant strings; document discriminated union merging
Show description for 3710817
Copilot
and
robgruen
committed
3710817
View commit details
Copy full SHA for 3710817
Browse repository at this point
Improve validate.ts comments: note z.core is public API; add v3 context for discriminated union merge
Show description for 2d53ae7
Copilot
and
robgruen
committed
2d53ae7
View commit details
Copy full SHA for 2d53ae7
Browse repository at this point
Potential fix for pull request finding
Show description for 0518cae
robgruen
and
Copilot
committed
0518cae
View commit details
Copy full SHA for 0518cae
Browse repository at this point
Potential fix for pull request finding
Show description for cab083e
robgruen
and
Copilot
committed
cab083e
View commit details
Copy full SHA for cab083e
Browse repository at this point
fix: handle null in z.literal() — emit 'null' instead of 'any'
Show description for 8c05a02
Copilot
and
robgruen
committed
8c05a02
View commit details
Copy full SHA for 8c05a02
Browse repository at this point
Fix optional field description handling, add model tests to npm test, fix appendLiteral for null
Show description for 14d03a0
Copilot
and
robgruen
committed
14d03a0
View commit details
Copy full SHA for 14d03a0
Browse repository at this point
Remove dead appendLiteral helper to eliminate code duplication
Show description for e40c0f2
Copilot
and
robgruen
committed
e40c0f2
View commit details
Copy full SHA for e40c0f2
Browse repository at this point
Fix multi-issue error separator in zod validate (newline) and add test
robgruen
committed
e888de4
View commit details
Copy full SHA for e888de4
Browse repository at this point
Merge branch 'main' into copilot/upgrade-to-zod-v4
robgruen
authored
4c89c26
View commit details
Copy full SHA for 4c89c26
Browse repository at this point
You can’t perform that action at this time.